]> git.mxchange.org Git - friendica.git/commitdiff
Only make changes for frio. (#5347)
authorAndreas Neustifter <andreas.neustifter@gmail.com>
Wed, 11 Jul 2018 15:28:38 +0000 (17:28 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Wed, 11 Jul 2018 15:28:38 +0000 (11:28 -0400)
view/theme/frio/css/style.css
view/theme/frio/templates/admin/addons.tpl [new file with mode: 0644]

index fbd2200256e21f11f50c9f35cec6c87cb8ec8692..0836219aa7260fefe08bf0ac640fbf779596a596 100644 (file)
@@ -2949,7 +2949,7 @@ section.help-content-wrapper li {
     padding-top: 10px;
 }
 #adminpage ul#pluginslist, li.plugin {
-    padding-top: 10px;
+    list-style: none;
 }
 #adminpage li .icon {
     display: inline-block;
@@ -3008,6 +3008,14 @@ section.help-content-wrapper li {
 .adminpage .table-hover > tbody > tr:hover + tr.details {
     background-color: #f5f5f5;
 }
+.offset-anchor::before {
+    display: block; 
+    content: " "; 
+    margin-top: -100px; 
+    height: 100px;
+    visibility: hidden; 
+    pointer-events: none;
+}
 
 /* Register Page*/
 #register-openid-wrapper, #register-name-wrapper, #register-invite-wrapper, #profile-publish-wrapper {
diff --git a/view/theme/frio/templates/admin/addons.tpl b/view/theme/frio/templates/admin/addons.tpl
new file mode 100644 (file)
index 0000000..659149a
--- /dev/null
@@ -0,0 +1,22 @@
+
+<div id='adminpage'>
+       <h1>{{$title}} - {{$page}}</h1>
+               {{if $pcount eq 0}}
+                   <div class="error-message">
+                   {{$noplugshint}}
+                   </div>
+               {{else}}
+               <a class="btn" href="{{$baseurl}}/admin/{{$function}}?a=r&amp;t={{$form_security_token}}">{{$reload}}</a>
+               <ul id='pluginslist'>
+               {{foreach $addons as $p}}
+                       <li class="plugin {{$p.1}}">
+                               <span class="offset-anchor" id="{{$p.0}}"></span>
+                               <a class='toggleplugin' href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}?a=t&amp;t={{$form_security_token}}#{{$p.0}}' title="{{if $p.1==on}}Disable{{else}}Enable{{/if}}" ><span class='icon {{$p.1}}'></span></a>
+                               <a href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}'><span class='name'>{{$p.2.name}}</span></a> - <span class="version">{{$p.2.version}}</span>
+                               {{if $p.2.experimental}} {{$experimental}} {{/if}}{{if $p.2.unsupported}} {{$unsupported}} {{/if}}
+                               <div class='desc'>{{$p.2.description}}</div>
+                       </li>
+               {{/foreach}}
+               </ul>
+               {{/if}}
+</div>