diskspace tweaks
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@2056 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
67ffdc8105
commit
1116a3f050
@ -1,7 +1,7 @@
|
||||
Package: webif
|
||||
Priority: optional
|
||||
Section: web
|
||||
Version: 1.0.17-5
|
||||
Version: 1.0.17-6
|
||||
Architecture: mipsel
|
||||
Maintainer: af123@hummypkg.org.uk
|
||||
Depends: webif-channelicons(>=1.1.13),lighttpd(>=1.4.35-2),jim(>=0.75-1),jim-oo,jim-sqlite3(>=0.75),jim-cgi(>=0.7),jim-binary(>=0.75),service-control(>=1.2),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.0.13),hmt(>=1.1.21),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),mongoose
|
||||
|
@ -504,6 +504,8 @@ span.foldernum
|
||||
{
|
||||
float: right;
|
||||
padding-top: 1.2em;
|
||||
position: relative;
|
||||
right: -10px;
|
||||
}
|
||||
|
||||
#tbdiskpie
|
||||
@ -511,7 +513,8 @@ span.foldernum
|
||||
float: right;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
margin-left: 10px;
|
||||
position: relative;
|
||||
right: -10px;
|
||||
}
|
||||
|
||||
.tbdiskpie
|
||||
@ -519,4 +522,3 @@ span.foldernum
|
||||
top: -10px !important;
|
||||
}
|
||||
|
||||
|
||||
|
@ -17,6 +17,7 @@ $('#tbdiskpie')
|
||||
}
|
||||
}
|
||||
},
|
||||
// Blue #7cb5ec, Green #90ed7d
|
||||
colors:
|
||||
Highcharts.map(['#7cb5ec', '#e4d354', '#cccccc'], function(color) {
|
||||
return {
|
||||
|
@ -211,7 +211,7 @@ proc {system diskspace} {{raw 0}} {
|
||||
HD { set tsrdir "/media/drive1/.tsr" }
|
||||
}
|
||||
|
||||
if {[file isdirectory $tsrdir]} {
|
||||
if {[file exists "$tsrdir/0.ts"]} {
|
||||
set tsrbuf 21474836480
|
||||
lassign [exec du -ks $tsrdir] tsrused
|
||||
set tsrused $($tsrused * 1024)
|
||||
|
Loading…
Reference in New Issue
Block a user