ModCfg/views/twig/admin/maintenance/maintenance.html.twig

73 lignes
2.7 KiB
Twig
Brut Vue normale Historique

2024-02-09 18:33:48 +01:00
{% include "headitem.html.twig" with {title: "d3mxsysitems"|translate} %}
2024-04-19 16:15:46 +02:00
{% if readonly %}
{% set readonly = "readonly disabled" %}
{% else %}
{% set readonly = "" %}
{% endif %}
2024-02-09 18:33:48 +01:00
<script type="text/javascript">
<!--
function _groupExp(el) {
let _cur = el.parentNode;
if (_cur.className === "exp") _cur.className = "";
else _cur.className = "exp";
}
-->
</script>
<style>
.groupExp dl dt {
font-weight: normal;
width: 55%;
padding-left: 10px;
}
</style>
<form name="transfer" id="transfer" action="{{ oViewConf.getSelfLink()|raw }}" method="post">
{{ oViewConf.getHiddenSid()|raw }}
<input type="hidden" name="oxid" value="{{ oxid }}">
<input type="hidden" name="oxidCopy" value="{{ oxid }}">
<input type="hidden" name="cl" value="{{ oViewConf.getActiveClassName()|raw }}">
</form>
<form name="myedit" id="myedit" action="{{ oViewConf.getSelfLink()|raw }}" method="post" style="">
{{ oViewConf.getHiddenSid()|raw }}
<input type="hidden" name="cl" value="{{ oViewConf.getActiveClassName()|raw }}">
<input type="hidden" name="fnc" value="getNewModPreview">
<input type="hidden" name="oxid" value="{{ oxid }}">
<input type="hidden" name="voxid" value="{{ oxid }}">
<table style="border: none; width: 98%">
<tr>
<td style="vertical-align: top" class="edittext">
<div class="groupExp">
<div class="">
<a class="rc" onclick="_groupExp(this); return false;" href="#">
<b>
{{ translate({ ident: "D3_CFG_MAINTENANCE_MODULES" }) }}
</b>
</a>
<dl>
<dt>
{{ translate({ ident: "D3_CFG_MAINTENANCE_REPAIRMODULES" }) }}
</dt>
<dd>
2024-04-19 16:15:46 +02:00
<div class="d3modcfg_btn fixed icon d3color-blue" {{ readonly }}>
<button type="submit" name="save" onclick="document.getElementById('myedit').fnc.value = 'repairModuleDbItems'; document.getElementById('myedit').submit(); return false;" {{ readonly }}>
2024-02-09 18:33:48 +01:00
<i class="fas fa-question-circle fa-inverse"></i>{{ translate({ ident: "D3_CFG_MODITEM_PREVIEW" }) }}
</button>
</div>
</dd>
<dd class="spacer"></dd>
</dl>
</div>
</div>
</td>
</tr>
</table>
</form>
{% include "@d3modcfg_lib/admin/inc/inc.html.twig" %}