Merge pull request #4 from alphagov/ph-activity-shell-pages

Added shell pages for activities (jobs/job/notification)
This commit is contained in:
Chris Heathcote
2015-11-30 15:59:40 +00:00
5 changed files with 80 additions and 0 deletions

View File

@@ -76,3 +76,18 @@ def sendemail():
@main.route("/check-email")
def checkemail():
return render_template('check_email.html')
@main.route("/jobs")
def showjobs():
return render_template('jobs.html')
@main.route("/jobs/job")
def showjob():
return render_template('job.html')
@main.route("/jobs/job/notification")
def shownotification():
return render_template('notification.html')

View File

@@ -13,6 +13,7 @@ GOV.UK Notify | Dashboard
<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>
</ul>
</div>
</div>

22
app/templates/job.html Normal file
View File

@@ -0,0 +1,22 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify | Notifications activity
{% endblock %}
{% block 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>
<ul>
<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 %}

21
app/templates/jobs.html Normal file
View File

@@ -0,0 +1,21 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify | Notifications activity
{% endblock %}
{% block 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>
<p>
<a href="jobs/job">view a particular notification job</a>
</p>
</div>
</div>
{% endblock %}

View File

@@ -0,0 +1,21 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify | Notifications activity
{% endblock %}
{% block 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>
<p>
<a href="job">View other notifications in this job</a>
</p>
</div>
</div>
{% endblock %}