diff --git a/app/main/views/index.py b/app/main/views/index.py index 02f61ff6c..22d2db606 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -60,12 +60,12 @@ def twofactor(): @main.route("/send-sms") def sendsms(): - return render_template('send_sms.html') + return render_template('send-sms.html') @main.route("/check-sms") def checksms(): - return render_template('check_sms.html') + return render_template('check-sms.html') @main.route("/email-not-received") @@ -80,12 +80,12 @@ def textnotreceived(): @main.route("/send-email") def sendemail(): - return render_template('send_email.html') + return render_template('send-email.html') @main.route("/check-email") def checkemail(): - return render_template('check_email.html') + return render_template('check-email.html') @main.route("/jobs") @@ -111,3 +111,23 @@ def forgotpassword(): @main.route("/new-password") def newpassword(): return render_template('new-password.html') + + +@main.route("/user-profile") +def userprofile(): + return render_template('user-profile.html') + + +@main.route("/manage-users") +def manageusers(): + return render_template('manage-users.html') + + +@main.route("/service-settings") +def servicesettings(): + return render_template('service-settings.html') + + +@main.route("/api-keys") +def apikeys(): + return render_template('api-keys.html') diff --git a/app/templates/api-keys.html b/app/templates/api-keys.html new file mode 100644 index 000000000..557a0c0f0 --- /dev/null +++ b/app/templates/api-keys.html @@ -0,0 +1,20 @@ +{% extends "admin_template.html" %} + +{% block page_title %} +GOV.UK Notify | API keys and documentation +{% endblock %} + +{% block content %} + +
+
+

API keys and documentation

+ +

Here's where developers can access information about the API and access keys

+ +

Back to dashboard

+ +
+
+ +{% endblock %} diff --git a/app/templates/check_email.html b/app/templates/check-email.html similarity index 100% rename from app/templates/check_email.html rename to app/templates/check-email.html diff --git a/app/templates/check_sms.html b/app/templates/check-sms.html similarity index 100% rename from app/templates/check_sms.html rename to app/templates/check-sms.html diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index 1608f5851..4266e5f76 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -14,6 +14,10 @@ GOV.UK Notify | Dashboard
  • Send text messages
  • Send email messages
  • View notifications activity
  • +
  • User profile
  • +
  • Manage users
  • +
  • Service settings
  • +
  • API keys and documentation
  • diff --git a/app/templates/job.html b/app/templates/job.html index c1e5b7e12..ccaee802c 100644 --- a/app/templates/job.html +++ b/app/templates/job.html @@ -14,7 +14,7 @@ GOV.UK Notify | Notifications activity diff --git a/app/templates/manage-users.html b/app/templates/manage-users.html new file mode 100644 index 000000000..8a93b2072 --- /dev/null +++ b/app/templates/manage-users.html @@ -0,0 +1,20 @@ +{% extends "admin_template.html" %} + +{% block page_title %} +GOV.UK Notify | Manage users +{% endblock %} + +{% block content %} + +
    +
    +

    Manage users

    + +

    Here's where you can add or remove users of a service.

    + +

    Back to dashboard

    + +
    +
    + +{% endblock %} diff --git a/app/templates/notification.html b/app/templates/notification.html index 9601e5e03..ba5d6f976 100644 --- a/app/templates/notification.html +++ b/app/templates/notification.html @@ -13,7 +13,7 @@ GOV.UK Notify | Notifications activity

    This page will be where we show what happened for a specific notification.

    - View other notifications in this job + View other notifications in this job

    diff --git a/app/templates/send_email.html b/app/templates/send-email.html similarity index 100% rename from app/templates/send_email.html rename to app/templates/send-email.html diff --git a/app/templates/send_sms.html b/app/templates/send-sms.html similarity index 100% rename from app/templates/send_sms.html rename to app/templates/send-sms.html diff --git a/app/templates/service-settings.html b/app/templates/service-settings.html new file mode 100644 index 000000000..3e6c7bcb4 --- /dev/null +++ b/app/templates/service-settings.html @@ -0,0 +1,20 @@ +{% extends "admin_template.html" %} + +{% block page_title %} +GOV.UK Notify | Service settings +{% endblock %} + +{% block content %} + +
    +
    +

    Service settings

    + +

    Here's where users can update their service profile.

    + +

    Back to dashboard

    + +
    +
    + +{% endblock %} diff --git a/app/templates/user-profile.html b/app/templates/user-profile.html new file mode 100644 index 000000000..a394b8bd8 --- /dev/null +++ b/app/templates/user-profile.html @@ -0,0 +1,20 @@ +{% extends "admin_template.html" %} + +{% block page_title %} +GOV.UK Notify | User settings +{% endblock %} + +{% block content %} + +
    +
    +

    User profile

    + +

    Here's where users can update their profile, password etc.

    + +

    Back to dashboard

    + +
    +
    + +{% endblock %}