forked from projects/thebadspace
735117fcda
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.
31 lines
769 B
Twig
31 lines
769 B
Twig
{% extends "base/frame.twig" %}
|
|
{% block stylesheets %}
|
|
<link rel="stylesheet" type="text/css" href="/assets/css/back/start.css?=qwert">
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
{% if loggedIn %}
|
|
<section role="den-index">
|
|
<h1>
|
|
Welcome to the Den,
|
|
{{ handle }}
|
|
|
|
</h1>
|
|
Remember to pace yourself because you're working with some of the worse places on the web. Drink water, takes lot of breaks and remember you are the reason the interent is becoming safer.
|
|
</section>
|
|
|
|
{% else %}
|
|
<section role="den-login">
|
|
<h1>This is the Den</h1><br/>
|
|
{% if notice is defined %}
|
|
<div role="system-notice">
|
|
{{ notice }}
|
|
</div>
|
|
{% endif %}
|
|
{{ include("forms/login-form.twig") }}
|
|
</section>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|