Merge pull request #932 from alphagov/visual-tidy-up

Visual tidy up
This commit is contained in:
Chris Hill-Scott
2016-09-08 09:31:36 +01:00
committed by GitHub
7 changed files with 23 additions and 38 deletions

View File

@@ -1,6 +1,7 @@
.user-list {
@include core-16;
margin-bottom: $gutter * 1.5;
&-item {

View File

@@ -8,7 +8,7 @@
{% block maincolumn_content %}
<div class="grid-row">
<div class="grid-row bottom-gutter-1-2">
<div class="column-two-thirds">
<h1 class="heading-large">
API integration
@@ -54,11 +54,11 @@
{% endif %}
{% endcall %}
<div class="bottom-gutter">
<div class="bottom-gutter-2">
{{ api_key(current_service.id, "Service ID", thing="service ID") }}
</div>
<h2 class="heading-small">API clients</h2>
<h2 class="heading-medium">API clients</h2>
<ul class="list list-bullet">
{% for name, url in [
('Java', 'https://github.com/alphagov/notifications-java-client'),

View File

@@ -8,22 +8,16 @@
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-large">
Revoke API key
</h1>
<h1 class="heading-large">
Revoke API key
</h1>
<p>
{{ key_name }} will no longer let you connect to GOV.UK Notify.
</p>
<p>
You cant undo this.
</p>
</div>
</div>
<p>
{{ key_name }} will no longer let you connect to GOV.UK Notify.
</p>
<p>
You cant undo this.
</p>
<form method="post">
{{ page_footer(

View File

@@ -8,20 +8,15 @@
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-large">
New API key
</h1>
<h1 class="heading-large">
New API key
</h1>
<p>
Copy your key to somewhere safe. You wont be able to see it again
once you leave this page.
</p>
</div>
</div>
<p>
Copy your key to somewhere safe. You wont be able to see it again
once you leave this page.
</p>
{{ api_key(secret, key_name) }}

View File

@@ -17,7 +17,7 @@ Manage users GOV.UK Notify
{% block maincolumn_content %}
<div class="grid-row">
<div class="grid-row bottom-gutter">
<div class="column-two-thirds">
<h1 class="heading-large">
Team members
@@ -30,7 +30,7 @@ Manage users GOV.UK Notify
{% endif %}
</div>
<h2 class="heading-medium">
<h2 class="visually-hidden">
Active
</h2>
<div class="user-list">

View File

@@ -8,9 +8,6 @@
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-three-quarters">
<h1 class="heading-large">Request to go live</h1>
<p>
@@ -60,7 +57,5 @@
{{ page_footer('Request to go live') }}
</form>
</div>
</div>
{% endblock %}

View File

@@ -35,7 +35,7 @@
<p>
When youre ready we can
{% if current_service %}
{% if current_service and current_user.has_permissions(['manage_settings'], admin_override=True) %}
<a href="{{ url_for('main.service_request_to_go_live', service_id=current_service.id) }}">remove these restrictions</a>.
{% else %}
remove these restrictions.