mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 20:03:11 +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
|
Informations détaillées
|
||||||
</h3>
|
</h3>
|
||||||
<div class="dropdown pull-right">
|
<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">
|
<a class="btn btn-default btn-sm" id="editionuser" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||||
<i class="fa fa-edit"></i> Édition<span class="caret"></span></button>
|
<i class="fa fa-edit"></i> <span class="caret"></span>
|
||||||
|
</a>
|
||||||
<ul class="dropdown-menu" arialabelledby="editionuser">
|
<ul class="dropdown-menu" arialabelledby="editionuser">
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'users:edit-info' users.id %}">
|
<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">
|
<h3 class="panel-title pull-left">
|
||||||
Gérer le club
|
Gérer le club
|
||||||
</h3>
|
</h3>
|
||||||
<div class="btn-group pull-right">
|
<div class="dropdown pull-right">
|
||||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'users:edit-club-admin-members' users.club.id %}">
|
<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>
|
<i class="fa fa-lock"></i>
|
||||||
Gérer admin et membres
|
Gérer admin et membres
|
||||||
</a>
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-collapse collapse" id="collapse2">
|
<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
|
Machines
|
||||||
<span class="badge">{{machines_list.count}}</span>
|
<span class="badge">{{machines_list.count}}</span>
|
||||||
</h3>
|
</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>
|
||||||
<div id="collapse3" class="panel-collapse collapse">
|
<div id="collapse3" class="panel-collapse collapse">
|
||||||
<div class="panel-body">
|
<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">
|
<h3 class="panel-title pull-left">
|
||||||
Cotisations
|
Cotisations
|
||||||
</h3>
|
</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 %}
|
{% 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>
|
<i class="glyphicon glyphicon-piggy-bank"></i>
|
||||||
Ajouter une cotisation
|
Ajouter une cotisation
|
||||||
</a>
|
</a>
|
||||||
|
</li>
|
||||||
{% if user_solde %}
|
{% 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>
|
<i class="glyphicon glyphicon-piggy-bank"></i>
|
||||||
Modifier le solde
|
Modifier le solde
|
||||||
</a>
|
</a>
|
||||||
|
</li>
|
||||||
{% endif%}{% acl_else %}
|
{% endif%}{% acl_else %}
|
||||||
{% if user_solde %}
|
{% 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>
|
<i class="glyphicon glyphicon-piggy-bank"></i>
|
||||||
Ajouter une cotisation par solde</a>{% endif %}{% acl_end %}
|
Ajouter une cotisation par solde</a>{% endif %}{% acl_end %}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="collapse4" class="panel-collapse collapse">
|
<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">
|
<h3 class="panel-title pull-left">
|
||||||
Bannissements
|
Bannissements
|
||||||
</h3>
|
</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 %}
|
{% 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>
|
<i class="fa fa-ban"></i>
|
||||||
Ajouter un bannissement
|
Ajouter un bannissement
|
||||||
</a>{% acl_end %}
|
</a>
|
||||||
|
</li>
|
||||||
|
{% acl_end %}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="collapse5" class="panel-collapse collapse">
|
<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">
|
<h3 class="panel-title pull-left">
|
||||||
Accès à titre gracieux
|
Accès à titre gracieux
|
||||||
</h3>
|
</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 %}
|
{% 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>
|
<i class="fa fa-check-circle"></i>
|
||||||
Accorder un accès à titre gracieux
|
Accorder un accès à titre gracieux
|
||||||
</a>
|
</a>
|
||||||
|
</li>
|
||||||
{% acl_end %}
|
{% acl_end %}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="collapse6" class="panel-collapse collapse">
|
<div id="collapse6" class="panel-collapse collapse">
|
||||||
|
|
Loading…
Reference in a new issue