fine-tuning login

This commit is contained in:
2020-05-10 13:51:54 -05:00
parent e6fcb847f0
commit 7fe0d9a9c5
8 changed files with 52 additions and 41 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{% block title %}{% endblock %}</title>
<title>{% block title %}{% endblock %}{% if self.title() %} - {% endif %}capsul</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/icon.png" />
@ -14,7 +14,7 @@
<div class="float-right">
{% if session["account"] %}
<span>{{ session["account"] }}</span>
<span>Logged in as {{ session["account"] }}</span>
<a href="{{ url_for('auth.logout') }}">Log Out</a>
{% else %}
<a href="{{ url_for('auth.login') }}">Log In</a>

View File

@ -1,6 +0,0 @@
{% extends 'base.html' %}
{% block content %}
Check Your Email My Dude
{% endblock %}

View File

@ -0,0 +1,7 @@
{% extends 'base.html' %}
{% block title %}check your email{% endblock %}
{% block content %}
check your email. a login link has been sent to {{ email }}
{% endblock %}

View File

@ -1,5 +1,6 @@
{% extends 'base.html' %}
{% block title %}login{% endblock %}
{% block content %}
<form method="post">