Create base forms for registration and sign in

Created routes and forms for registration, sign in, and registration
from an invite.
Also tidied up assets folder, removed copy of fronted toolkit.
This commit is contained in:
Chris Heathcote
2015-11-25 16:21:28 +00:00
committed by Rebecca Law
parent ed609eeec9
commit 701ce482d4
32 changed files with 774 additions and 1736 deletions

View File

@@ -3,9 +3,9 @@ from flask import render_template
from app.main import main
@main.route('/index')
@main.route('/')
def index():
return 'Hello from notifications-admin'
return render_template('signedout.html')
@main.route("/govuk")
@@ -13,6 +13,40 @@ def govuk():
return render_template('govuk_template.html')
@main.route("/helloworld")
@main.route("/hello-world")
def helloworld():
return render_template('hello-world.html')
@main.route("/register")
def register():
return render_template('register.html')
@main.route("/register-from-invite")
def registerfrominvite():
return render_template('register-from-invite.html')
@main.route("/verify")
def verify():
return render_template('verify.html')
@main.route("/verify-mobile")
def verifymobile():
return render_template('verify-mobile.html')
@main.route("/dashboard")
def dashboard():
return render_template('dashboard.html')
@main.route("/sign-in")
def signin():
return render_template('signin.html')
@main.route("/add-service")
def addservice():
return render_template('add-service.html')
@main.route("/two-factor")
def twofactor():
return render_template('two-factor.html')