yenu/resources/templates/layout.html

48 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>yenu -- the image sharing tool for friends</title>
</head>
<body>
<nav class="navbar navbar-inverse bg-faded">
<a class="navbar-brand" href="/">yenu</a>
<ul class="nav navbar-nav mr-auto pull-right">
<li class="nav-item">
<a class="nav-link" href="/upload">Hochladen</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/comments">Kommentarstream</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/stats">Statistik</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/logout">Ausloggen</a>
</li>
</ul>
</nav>
<div id="content" class="col-md-12">
{% block content %}
{% endblock %}
</div>
<!-- cljs stuff, remove ore reuse it (see cljs/jenu/core.cljs) -->
<div id="navbar"></div>
<div id="app"></div>
{% style "/assets/bootstrap/css/bootstrap.min.css" %}
{% style "/assets/font-awesome/css/font-awesome.min.css" %}
{% style "/css/screen.css" %}
<script type="text/javascript">
var context = "{{servlet-context}}";
var csrfToken = "{{csrf-token}}";
</script>
{% script "/js/app.js" %}
</body>
</html>