aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/tpl/admin_aside.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-01 21:10:04 -0700
committerzotlabs <mike@macgirvin.com>2017-05-01 21:10:04 -0700
commite332d1074f1b663ec66d37b0f575df2e41d5535c (patch)
tree6309a232348eb70ed4db5fbb7ed898f98c5beee8 /view/theme/redbasic/tpl/admin_aside.tpl
parent42ed73ed4ac55ac62214301097f7d72cbcb37238 (diff)
downloadvolse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.tar.gz
volse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.tar.bz2
volse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.zip
move theme specific files to theme dir
Diffstat (limited to 'view/theme/redbasic/tpl/admin_aside.tpl')
-rwxr-xr-xview/theme/redbasic/tpl/admin_aside.tpl46
1 files changed, 46 insertions, 0 deletions
diff --git a/view/theme/redbasic/tpl/admin_aside.tpl b/view/theme/redbasic/tpl/admin_aside.tpl
new file mode 100755
index 000000000..99f139e57
--- /dev/null
+++ b/view/theme/redbasic/tpl/admin_aside.tpl
@@ -0,0 +1,46 @@
+<script>
+ // update pending count //
+ $(function(){
+
+ $("nav").bind('nav-update', function(e,data){
+ var elm = $('#pending-update');
+ var register = $(data).find('register').text();
+ if (register=="0") { register=""; elm.hide();} else { elm.show(); }
+ elm.html(register);
+ });
+ });
+</script>
+<div class="widget">
+<h3>{{$admtxt}}</h3>
+<ul class="nav nav-pills flex-column">
+ {{foreach $admin as $link}}
+ <li class="nav-item"><a class="nav-link" href='{{$link.0}}'>{{$link.1}}{{if $link.3}}<span id='{{$link.3}}' title='{{$link.4}}'></span>{{/if}}</a></li>
+ {{/foreach}}
+</ul>
+</div>
+
+{{if $admin.update}}
+<ul class="nav nav-pills flex-column">
+ <li class="nav-item"><a class="nav-link" href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li>
+ <li class="nav-item"><a class="nav-link" href=''>Important Changes</a></li>
+</ul>
+{{/if}}
+
+
+{{if $plugins}}
+<div class="widget">
+<h3>{{$plugadmtxt}}</h3>
+<ul class="nav nav-pills flex-column">
+ {{foreach $plugins as $l}}
+ <li class="nav-item"><a class="nav-link" href='{{$l.0}}'>{{$l.1}}</a></li>
+ {{/foreach}}
+</ul>
+</div>
+{{/if}}
+
+<div class="widget">
+<h3>{{$logtxt}}</h3>
+<ul class="nav nav-pills flex-column">
+ <li class="nav-item"><a class="nav-link" href='{{$logs.0}}'>{{$logs.1}}</a></li>
+</ul>
+</div>