mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-04-21 22:32:20 +00:00
Compare commits
3 Commits
235b071ee6
...
a90f45bd8b
Author | SHA1 | Date | |
---|---|---|---|
|
a90f45bd8b | ||
|
10c22ccc53 | ||
|
ddeada200b |
@ -23,7 +23,7 @@ from .models import Profile, Club, Membership
|
|||||||
class CustomAuthenticationForm(AuthenticationForm):
|
class CustomAuthenticationForm(AuthenticationForm):
|
||||||
permission_mask = forms.ModelChoiceField(
|
permission_mask = forms.ModelChoiceField(
|
||||||
label=_("Permission mask"),
|
label=_("Permission mask"),
|
||||||
queryset=PermissionMask.objects.order_by("-rank"),
|
queryset=PermissionMask.objects.order_by("rank"),
|
||||||
empty_label=None,
|
empty_label=None,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -20,14 +20,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<!-- MODAL TO CROP THE IMAGE -->
|
<!-- MODAL TO CROP THE IMAGE -->
|
||||||
<div class="modal fade" id="modalCrop" data-backdrop="static">
|
<div class="modal fade" id="modalCrop">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-body-wrapper" style="width: 500px; height: 500px; padding: 16px;">
|
<div class="modal-body">
|
||||||
<div class="modal-body" style="width: 100%; height: 100%; padding: 0">
|
<img src="" id="modal-image" style="max-width: 100%;">
|
||||||
<img src="" id="modal-image" style="display: block; max-width: 100%;">
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<div class="btn-group pull-left" role="group">
|
<div class="btn-group pull-left" role="group">
|
||||||
<button type="button" class="btn btn-default" id="js-zoom-in">
|
<button type="button" class="btn btn-default" id="js-zoom-in">
|
||||||
|
@ -89,7 +89,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
|
|||||||
</ul>
|
</ul>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<select id="debit_type" class="form-control custom-select d-none">
|
<select id="debit_type" class="form-control custom-select d-none">
|
||||||
{% for special_type in special_types|slice:"::-1" %}
|
{% for special_type in special_types %}
|
||||||
<option value="{{ special_type.id }}">{{ special_type.special_type }}</option>
|
<option value="{{ special_type.id }}">{{ special_type.special_type }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
|
18
apps/treasury/migrations/0010_alter_invoice_bde.py
Normal file
18
apps/treasury/migrations/0010_alter_invoice_bde.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 4.2.20 on 2025-04-14 20:21
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('treasury', '0009_alter_sogecredit_transactions'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='invoice',
|
||||||
|
name='bde',
|
||||||
|
field=models.CharField(choices=[('Diolistos', 'Diol[list]os'), ('RavePartlist', 'RavePart[list]'), ('SecretStorlist', 'SecretStor[list]'), ('TotalistSpies', 'Tota[list]Spies'), ('Saperlistpopette', 'Saper[list]popette'), ('Finalist', 'Fina[list]'), ('Listorique', '[List]orique'), ('Satellist', 'Satel[list]'), ('Monopolist', 'Monopo[list]'), ('Kataclist', 'Katac[list]')], default='Diolistos', max_length=32, verbose_name='BDE'),
|
||||||
|
),
|
||||||
|
]
|
@ -29,7 +29,7 @@ class Invoice(models.Model):
|
|||||||
max_length=32,
|
max_length=32,
|
||||||
default='Diolistos',
|
default='Diolistos',
|
||||||
choices=(
|
choices=(
|
||||||
('Diolistos', 'Dio[list]os')
|
('Diolistos', 'Diol[list]os'),
|
||||||
('RavePartlist', 'RavePart[list]'),
|
('RavePartlist', 'RavePart[list]'),
|
||||||
('SecretStorlist', 'SecretStor[list]'),
|
('SecretStorlist', 'SecretStor[list]'),
|
||||||
('TotalistSpies', 'Tota[list]Spies'),
|
('TotalistSpies', 'Tota[list]Spies'),
|
||||||
|
BIN
apps/treasury/static/img/Diolistos.png
Normal file → Executable file
BIN
apps/treasury/static/img/Diolistos.png
Normal file → Executable file
Binary file not shown.
Before Width: | Height: | Size: 368 KiB After Width: | Height: | Size: 2.8 MiB |
BIN
apps/treasury/static/img/Diolistos_bg.jpg
Normal file → Executable file
BIN
apps/treasury/static/img/Diolistos_bg.jpg
Normal file → Executable file
Binary file not shown.
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 284 KiB |
@ -27,5 +27,5 @@ MAILTO=notekfet2020@lists.crans.org
|
|||||||
# Vider les tokens Oauth2
|
# Vider les tokens Oauth2
|
||||||
00 6 * * * root cd /var/www/note_kfet && env/bin/python manage.py cleartokens -v 0
|
00 6 * * * root cd /var/www/note_kfet && env/bin/python manage.py cleartokens -v 0
|
||||||
# Envoyer la liste des abonnés à la NL BDA
|
# Envoyer la liste des abonnés à la NL BDA
|
||||||
00 10 * * 0 root cd /var/www/note_kfet && env/bin/python manage.py extract_ml_registrations -t art -e "bda.ensparissaclay@gmail.com"
|
00 10 * * 0 root cd /var/www/note_kfet && env/bin/python manage.py extract_ml_registrations -t art
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user