Standards
This commit is contained in:
parent
57366e391f
commit
588f87bf79
|
@ -4,7 +4,7 @@
|
||||||
$("nav").bind('nav-update', function(e,data){
|
$("nav").bind('nav-update', function(e,data){
|
||||||
var elm = $('#pending-update');
|
var elm = $('#pending-update');
|
||||||
var register = $(data).find('register').text();
|
var register = $(data).find('register').text();
|
||||||
if (register=="0") { register=""; }
|
if (register=="0") { register = ""; }
|
||||||
elm.html(register);
|
elm.html(register);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -14,11 +14,11 @@
|
||||||
<h3><a href="{{$admurl}}">{{$admtxt}}</a></h3>
|
<h3><a href="{{$admurl}}">{{$admtxt}}</a></h3>
|
||||||
|
|
||||||
<ul role="menu">
|
<ul role="menu">
|
||||||
{{foreach $subpages as $name=>$item}}
|
{{foreach $subpages as $name => $item}}
|
||||||
<li role="menuitem" class="{{$item.2}}">
|
<li role="menuitem" class="{{$item.2}}">
|
||||||
<a href="{{$item.0}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}}>
|
<a href="{{$item.0}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}}>
|
||||||
{{$item.1}}
|
{{$item.1}}
|
||||||
{{if $name=="users"}}
|
{{if $name == "users"}}
|
||||||
<span id="pending-update" class="badge pull-right"></span>
|
<span id="pending-update" class="badge pull-right"></span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</a>
|
</a>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<div class="widget">
|
<div class="widget">
|
||||||
<h3>{{$plugadmtxt}}</h3>
|
<h3>{{$plugadmtxt}}</h3>
|
||||||
<ul role="menu">
|
<ul role="menu">
|
||||||
{{foreach $admin.plugins_admin as $name=>$item}}
|
{{foreach $admin.plugins_admin as $name => $item}}
|
||||||
<li role="menuitem" class="{{$item.2}}">
|
<li role="menuitem" class="{{$item.2}}">
|
||||||
<a href="{{$item.0}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}}>
|
<a href="{{$item.0}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}}>
|
||||||
{{$item.1}}
|
{{$item.1}}
|
||||||
|
|
Loading…
Reference in a new issue