mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 15:55:49 +00:00
Añadido estilo a los filtros y algunas tablas nuevas
This commit is contained in:
parent
23fc965308
commit
975cc0a2dd
7 changed files with 239 additions and 169 deletions
|
@ -224,6 +224,28 @@ img.img-responsive{
|
|||
width: 25%;
|
||||
}
|
||||
|
||||
.btn-filter{
|
||||
background: rgb(40, 140, 215);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-filter:hover{
|
||||
background: rgb(0, 64, 128);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-filter-active{
|
||||
background: rgb(0, 64, 128);
|
||||
color: white;
|
||||
|
||||
}
|
||||
|
||||
.btn-filter-max button {
|
||||
padding:10px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
}
|
||||
|
||||
.btn-home {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
@ -307,6 +329,15 @@ img.img-responsive{
|
|||
background-color: rgb(40, 140, 215);
|
||||
}
|
||||
|
||||
#offerTable th{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#offerTable td{
|
||||
vertical-align:middle;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#foodOfferTable th {
|
||||
width: 20%;
|
||||
text-align: center;
|
||||
|
@ -564,6 +595,12 @@ text-align: center;
|
|||
color: rgb(29, 142, 226);
|
||||
}
|
||||
|
||||
input[type=text] {
|
||||
width:80%;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.row-full{
|
||||
width: 100vw;
|
||||
position: relative;
|
||||
|
|
|
@ -9,39 +9,43 @@
|
|||
|
||||
<cheapy:layout pageName="ofertas de plato especifico">
|
||||
|
||||
<spring:url value="/offers/foodOfferList/{page}" var="foodOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de plato especifico</button>
|
||||
|
||||
<spring:url value="/offers/nuOfferList/{page}" var="nuOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas por número de comensales</button>
|
||||
|
||||
<spring:url value="/offers/speedOfferList/{page}" var="speedOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de velocidad</button>
|
||||
|
||||
<spring:url value="/offers/timeOfferList/{page}" var="timeOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de franja horaria</button>
|
||||
|
||||
<div class="text-center">
|
||||
<div class="btn-filter-max">
|
||||
<spring:url value="/offers/foodOfferList/{page}" var="foodOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
|
||||
<button type="button" role="link" class="btn-filter-active" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de plato específico</button>
|
||||
|
||||
<spring:url value="/offers/nuOfferList/{page}" var="nuOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas por número de comensales</button>
|
||||
|
||||
<spring:url value="/offers/speedOfferList/{page}" var="speedOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de velocidad</button>
|
||||
|
||||
<spring:url value="/offers/timeOfferList/{page}" var="timeOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de franja horaria</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 style="text-align:center;padding:5px"><fmt:message key="foodOffers"/></h2>
|
||||
|
||||
<c:if test="${empty foodOfferLs }">
|
||||
<p id="vacio" >No hay ninguna oferta por plato específico activa.</p>
|
||||
<p id="vacio" >No hay ninguna oferta por plato espec<EFBFBD>fico activa.</p>
|
||||
</c:if>
|
||||
<c:if test="${not empty foodOfferLs }">
|
||||
<table id="foodOfferTable" class="table table-striped">
|
||||
|
@ -97,7 +101,7 @@
|
|||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Pág. anterior</button>
|
||||
P<EFBFBD>g. anterior</button>
|
||||
</c:if>
|
||||
<c:out value='${page}'></c:out>
|
||||
<c:if test="${fn:length(foodOfferLs) == 5}">
|
||||
|
@ -106,7 +110,7 @@
|
|||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Pág. siguiente</button>
|
||||
P<EFBFBD>g. siguiente</button>
|
||||
</c:if>
|
||||
</c:if>
|
||||
|
||||
|
|
|
@ -7,40 +7,42 @@
|
|||
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
|
||||
<link href='https://fonts.googleapis.com/css?family=Lobster' rel='stylesheet'>
|
||||
|
||||
<cheapy:layout pageName="ofertas">
|
||||
|
||||
<spring:url value="/offers/foodOfferList/{page}" var="foodOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de plato especifico</button>
|
||||
|
||||
<spring:url value="/offers/nuOfferList/{page}" var="nuOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas por número de comensales</button>
|
||||
|
||||
<spring:url value="/offers/speedOfferList/{page}" var="speedOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de velocidad</button>
|
||||
|
||||
<spring:url value="/offers/timeOfferList/{page}" var="timeOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de franja horaria</button>
|
||||
|
||||
<cheapy:layout pageName="ofertas por numero de comensales">
|
||||
<div class="text-center">
|
||||
<div class="btn-filter-max">
|
||||
<spring:url value="/offers/foodOfferList/{page}" var="foodOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de plato especifico</button>
|
||||
|
||||
<spring:url value="/offers/nuOfferList/{page}" var="nuOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter-active" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas por número de comensales</button>
|
||||
|
||||
<spring:url value="/offers/speedOfferList/{page}" var="speedOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de velocidad</button>
|
||||
|
||||
<spring:url value="/offers/timeOfferList/{page}" var="timeOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de franja horaria</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 style="text-align:center;padding:5px"><fmt:message key="nuOffers"/></h2>
|
||||
<c:if test="${empty nuOfferLs }">
|
||||
<p id="vacio" >No hay ninguna oferta por número de comensales activa.</p>
|
||||
<p id="vacio" >No hay ninguna oferta por n<EFBFBD>mero de comensales activa.</p>
|
||||
</c:if>
|
||||
<c:if test="${not empty nuOfferLs }">
|
||||
<table id="nuOfferTable" class="table table-striped">
|
||||
|
@ -94,7 +96,7 @@
|
|||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Pág. anterior</button>
|
||||
P<EFBFBD>g. anterior</button>
|
||||
</c:if>
|
||||
<c:out value='${page}'></c:out>
|
||||
<c:if test="${fn:length(nuOfferLs) == 5}">
|
||||
|
@ -103,7 +105,7 @@
|
|||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Pág. siguiente</button>
|
||||
P<EFBFBD>g. siguiente</button>
|
||||
</c:if>
|
||||
</c:if>
|
||||
|
||||
|
|
|
@ -9,51 +9,67 @@
|
|||
<link href='https://fonts.googleapis.com/css?family=Lobster' rel='stylesheet'>
|
||||
|
||||
<cheapy:layout pageName="ofertas">
|
||||
|
||||
<spring:url value="/offers/foodOfferList/{page}" var="foodOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de plato especifico</button>
|
||||
|
||||
<spring:url value="/offers/nuOfferList/{page}" var="nuOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas por número de comensales</button>
|
||||
|
||||
<spring:url value="/offers/speedOfferList/{page}" var="speedOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de velocidad</button>
|
||||
|
||||
<spring:url value="/offers/timeOfferList/{page}" var="timeOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de franja horaria</button>
|
||||
|
||||
<div class="text-center">
|
||||
<div class="btn-filter-max">
|
||||
<spring:url value="/offers/foodOfferList/{page}" var="foodOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
|
||||
|
||||
<button type="button" class="btn-filter" role="link" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de plato específico</button>
|
||||
|
||||
<spring:url value="/offers/nuOfferList/{page}" var="nuOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas por número de comensales</button>
|
||||
|
||||
|
||||
<spring:url value="/offers/speedOfferList/{page}" var="speedOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de velocidad</button>
|
||||
|
||||
<spring:url value="/offers/timeOfferList/{page}" var="timeOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de franja horaria</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form class="example" action="/offersByName">
|
||||
<input type="text" name="name">
|
||||
<button type="submit"><i class="fa fa-search"></i></button>
|
||||
<h2 class="text-center" style="font-size: 100%" >Búsqueda por nombre del bar/restaurante: </h2>
|
||||
<div class="text-center">
|
||||
<input type="text" placeholder="Búsqueda por nombre" name="name">
|
||||
<button type="submit"><i class="fa fa-search"></i>
|
||||
<span class="glyphicon glyphicon glyphicon-search" aria-hidden="true" style="padding: 5px"> </span>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<form class="example" action="/offersByFood">
|
||||
<input type="text" name="name">
|
||||
<button type="submit"><i class="fa fa-search"></i></button>
|
||||
<h2 class="text-center" style="font-size: 100%" >Búsqueda por comida: </h2>
|
||||
<div class="text-center">
|
||||
<input type="text" placeholder="Búsqueda por comida (Ej: Macarrones)" name="name">
|
||||
<button type="submit"><i class="fa fa-search"></i>
|
||||
<span class="glyphicon glyphicon glyphicon-search" aria-hidden="true" style="padding: 5px"> </span>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<h2 style="text-align:center;padding:5px"><fmt:message key="foodOffers"/></h2>
|
||||
|
||||
<c:if test="${empty foodOfferLs }">
|
||||
<p id="vacio" >No hay ninguna oferta por plato específico activa.</p>
|
||||
<p id="vacio" >No hay ninguna oferta por plato específico activa.</p>
|
||||
</c:if>
|
||||
<c:if test="${not empty foodOfferLs }">
|
||||
|
||||
|
@ -107,13 +123,13 @@
|
|||
</table>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ver más</button>
|
||||
Ver más</button>
|
||||
</div>
|
||||
|
||||
</c:if>
|
||||
<h2 style="text-align:center;padding:5px"><fmt:message key="nuOffers"/></h2>
|
||||
<c:if test="${empty nuOfferLs }">
|
||||
<p id="vacio" >No hay ninguna oferta por número de comensales activa.</p>
|
||||
<p id="vacio" >No hay ninguna oferta por n<EFBFBD>mero de comensales activa.</p>
|
||||
</c:if>
|
||||
<c:if test="${not empty nuOfferLs }">
|
||||
|
||||
|
@ -165,7 +181,7 @@
|
|||
</table>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ver más</button>
|
||||
Ver más</button>
|
||||
</div>
|
||||
|
||||
</c:if>
|
||||
|
@ -226,7 +242,7 @@
|
|||
<spring:url value="/offers/speedOfferList" var="speedOfferUrl"></spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ver más</button>
|
||||
Ver más</button>
|
||||
</div>
|
||||
|
||||
</c:if>
|
||||
|
@ -285,7 +301,7 @@
|
|||
<spring:url value="/offers/timeOfferList" var="timeOfferUrl"></spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ver más</button>
|
||||
Ver más</button>
|
||||
</div>
|
||||
</c:if>
|
||||
|
||||
|
|
|
@ -51,7 +51,15 @@
|
|||
<c:out value="${localDateTimeFormat.format(datos.key.end)}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${datos.key.status}"/>
|
||||
<c:if test="${datos.key.status == 'active'}">
|
||||
<c:out value="Activa"/>
|
||||
</c:if>
|
||||
<c:if test="${datos.key.status == 'hidden'}">
|
||||
<c:out value="Oculta"/>
|
||||
</c:if>
|
||||
<c:if test="${datos.key.status == 'inactive'}">
|
||||
<c:out value="Inactiva"/>
|
||||
</c:if>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
|
|
|
@ -7,37 +7,38 @@
|
|||
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
|
||||
<link href='https://fonts.googleapis.com/css?family=Lobster' rel='stylesheet'>
|
||||
|
||||
<cheapy:layout pageName="ofertas">
|
||||
|
||||
<spring:url value="/offers/foodOfferList/{page}" var="foodOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de plato especifico</button>
|
||||
|
||||
<spring:url value="/offers/nuOfferList/{page}" var="nuOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas por número de comensales</button>
|
||||
|
||||
<spring:url value="/offers/speedOfferList/{page}" var="speedOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de velocidad</button>
|
||||
|
||||
<spring:url value="/offers/timeOfferList/{page}" var="timeOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de franja horaria</button>
|
||||
|
||||
|
||||
<cheapy:layout pageName="ofertas por rapidez">
|
||||
<div class="text-center">
|
||||
<div class="btn-filter-max">
|
||||
<spring:url value="/offers/foodOfferList/{page}" var="foodOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de plato especifico</button>
|
||||
|
||||
<spring:url value="/offers/nuOfferList/{page}" var="nuOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas por número de comensales</button>
|
||||
|
||||
<spring:url value="/offers/speedOfferList/{page}" var="speedOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter-active" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de velocidad</button>
|
||||
|
||||
<spring:url value="/offers/timeOfferList/{page}" var="timeOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de franja horaria</button>
|
||||
</div>
|
||||
</div>
|
||||
<h2 style="text-align:center;padding:5px"><fmt:message key="speedOffers"/></h2>
|
||||
<c:if test="${empty speedOfferLs }">
|
||||
<p id="vacio" >No hay ninguna oferta por tiempo empleado en comer activa.</p>
|
||||
|
@ -95,7 +96,7 @@
|
|||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Pág. anterior</button>
|
||||
P<EFBFBD>g. anterior</button>
|
||||
</c:if>
|
||||
<c:out value='${page}'></c:out>
|
||||
<c:if test="${fn:length(speedOfferLs) == 5}">
|
||||
|
@ -104,7 +105,7 @@
|
|||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Pág. siguiente</button>
|
||||
P<EFBFBD>g. siguiente</button>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</cheapy:layout>
|
||||
|
|
|
@ -7,36 +7,38 @@
|
|||
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
|
||||
<link href='https://fonts.googleapis.com/css?family=Lobster' rel='stylesheet'>
|
||||
|
||||
<cheapy:layout pageName="ofertas">
|
||||
|
||||
<spring:url value="/offers/foodOfferList/{page}" var="foodOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de plato especifico</button>
|
||||
|
||||
<spring:url value="/offers/nuOfferList/{page}" var="nuOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas por número de comensales</button>
|
||||
|
||||
<spring:url value="/offers/speedOfferList/{page}" var="speedOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de velocidad</button>
|
||||
|
||||
<spring:url value="/offers/timeOfferList/{page}" var="timeOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de franja horaria</button>
|
||||
|
||||
<cheapy:layout pageName="ofertas por intervalo de tiempo">
|
||||
<div class="text-center">
|
||||
<div class="btn-filter-max">
|
||||
<spring:url value="/offers/foodOfferList/{page}" var="foodOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(foodOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de plato especifico</button>
|
||||
|
||||
<spring:url value="/offers/nuOfferList/{page}" var="nuOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(nuOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas por número de comensales</button>
|
||||
|
||||
<spring:url value="/offers/speedOfferList/{page}" var="speedOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter" onclick="window.location='${fn:escapeXml(speedOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de velocidad</button>
|
||||
|
||||
<spring:url value="/offers/timeOfferList/{page}" var="timeOfferListUrl">
|
||||
<spring:param name="page" value="0"/>
|
||||
</spring:url>
|
||||
<button type="button" role="link" class="btn-filter-active" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Ofertas de franja horaria</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 style="text-align:center;padding:5px"><fmt:message key="timeOffers"/></h2>
|
||||
<c:if test="${empty timeOfferLs }">
|
||||
|
@ -94,7 +96,7 @@
|
|||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Pág. anterior</button>
|
||||
P<EFBFBD>g. anterior</button>
|
||||
</c:if>
|
||||
<c:out value='${page}'></c:out>
|
||||
<c:if test="${fn:length(timeOfferLs) == 5}">
|
||||
|
@ -103,7 +105,7 @@
|
|||
</spring:url>
|
||||
<button type="button" role="link" onclick="window.location='${fn:escapeXml(timeOfferListUrl)}'" style="font-family: 'Lobster'; font-size: 20px;">
|
||||
<span class="glyphicon glyphicon glyphicon-edit" aria-hidden="true" style="padding: 5px"> </span>
|
||||
Pág. siguiente</button>
|
||||
P<EFBFBD>g. siguiente</button>
|
||||
</c:if>
|
||||
</c:if>
|
||||
|
||||
|
|
Loading…
Reference in a new issue