prokat/api/modules/page_all/pages_list.html
2025-06-16 18:28:08 +05:00

37 lines
1.5 KiB
HTML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- Список страниц -->
{*assign var=json value=$cats[customer].json|uns *} {*
<!---->
09.01.2022: вынесено в отдельный файл, подключаем со значением massiv, как и файл с категориями
<!---->
*} {section name=customer loop=$massiv} {if $massiv[customer].id}
<tr id="tr_pages_{$massiv[customer].id}">
<td width=80px>
<img src="/api/img/gray/gif/gray.gif" data-original="/img.php?filename={$massiv[customer].filename}&w=80&h=80" class="lazy" style="width: 100%;">
</td>
<!-- td width=80px>
<a href="/page_all/{$massiv[customer].id}"><img src="/api/img/gray/doc.png" style="width: 100%;"></a>
</td -->
<td>
<div class="col col-sm col-md col-lg col-xl col-xxl">
<b>{$massiv[customer].title}</b>
<input type="text" value="{$json.title}" class="form-control hidden">
</div>
<div class="btn-group" role="group" aria-label="Basic example">
<a type="button" class="btn btn-primary" href="/page/{$massiv[customer].id}" target="_blank" title="Открыть на сайте"><i class="far fa-folder-open"></i></a>
<a type="button" class="btn btn-primary" href="/page_edit/{$massiv[customer].id}"><i class="far fa-edit"></i></a>
<button type="button" class="btn btn-primary del_page" data-id="{$massiv[customer].id}"><i class="far fa-trash-alt"></i></button>
</div>
</td>
</tr>
{/if} {/section}