mirror of https://gitlab.federez.net/re2o/re2o
committed by
chirac
11 changed files with 36 additions and 199 deletions
@ -1,48 +0,0 @@ |
|||||
{% extends 'machines/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 |
|
||||
Copyright © 2017 Maël Kervella |
|
||||
|
|
||||
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 %} |
|
||||
{% load i18n %} |
|
||||
|
|
||||
{% block title %}{% trans "Ticket" %}{% endblock %} |
|
||||
|
|
||||
{% block content %} |
|
||||
<h2> {% trans "Tickets settings modification" %}</h2> |
|
||||
|
|
||||
{% for message in messages %} |
|
||||
<div class="{{ message| bootstrap_message_classes }} alert-dismissable"> |
|
||||
<button type="button" class="close" data_dismiss="alert" aria-hidden="true">}</button> |
|
||||
{{ message | safe }} |
|
||||
</div> |
|
||||
{% endfor %} |
|
||||
|
|
||||
<form class="form" method="post"> |
|
||||
{% csrf_token %} |
|
||||
{% bootstrap_field preferencesform.publish_address %} |
|
||||
{% bootstrap_field preferencesform.mail_language %} |
|
||||
{% bootstrap_button "Editer" button_type="submit" icon='ok' button_class='btn-success' %} |
|
||||
</form> |
|
||||
{% endblock %} |
|
||||
@ -1,58 +0,0 @@ |
|||||
{% extends 'machines/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 |
|
||||
Copyright © 2017 Maël Kervella |
|
||||
|
|
||||
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 %} |
|
||||
{% load massive_bootstrap_form %} |
|
||||
{% load i18n %} |
|
||||
|
|
||||
{% block title %}{% trans "Ticket" %}{% endblock %} |
|
||||
|
|
||||
{% block content %} |
|
||||
<h2> Ouverture d'un Ticket </h2> |
|
||||
|
|
||||
<form class="form" method="post"> |
|
||||
{% csrf_token %} |
|
||||
{% if not user.is_authenticated %} |
|
||||
<p>{% trans "Vous n'êtes pas authentifié. Veuillez fournir une adresse mail afin que nous puissions vous recontacter." %}</p> |
|
||||
{% bootstrap_field ticketform.email %} |
|
||||
{% endif %} |
|
||||
{% bootstrap_field ticketform.title %} |
|
||||
<br> |
|
||||
<p>{% trans "Description de votre problème. Veuillez fournir le plus d'informations possible afin de faciliter la recherche de solution. Voici quelques informations dont nous pourions avoir besoin:" %}</p> |
|
||||
<ul class="list"> |
|
||||
<li> |
|
||||
<p> {% trans "Le type de votre problème (adhesion, connexion, paiement ou autre)." %}</p> |
|
||||
</li> |
|
||||
<li> |
|
||||
<p> {% trans "Les conditions dans lesquelles vous rencontrez le problème (Wifi/filaire, sur tout les apareils ou sur un seul. Est-ce une nouvelle machine ?" %}</p> |
|
||||
</li> |
|
||||
<li> |
|
||||
<p> {% trans "Les endroits dans lequels le problème survient (chez vous, dans une partie commune, dans un batiment en particulier)." %}</p> |
|
||||
</ul> |
|
||||
{% bootstrap_field ticketform.description %} |
|
||||
{% bootstrap_button "Ouvrir le Ticket" button_type="submit" icon='ok' button_class='btn-success' %} |
|
||||
</form> |
|
||||
{% endblock %} |
|
||||
@ -1,34 +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 %} |
|
||||
{% load i18n %} |
|
||||
|
|
||||
{% block title%}{% trans "Tickets" %}{% endblock %} |
|
||||
|
|
||||
{% block content %} |
|
||||
<h2>{% trans "Tickets" %}</h2> |
|
||||
{% include 'tickets/aff_tickets.html' with tickets_list=tickets_list %} |
|
||||
{% endblock %} |
|
||||
@ -1,2 +1,2 @@ |
|||||
{% load i18n %} |
{% load i18n %} |
||||
<li><a href="{% url 'multi_op:aff-state-global' %}"><i class="fa fa-random"></i> {% trans "Multi Operators" %}</a></li> |
<li><a href="{% url 'multi_op:aff-state-global' %}"><i class="fa fa-random"></i> {% trans "Manage the operators" %}</a></li> |
||||
|
|||||
@ -1,6 +0,0 @@ |
|||||
{% load i18n %} |
|
||||
<li> |
|
||||
<a href="{% url 'tickets:new-ticket' %}"> |
|
||||
<i class="fa fa-ticket"></i> {% trans "Ouvrir un ticket" %} |
|
||||
</a> |
|
||||
</li> |
|
||||
@ -1,36 +0,0 @@ |
|||||
{% load i18n %} |
|
||||
|
|
||||
<div class="panel panel-default" id="tickets"> |
|
||||
<div class="panel-heading" data-toggle="collapse" href="#collapse_tickets"> |
|
||||
<h4 class="panel-title"> |
|
||||
<a><i class="fa fa-ticket"></i> {% trans "Tickets" %}</a> |
|
||||
</h4> |
|
||||
</div> |
|
||||
|
|
||||
<div id="collapse_tickets" class="panel-collapse panel-body collapse"> |
|
||||
|
|
||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'tickets:edit-preferences-tickets' %}"> |
|
||||
<i class="fa fa-edit"></i> |
|
||||
{% trans "Edit" %} |
|
||||
</a> |
|
||||
<p></p> |
|
||||
|
|
||||
<div class="table-responsive"> |
|
||||
<table class="table"> |
|
||||
<tr> |
|
||||
<th><p>{% trans "Publication email address"%}</p></th> |
|
||||
{% if preferences.publish_address %} |
|
||||
<td><p>{{ preferences.publish_address }}</p></td> |
|
||||
{% else %} |
|
||||
<td><p>{% trans "Pas d'adresse, les tickets ne sont pas annoncés" %}</p></td> |
|
||||
{% endif %} |
|
||||
</tr> |
|
||||
<tr> |
|
||||
<th><p>{% trans "Email language" %}</p></th> |
|
||||
<td><p>{{ language }}</p></th> |
|
||||
</tr> |
|
||||
<table class="table"> |
|
||||
</table> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
Loading…
Reference in new issue