mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-16 07:50:16 +02:00
50 lines
1.8 KiB
HTML
Executable File
50 lines
1.8 KiB
HTML
Executable File
{% extends "public/base.html" %}
|
|
{% load bootstrap %}
|
|
{% load staticfiles %}
|
|
|
|
{% block title %}Alliance Auth - SRP Fleet Create{% endblock %}
|
|
|
|
{% block page_title %}SRP Fleet Create{% endblock page_title %}
|
|
{% block extra_css %}
|
|
<link href="{% static 'css/jquery.datetimepicker.css' %}" rel="stylesheet" type="text/css">{% endblock extra_css %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="col-lg-12">
|
|
<h1 class="page-header text-center">Create SRP Fleet</h1>
|
|
|
|
<div class="container-fluid">
|
|
<div class="col-md-4 col-md-offset-4">
|
|
<div class="row">
|
|
{% if completed == False %}
|
|
<form class="form-signin" role="form" action="" method="POST">
|
|
{% csrf_token %}
|
|
{{ form|bootstrap }}
|
|
<br/>
|
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Create SRP Fleet</button>
|
|
</form>
|
|
{% else %}
|
|
<div class="alert alert-success" role="alert">Fleet Created Successfully!</div>
|
|
<div class="alert alert-info" role="alert">Give this <a
|
|
href="/srp_request/{{ completed_srp_code }}">Link</a> to the line members
|
|
</div>
|
|
<div class="alert alert-info" role="alert">
|
|
http://{{ request.get_host }}/srp_request/{{ completed_srp_code }}</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock content %}
|
|
|
|
{% block extra_script %}
|
|
|
|
$('#id_fleet_time').datetimepicker({
|
|
maskInput: true,
|
|
format: 'Y-m-d H:i'
|
|
});
|
|
|
|
{% endblock extra_script %}
|