From: rabuzarus Date: Wed, 7 Feb 2018 15:14:12 +0000 (+0100) Subject: Frio: add admin summary template X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=764a9be90ae48403a894b4d436af647bae20f33c;p=friendica.git Frio: add admin summary template --- diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index dbea11b83c..2f5cc2f0ae 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -2112,7 +2112,7 @@ ul.dropdown-menu li:hover { .allfriends-content-wrapper, .match-content-wrapper, .dirfind-content-wrapper, .directory-content-wrapper, .manage-content-wrapper, .notes-content-wrapper, .message-content-wrapper, .apps-content-wrapper, .photos-content-wrapper, -.admin-content-wrapper, .viewcontacts-content-wrapper, .dfrn_request-content-wrapper, +#adminpage, .viewcontacts-content-wrapper, .dfrn_request-content-wrapper, .friendica-content-wrapper, .credits-content-wrapper, .nogroup-content-wrapper, .profperm-content-wrapper { min-height: calc(100vh - 150px); @@ -2829,6 +2829,9 @@ section.help-content-wrapper li { #adminpage #frio_background_image.input-group { display: block; } +#admin-summary-wrapper { + padding-top: 10px; +} #adminpage ul#pluginslist, li.plugin { padding-top: 10px; } diff --git a/view/theme/frio/templates/admin/summary.tpl b/view/theme/frio/templates/admin/summary.tpl new file mode 100644 index 0000000000..26c9991756 --- /dev/null +++ b/view/theme/frio/templates/admin/summary.tpl @@ -0,0 +1,64 @@ + +
+

{{$title}} - {{$page}}

+ + {{if $showwarning}} +
+ {{foreach $warningtext as $wt}} +

{{$wt}}

+ {{/foreach}} +
+ {{/if}} + +
+ {{* The work queues short statistic. *}} +
+
{{$queues.label}}
+
{{$queues.queue}} - {{$queues.workerq}}
+
+ + {{* Number of pending registrations. *}} +
+
+
{{$pending.0}}
+
{{$pending.1}}
+
+ + {{* Number of registered users *}} +
+
+
{{$users.0}}
+
{{$users.1}}
+
+ + {{* Account types of registered users. *}} + {{foreach $accounts as $p}} +
+
+
{{$p.0}}
+
{{if $p.1}}{{$p.1}}{{else}}0{{/if}}
+
+ {{/foreach}} + + {{* List enabled addons. *}} +
+
+
{{$addons.0}}
+
+ {{foreach $addons.1 as $p}} + {{$p}}
+ {{/foreach}} +
+
+ + {{* The Friendica version. *}} +
+
+
{{$version.0}}
+
{{$platform}} '{{$codename}}' {{$version.1}} - {{$build}}
+
+
+ +
+ +