"Plus de hauteur"

This commit is contained in:
Doug Le Tough 2017-10-28 11:54:12 +02:00
parent 76cf51831b
commit 208029f41d
3 changed files with 9 additions and 4 deletions

View File

@ -624,6 +624,11 @@ function add_kit_componant(kit_id, componant_id) {
alert('La quantité doit être au moins égale à 1'); alert('La quantité doit être au moins égale à 1');
return; return;
} }
if (isNaN(quantity)){
alert('La quantité doit être un nombre.');
return;
}
setcookie('kc_quantity', quantity, 30); setcookie('kc_quantity', quantity, 30);
setcookie('kc_componant_id', componant_id, 30); setcookie('kc_componant_id', componant_id, 30);
var xhttp = new XMLHttpRequest(); var xhttp = new XMLHttpRequest();

View File

@ -92,7 +92,7 @@ span.top_menu_item:hover, span.top_menu_item_selected:hover {
} }
div.content_wrapper { div.content_wrapper {
height: 497px; height: 552px;
width: 1280px; width: 1280px;
} }
@ -104,7 +104,7 @@ div.left_menu {
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
width: 249px; width: 249px;
height: 495px; height: 550px;
line-height: 50px; line-height: 50px;
} }
@ -141,7 +141,7 @@ div.content {
top: 102px; top: 102px;
left: 260px; left: 260px;
width: 1010px; width: 1010px;
height: 475px; height: 530px;
background-color: #E5E5E5; background-color: #E5E5E5;
overflow-y: auto; overflow-y: auto;
padding: 10px; padding: 10px;

View File

@ -140,7 +140,7 @@ def resume_session(func):
def check(*args, **kwargs): def check(*args, **kwargs):
# A motherfuckin' bunch of defaults values # A motherfuckin' bunch of defaults values
empty=u'' empty=u''
limit = 10 limit = 12
offset = 0 offset = 0
page = 1 page = 1
nexthop = offset + limit nexthop = offset + limit