mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-07 23:10:41 -04:00
On the send messages and manage team pages we have big green buttons for adding/inviting a new template or team member. On the add template page it was at the bottom, and often got missed. On the manage team page it was at the top, but maybe too prominent because it’s big and green. This commit tries putting it in the top right of the page instead (except when the template page is empty, in which case it’s unchanged).
36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/yes-no.html" import yes_no %}
|
||
{% from "components/textbox.html" import textbox %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
|
||
{% block page_title %}
|
||
Manage users – GOV.UK Notify
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<h1 class="heading-large">
|
||
{{ user.name or user.email_localpart or "Invite a team member" }}
|
||
</h1>
|
||
|
||
<div class="grid-row">
|
||
<form method="post" class="column-three-quarters">
|
||
|
||
{{ textbox(form.email_address, hint='Email address must end in .gov.uk', width='1-1') }}
|
||
|
||
<fieldset class='yes-no-wrapper'>
|
||
<legend class='heading-small'>
|
||
Permissions
|
||
</legend>
|
||
<span class="form-hint">All team members can see message history</span>
|
||
{{ yes_no(form.send_messages, form.send_messages.data) }}
|
||
{{ yes_no(form.manage_service, form.manage_service.data) }}
|
||
{{ yes_no(form.manage_api_keys, form.manage_api_keys.data) }}
|
||
</fieldset>
|
||
|
||
{{ page_footer('Send invitation email') }}
|
||
|
||
</form>
|
||
</div>
|
||
{% endblock %}
|