mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
Auth Framework, Part 2
Auth class is back up and running to handle user authorizaion as well as session managment. Implemented basic usage on admin index class just for an example. Added a couple of new template files and css to start defining the overall style of pages and UI.
This commit is contained in:
@ -1,10 +1,16 @@
|
||||
{% extends "base/frame.twig" %}
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=sdfsdf">
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=dfadf">
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<section role="intro">
|
||||
This is the screendoor index
|
||||
<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>
|
||||
{% endblock %}
|
||||
|
17
templates/back/start.twig
Normal file
17
templates/back/start.twig
Normal file
@ -0,0 +1,17 @@
|
||||
{% extends "base/frame.twig" %}
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=sdfsdf">
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<section>
|
||||
<h1>
|
||||
Welcome to the Den.
|
||||
</h1>
|
||||
Hey
|
||||
{{ handle }}
|
||||
. Nice to see you again.
|
||||
<a href="/logout">Bye bye</a>
|
||||
|
||||
</section>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user