diff options
author | friendica <info@friendica.com> | 2012-01-05 20:40:48 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-01-05 20:40:48 -0800 |
commit | c3ada095f4156bba01e77d2d250d5821ba5e859e (patch) | |
tree | f03f9d9d7c03f159c17ba41db3701e3213529dee /view | |
parent | 291a82c4a465c6c3b1db7087682cb050d1943a08 (diff) | |
download | volse-hubzilla-c3ada095f4156bba01e77d2d250d5821ba5e859e.tar.gz volse-hubzilla-c3ada095f4156bba01e77d2d250d5821ba5e859e.tar.bz2 volse-hubzilla-c3ada095f4156bba01e77d2d250d5821ba5e859e.zip |
network select widget
Diffstat (limited to 'view')
-rw-r--r-- | view/nets.tpl | 10 | ||||
-rw-r--r-- | view/theme/duepuntozero/style.css | 17 | ||||
-rw-r--r-- | view/theme/loozah/style.css | 17 | ||||
-rw-r--r-- | view/theme/testbubble/style.css | 19 |
4 files changed, 60 insertions, 3 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> diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 6ce4c52c0..6fa968da3 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -300,7 +300,7 @@ div.wall-item-content-wrapper.shiny { margin-bottom: 10px; } -.group-selected { +.group-selected, .nets-selected { padding: 3px; -moz-border-radius: 3px; border-radius: 3px; @@ -1836,6 +1836,21 @@ a.mail-list-link { margin-top: 10px; } +.nets-ul { + list-style-type: none; +} + +.nets-ul li { + margin-top: 10px; +} + +.nets-link { + margin-left: 24px; +} +.nets-all { + margin-left: 42px; +} + #search-save { margin-left: 5px; } diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css index 6b8aef500..ff31a7807 100644 --- a/view/theme/loozah/style.css +++ b/view/theme/loozah/style.css @@ -164,7 +164,7 @@ blockquote:before { margin-bottom: 10px; } -.group-selected { +.group-selected, .nets-selected { padding: 3px; border: 1px solid #CCCCCC; background: #F8F8F8; @@ -1901,6 +1901,21 @@ a.mail-list-link { width: 12px; } +.nets-ul { + list-style-type: none; +} + +.nets-ul li { + margin-top: 10px; +} + +.nets-link { + margin-left: 24px; +} +.nets-all { + margin-left: 42px; +} + #search-save { margin-left: 5px; } diff --git a/view/theme/testbubble/style.css b/view/theme/testbubble/style.css index 3a5d9f178..54bbdeb98 100644 --- a/view/theme/testbubble/style.css +++ b/view/theme/testbubble/style.css @@ -630,7 +630,7 @@ h3#search:before { top:1px; } -.group-selected { +.group-selected, .nets-selected { padding-bottom: 0px; padding-left: 2px; padding-right: 2px; @@ -668,6 +668,23 @@ ul .sidebar-group-li .icon{ width: 12px; } + +.nets-ul { + list-style-type: none; +} + +.nets-ul li { + margin-top: 10px; +} + +.nets-link { + margin-left: 24px; +} +.nets-all { + margin-left: 42px; +} + + .widget h3{ background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f0edf0), color-stop(1, #e2e2e2) ); background:-moz-linear-gradient( center top, #f0edf0 5%, #e2e2e2 100% ); |