diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2012-01-06 09:27:05 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2012-01-06 09:27:05 +0100 |
commit | 98a8693e9ea86d4ee07539ee93162511edb70c12 (patch) | |
tree | 3c1cc06c7962824173c2f41e30426067c3464266 | |
parent | f9b0af6f2f0c57481a0b5b3dc269b2389f3fa872 (diff) | |
download | volse-hubzilla-98a8693e9ea86d4ee07539ee93162511edb70c12.tar.gz volse-hubzilla-98a8693e9ea86d4ee07539ee93162511edb70c12.tar.bz2 volse-hubzilla-98a8693e9ea86d4ee07539ee93162511edb70c12.zip |
quattro: style network widget
-rw-r--r-- | view/nets.tpl | 10 | ||||
-rw-r--r-- | view/theme/dispy/nets.tpl | 10 | ||||
-rw-r--r-- | view/theme/duepuntozero/nets.tpl | 10 | ||||
-rw-r--r-- | view/theme/loozah/nets.tpl | 10 | ||||
-rw-r--r-- | view/theme/testbubble/nets.tpl | 10 |
5 files changed, 46 insertions, 4 deletions
diff --git a/view/nets.tpl b/view/nets.tpl index b0cb8890c..0953e66a6 100644 --- a/view/nets.tpl +++ b/view/nets.tpl @@ -1,10 +1,12 @@ <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 }} + <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?nets=$net.ref" class="nets-link">$net.name</a></li> + {{ endfor }} </ul> + </div> diff --git a/view/theme/dispy/nets.tpl b/view/theme/dispy/nets.tpl new file mode 100644 index 000000000..b0cb8890c --- /dev/null +++ b/view/theme/dispy/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> diff --git a/view/theme/duepuntozero/nets.tpl b/view/theme/duepuntozero/nets.tpl new file mode 100644 index 000000000..b0cb8890c --- /dev/null +++ b/view/theme/duepuntozero/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> diff --git a/view/theme/loozah/nets.tpl b/view/theme/loozah/nets.tpl new file mode 100644 index 000000000..b0cb8890c --- /dev/null +++ b/view/theme/loozah/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> diff --git a/view/theme/testbubble/nets.tpl b/view/theme/testbubble/nets.tpl new file mode 100644 index 000000000..b0cb8890c --- /dev/null +++ b/view/theme/testbubble/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> |