mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-06 00:48:46 -04:00
Adds the pages and wires them together, so that it’s possible to click through them. The wording is not quite English, but attempts to be an rough description of what the consequences are for each of the four actions.
65 lines
1.3 KiB
Python
65 lines
1.3 KiB
Python
from flask import render_template
|
|
from flask_login import login_required
|
|
|
|
from app.main import main
|
|
|
|
|
|
@main.route('/')
|
|
def index():
|
|
return render_template('views/signedout.html')
|
|
|
|
|
|
@main.route("/govuk")
|
|
def govuk():
|
|
return render_template('views/govuk_template.html')
|
|
|
|
|
|
@main.route("/register-from-invite")
|
|
def registerfrominvite():
|
|
return render_template('views/register-from-invite.html')
|
|
|
|
|
|
@main.route("/verify-mobile")
|
|
def verifymobile():
|
|
return render_template('views/verify-mobile.html')
|
|
|
|
|
|
@main.route("/send-email")
|
|
def sendemail():
|
|
return render_template('views/send-email.html')
|
|
|
|
|
|
@main.route("/check-email")
|
|
def checkemail():
|
|
return render_template('views/check-email.html')
|
|
|
|
|
|
@main.route("/forgot-password")
|
|
def forgotpassword():
|
|
return render_template('views/forgot-password.html')
|
|
|
|
|
|
@main.route("/new-password")
|
|
def newpassword():
|
|
return render_template('views/new-password.html')
|
|
|
|
|
|
@main.route("/user-profile")
|
|
def userprofile():
|
|
return render_template('views/user-profile.html')
|
|
|
|
|
|
@main.route("/manage-users")
|
|
def manageusers():
|
|
return render_template('views/manage-users.html')
|
|
|
|
|
|
@main.route("/api-keys")
|
|
def apikeys():
|
|
return render_template('views/api-keys.html')
|
|
|
|
|
|
@main.route("/verification-not-received")
|
|
def verificationnotreceived():
|
|
return render_template('views/verification-not-received.html')
|