mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
50e56a0396
à la racine, quand on lance le serveur, on a le framadate tel qu'il est aujourd'hui en ajoutant sur l'url, on accède à la maquette interactive dans son état actuel
37 lines
1.3 KiB
Smarty
37 lines
1.3 KiB
Smarty
{extends 'admin/admin_page.tpl'}
|
|
|
|
{block 'admin_main'}
|
|
{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}
|
|
<div class="row">
|
|
<div class="col-xs-12 col-md-4">
|
|
<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}
|
|
</div>
|
|
<div class="col-xs-12 col-md-4">
|
|
<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>
|
|
</div>
|
|
</div>
|
|
{/block}
|