add flask-bootstrap

This commit is contained in:
neingeist 2018-11-10 21:12:52 +01:00
parent 5358ea95d6
commit c56c1226d3
5 changed files with 14 additions and 25 deletions

View file

@ -1,23 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>Prolefeeder</title>
</head>
<body>
<div>
<a href="{{ url_for('index') }}">Home</a>
<a href="{{ url_for('download') }}">Download</a>
</div>
<hr>
{% with messages = get_flashed_messages() %}
{% if messages %}
<ul>
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endwith %}
{% block content %}{% endblock %}
</body>
</html>
{% extends "bootstrap/base.html" %}
{% block title %}Prolefeeder{% endblock %}
{% block content %}
<div class="container">
{% block app_content %}
{% endblock %}
</div>
{% endblock %}