aboutsummaryrefslogtreecommitdiffstats
path: root/view/nets.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-05 20:40:48 -0800
committerfriendica <info@friendica.com>2012-01-05 20:40:48 -0800
commitc3ada095f4156bba01e77d2d250d5821ba5e859e (patch)
treef03f9d9d7c03f159c17ba41db3701e3213529dee /view/nets.tpl
parent291a82c4a465c6c3b1db7087682cb050d1943a08 (diff)
downloadvolse-hubzilla-c3ada095f4156bba01e77d2d250d5821ba5e859e.tar.gz
volse-hubzilla-c3ada095f4156bba01e77d2d250d5821ba5e859e.tar.bz2
volse-hubzilla-c3ada095f4156bba01e77d2d250d5821ba5e859e.zip
network select widget
Diffstat (limited to 'view/nets.tpl')
-rw-r--r--view/nets.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/nets.tpl b/view/nets.tpl
new file mode 100644
index 000000000..b0cb8890c
--- /dev/null
+++ b/view/nets.tpl
@@ -0,0 +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">
+ {{ 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>