mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 07:23:46 +00:00
Accordéon complet et suppression de la sidebar
This commit is contained in:
parent
58006000fe
commit
42bbdb67c7
2 changed files with 38 additions and 47 deletions
|
@ -276,8 +276,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="panel panel-default" id="asso">
|
||||||
<h4 id="asso">{% trans "Information about the organisation" %}</h4>
|
<div class="panel-heading">
|
||||||
|
<h4 class="panel-title">
|
||||||
|
<a data-toggle="collapse" href="#collapse_asso">{% trans "Information about the organisation" %}</a>
|
||||||
|
</h4>
|
||||||
|
</div>
|
||||||
|
<div id="collapse_asso" class="panel-collapse collapse">
|
||||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'preferences:edit-options' 'AssoOption' %}">
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'preferences:edit-options' 'AssoOption' %}">
|
||||||
<i class="fa fa-edit"></i>
|
<i class="fa fa-edit"></i>
|
||||||
{% trans "Edit" %}
|
{% trans "Edit" %}
|
||||||
|
@ -312,7 +317,16 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<td>{{ assooptions.description|safe }}</td>
|
<td>{{ assooptions.description|safe }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<h4 id="mail">{% trans "Custom email message" %}</h4>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="panel panel-default" id="mail">
|
||||||
|
<div class="panel-heading">
|
||||||
|
<h4 class="panel-title">
|
||||||
|
<a data-toggle="collapse" href="#collapse_mail">Message pour les mails</a>
|
||||||
|
</h4>
|
||||||
|
</div>
|
||||||
|
<div id="collapse_mail" class="panel-collapse collapse">
|
||||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'preferences:edit-options' 'MailMessageOption' %}">
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'preferences:edit-options' 'MailMessageOption' %}">
|
||||||
<i class="fa fa-edit"></i>
|
<i class="fa fa-edit"></i>
|
||||||
{% trans "Edit" %}
|
{% trans "Edit" %}
|
||||||
|
@ -329,7 +343,16 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<td>{{ mailmessageoptions.welcome_mail_en|safe }}</td>
|
<td>{{ mailmessageoptions.welcome_mail_en|safe }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<h4 id="reminders">Options pour le mail de fin d'adhésion</h2>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="panel panel-default" id="rappels">
|
||||||
|
<div class="panel-heading">
|
||||||
|
<h4 class="panel-title">
|
||||||
|
<a data-toggle="collapse" href="#collapse_rappels">Options pour le mail de fin d'adhésion</ha>
|
||||||
|
</h4>
|
||||||
|
</div>
|
||||||
|
<div id="collapse_rappels" class="panel-collapse collapse">
|
||||||
{% can_create preferences.Reminder%}
|
{% can_create preferences.Reminder%}
|
||||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'preferences:add-reminder' %}"><i class="fa fa-plus"></i> Ajouter un rappel</a>
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'preferences:add-reminder' %}"><i class="fa fa-plus"></i> Ajouter un rappel</a>
|
||||||
{% acl_end %}
|
{% acl_end %}
|
||||||
|
@ -344,7 +367,16 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<i class="fa fa-edit"></i>
|
<i class="fa fa-edit"></i>
|
||||||
{% trans "Edit" %}
|
{% trans "Edit" %}
|
||||||
</a>
|
</a>
|
||||||
<h4 id="contact">{% trans "List of contact email addresses" %}</h4>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="panel panel-default" id="contact">
|
||||||
|
<div class="panel-heading">
|
||||||
|
<h4 class="panel-title">
|
||||||
|
<a data-toggle="collapse" href="#collapse_contact">{% trans "List of contact email addresses" %}</a>
|
||||||
|
</h4>
|
||||||
|
</div>
|
||||||
|
<div id="collapse_contact" class="panel-collapse collapse">
|
||||||
{% can_create preferences.MailContact %}
|
{% can_create preferences.MailContact %}
|
||||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'preferences:add-mailcontact' %}"><i class="fa fa-plus"></i>{% trans "Add an address" %}</a>
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'preferences:add-mailcontact' %}"><i class="fa fa-plus"></i>{% trans "Add an address" %}</a>
|
||||||
{% acl_end %}
|
{% acl_end %}
|
||||||
|
@ -364,6 +396,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<td>{{ homeoptions.facebook_url }}</td>
|
<td>{{ homeoptions.facebook_url }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -27,46 +27,4 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
|
||||||
|
|
||||||
{% block sidebar %}
|
{% block sidebar %}
|
||||||
{% if request.user.is_authenticated %}
|
|
||||||
<a class="list-group-item list-group-item-info" href="#general">
|
|
||||||
<i class="fa fa-cogs"></i>
|
|
||||||
{% trans "Générale" %}
|
|
||||||
</a>
|
|
||||||
<a class="list-group-item list-group-item-info" href="#asso">
|
|
||||||
<i class="fa fa-building"></i>
|
|
||||||
{% trans "Association" %}
|
|
||||||
</a>
|
|
||||||
<a class="list-group-item list-group-item-info" href="#users">
|
|
||||||
<i class="fa fa-user"></i>
|
|
||||||
{% trans "Utilisateurs" %}
|
|
||||||
</a>
|
|
||||||
<a class="list-group-item list-group-item-info" href="#machines">
|
|
||||||
<i class="fa fa-desktop"></i>
|
|
||||||
{% trans "Machines" %}
|
|
||||||
</a>
|
|
||||||
<a class="list-group-item list-group-item-info" href="#topo">
|
|
||||||
<i class="fa fa-sitemap"></i>
|
|
||||||
{% trans "Topologie" %}
|
|
||||||
</a>
|
|
||||||
<a class="list-group-item list-group-item-info" href="#switches">
|
|
||||||
<i class="fa fa-server"></i>
|
|
||||||
{% trans "Switchs" %}
|
|
||||||
</a>
|
|
||||||
<a class="list-group-item list-group-item-info" href="#mail">
|
|
||||||
<i class="fa fa-envelope-open"></i>
|
|
||||||
{% trans "Mail" %}
|
|
||||||
</a>
|
|
||||||
<a class="list-group-item list-group-item-info" href="#reminders">
|
|
||||||
<i class="fa fa-bell"></i>
|
|
||||||
{% trans "Rappels" %}
|
|
||||||
</a>
|
|
||||||
<a class="list-group-item list-group-item-info" href="#services">
|
|
||||||
<i class="fa fa-list-ul"></i>
|
|
||||||
{% trans "Services" %}
|
|
||||||
</a>
|
|
||||||
<a class="list-group-item list-group-item-info" href="#contact">
|
|
||||||
<i class="fa fa-cogs"></i>
|
|
||||||
{% trans "Adresses de contact" %}
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue