Add a basic layout Tera template (with some custom CSS)

This commit is contained in:
Paul van Tilburg 2017-12-17 13:20:06 +01:00
parent 8ebea2e79c
commit fbbbd65c15
2 changed files with 46 additions and 0 deletions

3
static/css/custom.css Normal file
View File

@ -0,0 +1,3 @@
body {
padding-top: 64px;
}

View File

@ -0,0 +1,43 @@
<!doctype html>
<html lang="en">
<head>
{% block head %}
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}Online Prikbord Familie van Tilburg{% endblock title %}</title>
<!-- Bootstrap core CSS -->
<link href="/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom core CSS -->
<link href="/css/custom.css" rel="stylesheet">
<!-- jQuery (necessary for Bootstrap JavaScript plugins) -->
<script src="/js/jquery.min.js"></script>
<!-- Popper.js (necessary for Bootstrap JavaScript plugins) -->
<script src="/js/popper.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/js/bootstrap.min.js"></script>
{% endblock head %}
</head>
<body>
{% block body %}
<nav class="navbar fixed-top navbar-dark bg-dark">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">Online Prikbord</a>
</div>
</div>
</nav>
<div class="container" id="content">
{% block content %}
{% endblock content %}
</div> <!-- /.container -->
{% endblock body %}
</body>
</html>