From 04c80ef15db0f553d330c3bd760956c5debc7833 Mon Sep 17 00:00:00 2001 From: Wugy Date: Sun, 20 Dec 2009 19:35:02 +0100 Subject: webinterface - activ download - design 60% --- module/web/media/css/default.css | 24 ++++++++++++++++++++++++ module/web/pyload.db | Bin 45056 -> 43008 bytes module/web/templates/default/base.html | 13 +++++++------ module/web/templates/default/home.html | 19 +++++++++---------- 4 files changed, 40 insertions(+), 16 deletions(-) (limited to 'module/web') diff --git a/module/web/media/css/default.css b/module/web/media/css/default.css index fbfc34d22..a0e82238e 100644 --- a/module/web/media/css/default.css +++ b/module/web/media/css/default.css @@ -1008,6 +1008,12 @@ a.play { a.play:hover { background:transparent url(/media/img/control_play_blue.png) 0px 1px no-repeat; } +a.cancel { + background:transparent url(/media/img/control_cancel.png) 0px 1px no-repeat; +} +a.cancel:hover { + background:transparent url(/media/img/control_cancel_blue.png) 0px 1px no-repeat; +} a.pause { background:transparent url(/media/img/control_pause.png) 0px 1px no-repeat; } @@ -1458,3 +1464,21 @@ div.codearea pre span.Preprc { float:left; padding-right: 8px; } +.queue { + + border: none; +} +.queue tr td { + border: none; +} +.header, .header th { + text-align: left; + font-weight: normal; + background-color:#ececec; + -moz-border-radius:5px; +} +.progress_bar { + background: #0C0; + height: 5px; + +} diff --git a/module/web/pyload.db b/module/web/pyload.db index 57d9bc73c..097ea4d3a 100644 Binary files a/module/web/pyload.db and b/module/web/pyload.db differ diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 73846b0d6..4036180bf 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -156,7 +156,7 @@ function LoadJsonToContent(data) JSONDATA = data; $("#speed").text(Math.round(data.speed*100)/100); $("#aktiv").text(data.queue); - $("#aktiv_from").text(data.total); + $("#queue").text(data.total); /*if( data.pause == false ) { @@ -178,9 +178,10 @@ function LinksToContent(data) $("#LinksAktiv").text(''); $.each(data, function(i,item) { - $("#LinksAktiv").append(''+item.name+''+item.status+''+Math.round(item.speed*100)/100+'@'+SecToRightTime(item.eta)+''+HumanFileSize(item.size)+''+item.percent+'% / '+HumanFileSize(item.size-item.kbleft)+''); + $("#LinksAktiv").append(''+item.name+''+item.status+''+SecToRightTime(item.eta)+' @ '+Math.round(item.speed*100)/100+' kb/s'+HumanFileSize(item.size)+''+item.percent+'% / '+HumanFileSize(item.size-item.kbleft)+''); //SetInver[i] = (item.size / 100 ) / item.speed ; //window.setInterval( $("#aktiv_percent").text(parseInt($("#aktiv_percent").text)+1), ((item.size / 100 ) / item.speed)*100); + $("#LinksAktiv").append('
 
'); }); //UpdateLinks(SetInver, 0); setTimeout(function() @@ -264,15 +265,15 @@ $(document).ready(function(){ {% if perms.pyload.can_change_status %} {% endif %} {% if perms.pyload.can_see_dl %}
{% endif %} diff --git a/module/web/templates/default/home.html b/module/web/templates/default/home.html index ac9c5d25c..8124902db 100644 --- a/module/web/templates/default/home.html +++ b/module/web/templates/default/home.html @@ -7,16 +7,15 @@ Active Downloads {% block content %} - - - - - - - - +
+ + + + + + - + +
NameStatusInfosSizeProgress
- {% endblock %} \ No newline at end of file -- cgit v1.2.3