Author: damoxc

Revision: 4952

Log:
        add a progress bar to the files

Diff:
Modified: trunk/deluge/ui/web/css/deluge.css
===================================================================
--- trunk/deluge/ui/web/css/deluge.css  2009-03-31 00:06:36 UTC (rev 4951)
+++ trunk/deluge/ui/web/css/deluge.css  2009-03-31 00:17:32 UTC (rev 4952)
@@ -89,15 +89,6 @@
        width: auto;
 }
 
-/* Peers Grid */
-.x-deluge-peer {
-       
-}
-
-.x-deluge-seed {
-       
-}
-
 /* Login Window */
 .x-deluge-login-window-icon {
        background: url('/icons/login.png') no-repeat 2px;
@@ -153,6 +144,19 @@
        color: White;
 }
 
+/* Adjust progressbar for torrent files tree */
+.x-tree .x-progress-bar, .x-tree .x-progress-inner {
+       height: 10px;
+}
+
+.x-tree .x-progress-text-back, .x-tree .x-progress-text {
+       font-size: 10px;
+       vertical-align: top;
+       font-weight: normal;
+       padding-top: 0px;
+}
+
+
 /* Sidebar styles */
 .x-deluge-filters .x-grid3-col-filter {
        height: 16px;

Modified: trunk/deluge/ui/web/js/deluge-details.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-details.js    2009-03-31 00:06:36 UTC (rev 
4951)
+++ trunk/deluge/ui/web/js/deluge-details.js    2009-03-31 00:17:32 UTC (rev 
4952)
@@ -356,7 +356,8 @@
                },{
                        header: _('Progress'),
                        width: 150,
-                       dataIndex: 'progress'
+                       dataIndex: 'progress',
+                       renderer: peer_progress
                },{
                        header: _('Priority'),
                        width: 150,



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to