tao-test/app/funcAcl/views/templates/list.tpl

44 lines
1.4 KiB
Smarty

<?php
use oat\tao\helpers\Template;
?>
<div class="aclContainer flex-container-third">
<div id="aclRoles-title" class="ui-widget-header ui-corner-top ui-state-default">
<?= __('Available roles')?>
</div>
<div id="aclRoles" class="ui-widget-content ui-corner-bottom">
<form>
<div>
<select id="roles" name="roles" size="1">
<option value=""><?= __('Roles') ?>...</option>
<?php foreach (get_data('roles') as $r): ?>
<option value="<?= $r['id'] ?>"><?= _dh($r['label']) ?></option>
<?php endforeach; ?>
</select>
</div>
<div>
<h5><?= __('includes')?></h5>
<ul class="included-roles plain"></ul>
</div>
</form>
</div>
</div>
<div class="aclContainer flex-container-third">
<div id="aclModules-title" class="ui-widget-header ui-corner-top ui-state-default">
<?=__('Modules')?>
</div>
<div id="aclModules" class="ui-widget-content ui-corner-bottom">
<ul class="group-list"></ul>
</div>
</div>
<div class="aclContainer flex-container-third">
<div id="aclActions-title" class="ui-widget-header ui-corner-top ui-state-default">
<?=__('Actions')?>
</div>
<div id="aclActions" class="ui-widget-content ui-corner-bottom">
<ul class="group-list"></ul>
</div>
</div>