mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
split details/statistics tabs
This commit is contained in:
parent
39cad76dd2
commit
85d17af933
5 changed files with 39 additions and 26 deletions
|
@ -1,15 +1,22 @@
|
|||
0.6 :
|
||||
*plugin-config + (re)enable webui plugins.
|
||||
*Fix IE7 for advanced/white template.
|
||||
*split statistics tab into statistics , details like gtk-ui
|
||||
*details tabs : add css
|
||||
*white template : add auto-refresh
|
||||
*white template : add auto-refresh (with a nice js-progress-bar)
|
||||
*gettext : update template_strings.py + add all .py files to gettext input files
|
||||
|
||||
after 0.6:
|
||||
after 0.6 :
|
||||
*hide-option for details iframe.
|
||||
*add new major features in available gtk ui but not in webui.
|
||||
*white template:better css fluid layout or switch to tables.
|
||||
*labels (organize-plugin)
|
||||
*checkboxes for multiple select.
|
||||
*rethink details iframe.
|
||||
*persistent sessions
|
||||
|
||||
maybe/ideas/after 0.6.1:
|
||||
*switch to webpy 0.3
|
||||
*right-click menu on torrent-rows
|
||||
*multi row template like transmission etc.
|
||||
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@ def create_webserver(debug = False):
|
|||
utils.apply_config()
|
||||
|
||||
|
||||
from lib.gtk_cherrypy_wsgiserver import CherryPyWSGIServer
|
||||
from lib.webpy022.wsgiserver import CherryPyWSGIServer
|
||||
|
||||
middleware = None
|
||||
if debug:
|
||||
|
|
|
@ -41,7 +41,8 @@ menu.register_admin_page("connect", _("Connect"), "/connect")
|
|||
menu.register_admin_page("about", _("About"), "/about")
|
||||
menu.register_admin_page("logout", _("Logout"), "/logout")
|
||||
|
||||
menu.register_detail_tab("details", _("Statistics"), "tab_statistics")
|
||||
menu.register_detail_tab("statistics", _("Statistics"), "tab_statistics")
|
||||
menu.register_detail_tab("details", _("Details"), "tab_details")
|
||||
menu.register_detail_tab("options", _("Options"), "tab_options")
|
||||
menu.register_detail_tab("trackers", _("Trackers"), "tab_trackers")
|
||||
menu.register_detail_tab("peers", _("Peers"), "tab_peers")
|
||||
|
|
25
deluge/ui/webui/templates/deluge/tab_details.html
Normal file
25
deluge/ui/webui/templates/deluge/tab_details.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
$def with (torrent)
|
||||
<table width="100%">
|
||||
<!--long values-->
|
||||
<tr><td> </td></tr>
|
||||
<tr colspan="3">
|
||||
<table>
|
||||
<tr><td class="info_label">$('Name'):</td>
|
||||
<td class="info_value">$torrent.name</td>
|
||||
</tr>
|
||||
<tr><td class="info_label">$('Hash'):</td>
|
||||
<td class="info_value">$torrent.id</td>
|
||||
</tr>
|
||||
<tr><td class="info_label">$_('Tracker'):</td>
|
||||
<td class="info_value" title="$torrent.tracker">$(crop(torrent.tracker, 200))</td>
|
||||
</tr>
|
||||
<tr><td class="info_label">$_('Tracker Status'):</td>
|
||||
<td class="info_value" title="$torrent.tracker_status">$(crop(torrent.tracker_status, 200)) </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="info_label">$('Save Path'):</td>
|
||||
<td class="info_value" title="$torrent.save_path">$crop_left(torrent.save_path, 200)</td>
|
||||
</table>
|
||||
</tr>
|
||||
</table>
|
|
@ -29,7 +29,7 @@ $def with (torrent)
|
|||
|
||||
|
||||
</table>
|
||||
</td><td width=30%%>
|
||||
</td><td width=30%>
|
||||
|
||||
<table>
|
||||
<tr><td class="info_label">$_('Speed'):</td><td class="info_value">
|
||||
|
@ -74,24 +74,4 @@ $else:
|
|||
</td></tr>
|
||||
|
||||
</table>
|
||||
</tr>
|
||||
<!--long values-->
|
||||
<tr><td> </td></tr>
|
||||
<tr colspan="3">
|
||||
<table>
|
||||
<tr><td class="info_label">$('Hash'):</td>
|
||||
<td class="info_value">$torrent.id</td>
|
||||
</tr>
|
||||
<tr><td class="info_label">$_('Tracker'):</td>
|
||||
<td class="info_value" title="$torrent.tracker">$(crop(torrent.tracker, 200))</td>
|
||||
</tr>
|
||||
<tr><td class="info_label">$_('Tracker Status'):</td>
|
||||
<td class="info_value" title="$torrent.tracker_status">$(crop(torrent.tracker_status, 200)) </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="info_label">$('Save Path'):</td>
|
||||
<td class="info_value" title="$torrent.save_path">$crop_left(torrent.save_path, 200)</td>
|
||||
</table>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Reference in a new issue