|
|
|
@ -1,47 +1,47 @@ |
|
|
|
<div id="admindb" class="tabelem paddedtop" title="{$c->__('db.legend')}"> |
|
|
|
<form class="flex"> |
|
|
|
<ul class="block large"> |
|
|
|
<li class="subheader">{$c->__('db.legend')}</li> |
|
|
|
<div id="admindb" class="tabelem" title="{$c->__('db.legend')}"> |
|
|
|
<ul class="flex large"> |
|
|
|
<li class="subheader">{$c->__('db.legend')}</li> |
|
|
|
|
|
|
|
{if="!$connected"} |
|
|
|
<li class="block large condensed"> |
|
|
|
<span class="icon bubble color red"> |
|
|
|
<i class="md md-settings-ethernet"></i> |
|
|
|
{if="!$connected"} |
|
|
|
<li class="block large condensed"> |
|
|
|
<span class="icon bubble color red"> |
|
|
|
<i class="md md-settings-ethernet"></i> |
|
|
|
</span> |
|
|
|
<span>{$c->__('db.connect_error')}</span> |
|
|
|
<p>{$errors}</p> |
|
|
|
</li> |
|
|
|
{else} |
|
|
|
<li class="block large"> |
|
|
|
<span class="icon bubble color green"> |
|
|
|
<i class="md md-settings-ethernet"></i> |
|
|
|
</span> |
|
|
|
<span>{$c->__('db.connect_success')}</span> |
|
|
|
</li> |
|
|
|
{if="null !== $infos"} |
|
|
|
<li class="block large condensed action"> |
|
|
|
<div class="action"> |
|
|
|
<a class="button" onclick="{$db_update}"> {$c->__('button.update')}</a> |
|
|
|
</div> |
|
|
|
<span class="icon bubble color orange"> |
|
|
|
<i class="md md-refresh"></i> |
|
|
|
</span> |
|
|
|
<span>{$c->__('db.connect_error')}</span> |
|
|
|
<p>{$errors}</p> |
|
|
|
</li> |
|
|
|
<span>{$c->__('db.update')}</span> |
|
|
|
{loop="$infos"} |
|
|
|
<p>{$value}</p> |
|
|
|
{/loop} |
|
|
|
</li> |
|
|
|
{else} |
|
|
|
<li class="block large"> |
|
|
|
<span class="icon bubble color green"> |
|
|
|
<i class="md md-settings-ethernet"></i> |
|
|
|
<i class="md md-refresh"></i> |
|
|
|
</span> |
|
|
|
<span>{$c->__('db.connect_success')}</span> |
|
|
|
<span>{$c->__('db.up_to_date')}</span> |
|
|
|
</li> |
|
|
|
{if="null !== $infos"} |
|
|
|
<li class="block large condensed action"> |
|
|
|
<div class="action"> |
|
|
|
<a class="button" onclick="{$db_update}"> {$c->__('button.update')}</a> |
|
|
|
</div> |
|
|
|
<span class="icon bubble color orange"> |
|
|
|
<i class="md md-refresh"></i> |
|
|
|
</span> |
|
|
|
<span>{$c->__('db.update')}</span> |
|
|
|
{loop="$infos"} |
|
|
|
<p>{$value}</p> |
|
|
|
{/loop} |
|
|
|
</li> |
|
|
|
{else} |
|
|
|
<li class="block large"> |
|
|
|
<span class="icon bubble color green"> |
|
|
|
<i class="md md-refresh"></i> |
|
|
|
</span> |
|
|
|
<span>{$c->__('db.up_to_date')}</span> |
|
|
|
</li> |
|
|
|
{/if} |
|
|
|
{/if} |
|
|
|
</ul> |
|
|
|
{/if} |
|
|
|
</ul> |
|
|
|
|
|
|
|
<form class="flex padded_top_bottom"> |
|
|
|
<div class="block"> |
|
|
|
<input value="{$dbtype}" disabled/> |
|
|
|
<label for="logLevel">{$c->__('db.type')}</label> |
|
|
|
|