updated homepage, added messages to all pages
This commit is contained in:
parent
53bb7c4d75
commit
10ccab21eb
|
@ -3,7 +3,8 @@
|
|||
{% block content %}
|
||||
<h1>Quests 'n Shiet</h1>
|
||||
<a href="./quest/1">Unga Bunga Quest</a><br />
|
||||
<a href="./create_quest">Create New Quest</a><br />
|
||||
<a href="./signup">Sign up</a><br />
|
||||
<a href="./login">Login</a><br />
|
||||
<a href="{{ url('create_quest:index') }}">Create New Quest</a><br />
|
||||
<a href="{{ url('signup:index') }}">Sign up</a><br />
|
||||
<a href="{{ url('login:index') }}">Login</a><br />
|
||||
<a href="{{ url('logout:index') }}">Logout</a><br />
|
||||
{% endblock %}
|
||||
|
|
|
@ -36,6 +36,14 @@
|
|||
<ul id="headerHidden" class="header" style="{% if request.session.get("hide_header") == True %}display:initial;{% else %}display:none;{% endif %}">
|
||||
<li><a onclick="toggleHeader();" href="javascript:void(0);">⤓</a></li>
|
||||
</ul>
|
||||
<br /> <!-- TODO: make this more exact. -->
|
||||
<div id="messages">
|
||||
<ul class="messages">
|
||||
{% for message in get_messages(request) %}
|
||||
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="content">{% block content %}{% endblock %} </div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue
Block a user