diff --git a/view/templates/admin/deleteitem.tpl b/view/templates/admin/deleteitem.tpl index cf819dea67..f5abc96c1c 100644 --- a/view/templates/admin/deleteitem.tpl +++ b/view/templates/admin/deleteitem.tpl @@ -2,10 +2,11 @@

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

{{$intro1}}

{{$intro2}}

- -
- - {{include file="field_input.tpl" field=$deleteitemguid}} -
-
+
+ + {{include file="field_input.tpl" field=$deleteitemguid}} +
+
+ + diff --git a/view/templates/admin/federation.tpl b/view/templates/admin/federation.tpl index 193eefb565..bd2af3d784 100644 --- a/view/templates/admin/federation.tpl +++ b/view/templates/admin/federation.tpl @@ -1,118 +1,123 @@
-

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

- -

{{$intro}}

- {{if not $autoactive}} -

{{$hint}}

- {{/if}} -

{{$legendtext}}

- -
- +

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

- -{{foreach $counts as $c}} - {{if $c[0]['total'] > 0}} - - - - - - - - {{/if}} -{{/foreach}} -
{{$c[0]['platform']}}{{$c[0]['total']}} - {{$c[0]['network']}}
- - -
    - {{foreach $c[1] as $v}} -
  • - {{if ($c[0]['platform']==='Friendica' and $version===$v['version']) }} - {{$v['version']}} - {{else}} - {{$v['version']}} - {{/if}} - ({{$v['total']}}) -
  • - {{/foreach}} -
-
+ +

{{$intro}}

+ + {{if not $autoactive}} +

{{$hint}}

+ {{/if}} + +

{{$legendtext}}

+ + + + + + + {{foreach $counts as $c}} + {{if $c[0]['total'] > 0}} + + + + + + + + {{/if}} + {{/foreach}} +
{{$c[0]['platform']}}{{$c[0]['total']}} + {{$c[0]['network']}}
+ + +
    + {{foreach $c[1] as $v}} +
  • + {{if ($c[0]['platform']==='Friendica' and $version===$v['version']) }} + {{$v['version']}} + {{else}} + {{$v['version']}} + {{/if}} + ({{$v['total']}}) +
  • + {{/foreach}} +
+
+ diff --git a/view/templates/admin/settings_features.tpl b/view/templates/admin/settings_features.tpl index abcc527d42..d2bd35e041 100644 --- a/view/templates/admin/settings_features.tpl +++ b/view/templates/admin/settings_features.tpl @@ -1,21 +1,24 @@ -

{{$title}}

-
- +
+

{{$title}}

-{{foreach $features as $g => $f}} -

{{$f.0}}

+ + -
- {{foreach $f.1 as $fcat}} - {{include file="field_yesno.tpl" field=$fcat.0}} - {{include file="field_yesno.tpl" field=$fcat.1}} + {{foreach $features as $g => $f}} +

{{$f.0}}

+ +
+ {{foreach $f.1 as $fcat}} + {{include file="field_yesno.tpl" field=$fcat.0}} + {{include file="field_yesno.tpl" field=$fcat.1}} + {{/foreach}} + +
+ +
+
{{/foreach}} -
- -
+
-{{/foreach}} - - diff --git a/view/templates/failed_updates.tpl b/view/templates/failed_updates.tpl index 8e949eda37..2fd6c3d694 100644 --- a/view/templates/failed_updates.tpl +++ b/view/templates/failed_updates.tpl @@ -1,18 +1,19 @@ -

{{$banner}}

+
+

{{$banner}}

-
{{$desc}}
+
{{$desc}}
-{{if $failed}} -{{foreach $failed as $f}} + {{if $failed}} + {{foreach $failed as $f}} +

{{$f}}

-

{{$f}}

- - -
-{{/foreach}} -{{/if}} + +
+ {{/foreach}} + {{/if}} +
diff --git a/view/templates/structure_check.tpl b/view/templates/structure_check.tpl index b3774eaddd..7193d38ee1 100644 --- a/view/templates/structure_check.tpl +++ b/view/templates/structure_check.tpl @@ -1,7 +1,8 @@ -

{{$banner}}

+
+

{{$banner}}

-

{{$check}}

- -
+

{{$check}}

+
+
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}}
+
+
+ +
+ +