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:
hummypkg 2015-12-18 23:13:13 +00:00
parent 1579763bb2
commit 4bdd52307c
6 changed files with 15 additions and 4 deletions

View File

@ -1,7 +1,7 @@
Package: webif
Priority: optional
Section: web
Version: 1.2.5-12
Version: 1.2.5-13
Architecture: mipsel
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)

View File

@ -21,7 +21,7 @@ header
set nicesplice [system pkginst nicesplice]
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]} {
set env(SCRIPT_NAME) ""

View File

@ -78,7 +78,8 @@ Highlight:
<th class=\"line filter-false\">Line</th>
<th class=text
data-sorter=\"false\"
data-placeholder=\"Search log...\">Text</th>
data-placeholder=\"Search log...\">Text
<span id=xinfo></span></th>
</tr></thead>
<tbody></tbody>
</table>

View File

@ -19,6 +19,7 @@ lassign [exec wc -l $file] lines
puts "{
\"size\": \"[file size $file]\",
\"time\": \"[clock format [file mtime $file] -format {%c}]\",
\"pretty_size\": \"[pretty_size [file size $file]]\",
\"lines\": \"$lines\"
}

View File

@ -84,6 +84,7 @@ function loadlog(file, ajax)
(data.lines == 1 ? "" : "s") + ')');
logfile = file;
logdata = data;
$('#xinfo').html('Log last modified: ' + data.time);
if (ajax)
loadlog_ajax(data);
else

View File

@ -34,6 +34,14 @@ td
{
padding: 5px 10px;
border-style: none;
box-sharow: none;
box-shadow: none;
}
#xinfo
{
color: #ff4000 !important;
font-weight: normal;
font-style: italic;
padding-left: 6em;
}