RLG-Web client: some visual improvements.
Hide the debugging messages by default.
This commit is contained in:
parent
2d9c8bd011
commit
b34eeb2de8
3 changed files with 14 additions and 1 deletions
|
|
@ -115,8 +115,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rfloat"><span class="ibutton" onclick="toggledebug()">Messages</span></div>
|
||||
<div id="debug">
|
||||
<p>Debugging Output</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -731,6 +731,13 @@ function setmode(mode, ev) {
|
|||
}
|
||||
}
|
||||
|
||||
function toggledebug() {
|
||||
if (document.getElementById("debug").style.display != "block")
|
||||
document.getElementById("debug").style.display = "block";
|
||||
else
|
||||
document.getElementById("debug").style.display = "none";
|
||||
}
|
||||
|
||||
function debug(level, msg) {
|
||||
if (level < debugSuppress)
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -62,5 +62,11 @@ div#register div.formtable span.ibutton {
|
|||
|
||||
div#nogames {
|
||||
display: none;
|
||||
margin-top: 2em;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div#debug {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue