Implement a button for #188
This commit is contained in:
parent
543ec91e9b
commit
f84073ad38
2 changed files with 7 additions and 0 deletions
|
|
@ -123,6 +123,12 @@ $("#actionlog_time").click(function() {
|
|||
tableResort($("#actionlog table"), "time");
|
||||
});
|
||||
|
||||
function reverseLog() {
|
||||
$("#log").text($("#log").text().split("\n").reverse().join("\n"));
|
||||
}
|
||||
|
||||
$("#log_reverse").click(reverseLog);
|
||||
|
||||
function getSyslog() {
|
||||
$.ajax(WEB_URL+"/api/plain/readlog?type=sys&"+AUTH).done(function(data) {
|
||||
$("#log").text(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue