forked from 3wordchant/capsul-flask
fine-tuning login
This commit is contained in:
@ -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>
|
||||
|
@ -1,6 +0,0 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
Check Your Email My Dude
|
||||
{% endblock %}
|
7
capsulflask/templates/login-landing.html
Normal file
7
capsulflask/templates/login-landing.html
Normal 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 %}
|
@ -1,5 +1,6 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}login{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form method="post">
|
||||
|
Reference in New Issue
Block a user