Added main nav to logged in pages

This commit is contained in:
Chris Heathcote
2015-12-14 16:53:07 +00:00
parent ec020a42f4
commit 15c9269a80
14 changed files with 44 additions and 88 deletions

View File

@@ -1,20 +1,17 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | API keys and documentation
{% endblock %}
{% block content %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">API keys and documentation</h1>
<p>Here's where developers can access information about the API and access keys</p>
<p><a href="dashboard">Back to dashboard</a></p>
</div>
</div>
{% endblock %}

View File

@@ -1,13 +1,11 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Send email
{% endblock %}
{% block content %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Send email</h1>
<p>This page will be where we check the email messages we're about to send</p>
@@ -15,7 +13,6 @@ GOV.UK Notify | Send email
<p>
<a class="button" href="dashboard" role="button">Send email messages</a>
</p>
</div>
</div>
{% endblock %}

View File

@@ -1,4 +1,4 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% from "components/sms-message.html" import sms_message %}
{% from "components/table.html" import table, field %}
{% from "components/placeholder.html" import placeholder %}
@@ -8,10 +8,9 @@
GOV.UK Notify | Send text messages
{% endblock %}
{% block content %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Send text messages</h1>
<h2 class="heading-medium">Check and confirm</h2>
@@ -61,7 +60,6 @@
url_for(".sendsms")
) }}
</div>
</div>
{% endblock %}

View File

@@ -9,16 +9,7 @@ GOV.UK Notify | Dashboard
<h1 class="heading-xlarge">Dashboard</h1>
<ul>
<li><a href="send-sms">Send text messages</a></li>
<li><a href="send-email">Send email messages</a></li>
<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>
<p>Dashboard goes here.</p>
{% endblock %}

View File

@@ -1,20 +1,18 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Edit template
{% endblock %}
{% block content %}
{% block maincolumn_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

@@ -1,13 +1,11 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Notifications activity
{% endblock %}
{% block content %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Notifications for a specific job</h1>
<p>This page will be where we list the notifications for a specific job.</p>
@@ -16,7 +14,6 @@ GOV.UK Notify | Notifications activity
<li><a href="/jobs/job/notification">view a specific notification</a></li>
<li><a href="/jobs">view all the activity for this service</a></li>
</ul>
</div>
</div>
{% endblock %}

View File

@@ -1,13 +1,11 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Notifications activity
{% endblock %}
{% block content %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Notifications activity</h1>
<p>This page will be where we show the list of jobs that this service has processed</p>
@@ -15,7 +13,6 @@ GOV.UK Notify | Notifications activity
<p>
<a href="jobs/job">view a particular notification job</a>
</p>
</div>
</div>
{% endblock %}

View File

@@ -1,13 +1,12 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Manage templates
{% endblock %}
{% block content %}
{% block maincolumn_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>
@@ -17,7 +16,6 @@ GOV.UK Notify | Manage templates
<p>
<a class="button" href="edit-template" role="button">Add a new message template</a>
</p>
</div>
</div>
{% endblock %}

View File

@@ -1,20 +1,17 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Manage users
{% endblock %}
{% block content %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Manage users</h1>
<p>Here's where you can add or remove users of a service.</p>
<p><a href="dashboard">Back to dashboard</a></p>
</div>
</div>
{% endblock %}

View File

@@ -1,13 +1,12 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Notifications activity
{% endblock %}
{% block content %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">A specific notification</h1>
<p>This page will be where we show what happened for a specific notification.</p>
@@ -15,7 +14,6 @@ GOV.UK Notify | Notifications activity
<p>
<a href="/jobs/job">View other notifications in this job</a>
</p>
</div>
</div>
{% endblock %}

View File

@@ -1,13 +1,12 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Send email
{% endblock %}
{% block content %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Send email</h1>
<p>This page will be where we construct email messages</p>
@@ -15,7 +14,6 @@ GOV.UK Notify | Send email
<p>
<a class="button" href="check-email" role="button">Continue</a>
</p>
</div>
</div>
{% endblock %}

View File

@@ -1,14 +1,12 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% from "components/sms-message.html" import sms_message %}
{% block page_title %}
GOV.UK Notify | Send text messages
{% endblock %}
{% block content %}
{% block maincolumn_content %}
<form method="POST" enctype="multipart/form-data">
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Send text messages</h1>
@@ -46,8 +44,7 @@
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<input type="submit" class="button" value="Continue" />
</p>
</div>
</div>
</form>
{% endblock %}

View File

@@ -1,20 +1,17 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Service settings
{% endblock %}
{% block content %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Service settings</h1>
<p>Here's where users can update their service profile.</p>
<p><a href="dashboard">Back to dashboard</a></p>
</div>
</div>
{% endblock %}

View File

@@ -1,20 +1,16 @@
{% extends "admin_template.html" %}
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | User settings
{% endblock %}
{% block content %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">User profile</h1>
<p>Here's where users can update their profile, password etc.</p>
<p><a href="dashboard">Back to dashboard</a></p>
</div>
</div>
{% endblock %}