forked from hummypkg/webif
Add button for quick access to auto.log (from /df)
This commit is contained in:
parent
d5f21d0ef5
commit
f85e83f1df
@ -57,6 +57,7 @@ There are no tasks in the queue.
|
|||||||
<button id=qresubmit act=resubmit class="submit needssel">Re-submit</button>
|
<button id=qresubmit act=resubmit class="submit needssel">Re-submit</button>
|
||||||
<button id=qhold act=hold class="submit needssel">Hold</button>
|
<button id=qhold act=hold class="submit needssel">Hold</button>
|
||||||
<button class=refresh id=refresh>Refresh</button>
|
<button class=refresh id=refresh>Refresh</button>
|
||||||
|
<button id=viewlog class=needsdata>View auto.log</button>
|
||||||
<span class=isloading><img src=/img/spin.gif></span>
|
<span class=isloading><img src=/img/spin.gif></span>
|
||||||
</div>
|
</div>
|
||||||
<div id=lastscan>Last media scan: <span id=autolast>retrieving...</span> -
|
<div id=lastscan>Last media scan: <span id=autolast>retrieving...</span> -
|
||||||
|
@ -200,6 +200,10 @@ $('#queuetab').on('click', 'a.file', function(e) {
|
|||||||
encodeURIComponent('{root}/' + dirname(file));
|
encodeURIComponent('{root}/' + dirname(file));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#viewlog').button().click(function() {
|
||||||
|
window.location = '/log/?log=/mod/tmp/auto.log';
|
||||||
|
});
|
||||||
|
|
||||||
function set_loader() {
|
function set_loader() {
|
||||||
if (loader != 0)
|
if (loader != 0)
|
||||||
clearInterval(loader);
|
clearInterval(loader);
|
||||||
|
Loading…
Reference in New Issue
Block a user