core/api/modules/all_modules/index.html

71 lines
3.6 KiB
HTML
Executable File
Raw 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.

{include file=$header_admin h1="Все модули" title="Все модули" settings_mod="1"}
<input type="hidden" id="tmp" value="">
<input type="hidden" id="tmp2" value="">
<div class="input-group">
<div class="input-group-prepend">
<button type="button" data-link="/page_edit/" class="btn btn-dark" title="Новая страница" style="float:left;height: 35px;">
Создать страницу</button>
</div>
</div>
<div class="container row">{section name=customer loop=$modules} {if $modules[customer]}
<div class="col-xs col-sm col-md-3 col-lg-2 col-xl-2 col-xxl-2">
<img src="/api/img/icons/1/PNG/64/folder.png" style="width: 70%; display:block;margin: 0 auto;">
<p class="text-center"><b>{$modules[customer]}</b></p>
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-primary" href="#" data-toggle="modal" data-target="#mod_settings"><i class="fas fa-cog" title="Настроить модуль"></i></button>
<button type="button" class="btn btn-primary">Middle</button>
<button type="button" class="btn btn-primary">Right</button>
</div>
</div>
{/if} {/section}
</div>
<!------------------------------------------------->
<!-- mod_settings -->
<div class="modal fade" id="mod_settings" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Настройки модуля <span id="span-mod-name"><span</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body" id="load_mod_settings">
<form id="form_modal_mod_settings">
<input type="hidden" name='act' value="save_settings_mod">
<input type="hidden" name="mod" value="page_all">
<h6>Размер обложки</h6>
<div class="row">
<div class="col col-sm col-md col-lg col-xl col-xxl">
<input name="w" value="600" class="form-control"> Ширина (px)
</div>
<div class="col col-sm col-md col-lg col-xl col-xxl">
<input name="h" value="250" class="form-control"> Высота (px)
</div>
</div>
<h6>Размер превью</h6>
<div class="row">
<div class="col col-sm col-md col-lg col-xl col-xxl">
<input name="p_w" value="300" class="form-control"> Ширина (px)
</div>
<div class="col col-sm col-md col-lg col-xl col-xxl">
<input name="p_h" value="300" class="form-control"> Высота (px)
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Закрыть</button>
<button type="button" class="btn btn-primary" id="btn-save-mod-settings">Сохранить</button>
</div>
</div>
</div>
</div>
{include file=$footer_admin}