2015-01-28 14:15:16 +01:00
|
|
|
<div class="controls" data-base-target="_main">
|
2014-07-23 12:55:43 +02:00
|
|
|
<?= $tabs; ?>
|
2014-02-25 11:26:11 +01:00
|
|
|
</div>
|
2014-03-08 15:00:23 +01:00
|
|
|
<div class="content" data-base-target="_next">
|
2014-07-23 12:55:43 +02:00
|
|
|
<p>
|
2014-09-02 15:39:21 +02:00
|
|
|
<a href="<?= $this->href('/config/createresource'); ?>">
|
2014-11-13 20:08:58 +01:00
|
|
|
<?= $this->icon('plus'); ?> <?= $this->translate('Create A New Resource'); ?>
|
2014-07-23 12:55:43 +02:00
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
<table class="action">
|
|
|
|
<thead>
|
|
|
|
<th><?= $this->translate('Resource'); ?></th>
|
|
|
|
<th style="width: 5em"><?= $this->translate('Remove'); ?></th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2014-11-18 13:11:52 +01:00
|
|
|
<?php foreach ($this->resources as $name): ?>
|
2014-07-23 12:55:43 +02:00
|
|
|
<tr>
|
|
|
|
<td>
|
2014-09-02 15:39:21 +02:00
|
|
|
<a href="<?= $this->href('config/editresource', array('resource' => $name)); ?>">
|
2014-11-13 20:08:58 +01:00
|
|
|
<?= $this->icon('edit'); ?> <?= $this->escape($name); ?>
|
2014-07-23 12:55:43 +02:00
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td style="text-align: center">
|
2014-09-02 15:39:21 +02:00
|
|
|
<a href="<?= $this->href('config/removeresource', array('resource' => $name)); ?>">
|
2014-11-17 17:06:27 +01:00
|
|
|
<?= $this->icon('cancel'); ?>
|
2014-07-23 12:55:43 +02:00
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2014-03-08 13:26:05 +01:00
|
|
|
<?php endforeach; ?>
|
2014-07-23 12:55:43 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2014-11-13 20:08:58 +01:00
|
|
|
</div>
|