|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<link rel="stylesheet" href="{{ staticpath }}/static/archive.css" />
|
|
|
|
<script type="text/javascript" src="{{ staticpath }}/static/archive.js"></script>
|
|
|
|
<link rel="stylesheet" href="{{ staticpath }}/static/title.css" />
|
|
|
|
<script type="text/javascript" src="{{ staticpath }}/static/title.js"></script>
|
|
|
|
<link href='https://fonts.googleapis.com/css?family=Roboto+Mono' rel='stylesheet' type='text/css'>
|
|
|
|
<title>{{ page.name }}</title>
|
|
|
|
</head>
|
|
|
|
<body class="title">
|
|
|
|
|
|
|
|
<h1>{{ page.name }} ↵</h1>
|
|
|
|
|
|
|
|
<div class="viewnav">
|
|
|
|
<div class="collapsible2 viewbtn">▢</div>
|
|
|
|
<div class="content2">
|
|
|
|
<p><button class="btn active" onclick="myFunction()">▣</button></p>
|
|
|
|
<p><button class="btnov active" onclick="myFunction2()">╬╬</button></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<div id="body">{{ body|safe }}</div>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var coll = document.getElementsByClassName("collapsible");
|
|
|
|
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";
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
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>
|