Ook open Logging knopje in header bij OTAP==O
svn path=/Website/trunk/; revision=29679
This commit is contained in:
@@ -53,13 +53,13 @@ function generateHeader()
|
||||
if (!silent)
|
||||
$.toast({ text: "Logging is now on", icon: "success", position : 'top-left'});
|
||||
$("#loggingon").hide();
|
||||
$("#loggingoff").show();
|
||||
$("#loggingoff,#loggingshow").show();
|
||||
}
|
||||
function stopLogging()
|
||||
{
|
||||
$.post("../shared/wislog.asp?logging=0");
|
||||
$.toast({ text: "Logging is now off", icon: "success", position : 'top-left'});
|
||||
$("#loggingoff").hide();
|
||||
$("#loggingoff,#loggingshow").hide();
|
||||
$("#loggingon").show();
|
||||
}
|
||||
<%
|
||||
@@ -76,6 +76,9 @@ function generateHeader()
|
||||
<div id="loggers">
|
||||
<button id='loggingoff' onclick='stopLogging()'>Stop logging</button>
|
||||
<a href='../shared/wislog.asp?logging=1' target='_new'><button id='loggingon' onclick='startLogging()'>Start logging</button></a>
|
||||
<% if (Application("otap_environment") == "O") { %>
|
||||
<a href='../../<%=Application(customerId + "_logfilename")%>.html' target='_new'><button id='loggingshow'>Open logging</button></a>
|
||||
<% } %>
|
||||
</div>
|
||||
<%
|
||||
}
|
||||
|
||||
@@ -439,9 +439,12 @@ div#loggers {
|
||||
left:5px;
|
||||
z-index:99
|
||||
}
|
||||
button#loggingoff {
|
||||
button#loggingoff,button#loggingshow {
|
||||
display:none;
|
||||
font-size:10px;
|
||||
background-color:#fdd;
|
||||
}
|
||||
button#loggingoff {
|
||||
background-color:#f88;
|
||||
}
|
||||
button#loggingon {
|
||||
|
||||
Reference in New Issue
Block a user