diff --git a/app/main/views/index.py b/app/main/views/index.py index 6f46ae671..468262988 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -124,3 +124,13 @@ def apikeys(): @main.route("/verification-not-received") def verificationnotreceived(): return render_template('verification-not-received.html') + + +@main.route("/manage-templates") +def managetemplates(): + return render_template('manage-templates.html') + + +@main.route("/edit-template") +def edittemplate(): + return render_template('edit-template.html') diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index 4266e5f76..d807c57d2 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -16,6 +16,7 @@ GOV.UK Notify | Dashboard
  • View notifications activity
  • User profile
  • Manage users
  • +
  • Manage templates
  • Service settings
  • API keys and documentation
  • diff --git a/app/templates/edit-template.html b/app/templates/edit-template.html new file mode 100644 index 000000000..a6da98b25 --- /dev/null +++ b/app/templates/edit-template.html @@ -0,0 +1,20 @@ +{% extends "admin_template.html" %} + +{% block page_title %} +GOV.UK Notify | Edit template +{% endblock %} + +{% block content %} + +
    +
    +

    Edit template

    + +

    Here's where you can edit an exiting template (including delete) or add a new one

    + +

    Back to manage templates

    + +
    +
    + +{% endblock %} diff --git a/app/templates/manage-templates.html b/app/templates/manage-templates.html new file mode 100644 index 000000000..08ed55c22 --- /dev/null +++ b/app/templates/manage-templates.html @@ -0,0 +1,23 @@ +{% extends "admin_template.html" %} + +{% block page_title %} +GOV.UK Notify | Manage templates +{% endblock %} + +{% block content %} + +
    +
    +

    Manage templates

    + +

    Here's where you can view templates, choose to add one, or edit/delete one.

    + +

    Here is my first template

    + +

    + Add a new message template +

    +
    +
    + +{% endblock %}