forked from projects/thebadspace
5ad29f78f6
Starting to get the production environment together, so some hot fixes are needed to the index template that haven't been accouted for yet. This one was updating the index template to use the new render class when login fails
31 lines
785 B
Twig
31 lines
785 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 options.notice is defined %}
|
|
<div role="system-notice">
|
|
{{ options.notice }}
|
|
</div>
|
|
{% endif %}
|
|
{{ include("forms/login-form.twig") }}
|
|
</section>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|