Files
notifications-admin/app/templates/views/api/documentation.html
Chris Hill-Scott 2d2e701e22 Open links to documentation in new tabs
Because users have difficulty getting back to the Notify admin
interface.

The `rel` attribute mitigates against [a nasty cross-domain
vulnerability](https://mathiasbynens.github.io/rel-noopener/).
2016-10-18 13:50:25 +01:00

36 lines
1.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "withnav_template.html" %}
{% from "components/table.html" import list_table, field, hidden_field_heading %}
{% from "components/api-key.html" import api_key %}
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
API integration GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-large">
Documentation
</h1>
<ul class="list list-bullet">
{% for name, url in [
('Java client', 'https://github.com/alphagov/notifications-java-client'),
('Node JS client', 'https://github.com/alphagov/notifications-node-client'),
('PHP client', 'https://github.com/alphagov/notifications-php-client'),
('Python client', 'https://github.com/alphagov/notifications-python-client'),
('Ruby client', 'https://github.com/alphagov/notifications-ruby-client')
] %}
<li>
<a href="{{ url }}" target="_blank" rel="noopener noreferrer">{{ name }}</a>
</li>
{% endfor %}
</ul>
{{ page_footer(
secondary_link=url_for('.api_integration', service_id=current_service.id),
secondary_link_text='Back to API integration'
) }}
{% endblock %}