From 7f58182b047319b41814cb642defe4ad89aecf6f Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Tue, 20 Mar 2018 17:28:31 +0100 Subject: [PATCH 01/26] Le bouton est maintenant en vert, moins confusant. --- templates/registration/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/registration/login.html b/templates/registration/login.html index 7b986d3b..6522a6b6 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -45,7 +45,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,

{% csrf_token %} {% bootstrap_form form %} - {% bootstrap_button "Login" button_type="submit" icon="log-in" %} +

Mot de passe oublié ?

From 06ecd44d0292e40a1ab8d6bb320bec3a86b7d7c2 Mon Sep 17 00:00:00 2001 From: Krokmou Date: Thu, 22 Mar 2018 19:21:49 +0100 Subject: [PATCH 02/26] chsh affiche le shell actuel --- users/management/commands/chsh.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/users/management/commands/chsh.py b/users/management/commands/chsh.py index bcfec3a8..df4d6c0d 100755 --- a/users/management/commands/chsh.py +++ b/users/management/commands/chsh.py @@ -54,7 +54,11 @@ class Command(BaseCommand): raise CommandError(msg) shells = ListShell.objects.all() - self.stdout.write("Choisissez un shell pour l'utilisateur %s :" % target_user.pseudo) + + current_shell = "inconnu" + if target_user.shell: + current_shell = target_user.shell.get_pretty_name() + self.stdout.write("Choisissez un shell pour l'utilisateur %s (le shell actuel est %s) :" % (target_user.pseudo, current_shell)) for shell in shells: self.stdout.write("%d - %s (%s)" % (shell.id, shell.get_pretty_name(), shell.shell)) shell_id = input("Entrez un nombre : ") From 8cab7e90aa33e57099a5fa4db732d0620d4e61f6 Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Fri, 23 Mar 2018 15:06:12 +0100 Subject: [PATCH 03/26] ajout de div pour rendre les tables scrollables horizontalement --- cotisations/templates/cotisations/aff_cotisations.html | 4 ++-- machines/templates/machines/aff_machines.html | 5 ++++- users/templates/users/aff_users.html | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/cotisations/templates/cotisations/aff_cotisations.html b/cotisations/templates/cotisations/aff_cotisations.html index b73bc107..48a856a2 100644 --- a/cotisations/templates/cotisations/aff_cotisations.html +++ b/cotisations/templates/cotisations/aff_cotisations.html @@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endcomment %} {% load acl %} - +
{% if facture_list.paginator %} {% include "pagination.html" with list=facture_list %} {% endif %} @@ -85,4 +85,4 @@ with this program; if not, write to the Free Software Foundation, Inc., {% if facture_list.paginator %} {% include "pagination.html" with list=facture_list %} {% endif %} - +
diff --git a/machines/templates/machines/aff_machines.html b/machines/templates/machines/aff_machines.html index c286fcd6..f6da4165 100644 --- a/machines/templates/machines/aff_machines.html +++ b/machines/templates/machines/aff_machines.html @@ -23,11 +23,12 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endcomment %} {% load acl %} - +
{% if machines_list.paginator %} {% include "pagination.html" with list=machines_list %} {% endif %} + @@ -175,6 +176,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
+