2015-01-07 14:01:08 +01:00
|
|
|
{extends 'admin/admin_page.tpl'}
|
|
|
|
|
|
|
|
{block 'admin_main'}
|
2018-04-18 16:16:22 +02:00
|
|
|
{if $executing}
|
|
|
|
<div class="row">
|
|
|
|
<pre>{$output}</pre>
|
|
|
|
<div class="col-xs-12 well well-sm">
|
|
|
|
{__('Generic', 'Page generated in')} {$time} {__('Generic', 'seconds')}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/if}
|
2015-01-07 14:01:08 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 col-md-4">
|
2018-04-18 16:16:22 +02:00
|
|
|
<h2>{__('Admin', 'Status')}</h2>
|
|
|
|
{if $countExecuted === $countTotal}
|
|
|
|
<div class="alert alert-success">
|
|
|
|
No migrations to execute
|
|
|
|
</div>
|
|
|
|
{else}
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<form method="POST">
|
|
|
|
<button type="submit" class="btn btn-danger btn-lg" name="execute">Execute migration</button>
|
|
|
|
</form>
|
|
|
|
<br />
|
|
|
|
{$countWaiting|html} migrations available.
|
|
|
|
</div>
|
|
|
|
{/if}
|
2015-01-07 14:01:08 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 col-md-4">
|
2018-04-18 16:16:22 +02:00
|
|
|
<h2>{__('Admin', 'Summary')}</h2>
|
|
|
|
{__('Admin', 'Waiting')} <span class="label label-warning">{$countWaiting|html} / {$countTotal|html}</span>
|
|
|
|
<br/>
|
|
|
|
{__('Admin', 'Executed')} <span class="label label-success">{$countExecuted|html} / {$countTotal|html}</span>
|
2015-02-26 10:44:49 +01:00
|
|
|
</div>
|
2015-01-07 14:01:08 +01:00
|
|
|
</div>
|
2015-03-30 15:19:56 +02:00
|
|
|
{/block}
|