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 { .user-list {
@include core-16; @include core-16;
margin-bottom: $gutter * 1.5;
&-item { &-item {

View File

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

View File

@@ -8,9 +8,6 @@
{% block maincolumn_content %} {% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-large"> <h1 class="heading-large">
Revoke API key Revoke API key
</h1> </h1>
@@ -22,9 +19,6 @@
You cant undo this. You cant undo this.
</p> </p>
</div>
</div>
<form method="post"> <form method="post">
{{ page_footer( {{ page_footer(
'Revoke this API key', 'Revoke this API key',

View File

@@ -8,8 +8,6 @@
{% block maincolumn_content %} {% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-large"> <h1 class="heading-large">
New API key New API key
@@ -20,9 +18,6 @@
once you leave this page. once you leave this page.
</p> </p>
</div>
</div>
{{ api_key(secret, key_name) }} {{ api_key(secret, key_name) }}
{{ page_footer( {{ page_footer(

View File

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

View File

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

View File

@@ -35,7 +35,7 @@
<p> <p>
When youre ready we can 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>. <a href="{{ url_for('main.service_request_to_go_live', service_id=current_service.id) }}">remove these restrictions</a>.
{% else %} {% else %}
remove these restrictions. remove these restrictions.