From f9b80c586670db95863d8d1140a8a8061812162c Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Mon, 1 Jan 2018 16:00:37 +0100 Subject: [PATCH] Commit du nouvel an --- templates/base.html | 2 +- users/templates/users/del_right.html | 75 ---------------------------- 2 files changed, 1 insertion(+), 76 deletions(-) delete mode 100644 users/templates/users/del_right.html diff --git a/templates/base.html b/templates/base.html index 818d04e3..b3a9bb5d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -214,7 +214,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {# Read the documentation for more information #} diff --git a/users/templates/users/del_right.html b/users/templates/users/del_right.html deleted file mode 100644 index 1e31f320..00000000 --- a/users/templates/users/del_right.html +++ /dev/null @@ -1,75 +0,0 @@ -{% extends "users/sidebar.html" %} -{% comment %} -Re2o est un logiciel d'administration développé initiallement au rezometz. Il -se veut agnostique au réseau considéré, de manière à être installable en -quelques clics. - -Copyright © 2017 Gabriel Détraz -Copyright © 2017 Goulven Kermarec -Copyright © 2017 Augustin Lemesle - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -{% endcomment %} - -{% load bootstrap3 %} - -{% block title %}Création et modification d'utilisateur{% endblock %} - -{% block content %} - -

Gestion des droits

- -
- {% csrf_token %} - - - {% for key, values in userform.items %} - - - - - - - {% endfor %} - -
- - {{ key }} ( {{values.rights|length }} users ) - -
-
-
    - {% for user in values.rights %} -
  • {{ user }}
  • - {% endfor %} -
-
-
- {% bootstrap_button "Supprimer" button_type="submit" icon="star" %} -
- - - -
-
-
-{% endblock %}