1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-11-18 00:13:55 +01:00
crowbook/templates/template.html

54 lines
4.6 KiB
HTML
Raw Normal View History

2016-02-18 22:05:54 +01:00
<!DOCTYPE html>
<html lang="{{lang}}">
<head>
<meta charset="utf-8">
<meta name="generator" content="crowbook">
<meta name="author" content="{{{author}}}">
2016-02-18 22:05:54 +01:00
<title>{{title}}</title>
2016-02-18 22:18:08 +01:00
<style type = "text/css">
2016-02-19 21:35:49 +01:00
{{{style}}}
</style>
<script>
var display_menu = false;
function toggle() {
if (display_menu == true) {
display_menu = false;
document.getElementById("nav").style.left = "-20%";
document.getElementById("content").style.marginLeft = "10%";
document.getElementById("menu").style.left = "1em";
} else {
display_menu = true;
document.getElementById("nav").style.left = "0";
document.getElementById("content").style.marginLeft = "20%";
document.getElementById("menu").style.left = "20%";
}
2016-02-18 22:18:08 +01:00
}
</script>
2016-02-19 21:35:49 +01:00
</head>
2016-02-18 22:05:54 +01:00
<body>
<nav id = "nav">
<h2>Menu</h2>
{{{toc}}}
</nav>
<div id = "content">
2016-02-18 22:05:54 +01:00
<header>
<div id = "menu">
<img id = "menu-button" onclick="toggle();"
src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNv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DtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgICAgICAgZD0ibSAxMDQuMzMwNzEsNzA0LjUwNTEgNTAwLDAiICAgICAgIGlkPSJwYXRoNDEzNi01IiAgICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIiAgICAgICBpbmtzY2FwZTp0cmFuc2Zvcm0tY2VudGVyLXg9IjcxLjQyODU3MiIgICAgICAgaW5rc2NhcGU6dHJhbnNmb3JtLWNlbnRlci15PSItMjQyLjg1NzE2IiAvPiAgICA8cGF0aCAgICAgICBzdHlsZT0iZmlsbDpub25lO2ZpbGwtcnVsZTpldmVub2RkO3N0cm9rZTojMDAwMDAwO3N0cm9rZS13aWR0aDoxMDA7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiICAgICAgIGQ9Im0gMTA0LjMzMDcxLDkzOS41MDUwNiA1MDAsMCIgICAgICAgaWQ9InBhdGg0MTM2LTUtMyIgICAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgICAgICAgaW5rc2NhcGU6dHJhbnNmb3JtLWNlbnRlci14PSI3MS40Mjg1NzIiICAgICAgIGlua3NjYXBlOnRyYW5zZm9ybS1jZW50ZXIteT0iLTI0Mi44NTcxNiIgLz4gIDwvZz48L3N2Zz4="
alt = "Menu" title = "Menu" />
</div>
<h1 class="title">{{title}}</h1>
<h2 class="author">{{author}}</h2>
2016-02-18 22:05:54 +01:00
</header>
2016-02-18 22:05:54 +01:00
{{{content}}}
</div>
2016-02-18 22:05:54 +01:00
</body>
</html>