Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions project/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,36 +29,36 @@
{% include "counter.html" %}

</head>
<body {% block body_id %}{% endblock %}>
<div id="wrap">
<body {% block body_id %}{% endblock %}>
<div id="wrap">

{% include "nav.html" %}
{% include "nav.html" %}

{% block fullcontent %}
{% block fullcontent %}

<div class="container">
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
<div class="alert alert-warning alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
{{ message }}
</div>
{% endfor %}
{% endif %}
{% endwith %}
{# Body #}
{% block content %}{% endblock %}
</div>
{% endblock %}
<div class="container">
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
<div class="alert alert-warning alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
{{ message }}
</div>
{% endfor %}
{% endif %}
{% endwith %}
{# Body #}
{% block content %}{% endblock %}
</div>
{% endblock %}

</div> <!-- /wrap -->
</div> <!-- /wrap -->

<div id="footer">
<div class="container">
<p>&copy; 2014 <a href="{{ url_for('frontend.index', _external=True) }}">{{_("New site")}}</a></p>
</div>
</div>
<div id="footer">
<div class="container">
<p>&copy; 2014 <a href="{{ url_for('frontend.index', _external=True) }}">{{_("New site")}}</a></p>
</div>
</div>

</body>
</body>
</html>