|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<html lang="en" id="top">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<link rel="stylesheet" href="{{ staticpath }}/static/archive.css" />
|
|
|
|
@ -8,7 +8,14 @@
|
|
|
|
|
<script type="text/javascript" src="{{ staticpath }}/static/orgs.js"></script>
|
|
|
|
|
<title>{{ page.name }}</title>
|
|
|
|
|
</head>
|
|
|
|
|
<h1>{{ page.name }}</h1>
|
|
|
|
|
<body>
|
|
|
|
|
<h1>▤ {{ page.name }}</h1>
|
|
|
|
|
|
|
|
|
|
<button onclick="scrollWin(0,5000)" class="down" title="Down">⌟</button>
|
|
|
|
|
<button onclick="scrollWin(0,-5000)" class="up" title="Up">⌜</button>
|
|
|
|
|
<button onclick="scrollToTop()" class="top" title="Top">⎴</button>
|
|
|
|
|
<button onclick="scrollToBottom()" class="bottom" title="Bottom">⎵</button>
|
|
|
|
|
|
|
|
|
|
<div id="body">{{ body|safe }}</div>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
@ -26,6 +33,20 @@
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function scrollWin(x, y) {
|
|
|
|
|
window.scrollBy(x, y);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var elmnt = document.getElementById("top");
|
|
|
|
|
|
|
|
|
|
function scrollToTop() {
|
|
|
|
|
elmnt.scrollIntoView(true); // Top
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function scrollToBottom() {
|
|
|
|
|
elmnt.scrollIntoView(false); // Bottom
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|