Commit 16d7683e by gema

ajustes en lista de la compra

parent 7106746f
...@@ -25,16 +25,18 @@ ...@@ -25,16 +25,18 @@
</div> </div>
<div class="container-box-border-box"> <div class="container-box-border-box">
<form class="ac-custom ac-checkmark" autocomplete="off"> <div class="div-scrollable-lista">
<ul class="text-left ml0"> <form class="ac-custom ac-checkmark" autocomplete="off">
{% if count(ingredients) == 0 %} <ul class="text-left ml0">
<h4>Sin Ingredientes</h4> {% if count(ingredients) == 0 %}
{% endif %} <h4>Sin Ingredientes</h4>
{% for i in ingredients %} {% endif %}
<li> <input id="check_{{ i.id }}" name="check_{{ i.id }}" type="checkbox" rel="{{ i.id }}"/><label for="check_{{ i.id }}">{{ i.desc }}</label></li> {% for i in ingredients %}
{% endfor %} <li> <input id="check_{{ i.id }}" name="check_{{ i.id }}" type="checkbox" rel="{{ i.id }}"/><label for="check_{{ i.id }}">{{ i.desc }}</label></li>
</ul> {% endfor %}
</form> </ul>
</form>
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -42,10 +44,10 @@ ...@@ -42,10 +44,10 @@
<h3 class="mt40" >Puedes editar tu lista de la compra borrando y añadiendo productos.</h3> <h3 class="mt40" >Puedes editar tu lista de la compra borrando y añadiendo productos.</h3>
<!--botones--> <!--botones-->
<div class="row "> <div class="row ">
<div class="col-md-6"> <div class="col-xs-6">
<button class="btn btn-custom btn-delete mt20" data-toggle="modal" data-target="#modalDelete" ><i class="fa fa-trash"></i> Todos</button> <button class="btn btn-custom btn-delete mt20" data-toggle="modal" data-target="#modalDelete" ><i class="fa fa-trash"></i> Todos</button>
</div> </div>
<div class="col-md-6"> <div class="col-xs-6">
<button class="btn btn-custom btn-delete mt20" data-toggle="modal" data-target="#modalDelete"><i class="fa fa-trash"></i> Marcados</button> <button class="btn btn-custom btn-delete mt20" data-toggle="modal" data-target="#modalDelete"><i class="fa fa-trash"></i> Marcados</button>
</div> </div>
</div> </div>
......
...@@ -10,11 +10,12 @@ ...@@ -10,11 +10,12 @@
<div class="text-center"> <div class="text-center">
<img src="assets/img/listacompra/add_producto.png" class="img-responsive-custom mt40"/> <img src="assets/img/listacompra/add_producto.png" class="img-responsive-custom mt40"/>
<h2>AÑADIR PRODUCTO</h2> <h2>AÑADIR PRODUCTO</h2>
<p>Los productos que añadas manualmente no se enviarán a DelSuper en el caso de que elijas esta opción de compra.</p>
</div> </div>
<div class="content pb40"> <div class="content pb40 mt40">
<form> <form>
<p>Producto</p> <label>Producto</label>
<input type="text" class="form-control" name="product" id="product" value=""/> <input type="text" class="form-control" name="product" id="product" value=""/>
<div class="mt20"> <div class="mt20">
......
...@@ -979,6 +979,19 @@ a:focus { ...@@ -979,6 +979,19 @@ a:focus {
} }
} }
/****************************************************LISTA DE LA COMPRA***************************************************************/
/*******************************************************************************************************************************************/
.div-scrollable-lista{
overflow-y: scroll;
height:400px;
}
@media (min-width:1600px){
.div-scrollable-lista{
overflow-y: scroll;
height:500px;
}
}
/*****************************************************************************************************************************************/ /*****************************************************************************************************************************************/
/*********************************************************MENÚS SALUDABLES***************************************************************/ /*********************************************************MENÚS SALUDABLES***************************************************************/
/****************************************************************************************************************************************/ /****************************************************************************************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment