Frio: The network widget now shows the selected network
This commit is contained in:
parent
7bfa9b5650
commit
b798288a5b
1 changed files with 11 additions and 0 deletions
11
view/theme/frio/templates/nets.tpl
Normal file
11
view/theme/frio/templates/nets.tpl
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
<div id="nets-sidebar" class="widget">
|
||||||
|
<h3>{{$title}}</h3>
|
||||||
|
<div id="nets-desc">{{$desc}}</div>
|
||||||
|
<ul role="menu" class="nets-ul">
|
||||||
|
<li role="menuitem" {{if $sel_all}}class="selected"{{/if}}><a href="{{$base}}?nets=all" class="nets-link{{if $sel_all}} nets-selected{{/if}} nets-all">{{$all}}</a></li>
|
||||||
|
{{foreach $nets as $net}}
|
||||||
|
<li role="menuitem" {{if $net.selected}}class="selected"{{/if}}><a href="{{$base}}?nets={{$net.ref}}" class="nets-link{{if $net.selected}} nets-selected{{/if}}">{{$net.name}}</a></li>
|
||||||
|
{{/foreach}}
|
||||||
|
</ul>
|
||||||
|
</div>
|
Loading…
Reference in a new issue