add m4a, report log change time
git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2558 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
1579763bb2
commit
4bdd52307c
@ -1,7 +1,7 @@
|
|||||||
Package: webif
|
Package: webif
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: web
|
Section: web
|
||||||
Version: 1.2.5-12
|
Version: 1.2.5-13
|
||||||
Architecture: mipsel
|
Architecture: mipsel
|
||||||
Maintainer: af123@hummypkg.org.uk
|
Maintainer: af123@hummypkg.org.uk
|
||||||
Depends: webif-channelicons(>=1.1.18),lighttpd(>=1.4.37-2),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.0),hmt(>=2.0.8),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),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7)
|
Depends: webif-channelicons(>=1.1.18),lighttpd(>=1.4.37-2),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.0),hmt(>=2.0.8),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),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7)
|
||||||
|
@ -21,7 +21,7 @@ header
|
|||||||
set nicesplice [system pkginst nicesplice]
|
set nicesplice [system pkginst nicesplice]
|
||||||
|
|
||||||
set ignore {.nts .thm .hmi}
|
set ignore {.nts .thm .hmi}
|
||||||
set include {.ts .avi .mpg .mpeg .wmv .mkv .mp3 .mp4 .mov .hmt .m4v}
|
set include {.ts .avi .mpg .mpeg .wmv .mkv .mp3 .mp4 .mov .hmt .m4v .m4a}
|
||||||
|
|
||||||
if {![dict exists $env SCRIPT_NAME]} {
|
if {![dict exists $env SCRIPT_NAME]} {
|
||||||
set env(SCRIPT_NAME) ""
|
set env(SCRIPT_NAME) ""
|
||||||
|
@ -78,7 +78,8 @@ Highlight:
|
|||||||
<th class=\"line filter-false\">Line</th>
|
<th class=\"line filter-false\">Line</th>
|
||||||
<th class=text
|
<th class=text
|
||||||
data-sorter=\"false\"
|
data-sorter=\"false\"
|
||||||
data-placeholder=\"Search log...\">Text</th>
|
data-placeholder=\"Search log...\">Text
|
||||||
|
<span id=xinfo></span></th>
|
||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody></tbody>
|
<tbody></tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -19,6 +19,7 @@ lassign [exec wc -l $file] lines
|
|||||||
|
|
||||||
puts "{
|
puts "{
|
||||||
\"size\": \"[file size $file]\",
|
\"size\": \"[file size $file]\",
|
||||||
|
\"time\": \"[clock format [file mtime $file] -format {%c}]\",
|
||||||
\"pretty_size\": \"[pretty_size [file size $file]]\",
|
\"pretty_size\": \"[pretty_size [file size $file]]\",
|
||||||
\"lines\": \"$lines\"
|
\"lines\": \"$lines\"
|
||||||
}
|
}
|
||||||
|
@ -84,6 +84,7 @@ function loadlog(file, ajax)
|
|||||||
(data.lines == 1 ? "" : "s") + ')');
|
(data.lines == 1 ? "" : "s") + ')');
|
||||||
logfile = file;
|
logfile = file;
|
||||||
logdata = data;
|
logdata = data;
|
||||||
|
$('#xinfo').html('Log last modified: ' + data.time);
|
||||||
if (ajax)
|
if (ajax)
|
||||||
loadlog_ajax(data);
|
loadlog_ajax(data);
|
||||||
else
|
else
|
||||||
|
@ -34,6 +34,14 @@ td
|
|||||||
{
|
{
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
box-sharow: none;
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#xinfo
|
||||||
|
{
|
||||||
|
color: #ff4000 !important;
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
padding-left: 6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user