rpiwebapp-public/templates/base.html

71 lines
2.1 KiB
HTML
Raw Normal View History

2019-07-06 23:00:00 -07:00
<!DOCTYPE html>
<html lang="en">
<head style="height: 100%">
2019-07-06 23:00:00 -07:00
<meta charset="UTF-8">
<title>rpi - {{ title }}</title>
<link rel="icon" type="image/png" href="/static/images/icon.png" sizes="32x32">
<link href="/static/video-js-7.7.5/video-js.css" rel="stylesheet">
<script src='/static/video-js-7.7.5/video.js'></script>
<link rel="stylesheet" href="/static/bootstrap.min.css">
<link rel="stylesheet" href="/static/w3.css">
<link rel="stylesheet" href="/static/style.css">
2019-07-06 23:00:00 -07:00
{% block head %}
{% endblock %}
<style>
* {
box-sizing: border-box;
}
</style>
2019-07-06 23:00:00 -07:00
</head>
<body style="height: 100vh;display: flex; flex-direction: column; margin: 0">
<div style="flex: 1 0 auto">
<div class="sticky-top">
<nav class="navbar navbar-expand navbar-light bg-secondary">
<a class="navbar-brand" href="{{ url_for("home") }}">
<img src="/static/images/icon.png" height="40px" alt="">
</a>
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{{ url_for("home") }}">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for("comics.index") }}">Comics</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for("movies.index") }}">Movies</a>
</li>
2019-07-30 15:19:03 -07:00
<li class="nav-item">
<a class="nav-link" href="{{ url_for("tv.index") }}">Tv</a>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="{{ url_for("login") }}">
Login
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for("logout") }}">
Logout
</a>
</li>
</ul>
</nav>
{% block nav %}
{% endblock %}
</div>
2019-07-06 23:00:00 -07:00
{% block content %}
<p>Hello World!</p>
{% endblock %}
</div>
{% block footer %}
<footer class="bg-secondary" style="flex-shrink: 0; padding: 20px;">
{% block footer_content %}
{% endblock footer_content %}
</footer>
{% endblock footer %}
2019-07-06 23:00:00 -07:00
</body>
</html>