mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
CSS Reshuffle, Added Page Renderer
Reorganized the CSS structure to there is some seperation between front facing style and the backend den. Also add the Render class so auth status is included in every template rendering event so login status and select member data is available if needed. will expand if needed.
This commit is contained in:
@ -13,28 +13,33 @@
|
||||
<header>
|
||||
<nav>
|
||||
<div role="nav-left">
|
||||
<a href="/den">The Bad Space</a>
|
||||
<i class="ti ti-biohazard-off"></i>
|
||||
<a href="/">The Bad Space</a>
|
||||
</div>
|
||||
<div role="nav-right">
|
||||
<div role="nav-right"></a>
|
||||
|
||||
{% if handle is defined %}
|
||||
<strong>Hey
|
||||
{{ handle }}
|
||||
</strong>
|
||||
{% endif %}
|
||||
<a href="/den/members">Members
|
||||
{% if loggedIn == true %}
|
||||
<a href="/den" title="den index">
|
||||
<i class="ti ti-door" title="den index"></i>
|
||||
</a>
|
||||
<a href="/den/locations/page/1">Locations
|
||||
<a href="/den/members" title="members">
|
||||
<i class="ti ti-users" title="members"></i>
|
||||
</a>
|
||||
<a href="/logout">Bye</a>
|
||||
</div>
|
||||
<a href="/den/locations/page/1" title="locations">
|
||||
<i class="ti ti-list-details" title="locations"></i>
|
||||
</a>
|
||||
<a href="/logout" title="logout">
|
||||
<i class="ti ti-door-exit" title="logout"></i>
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="/den" title="login">
|
||||
<i class="ti ti-door-enter" title="login"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
<main>
|
||||
{% block main %}{% endblock %}
|
||||
</main>
|
||||
{% block javascripts %}{% endblock %}
|
||||
</nav>
|
||||
</body>
|
||||
</html>
|
||||
</html></header><main>
|
||||
{% block main %}{% endblock %}</main>{% block javascripts %}{% endblock %}</body></html>
|
||||
|
Reference in New Issue
Block a user