mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-26 17:03:45 +00:00
Homogénéisation des boutons.
This commit is contained in:
parent
9e79b117b2
commit
f4a7fb7dfc
1 changed files with 95 additions and 48 deletions
|
@ -50,8 +50,9 @@ non adhérent</span>{% endif %} et votre connexion est {% if users.has_access %}
|
|||
Informations détaillées
|
||||
</h3>
|
||||
<div class="dropdown pull-right">
|
||||
<button class="btn btn-primary btn-sm dropdown-toggle" type="button" id="editionuser" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<i class="fa fa-edit"></i> Édition<span class="caret"></span></button>
|
||||
<a class="btn btn-default btn-sm" id="editionuser" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<i class="fa fa-edit"></i> <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" arialabelledby="editionuser">
|
||||
<li>
|
||||
<a href="{% url 'users:edit-info' users.id %}">
|
||||
|
@ -191,11 +192,18 @@ non adhérent</span>{% endif %} et votre connexion est {% if users.has_access %}
|
|||
<h3 class="panel-title pull-left">
|
||||
Gérer le club
|
||||
</h3>
|
||||
<div class="btn-group pull-right">
|
||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'users:edit-club-admin-members' users.club.id %}">
|
||||
<div class="dropdown pull-right">
|
||||
<a class="btn btn-default btn-sm" id="editionclub" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<i class="fa fa-edit"></i> <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" arialabelledby="editionclub">
|
||||
<li>
|
||||
<a href="{% url 'users:edit-club-admin-members' users.club.id %}">
|
||||
<i class="fa fa-lock"></i>
|
||||
Gérer admin et membres
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-collapse collapse" id="collapse2">
|
||||
|
@ -244,7 +252,19 @@ non adhérent</span>{% endif %} et votre connexion est {% if users.has_access %}
|
|||
Machines
|
||||
<span class="badge">{{machines_list.count}}</span>
|
||||
</h3>
|
||||
<a class="btn btn-primary btn-sm pull-right" role="button" href="{% url 'machines:new-machine' users.id %}"><i class="fa fa-desktop"></i> Ajouter une machine</a>
|
||||
<div class="dropdown pull-right">
|
||||
<a class="btn btn-default btn-sm" id="editionmachines" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<i class="fa fa-edit"></i> <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" arialabelledby="editionmachines">
|
||||
<li>
|
||||
<a href="{% url 'machines:new-machine' users.id %}">
|
||||
<i class="fa fa-desktop"></i>
|
||||
Ajouter une machine
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="collapse3" class="panel-collapse collapse">
|
||||
<div class="panel-body">
|
||||
|
@ -261,22 +281,34 @@ non adhérent</span>{% endif %} et votre connexion est {% if users.has_access %}
|
|||
<h3 class="panel-title pull-left">
|
||||
Cotisations
|
||||
</h3>
|
||||
<div class="btn-group pull-right">
|
||||
<div class="dropdown pull-right">
|
||||
<a class="btn btn-default btn-sm" id="editionfacture" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<i class="fa fa-edit"></i> <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" arialabelledby="editionfacture">
|
||||
{% can_create Facture %}
|
||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:new-facture' users.id %}">
|
||||
<li>
|
||||
<a href="{% url 'cotisations:new-facture' users.id %}">
|
||||
<i class="glyphicon glyphicon-piggy-bank"></i>
|
||||
Ajouter une cotisation
|
||||
</a>
|
||||
</li>
|
||||
{% if user_solde %}
|
||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}">
|
||||
<li>
|
||||
<a href="{% url 'cotisations:credit-solde' users.id %}">
|
||||
<i class="glyphicon glyphicon-piggy-bank"></i>
|
||||
Modifier le solde
|
||||
</a>
|
||||
</li>
|
||||
{% endif%}{% acl_else %}
|
||||
{% if user_solde %}
|
||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:new_facture_solde' user.id %}">
|
||||
<li>
|
||||
<a href="{% url 'cotisations:new_facture_solde' user.id %}">
|
||||
<i class="glyphicon glyphicon-piggy-bank"></i>
|
||||
Ajouter une cotisation par solde</a>{% endif %}{% acl_end %}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="collapse4" class="panel-collapse collapse">
|
||||
|
@ -294,12 +326,20 @@ non adhérent</span>{% endif %} et votre connexion est {% if users.has_access %}
|
|||
<h3 class="panel-title pull-left">
|
||||
Bannissements
|
||||
</h3>
|
||||
<div class="btn-group pull-right">
|
||||
<div class="dropdown pull-right">
|
||||
<a class="btn btn-default btn-sm" id="editionban" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<i class="fa fa-edit"></i> <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" arialabelledby="editionban">
|
||||
{% can_create Ban %}
|
||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'users:add-ban' users.id %}">
|
||||
<li>
|
||||
<a href="{% url 'users:add-ban' users.id %}">
|
||||
<i class="fa fa-ban"></i>
|
||||
Ajouter un bannissement
|
||||
</a>{% acl_end %}
|
||||
</a>
|
||||
</li>
|
||||
{% acl_end %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="collapse5" class="panel-collapse collapse">
|
||||
|
@ -317,13 +357,20 @@ non adhérent</span>{% endif %} et votre connexion est {% if users.has_access %}
|
|||
<h3 class="panel-title pull-left">
|
||||
Accès à titre gracieux
|
||||
</h3>
|
||||
<div class="btn-group pull-right">
|
||||
<div class="dropdown pull-right">
|
||||
<a class="btn btn-default btn-sm" id="editionwhitelist" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<i class="fa fa-edit"></i> <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" arialabelledby="editionwhitelist">
|
||||
{% can_create Whitelist %}
|
||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'users:add-whitelist' users.id %}">
|
||||
<li>
|
||||
<a href="{% url 'users:add-whitelist' users.id %}">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
Accorder un accès à titre gracieux
|
||||
</a>
|
||||
</li>
|
||||
{% acl_end %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="collapse6" class="panel-collapse collapse">
|
||||
|
|
Loading…
Reference in a new issue