|
|
|
@ -13,15 +13,15 @@
|
|
|
|
|
|
|
|
|
|
<h1>{{ page.name }} ↵</h1>
|
|
|
|
|
|
|
|
|
|
<div class="viewnav">
|
|
|
|
|
<div class="collapsible2 viewbtn">❏</div>
|
|
|
|
|
<div class="content2">
|
|
|
|
|
<!-- <div class="header" id="myHeader"> -->
|
|
|
|
|
<p><button class="btn" onclick="myFunction()">▇</button></p>
|
|
|
|
|
<p><button class="btn" onclick="myFunction2()">▓</button></p>
|
|
|
|
|
<!-- <div class="viewnav">
|
|
|
|
|
<div class="collapsible2 viewbtn">▢</div>
|
|
|
|
|
<div class="content2"> -->
|
|
|
|
|
<div class="header" id="myHeader">
|
|
|
|
|
<p><button class="btn clicked" onclick="myFunction()">▣</button></p>
|
|
|
|
|
<p><button class="btnov clicked" onclick="myFunction2()">╬╬</button></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<!-- </div>
|
|
|
|
|
<div> -->
|
|
|
|
|
|
|
|
|
|
<div id="body">{{ body|safe }}</div>
|
|
|
|
|
|
|
|
|
@ -41,20 +41,7 @@ for (i = 0; i < coll.length; i++) {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var coll = document.getElementsByClassName("collapsible2");
|
|
|
|
|
var i;
|
|
|
|
|
|
|
|
|
|
for (i = 0; i < coll.length; i++) {
|
|
|
|
|
coll[i].addEventListener("click", function() {
|
|
|
|
|
this.classList.toggle("active");
|
|
|
|
|
var content = this.nextElementSibling;
|
|
|
|
|
if (content.style.maxHeight){
|
|
|
|
|
content.style.maxHeight = null;
|
|
|
|
|
} else {
|
|
|
|
|
content.style.maxHeight = content.scrollHeight + "px";
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|