Minor logging improvement, open all on legacy page

This commit is contained in:
MrFry 2019-10-07 15:44:00 +02:00
parent 4e0bea8e32
commit 38fc65b572
3 changed files with 22 additions and 0 deletions

View file

@ -43,6 +43,15 @@
font-size: 13px;
}
.openall {
background-color: #212127;
color: #999999;
cursor: pointer;
border: none;
outline: none;
font-size: 13px;
}
.active,
.collapsible:hover {
background-color: #555;
@ -64,6 +73,7 @@
</h2>
</p>
<a href="<%=siteurl%>/allqr"> Letöltés </a>
<button class="openall" onclick="openall()"> Összes kinyitása </button>
</center>
<% include aludni.ejs %>
@ -107,6 +117,13 @@
}
});
}
function openall () {
var coll = document.getElementsByClassName("content");
var i;
for (i = 0; i < coll.length; i++) {
coll[i].style.display = "block";
}
}
</script>
<% include b.ejs %>
</body>