50 lines
2.8 KiB
HTML
Executable File
50 lines
2.8 KiB
HTML
Executable File
{include file=$header_admin title="Все модули" h1="Все модули"}
|
||
<form class="input-group" method="post" action="/find_module/" id="form-find-mod">
|
||
<div class="input-group-prepend">
|
||
<button type="button" data-link="/new_module/" class="btn btn-dark" title="Создать модуль" style="float:left;height: 35px;">
|
||
Создать модуль</button>
|
||
<button type="button" data-link="/mod_cat/" class="btn btn-dark" title="Новая категория" style="float:left;height: 35px;">
|
||
Новая категория</button>
|
||
{if ($smarty.get.id)}
|
||
<button type="button" data-link="/all_modules/{$parent}" class="btn btn-dark" title="Назад" style="float:left;height: 35px;">
|
||
Назад</button>
|
||
{/if}
|
||
</div>
|
||
<input type="text" class="form-control" name="input-find-module" placeholder="Найти модуль..." style="padding-top:4px;padding-bottom:4px;" aria-label="Найти модуль...">
|
||
<div class="input-group-append">
|
||
<button class="btn btn-dark" id="btn-find-mod" type="button" style="padding-top:4px;padding-bottom:4px;"><i class="fa fa-search" aria-hidden="true"></i></button>
|
||
</div>
|
||
</form>
|
||
<div class="row" style="margin-top:20px;">
|
||
{*категории*}
|
||
{section name=customer loop=$cats}
|
||
{if $cats[customer].id}
|
||
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2" style="text-align:center;">
|
||
<a href="/all_modules/{$cats[customer].id}"><img src="/api/img/gray/folder_grey_open_128x128.png" style="width: 80%;"></a><br>
|
||
<div style="height: 55px;">
|
||
<a href="/all_modules/{$cats[customer].id}"><b>{$cats[customer].txt}</b></a><br>
|
||
</div>
|
||
<a href="/mod_cat/{$cats[customer].id}">Изменить</a> | <a href="/del_cat/{$cats[customer].id}">Удалить</a>
|
||
</div>
|
||
{/if}
|
||
{/section}
|
||
{* Модули *}
|
||
{section name=customer loop=$list}
|
||
{if $list[customer].id}
|
||
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2" style="text-align:center;">
|
||
<a href="/{$list[customer].mod}/" target="_blank"><img src="/api/img/gray/doc.png" style="width: 80%;" title="{$list[customer].mod}"></a>
|
||
<br>
|
||
<div style="height: 35px;">
|
||
<a href="/{$list[customer].mod}/" title="{$list[customer].title}" target="_blank"><b>{$list[customer].mod}</b></a><br>
|
||
</div>
|
||
<span style="font-size:8pt;">
|
||
<a href="/edit_module/{$list[customer].mod}" target="_blank">Code</a> |
|
||
<a href="/mod_settings/{$list[customer].mod}" target="_blank"><i class="fa fa-cogs" aria-hidden="true"></i></a> |
|
||
<a href="/export_mod/{$list[customer].mod}" target="_blank"><i class="fa fa-download" aria-hidden="true"></i></a>
|
||
</span>
|
||
{*<a href="/page_edit/{$list[customer].id}">Изменить</a> | <a href="/del_page/{$list[customer].id}">Удалить</a>*}
|
||
</div>
|
||
{/if}
|
||
{/section}
|
||
</div>
|
||
{include file=$footer_admin} |