@ -66,4 +66,8 @@ class SelectActiveKegForm(forms.Form):
classPinteForm(forms.Form):
ids=forms.CharField(widget=forms.Textarea,label="Numéros",help_text="Numéros séparés par un espace. Laissez vide pour utiliser le range.",required=False)
begin=forms.IntegerField(label="Début",help_text="Début du range",required=False)
end=forms.IntegerField(label="Fin",help_text="Fin du range",required=False)
end=forms.IntegerField(label="Fin",help_text="Fin du range",required=False)
<buttonclass="button small pay_button"data-payment="{{pm.pk}}"><iclass="fa fa-{{pm.icon}}"></i></button><br>
{% endfor %}
</div>
{% endif %}
<aclass="up_button"href="#intro">
UP
</a>
<style>
.alt_payment_buttons{
display:block;
background-color:white;
position:fixed;
right:0;
padding-right: 1em;
top:50%;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.alt_payment_buttons button{
min-width: 0 !important;
background-color: white !important;
}
.up_button{
display:block;
background-color:white;
@ -28,7 +49,7 @@
text-align:center;
line-height:50px;
right:1em;
bottom : 1em;
bottom : 1em;
}
</style>
{% if perms.gestion.add_consumptionhistory %}
@ -63,7 +84,7 @@
<tdid="balance">0€</td>
<tdid="totalAmount">0€</td>
<tdid="totalAfter">0€</td>
<td>{% for pm in pay_buttons %}<buttonclass="btn small pay_button"data-payment="{{pm.pk}}">{{pm.name}}</button> {% endfor %}</td>
<td>{% for pm in pay_buttons %}<buttonclass="btn small pay_button"data-payment="{{pm.pk}}"><iclass="fa fa-{{pm.icon}}"></i>{{pm.name}}</button> {% endfor %}</td>
{% if perms.auth.add_user or perms.auth.view_user or perms.auth.add_group or perms.auth.view_group or perms.users.add_school or perms.users.view_school %}
<spanclass="tabulation2">
<ahref="{% url 'users:index' %}">Gestion des clients</a>
<iclass="fa fa-users"></i><ahref="{% url 'users:index' %}">Gestion des clients</a>
</span>
{% endif %}
{% if perms.gestion.view_product or perms.gestion.add_product or perms.gestion.add_keg or perms.gestion.view_keg or perms.gestion.change_keg or perms.gestion.view_menu or perms.gestion.add_menu %}
<spanclass="tabulation2">
<ahref="{% url 'gestion:productsIndex' %}">Gestion des produits</a>
<iclass="fa fa-dolly-flatbed"></i><ahref="{% url 'gestion:productsIndex' %}">Gestion des produits</a>