start working on auth
This commit is contained in:
24
templates/index.html.tera
Normal file
24
templates/index.html.tera
Normal file
@ -0,0 +1,24 @@
|
||||
{% extends "base" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% if flash %}
|
||||
{% if flash.0 == "success" %}
|
||||
<div class="row">
|
||||
<div class="one-column p-1 text-white bg-green mb-3 light text-center">
|
||||
{{ flash.1 }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if flash.0 == "error" %}
|
||||
<div class="row">
|
||||
<div class="one-column p-1 text-white bg-red mb-3 bold text-center">
|
||||
{{ flash.1 }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<h1>Hi</h1>
|
||||
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user