mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-09 16:46:20 +01:00
Added Signature Tracker
Added a tool to help track various sites and wormholes
This commit is contained in:
@@ -137,6 +137,16 @@
|
||||
href="{% url 'auth_fleet_fits' %}"><i
|
||||
class="fa fa-bolt fa-fw grayiconecolor"></i> Fleet Doctrines</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if perms.auth.member or perms.auth.blue_member %}
|
||||
<li>
|
||||
<a {% ifequal request.path "/sigtracker" %} class="active" {% endifequal %}
|
||||
href="{% url 'auth_signiture_view' %}"><i
|
||||
class="fa fa-compass fa-fw grayiconecolor"></i> Signiture Tracker</a>
|
||||
</li>
|
||||
|
||||
|
||||
{% if perms.auth.timer_view %}
|
||||
<li>
|
||||
<a {% ifequal request.path "/timer_management" %} class="active" {% endifequal %}
|
||||
|
||||
38
stock/templates/registered/addsigniture.html
Normal file
38
stock/templates/registered/addsigniture.html
Normal file
@@ -0,0 +1,38 @@
|
||||
{% extends "public/base.html" %}
|
||||
{% load bootstrap %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block title %}Alliance Auth - Signiture Create{% endblock %}
|
||||
|
||||
{% block page_title %}Create Signiture{% 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 Signiture</h1>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="col-md-4 col-md-offset-4">
|
||||
<div class="row">
|
||||
<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 Signiture</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock content %}
|
||||
|
||||
{% block extra_script %}
|
||||
|
||||
$('#id_eve_time').datetimepicker({
|
||||
maskInput: true,
|
||||
format: 'Y-m-d H:i',minDate:0
|
||||
});
|
||||
|
||||
{% endblock extra_script %}
|
||||
67
stock/templates/registered/signituremanagement.html
Normal file
67
stock/templates/registered/signituremanagement.html
Normal file
@@ -0,0 +1,67 @@
|
||||
{% extends "public/base.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block title %}Alliance Auth{% endblock %}
|
||||
|
||||
{% block page_title %}Signiture Management{% endblock page_title %}
|
||||
{% block extra_css %}{% endblock extra_css %}
|
||||
|
||||
{% block content %}
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header text-center">Signitures
|
||||
<div class="text-right">
|
||||
<a href="{% url 'auth_add_signiture_view' %}">
|
||||
{% if perms.auth.signiture_management %}
|
||||
<button type="button" class="btn btn-success">Create Signiture</button>
|
||||
{% endif %}
|
||||
</a>
|
||||
</div>
|
||||
</h1>
|
||||
<table class="table table-responsive table-bordered">
|
||||
<tr>
|
||||
<th class="text-center">ID</th>
|
||||
<th class="text-center">System</th>
|
||||
<th class="text-center">Destination</th>
|
||||
<th class="text-center">Signiture Type</th>
|
||||
<th class="text-center">Status</th>
|
||||
<th class="text-center">Notes</th>
|
||||
{% if perms.auth.signiture_management %}
|
||||
<th class="text-center">Action</th>
|
||||
{% endif %}
|
||||
</tr>
|
||||
|
||||
{% for sigt in sigtracker %}
|
||||
<tr>
|
||||
<td style="width:150px" class="text-center">{{ sigt.ident }}</td>
|
||||
|
||||
<td class="text-center">
|
||||
<a href="http://evemaps.dotlan.net/system/{{ sigt.system }}">{{ sigt.system }}</a>
|
||||
</td>
|
||||
<td style="width:150px" class="text-center">{{ sigt.destination }}</td>
|
||||
<td style="width:150px" class="text-center">{{ sigt.sigtype }}</td>
|
||||
<td style="width:150px" class="text-center">{{ sigt.status }}</td>
|
||||
<td style="width:150px" class="text-center">{{ sigt.notes }}</td>
|
||||
|
||||
|
||||
|
||||
{% if perms.auth.signiture_management %}
|
||||
<td class="text-center">
|
||||
<a href="/remove_signiture/{{ sigt.id }}">
|
||||
<button type="button" class="btn btn-danger"><span
|
||||
class="glyphicon glyphicon-remove"></span></button>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
{% endblock content %}
|
||||
45
stock/templates/registered/sigtracker.html
Normal file
45
stock/templates/registered/sigtracker.html
Normal file
@@ -0,0 +1,45 @@
|
||||
{% extends "public/base.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block title %}Alliance Auth{% endblock %}
|
||||
|
||||
{% block page_title %}Signiture Tracker{% endblock page_title %}
|
||||
{% block extra_css %}{% endblock extra_css %}
|
||||
|
||||
{% block content %}
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<body bgcolor="silver">
|
||||
|
||||
|
||||
<div align="center">
|
||||
<form action="form1.php" method="post">
|
||||
<p>System: <input type="text" name="sys"/>
|
||||
Id: <input type="text" name="id" />
|
||||
Type:
|
||||
<select name="type">
|
||||
<option value="Wormhole">Wormhole</option>
|
||||
<option value="Combat">Combat</option>
|
||||
<option value="Data">Data</option>
|
||||
<option value="Relic">Relic</option></select>
|
||||
|
||||
Name: <input type="text" name="name"/>
|
||||
Status:
|
||||
<select name="status">
|
||||
<option value="Open">Open</option>
|
||||
<option value="Started">Stared</option>
|
||||
<option value="Finished">Finished</option>
|
||||
<option value="Other">Other</option>
|
||||
<option value="Hisec">Hisec</option>
|
||||
<option value="LoSec">LoSec</option>
|
||||
<option value="NullSec">NullSec</option></select>
|
||||
Notes: <input type="text" name="notes" />
|
||||
<input type="Submit" name="Submit" value="Submit" /></p>
|
||||
</form>
|
||||
</div>
|
||||
</html>
|
||||
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user