1
0
Fork 0
friendica_2020-09-1_sharedH.../view/theme/frio/templates/admin/summary.tpl

63 lines
2.5 KiB
Smarty
Raw Normal View History

2018-02-07 16:14:12 +01:00
<div id='adminpage-summery' class="adminpage generic-page-wrapper">
<h1>{{$title}} - {{$page}}</h1>
{{if $warningtext|count}}
2018-02-07 16:14:12 +01:00
<div id="admin-warning-message-wrapper" class="alert alert-warning">
{{foreach $warningtext as $wt}}
2018-12-30 16:12:13 +01:00
<p>{{$wt nofilter}}</p>
2018-02-07 16:14:12 +01:00
{{/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/deferred">{{$queues.deferred}}</a> - <a href="{{$baseurl}}/admin/queue">{{$queues.workerq}}</a></div>
2018-02-07 16:14:12 +01:00
</div>
{{* 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="{{$baseurl}}/admin/addons/{{$p}}/">{{$p}}</a><br>
2018-02-07 16:14:12 +01:00
{{/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>
2018-02-07 16:14:12 +01:00
</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">
2018-09-27 19:00:24 +02:00
<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}}
2018-09-27 19:00:24 +02:00
<tr><td>{{$k}}</td><td>{{$p}}</td></tr>
{{/foreach}}
</tbody>
</table>
</div>
</div>
2018-02-07 16:14:12 +01:00
</div>
<div class="clear"></div>
</div>