mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-14 06:50:15 +02:00
Merge branch 'flex-structures' into 'master'
Add Flex Structures to timerboard See merge request allianceauth/allianceauth!1112
This commit is contained in:
commit
d511221899
@ -34,6 +34,7 @@ class TimerForm(forms.ModelForm):
|
|||||||
|
|
||||||
structure_choices = [('POCO', 'POCO'),
|
structure_choices = [('POCO', 'POCO'),
|
||||||
('I-HUB', 'I-HUB'),
|
('I-HUB', 'I-HUB'),
|
||||||
|
('TCU', 'TCU'),
|
||||||
('POS[S]', 'POS[S]'),
|
('POS[S]', 'POS[S]'),
|
||||||
('POS[M]', 'POS[M]'),
|
('POS[M]', 'POS[M]'),
|
||||||
('POS[L]', 'POS[L]'),
|
('POS[L]', 'POS[L]'),
|
||||||
@ -45,8 +46,9 @@ class TimerForm(forms.ModelForm):
|
|||||||
('Engineering Complex[XL]', 'Engineering Complex[XL]'),
|
('Engineering Complex[XL]', 'Engineering Complex[XL]'),
|
||||||
('Refinery[M]', 'Refinery[M]'),
|
('Refinery[M]', 'Refinery[M]'),
|
||||||
('Refinery[L]', 'Refinery[L]'),
|
('Refinery[L]', 'Refinery[L]'),
|
||||||
('Station', 'Station'),
|
('Cyno Beacon','Cyno Beacon'),
|
||||||
('TCU', 'TCU'),
|
('Cyno Jammer','Cyno Jammer'),
|
||||||
|
('Jump Gate','Jump Gate'),
|
||||||
('Moon Mining Cycle', 'Moon Mining Cycle'),
|
('Moon Mining Cycle', 'Moon Mining Cycle'),
|
||||||
(_('Other'), _('Other'))]
|
(_('Other'), _('Other'))]
|
||||||
objective_choices = [('Friendly', _('Friendly')),
|
objective_choices = [('Friendly', _('Friendly')),
|
||||||
|
@ -64,14 +64,19 @@
|
|||||||
href="http://evemaps.dotlan.net/system/{{ timer.system }}">{{ timer.system }} {{ timer.planet_moon }} </a>
|
href="http://evemaps.dotlan.net/system/{{ timer.system }}">{{ timer.system }} {{ timer.planet_moon }} </a>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
|
{% ifequal timer.structure "POCO" %}
|
||||||
|
<div class="label label-info">
|
||||||
|
POCO
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "I-HUB" %}
|
{% ifequal timer.structure "I-HUB" %}
|
||||||
<div class="label label-warning">
|
<div class="label label-warning">
|
||||||
I-HUB
|
I-HUB
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "POCO" %}
|
{% ifequal timer.structure "TCU" %}
|
||||||
<div class="label label-success">
|
<div class="label label-danger">
|
||||||
POCO
|
TCU
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "POS[S]" %}
|
{% ifequal timer.structure "POS[S]" %}
|
||||||
@ -119,16 +124,6 @@
|
|||||||
Engineering Complex [XL]
|
Engineering Complex [XL]
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "Station" %}
|
|
||||||
<div class="label label-danger">
|
|
||||||
Station
|
|
||||||
</div>
|
|
||||||
{% endifequal %}
|
|
||||||
{% ifequal timer.structure "TCU" %}
|
|
||||||
<div class="label label-danger">
|
|
||||||
TCU
|
|
||||||
</div>
|
|
||||||
{% endifequal %}
|
|
||||||
{% ifequal timer.structure "Refinery[M]" %}
|
{% ifequal timer.structure "Refinery[M]" %}
|
||||||
<div class="label label-warning">
|
<div class="label label-warning">
|
||||||
Refinery [M]
|
Refinery [M]
|
||||||
@ -139,6 +134,21 @@
|
|||||||
Refinery [L]
|
Refinery [L]
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
|
{% ifequal timer.structure "Cyno Beacon" %}
|
||||||
|
<div class="label label-warning">
|
||||||
|
Cyno Beacon
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
|
{% ifequal timer.structure "Cyno Jammer" %}
|
||||||
|
<div class="label label-warning">
|
||||||
|
Cyno Jammer
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
|
{% ifequal timer.structure "Jump Gate" %}
|
||||||
|
<div class="label label-warning">
|
||||||
|
Jump Gate
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "Moon Mining Cycle" %}
|
{% ifequal timer.structure "Moon Mining Cycle" %}
|
||||||
<div class="label label-success">
|
<div class="label label-success">
|
||||||
Moon Mining Cycle
|
Moon Mining Cycle
|
||||||
@ -213,14 +223,19 @@
|
|||||||
<a href="http://evemaps.dotlan.net/system/{{ timer.system }}">{{ timer.system }} {{ timer.planet_moon }}</a>
|
<a href="http://evemaps.dotlan.net/system/{{ timer.system }}">{{ timer.system }} {{ timer.planet_moon }}</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
|
{% ifequal timer.structure "POCO" %}
|
||||||
|
<div class="label label-info">
|
||||||
|
POCO
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "I-HUB" %}
|
{% ifequal timer.structure "I-HUB" %}
|
||||||
<div class="label label-warning">
|
<div class="label label-warning">
|
||||||
I-HUB
|
I-HUB
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "POCO" %}
|
{% ifequal timer.structure "TCU" %}
|
||||||
<div class="label label-success">
|
<div class="label label-danger">
|
||||||
POCO
|
TCU
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "POS[S]" %}
|
{% ifequal timer.structure "POS[S]" %}
|
||||||
@ -268,16 +283,6 @@
|
|||||||
Engineering Complex [XL]
|
Engineering Complex [XL]
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "Station" %}
|
|
||||||
<div class="label label-danger">
|
|
||||||
Station
|
|
||||||
</div>
|
|
||||||
{% endifequal %}
|
|
||||||
{% ifequal timer.structure "TCU" %}
|
|
||||||
<div class="label label-danger">
|
|
||||||
TCU
|
|
||||||
</div>
|
|
||||||
{% endifequal %}
|
|
||||||
{% ifequal timer.structure "Refinery[M]" %}
|
{% ifequal timer.structure "Refinery[M]" %}
|
||||||
<div class="label label-warning">
|
<div class="label label-warning">
|
||||||
Refinery [M]
|
Refinery [M]
|
||||||
@ -288,6 +293,21 @@
|
|||||||
Refinery [L]
|
Refinery [L]
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
|
{% ifequal timer.structure "Cyno Beacon" %}
|
||||||
|
<div class="label label-warning">
|
||||||
|
Cyno Beacon
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
|
{% ifequal timer.structure "Cyno Jammer" %}
|
||||||
|
<div class="label label-warning">
|
||||||
|
Cyno Jammer
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
|
{% ifequal timer.structure "Jump Gate" %}
|
||||||
|
<div class="label label-warning">
|
||||||
|
Jump Gate
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "Moon Mining Cycle" %}
|
{% ifequal timer.structure "Moon Mining Cycle" %}
|
||||||
<div class="label label-success">
|
<div class="label label-success">
|
||||||
Moon Mining Cycle
|
Moon Mining Cycle
|
||||||
@ -364,14 +384,19 @@
|
|||||||
<a href="http://evemaps.dotlan.net/system/{{ timer.system }}">{{ timer.system }} {{ timer.planet_moon }}</a>
|
<a href="http://evemaps.dotlan.net/system/{{ timer.system }}">{{ timer.system }} {{ timer.planet_moon }}</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
|
{% ifequal timer.structure "POCO" %}
|
||||||
|
<div class="label label-info">
|
||||||
|
POCO
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "I-HUB" %}
|
{% ifequal timer.structure "I-HUB" %}
|
||||||
<div class="label label-warning">
|
<div class="label label-warning">
|
||||||
I-HUB
|
I-HUB
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "POCO" %}
|
{% ifequal timer.structure "TCU" %}
|
||||||
<div class="label label-success">
|
<div class="label label-danger">
|
||||||
POCO
|
TCU
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "POS[S]" %}
|
{% ifequal timer.structure "POS[S]" %}
|
||||||
@ -419,16 +444,6 @@
|
|||||||
Engineering Complex [XL]
|
Engineering Complex [XL]
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "Station" %}
|
|
||||||
<div class="label label-danger">
|
|
||||||
Station
|
|
||||||
</div>
|
|
||||||
{% endifequal %}
|
|
||||||
{% ifequal timer.structure "TCU" %}
|
|
||||||
<div class="label label-danger">
|
|
||||||
TCU
|
|
||||||
</div>
|
|
||||||
{% endifequal %}
|
|
||||||
{% ifequal timer.structure "Refinery[M]" %}
|
{% ifequal timer.structure "Refinery[M]" %}
|
||||||
<div class="label label-warning">
|
<div class="label label-warning">
|
||||||
Refinery [M]
|
Refinery [M]
|
||||||
@ -439,6 +454,21 @@
|
|||||||
Refinery [L]
|
Refinery [L]
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
|
{% ifequal timer.structure "Cyno Beacon" %}
|
||||||
|
<div class="label label-warning">
|
||||||
|
Cyno Beacon
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
|
{% ifequal timer.structure "Cyno Jammer" %}
|
||||||
|
<div class="label label-warning">
|
||||||
|
Cyno Jammer
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
|
{% ifequal timer.structure "Jump Gate" %}
|
||||||
|
<div class="label label-warning">
|
||||||
|
Jump Gate
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "Moon Mining Cycle" %}
|
{% ifequal timer.structure "Moon Mining Cycle" %}
|
||||||
<div class="label label-success">
|
<div class="label label-success">
|
||||||
Moon Mining Cycle
|
Moon Mining Cycle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user