git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1665 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg
2013-09-09 19:38:56 +00:00
parent 10e9ef191e
commit 0e2bc599a5
11 changed files with 52 additions and 8 deletions

View File

@@ -20,13 +20,17 @@ if {![dict exists $env REQUEST_URI]} {
if {![dict exists $env QUERY_STRING]} { set env(QUERY_STRING) "root" }
set config [settings new]
set order [cgi_get order -]
if {$order eq "-"} {
set order [[settings new] sortorder]
set order [$config sortorder]
} else {
[settings new] sortorder $order
$config sortorder $order
}
set nofcount [$config nounwatchedcount]
set model [system model]
set dustbin [system dustbin 1]
@@ -43,7 +47,7 @@ proc directory {file bfile tbfile} {
set img "/images/711_1_09_Media_Folder.png"
if {$bfile eq $::dustbin} { set img "/img/Dustbin_Folder.png" }
puts "<img border=0 class=va id=\"img$tbfile\" src=$img>"
puts "<span class=foldernum></span>"
if {!$::nofcount} { puts "<span class=foldernum></span>" }
puts "<input class=\"fs fsdir\" type=checkbox>"
puts "<a class=dbf
href=\"$::env(REQUEST_URI)?dir=[cgi_quote_url $file]\"

View File

@@ -0,0 +1,5 @@
/* This style sheet can be customised to change the look and feel of some
* web interface elements.
* It will not be overwritten on webif updates.
*/

View File

@@ -46,6 +46,7 @@ class="ui-widget ui-corner-all"></textarea>
<ul>
<li><a href=# class=qfile>/mod/etc/anacrontab</a></li>
<li><a href=# class=qfile>/mod/var/spool/cron/crontabs/root</a></li>
<li><a href=# class=qfile>/mod/webif/html/css/EXTRA.css</a></li>
}
proc quickedit {file} {

View File

@@ -21,6 +21,7 @@ puts {
<link type="text/css" href="/lib/jquery.ui/css/humax/jquery-ui.css"
rel="Stylesheet" />
<link href="/css/style.css" rel="Stylesheet" type="text/css" />
<link href="/css/EXTRA.css" rel="Stylesheet" type="text/css" />
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/lib/jquery.ui/js/jquery-ui.js"></script>
</head>