mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 01:55:41 -04:00
Use the same pattern as elsewhere for ‘new thing’
On the team and templates pages we have a pattern for adding a new ‘thing’, which is a green button in the top right. This commit changes the API key page to follow the same pattern.
This commit is contained in:
@@ -8,9 +8,16 @@
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<h1 class="heading-large">
|
||||
API keys
|
||||
</h1>
|
||||
<div class="grid-row">
|
||||
<div class="column-two-thirds">
|
||||
<h1 class="heading-large">
|
||||
API keys
|
||||
</h1>
|
||||
</div>
|
||||
<div class="column-one-third">
|
||||
<a href="{{ url_for('.create_api_key', service_id=current_service.id) }}" class="button align-with-heading">Create new API key</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
To connect to the API you will need to create an API Key. Each service can have multiple API Keys to allow
|
||||
@@ -44,10 +51,6 @@
|
||||
{% endif %}
|
||||
{% endcall %}
|
||||
|
||||
<p class='table-show-more-link'>
|
||||
<a href="{{ url_for('.create_api_key', service_id=current_service.id) }}">Create a new API key</a>
|
||||
</p>
|
||||
|
||||
{{ api_key(current_service.id, "Service ID", thing="service ID") }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user