mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Merge branch 'master' of github.com:alphagov/notifications-admin
This commit is contained in:
@@ -30,3 +30,19 @@
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.global-cookie-message {
|
||||
p {
|
||||
@extend %site-width-container;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-nav {
|
||||
@include copy-16;
|
||||
margin-bottom: $gutter-two-thirds;
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
margin-right: $gutter-half;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,3 +80,11 @@ a {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.heading-xlarge {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
margin-top: $gutter;
|
||||
|
||||
.heading-medium {
|
||||
margin-top: 0;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
|
||||
a {
|
||||
@@ -129,4 +129,14 @@
|
||||
|
||||
}
|
||||
|
||||
.big-number {
|
||||
|
||||
margin-top: 10px;
|
||||
|
||||
&-label {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -16,3 +16,13 @@ def index():
|
||||
@login_required
|
||||
def verify_mobile():
|
||||
return render_template('views/verify-mobile.html')
|
||||
|
||||
|
||||
@main.route('/cookies')
|
||||
def cookies():
|
||||
return render_template('views/cookies.html')
|
||||
|
||||
|
||||
@main.route('/help')
|
||||
def help():
|
||||
return render_template('views/help.html')
|
||||
|
||||
@@ -24,6 +24,10 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block cookie_message %}
|
||||
<p>
|
||||
GOV.UK Notify uses cookies to make the site simpler.
|
||||
<a href="{{ url_for("main.cookies") }}">Find out more about cookies</a>
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
||||
{% block inside_header %}
|
||||
@@ -68,6 +72,15 @@
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block footer_support_links %}
|
||||
<nav class="footer-nav">
|
||||
<a href="{{ url_for("main.help") }}">Help</a>
|
||||
<a href="https://docs.google.com/forms/d/1AL8U-xJX_HAFEiQiJszGQw0PcEaEUnYATSntEghNDGo/viewform">Support and feedback</a>
|
||||
<a href="{{ url_for("main.cookies") }}">Cookies</a>
|
||||
Built by the <a href="https://www.gov.uk/government/organisations/government-digital-service">Government Digital Service</a>
|
||||
</nav>
|
||||
{% endblock %}
|
||||
|
||||
{% block body_end %}
|
||||
<script type="text/javascript" src="{{ asset_url('javascripts/all.js') }}" /></script>
|
||||
{% endblock %}
|
||||
|
||||
81
app/templates/views/cookies.html
Normal file
81
app/templates/views/cookies.html
Normal file
@@ -0,0 +1,81 @@
|
||||
{% extends "withoutnav_template.html" %}
|
||||
|
||||
{% block page_title %}
|
||||
Cookies – GOV.UK Notify
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<div class="grid-row">
|
||||
<div class="column-two-thirds">
|
||||
<h1 class="heading-xlarge">Cookies</h1>
|
||||
<p class="summary">
|
||||
GOV.UK Notify puts small files (known as ‘cookies’)
|
||||
on to your computer.
|
||||
</p>
|
||||
<p>These cookies are used to remember you once you’ve logged in</p>
|
||||
<p>
|
||||
Find out <a href="http://www.aboutcookies.org/">how to manage cookies</a>.
|
||||
</p>
|
||||
|
||||
<h2 class="heading-medium">Session cookies</h2>
|
||||
<p>
|
||||
We store session cookies on your computer to help keep your information
|
||||
secure while you use the service.
|
||||
</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Purpose</th>
|
||||
<th>Expires</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
notify_admin_session
|
||||
</td>
|
||||
<td width="50%">
|
||||
Used to keep you logged in
|
||||
</td>
|
||||
<td>
|
||||
1 hour
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h2 class="heading-medium">Introductory message cookie</h2>
|
||||
<p>
|
||||
When you first use the service, you may see a pop-up ‘welcome’ message.
|
||||
Once you’ve seen the message, we store a cookie on your computer so it
|
||||
knows not to show it again.
|
||||
</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Purpose</th>
|
||||
<th>Expires</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
seen_cookie_message
|
||||
</td>
|
||||
<td width="50%">
|
||||
Saves a message to let us know that you have seen our cookie
|
||||
message
|
||||
</td>
|
||||
<td>
|
||||
1 month
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
@@ -3,12 +3,13 @@
|
||||
|
||||
{% call banner_wrapper(type="mode") %}
|
||||
|
||||
<h2 class="heading-medium">Trial mode</h2>
|
||||
<div class="grid-row">
|
||||
<div class="column-one-half">
|
||||
<h2 class="heading-medium">Trial mode</h2>
|
||||
<p>
|
||||
We’ll only deliver messages to you and members of your team
|
||||
|
||||
<br>
|
||||
<a href="{{ url_for(".help", _anchor="trial-mode") }}">Find out more</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column-one-sixth">
|
||||
|
||||
79
app/templates/views/help.html
Normal file
79
app/templates/views/help.html
Normal file
@@ -0,0 +1,79 @@
|
||||
{% extends "withoutnav_template.html" %}
|
||||
|
||||
{% block page_title %}
|
||||
Cookies – GOV.UK Notify
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<div class="grid-row">
|
||||
<div class="column-two-thirds">
|
||||
<h1 class="heading-xlarge">Help</h1>
|
||||
|
||||
<h2 class="heading-large" id="trial-mode">Trial mode</h2>
|
||||
|
||||
<p>
|
||||
When you create a service on GOV.UK Notify, you start off in trial
|
||||
mode. This means:
|
||||
</p>
|
||||
<ul class="list list-bullet">
|
||||
<li>
|
||||
you can only send messages to yourself and your team members
|
||||
</li>
|
||||
<li>
|
||||
you can only send 50 messages per day
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
Anyone working in central government can create an account on
|
||||
GOV.UK Notify and try it out. So it’s important that you start off
|
||||
with some restrictions in place.
|
||||
</p>
|
||||
|
||||
<h3 class="heading-medium">To remove these restrictions</h3>
|
||||
|
||||
<p>
|
||||
You need to request to go live:
|
||||
</p>
|
||||
<ul class="list list-bullet">
|
||||
<li>
|
||||
You’ll need to agree to our terms of use
|
||||
</li>
|
||||
<li>
|
||||
If you plan to send more than 250,000 text messages per year, you’ll
|
||||
need to agree to pay for what you use – take a look at our pricing
|
||||
</li>
|
||||
<li>
|
||||
We’ll check your templates to make sure they’re consistent with our
|
||||
design patterns, style guide and information security principles
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3 class="heading-medium">
|
||||
All other aspects of GOV.UK Notify are exactly the same
|
||||
</h2>
|
||||
|
||||
<p>
|
||||
You can still:
|
||||
</p>
|
||||
<ul class="list list-bullet">
|
||||
<li>
|
||||
upload a batch of recipients
|
||||
</li>
|
||||
<li>
|
||||
do an API integration
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
We’ll send the messages you have permission to send. The messages you
|
||||
don’t have permission to send will still be listed on your
|
||||
GOV.UK Notify dashboard but won’t actually get sent. This means you
|
||||
can check that everything is fully working without accidentally sending
|
||||
hundreds of text messages or emails.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user