Merge pull request #21 from alphagov/ph-manage-template

Added skeleton page for view and edit templates
This commit is contained in:
Rebecca Law
2015-12-09 14:11:05 +00:00
4 changed files with 54 additions and 0 deletions

View File

@@ -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')

View File

@@ -16,6 +16,7 @@ GOV.UK Notify | Dashboard
<li><a href="jobs">View notifications activity</a></li>
<li><a href="user-profile">User profile</a></li>
<li><a href="manage-users">Manage users</a></li>
<li><a href="manage-templates">Manage templates</a></li>
<li><a href="service-settings">Service settings</a></li>
<li><a href="api-keys">API keys and documentation</a></li>
</ul>

View File

@@ -0,0 +1,20 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify | Edit template
{% endblock %}
{% block content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Edit template</h1>
<p>Here's where you can edit an exiting template (including delete) or add a new one</p>
<p><a href="manage-templates">Back to manage templates</a></p>
</div>
</div>
{% endblock %}

View File

@@ -0,0 +1,23 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify | Manage templates
{% endblock %}
{% block content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Manage templates</h1>
<p>Here's where you can view templates, choose to add one, or edit/delete one.</p>
<p><a href="edit-template">Here is my first template</a></p>
<p>
<a class="button" href="edit-template" role="button">Add a new message template</a>
</p>
</div>
</div>
{% endblock %}