webui white template=default

This commit is contained in:
Martijn Voncken 2008-03-15 12:10:44 +00:00
parent b713ae5fb2
commit a65cda0094
3 changed files with 12 additions and 13 deletions

View File

@ -19,10 +19,6 @@ $def with (torrent_list, organize_filters)
<a class="tab_button" href='$url'>$title</a> <a class="tab_button" href='$url'>$title</a>
</td><td>
<i style="color:#BBB">work in progress.. don't report bugs on this template</i>
$#:render.part_auto_refresh()
</td><td> </td><td>
</td><td align="right" width="320px"> </td><td align="right" width="320px">

View File

@ -8,13 +8,16 @@ $def with (filters)
<div class="title">$_('State')</div> <div class="title">$_('State')</div>
<ul> <ul>
$for state, num in filters.state: $for state, num in filters.state:
<li $if (num > 0) or (state == get('state')):
$if state == get('state'): <li
class="selected" $if state == get('state'):
> class="selected"
<img src="/pixmaps/$state.lower() "> >
<a href="$self_url(state=state)">$_(state) ($num)</a> <img src="/pixmaps/$state.lower() ">
</li> <a href="$self_url(state=state)">$_(state) ($num)</a>
</li>
$else:
<!--ignore states with no count $state -->
</ul> </ul>
<div class="title">$_('Trackers')</div> <div class="title">$_('Trackers')</div>

View File

@ -98,10 +98,10 @@ CONFIG_DEFAULTS = {
"button_style":2, "button_style":2,
"auto_refresh":False, "auto_refresh":False,
"auto_refresh_secs": 10, "auto_refresh_secs": 10,
"template":"advanced", "template":"white",
"pwd_salt":"2\xe8\xc7\xa6(n\x81_\x8f\xfc\xdf\x8b\xd1\x1e\xd5\x90", "pwd_salt":"2\xe8\xc7\xa6(n\x81_\x8f\xfc\xdf\x8b\xd1\x1e\xd5\x90",
"pwd_md5":".\xe8w\\+\xec\xdb\xf2id4F\xdb\rUc", "pwd_md5":".\xe8w\\+\xec\xdb\xf2id4F\xdb\rUc",
"cache_templates":False, "cache_templates":True,
"use_https":False "use_https":False
} }