mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-20 01:32:31 +02:00
57 lines
2.4 KiB
HTML
57 lines
2.4 KiB
HTML
{% extends "public/base.html" %}
|
|
{% load bootstrap %}
|
|
{% load staticfiles %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}Alliance Auth{% endblock %}
|
|
|
|
{% block page_title %}Add Api Key{% endblock page_title %}
|
|
{% block extra_css %}{% endblock extra_css %}
|
|
|
|
{% block content %}
|
|
<div class="col-lg-12">
|
|
<h1 class="page-header text-center">{% trans "Add Api Key" %}</h1>
|
|
|
|
<div class="container-fluid">
|
|
<div class="col-md-4 col-md-offset-4">
|
|
<div class="row">
|
|
<p class="text-center">
|
|
{% blocktrans %}Member API keys require access mask {{MEMBER_API_MASK}} or greater for services.{% endblocktrans %}
|
|
</p>
|
|
{% if MEMBER_API_ACCOUNT %}
|
|
<p class="text-center">
|
|
{% trans "Member API keys need to be account-wide." %}
|
|
</p>
|
|
{% endif %}
|
|
<p class="text-center">
|
|
<a target="_blank"
|
|
href="https://community.eveonline.com/support/api-key/CreatePredefined?accessMask={{MEMBER_API_MASK}}">{% trans "Create
|
|
a full API key" %}</a>
|
|
</p>
|
|
<p class="text-center">
|
|
{% blocktrans %}Blue API keys require access mask {{BLUE_API_MASK}} or greater for services.{% endblocktrans %}
|
|
</p>
|
|
{% if BLUE_API_ACCOUNT %}
|
|
<p class="text-center">
|
|
{% trans "BLUE API keys need to be account-wide." %}
|
|
</p>
|
|
{% endif %}
|
|
<p class="text-center">
|
|
<a target="_blank"
|
|
href="https://community.eveonline.com/support/api-key/CreatePredefined?accessMask={{BLUE_API_MASK}}">{% trans "Create
|
|
a blue key" %}</a>
|
|
</p>
|
|
|
|
<form class="form-signin" role="form" action="{% url 'auth_add_api_key' %}" method="POST">
|
|
{% csrf_token %}
|
|
{{ form|bootstrap }}
|
|
<br/>
|
|
<button class="btn btn-lg btn-primary btn-block" type="submit">{% trans "Add Key" %}</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock content %}
|