Tobias Diekershoff
ce099b6cd3
The summery template for the admin panel was missing a closing link tag for the deferred worker queue. This tag has been added for the general template and the template used by the frio theme.
86 lines
3.7 KiB
Smarty
86 lines
3.7 KiB
Smarty
|
|
<div id='adminpage-summery' class="adminpage generic-page-wrapper">
|
|
<h1>{{$title}} - {{$page}}</h1>
|
|
|
|
{{if $showwarning}}
|
|
<div id="admin-warning-message-wrapper" class="alert alert-warning">
|
|
{{foreach $warningtext as $wt}}
|
|
<p>{{$wt}}</p>
|
|
{{/foreach}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div id="admin-summary-wrapper">
|
|
{{* The work queues short statistic. *}}
|
|
<div id="admin-summary-queues" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 admin-summary">
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 admin-summary-label-name text-muted">{{$queues.label}}</div>
|
|
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 admin-summary-entry"><a href="{{$baseurl}}/admin/queue">{{$queues.queue}}</a> - <a href="{{$baseurl}}/admin/deferred">{{$queues.deferred}}</a> - <a href="{{$baseurl}}/admin/workerqueue">{{$queues.workerq}}</a></div>
|
|
</div>
|
|
|
|
{{* Number of pending registrations. *}}
|
|
<div id="admin-summary-pending" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 admin-summary">
|
|
<hr class="admin-summary-separator">
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 admin-summary-label-name text-muted">{{$pending.0}}</div>
|
|
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 admin-summary-entry">{{$pending.1}}</div>
|
|
</div>
|
|
|
|
{{* Number of registered users *}}
|
|
<div id="admin-summary-users" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 admin-summary">
|
|
<hr class="admin-summary-separator">
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 admin-summary-label-name text-muted">{{$users.0}}</div>
|
|
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 admin-summary-entry">{{$users.1}}</div>
|
|
</div>
|
|
|
|
{{* Account types of registered users. *}}
|
|
{{foreach $accounts as $p}}
|
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 admin-summary">
|
|
<hr class="admin-summary-separator">
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 admin-summary-label-name text-muted">{{$p.0}}</div>
|
|
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 admin-summary-entry">{{if $p.1}}{{$p.1}}{{else}}0{{/if}}</div>
|
|
</div>
|
|
{{/foreach}}
|
|
|
|
{{* List enabled addons. *}}
|
|
<div id="admin-summary-addons" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 admin-summary">
|
|
<hr class="admin-summary-separator">
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 admin-summary-label-name text-muted">{{$addons.0}}</div>
|
|
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 admin-summary-entry">
|
|
{{foreach $addons.1 as $p}}
|
|
<a href="/admin/addons/{{$p}}/">{{$p}}</a><br>
|
|
{{/foreach}}
|
|
</div>
|
|
</div>
|
|
|
|
{{* The Friendica version. *}}
|
|
<div id="admin-summary-version" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 admin-summary">
|
|
<hr class="admin-summary-separator">
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 admin-summary-label-name text-muted">{{$version.0}}</div>
|
|
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 admin-summary-entry">{{$platform}} '{{$codename}}' {{$version.1}} - {{$build}}</div>
|
|
</div>
|
|
|
|
{{* Server Settings. *}}
|
|
<div id="admin-summary-php" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 admin-summary">
|
|
<hr class="admin-summary-separator">
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 admin-summary-label-name text-muted">{{$serversettings.label}}</div>
|
|
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 admin-summary-entry">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr class="info"><td colspan="2">PHP</td></tr>
|
|
{{foreach $serversettings.php as $k => $p}}
|
|
<tr><td>{{$k}}</td><td>{{$p}}</td></tr>
|
|
{{/foreach}}
|
|
<tr class="info"><td colspan="2">MySQL / MariaDB</td></tr>
|
|
{{foreach $serversettings.mysql as $k => $p}}
|
|
<tr><td>{{$k}}</td><td>{{$p}}</td></tr>
|
|
{{/foreach}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|