2016-02-05 15:41:02 +01:00
|
|
|
<div class="controls">
|
|
|
|
<?= $this->tabs ?>
|
|
|
|
<h1><?= $this->escape($this->title) ?></h1>
|
2016-05-02 10:30:01 +02:00
|
|
|
<span class="action-links" data-base-target="_next">
|
2016-02-05 15:41:02 +01:00
|
|
|
<?= $this->addLink ?>
|
|
|
|
</span>
|
|
|
|
<?php if (count($table) || ! $this->filterEditor->getFilter()->isEmpty()): ?>
|
|
|
|
<?= $this->filterEditor ?>
|
|
|
|
<?php endif ?>
|
|
|
|
<?= $this->table->getPaginator() ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="content" data-base-target="_next">
|
|
|
|
<table class="name-value-table">
|
|
|
|
<tr>
|
|
|
|
<th><?= $this->translate('Actions') ?></th>
|
|
|
|
<td data-base-target="_main"><?= $this->qlink(
|
|
|
|
$this->translate('Re-deploy now'),
|
|
|
|
'director/config/deploy',
|
|
|
|
array('checksum' => $this->config->getHexChecksum()),
|
|
|
|
array('class' => 'icon-reply-all')
|
|
|
|
) ?><br /><?= $this->qlink(
|
|
|
|
$this->translate('Last related activity'),
|
|
|
|
'director/show/activitylog',
|
|
|
|
array('checksum' => $this->config->getLastActivityHexChecksum()),
|
|
|
|
array('class' => 'icon-clock', 'data-base-target' => '_next')
|
2016-05-02 10:59:52 +02:00
|
|
|
) ?><br /><?= $this->qlink(
|
|
|
|
$this->translate('Diff with other config'),
|
|
|
|
'director/config/diff',
|
|
|
|
array('left' => $this->config->getHexChecksum()),
|
|
|
|
array('class' => 'icon-flapping', 'data-base-target' => '_self')
|
2016-02-05 15:41:02 +01:00
|
|
|
) ?></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th><?= $this->translate('Statistics') ?></th>
|
|
|
|
<td><?= sprintf(
|
|
|
|
$this->translate('%d files rendered in %0.2fs'),
|
|
|
|
count($this->config->getFiles()),
|
|
|
|
$config->getDuration() / 1000
|
|
|
|
) ?></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<?php if (count($table)): ?>
|
2016-03-23 01:31:33 +01:00
|
|
|
<div data-base-target="_self">
|
2016-02-05 15:41:02 +01:00
|
|
|
<?= $this->table->render() ?>
|
2016-03-23 01:31:33 +01:00
|
|
|
</div>
|
2016-02-05 15:41:02 +01:00
|
|
|
<?php endif ?>
|
|
|
|
</div>
|