From 0474fa6d1761fbbc3661a9edfc9dd6c5fa474761 Mon Sep 17 00:00:00 2001 From: Ariel Rin Date: Wed, 21 Feb 2018 23:01:08 +1000 Subject: [PATCH] Updated Strucure Choices Added Refineries, and a Moon Mining Option Also changed spacing to be consistent and be easier to read --- timerboard/form.py | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/timerboard/form.py b/timerboard/form.py index c4db4102..da435903 100755 --- a/timerboard/form.py +++ b/timerboard/form.py @@ -5,14 +5,26 @@ from django.utils.translation import ugettext_lazy as _ class TimerForm(forms.Form): - structure_choices = [('POCO', 'POCO'), ('I-HUB', 'I-HUB'), ('POS[S]', 'POS[S]'), - ('POS[M]', 'POS[M]'), ('POS[L]', 'POS[L]'), ('Citadel[M]', 'Citadel[M]'), - ('Citadel[L]', 'Citadel[L]'), ('Citadel[XL]', 'Citadel[XL]'), + structure_choices = [('POCO', 'POCO'), + ('I-HUB', 'I-HUB'), + ('POS[S]', 'POS[S]'), + ('POS[M]', 'POS[M]'), + ('POS[L]', 'POS[L]'), + ('Citadel[M]', 'Citadel[M]'), + ('Citadel[L]', 'Citadel[L]'), + ('Citadel[XL]', 'Citadel[XL]'), ('Engineering Complex[M]', 'Engineering Complex[M]'), ('Engineering Complex[L]', 'Engineering Complex[L]'), ('Engineering Complex[XL]', 'Engineering Complex[XL]'), - ('Station', 'Station'), ('TCU', 'TCU'), (_('Other'), _('Other'))] - objective_choices = [('Friendly', _('Friendly')), ('Hostile', _('Hostile')), ('Neutral', _('Neutral'))] + ('Refinery[M]', 'Refinery[M]'), + ('Refinery[L]', 'Refinery[L]'), + ('Station', 'Station'), + ('TCU', 'TCU'), + ('Moon Mining Cycle', 'Moon Mining Cycle'), + (_('Other'), _('Other'))] + objective_choices = [('Friendly', _('Friendly')), + ('Hostile', _('Hostile')), + ('Neutral', _('Neutral'))] details = forms.CharField(max_length=254, required=True, label=_('Details')) system = forms.CharField(max_length=254, required=True, label=_("System"))