1
0
mirror of https://github.com/Adam-Ant/ClockworkAprilFools2017 synced 2024-11-13 22:36:23 +00:00
ClockworkAprilFools2017/templates/layout.html

64 lines
2.0 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Clockwork Gaming PLUS!</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style type="text/css">
body { background: #fff9f2 !important; } /* Adding !important forces the browser to overwrite the default style applied by Bootstrap */
{% block style %}{% endblock %}
</style>
{% block head %}{% endblock %}
</head>
<body>
<nav class="navbar navbar-inverse" style="border-radius: 0">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#mainNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="/plus" class="navbar-brand"><span class="glyphicon glyphicon-cog"></span> Clockwork <b>PLUS!</b></a>
</div>
<div class="collapse navbar-collapse" id="mainNavbar">
</div>
</div>
</nav>
<div class="container">
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
{% set splitmessage = message.split(" ", 1) %}
<div class="alert alert-{{ category }} alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-label="close"> <span class="glyphicon glyphicon-remove"></span></a>
<strong>{{ splitmessage[0] }}</strong> {{ splitmessage[1] }}
</div>
{% endfor %}
{% endif %}
{% endwith %}
</div>
{% block body %}{% endblock %}
<footer class="footer">
<p>&copy; Adam Dodman 2017</p>
</footer>
</div>
</body>
</html>