1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-09-30 04:51:21 +02:00
crowbook/templates/template.html
Elisabeth Henry bfffabe34c Add book.svg and pages.svg in the resources
- Make sure they are exported in base64 in standalone HTML
- Also moved "display all" button next to menu button
2016-03-15 14:07:37 +01:00

45 lines
946 B
HTML

<!DOCTYPE html>
<html lang="{{lang}}">
<head>
<meta charset="utf-8">
<meta name="generator" content="crowbook">
<meta name="author" content="{{{author}}}">
<title>{{title}}</title>
<style type = "text/css">
{{{style}}}
</style>
<script>
{{{script}}}
</script>
</head>
<body>
<nav id = "nav">
<h2>Menu</h2>
<div id="toolbar"></div>
{{{toc}}}
</nav>
<div id = "content">
<div id = "page">
<header>
<div id = "menu">
<img id = "menu-button" onclick="toggle();"
src="{{{menu_svg}}}"
alt = "Menu" title = "Menu" />
<img id="book-button" alt="Display all" title =
"Display all" src="{{{book_svg}}}" onclick="javascript:switchAll()">
</div>
<h1 class="title">{{title}}</h1>
<h2 class="author">{{author}}</h2>
</header>
{{{content}}}
</div>
</div>
</body>
</html>