aboutsummaryrefslogtreecommitdiffstats
path: root/view/nets.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/nets.tpl')
-rwxr-xr-xview/nets.tpl10
1 files changed, 4 insertions, 6 deletions
diff --git a/view/nets.tpl b/view/nets.tpl
index cbadf1361..b0cb8890c 100755
--- a/view/nets.tpl
+++ b/view/nets.tpl
@@ -1,12 +1,10 @@
<div id="nets-sidebar" class="widget">
<h3>$title</h3>
<div id="nets-desc">$desc</div>
-
+ <a href="$base" class="nets-link{{ if $sel_all }} nets-selected{{ endif }} nets-all">$all</a>
<ul class="nets-ul">
- <li class="tool {{ if $sel_all }}selected{{ endif }}"><a href="$base" class="nets-link nets-all">$all</a>
- {{ for $nets as $net }}
- <li class="tool {{ if $net.selected }}selected{{ endif }}"><a href="$base?f=&nets=$net.ref" class="nets-link">$net.name</a></li>
- {{ endfor }}
+ {{ for $nets as $net }}
+ <li><a href="$base?nets=$net.ref" class="nets-link{{ if $net.selected }} nets-selected{{ endif }}">$net.name</a></li>
+ {{ endfor }}
</ul>
-
</div>