little-library/templates/htmlContainer.html

86 lines
2.3 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{title}}{{titleSeparator}}{{siteTitle}}</title>
<meta name="description" content="A digital give-a-book, take-a-book library for ebooks">
<link rel="stylesheet" href="{{resourcePath}}css/bulma.min.css?v=1.0">
<link rel="stylesheet" href="{{resourcePath}}css/styles.css?v=1.0">
<script src="{{resourcePath}}js/jquery.min.js"></script>
<script src="{{resourcePath}}js/socket.io.js"></script>
</head>
<body>
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="/">
<div>
<h1 class="title">{{siteTitle}}</h1>
<div class="subtitle tags has-addons">
<span class="tag">Current Visitors</span>
<span class="tag is-primary" id="visitors">&hellip;</span>
</div>
</div>
</a>
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="/">
View
</a>
<a class="navbar-item" href="/give">
Give
</a>
<a class="navbar-item" href="/history">
History
</a>
</div>
<div class="navbar-end">
<a class="navbar-item" href="/about">
About
</a>
</div>
</div>
</nav>
<section class="section">
<div class="container">
{{message}}
{{body}}
</div>
</section>
<footer class="footer">
<div class="content has-text-centered">
<p>
<strong>Little Library</strong> by <a href="https://robbie.antenesse.net">Robbie Antenesse</a>.
The source code is licensed <a href="http://opensource.org/licenses/mit-license.php">MIT</a>. The website content
is licensed <a href="http://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY NC SA 4.0</a>.
</p>
</div>
</footer>
{{modal}}
<script src="{{resourcePath}}js/little-library.js"></script>
</body>
</html>