mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Refactored set inbound api page
This commit is contained in:
@@ -7,29 +7,32 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block maincolumn_content %}
|
{% block maincolumn_content %}
|
||||||
|
<div class="grid-row">
|
||||||
|
<div class="column-five-sixths">
|
||||||
|
<h1 class="heading-large">API endpoint for received text messages</h1>
|
||||||
|
<p>
|
||||||
|
This is the https url that the inbound SMS messages will be posted to
|
||||||
|
and the bearer token used in the authorisation header of the request.
|
||||||
|
</p>
|
||||||
|
|
||||||
<h1 class="heading-large">Inbound API</h1>
|
<form method="post">
|
||||||
<p>
|
{{ textbox(
|
||||||
This is the https url that the inbound SMS messages will be posted to
|
form.url,
|
||||||
and the bearer token used in the authorisation header of the request.
|
width='2-3',
|
||||||
</p>
|
hint='Valid https url'
|
||||||
|
) }}
|
||||||
<form method="post">
|
{{ textbox(
|
||||||
{{ textbox(
|
form.bearer_token,
|
||||||
form.url,
|
width='1-4',
|
||||||
width='1-4',
|
hint='At least 10 characters'
|
||||||
hint='Valid https url'
|
) }}
|
||||||
) }}
|
{{ page_footer(
|
||||||
{{ textbox(
|
'Save',
|
||||||
form.bearer_token,
|
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||||
width='1-4',
|
back_link_text='Back to settings'
|
||||||
hint='At least 10 characters'
|
) }}
|
||||||
) }}
|
</form>
|
||||||
{{ page_footer(
|
</div>
|
||||||
'Save',
|
</div>
|
||||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
|
||||||
back_link_text='Back to settings'
|
|
||||||
) }}
|
|
||||||
</form>
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user