diff --git a/.travis.yml b/.travis.yml index 10ce67e89..4957b38a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,20 @@ language: java jdk: oraclejdk8 services: - mysql -install: - - ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V +cache: + directories: + - "$HOME/.m2" +before_cache: + - rm -rf $HOME/.m2/repository/com/autentia/traviscodacy before_install: -- chmod +x mvnw -- mysql -e 'CREATE DATABASE cheapy;' -- sudo apt-get update -script: - - mvn test -Dspring.profiles.active=mysql-travis + - sudo apt-get install jq + - wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r .assets[0].browser_download_url) + - chmod +x mvnw + - mysql -e 'CREATE DATABASE cheapy;' + - sudo apt-get update +after_success: + - ls + - ls target + - ls target/jacoco + - java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r target/jacoco/jacoco.xml diff --git a/pom.xml b/pom.xml index c0ab78aad..eacae383f 100644 --- a/pom.xml +++ b/pom.xml @@ -28,6 +28,11 @@ 1.8.0 0.8.5 + ${project.build.directory}/jacoco + ${project.build.directory}/jacoco.exec + + ${project.build.directory}/jacoco + ${jacoco.itreportpath}/jacoco-it.exec 0.0.4.RELEASE 0.0.25 @@ -140,7 +145,11 @@ spring-boot-devtools true - + + org.postgresql + postgresql + runtime + @@ -178,6 +187,7 @@ prepare-agent + report @@ -185,6 +195,21 @@ report + + ${jacoco.utreportpath} + ${jacoco.utreportfile} + + + + test + test + + report + + + ${jacoco.utreportpath} + ${jacoco.utreportfile} + diff --git a/src/main/java/org/springframework/cheapy/model/Review.java b/src/main/java/org/springframework/cheapy/model/Review.java index b8cf0b6d4..4715051ee 100644 --- a/src/main/java/org/springframework/cheapy/model/Review.java +++ b/src/main/java/org/springframework/cheapy/model/Review.java @@ -6,10 +6,11 @@ import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import javax.validation.constraints.NotBlank; +import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.Range; -import com.sun.istack.NotNull; + @Entity @Table(name = "review") @@ -21,8 +22,8 @@ public class Review extends BaseEntity{ @Column(length=16777215) private String opinion; - @NotNull - @Range(min = 1, max = 5) + @NotNull(message= "Por favor rellene este campo") + @Range(min = 1, max = 5,message="Las estrellas deben ir entre 1 y 5") private Integer stars; @ManyToOne diff --git a/src/main/java/org/springframework/cheapy/repository/FoodOfferRepository.java b/src/main/java/org/springframework/cheapy/repository/FoodOfferRepository.java index 2e9ca093b..099f6788c 100644 --- a/src/main/java/org/springframework/cheapy/repository/FoodOfferRepository.java +++ b/src/main/java/org/springframework/cheapy/repository/FoodOfferRepository.java @@ -28,4 +28,8 @@ public interface FoodOfferRepository extends Repository { @Query("SELECT foodOffer FROM FoodOffer foodOffer WHERE foodOffer.client.id =:id") @Transactional(readOnly = true) List findByUserId(@Param("id") Integer id); + + @Query("SELECT foodOffer FROM FoodOffer foodOffer WHERE foodOffer.client.id =:id AND foodOffer.status!= 'inactive'") + @Transactional(readOnly = true) + List findFoodOfferActOclByUserId(@Param("id") Integer id); } diff --git a/src/main/java/org/springframework/cheapy/repository/NuOfferRepository.java b/src/main/java/org/springframework/cheapy/repository/NuOfferRepository.java index 8e59df4dc..d895c5916 100644 --- a/src/main/java/org/springframework/cheapy/repository/NuOfferRepository.java +++ b/src/main/java/org/springframework/cheapy/repository/NuOfferRepository.java @@ -27,4 +27,8 @@ public interface NuOfferRepository extends Repository { @Query("SELECT nuOffer FROM NuOffer nuOffer WHERE nuOffer.client.id =:id") @Transactional(readOnly = true) List findByUserId(@Param("id") Integer id); + + @Query("SELECT nuOffer FROM NuOffer nuOffer WHERE nuOffer.client.id =:id AND nuOffer.status!= 'inactive'") + @Transactional(readOnly = true) + List findNuOfferActOclByUserId(@Param("id") Integer id); } diff --git a/src/main/java/org/springframework/cheapy/repository/SpeedOfferRepository.java b/src/main/java/org/springframework/cheapy/repository/SpeedOfferRepository.java index e4df0426c..4c7465368 100644 --- a/src/main/java/org/springframework/cheapy/repository/SpeedOfferRepository.java +++ b/src/main/java/org/springframework/cheapy/repository/SpeedOfferRepository.java @@ -29,4 +29,8 @@ public interface SpeedOfferRepository extends Repository { @Query("SELECT speedOffer FROM SpeedOffer speedOffer WHERE speedOffer.client.id =:id") @Transactional(readOnly = true) List findByUserId(@Param("id") Integer id); + + @Query("SELECT speedOffer FROM SpeedOffer speedOffer WHERE speedOffer.client.id =:id AND speedOffer.status!= 'inactive'") + @Transactional(readOnly = true) + List findSpeedOfferActOclByUserId(@Param("id") Integer id); } diff --git a/src/main/java/org/springframework/cheapy/repository/TimeOfferRepository.java b/src/main/java/org/springframework/cheapy/repository/TimeOfferRepository.java index 1cd4c5e34..d891e0953 100644 --- a/src/main/java/org/springframework/cheapy/repository/TimeOfferRepository.java +++ b/src/main/java/org/springframework/cheapy/repository/TimeOfferRepository.java @@ -26,4 +26,8 @@ public interface TimeOfferRepository extends Repository { @Query("SELECT timeOffer FROM TimeOffer timeOffer WHERE timeOffer.client.id =:id") @Transactional(readOnly = true) List findByUserId(@Param("id") Integer id); + + @Query("SELECT timeOffer FROM TimeOffer timeOffer WHERE timeOffer.client.id =:id AND timeOffer.status!= 'inactive'") + @Transactional(readOnly = true) + List findTimeOfferActOclByUserId(@Param("id") Integer id); } diff --git a/src/main/java/org/springframework/cheapy/service/FoodOfferService.java b/src/main/java/org/springframework/cheapy/service/FoodOfferService.java index c11c9e8a6..a555e5c6c 100644 --- a/src/main/java/org/springframework/cheapy/service/FoodOfferService.java +++ b/src/main/java/org/springframework/cheapy/service/FoodOfferService.java @@ -37,4 +37,8 @@ public class FoodOfferService { public List findFoodOfferByUserId(final int id) { return this.foodOfferRepository.findByUserId(id); } + + public List findFoodOfferActOclByUserId(final int id) { + return this.foodOfferRepository.findFoodOfferActOclByUserId(id); + } } diff --git a/src/main/java/org/springframework/cheapy/service/NuOfferService.java b/src/main/java/org/springframework/cheapy/service/NuOfferService.java index 5268ac2db..7bbb48aaa 100644 --- a/src/main/java/org/springframework/cheapy/service/NuOfferService.java +++ b/src/main/java/org/springframework/cheapy/service/NuOfferService.java @@ -47,4 +47,8 @@ public class NuOfferService { public List findNuOfferByUserId(final int id) { return this.nuOfferRepository.findByUserId(id); } + + public List findNuOfferActOclByUserId(final int id) { + return this.nuOfferRepository.findNuOfferActOclByUserId(id); + } } diff --git a/src/main/java/org/springframework/cheapy/service/SpeedOfferService.java b/src/main/java/org/springframework/cheapy/service/SpeedOfferService.java index 6063b7426..384ec046c 100644 --- a/src/main/java/org/springframework/cheapy/service/SpeedOfferService.java +++ b/src/main/java/org/springframework/cheapy/service/SpeedOfferService.java @@ -44,4 +44,8 @@ public class SpeedOfferService { public List findSpeedOfferByUserId(final int id) { return this.speedOfferRepository.findByUserId(id); } + + public List findSpeedOfferActOclByUserId(final int id) { + return this.speedOfferRepository.findSpeedOfferActOclByUserId(id); + } } diff --git a/src/main/java/org/springframework/cheapy/service/TimeOfferService.java b/src/main/java/org/springframework/cheapy/service/TimeOfferService.java index e23fa5151..154fb9bc8 100644 --- a/src/main/java/org/springframework/cheapy/service/TimeOfferService.java +++ b/src/main/java/org/springframework/cheapy/service/TimeOfferService.java @@ -40,4 +40,8 @@ public class TimeOfferService { public List findTimeOfferByUserId(final int id) { return this.timeOfferRepository.findByUserId(id); } + + public List findTimeOfferActOclByUserId(final int id) { + return this.timeOfferRepository.findTimeOfferActOclByUserId(id); + } } diff --git a/src/main/java/org/springframework/cheapy/web/FoodOfferController.java b/src/main/java/org/springframework/cheapy/web/FoodOfferController.java index 3e1d2673b..e599775b7 100644 --- a/src/main/java/org/springframework/cheapy/web/FoodOfferController.java +++ b/src/main/java/org/springframework/cheapy/web/FoodOfferController.java @@ -105,13 +105,15 @@ public class FoodOfferController { public String processShowForm(@PathVariable("foodOfferId") int foodOfferId, Map model) { FoodOffer foodOffer = this.foodOfferService.findFoodOfferById(foodOfferId); - + if(!foodOffer.getStatus().equals(StatusOffer.active)) { + return "error"; + }else { model.put("foodOffer", foodOffer); model.put("localDateTimeFormat", DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm")); return "offers/food/foodOffersShow"; - + } } @GetMapping(value = "/offers/food/{foodOfferId}/edit") diff --git a/src/main/java/org/springframework/cheapy/web/NuOfferController.java b/src/main/java/org/springframework/cheapy/web/NuOfferController.java index cfa792579..fb0b24104 100644 --- a/src/main/java/org/springframework/cheapy/web/NuOfferController.java +++ b/src/main/java/org/springframework/cheapy/web/NuOfferController.java @@ -136,10 +136,14 @@ public class NuOfferController { @GetMapping("/offers/nu/{nuOfferId}") public String processShowForm(@PathVariable("nuOfferId") int nuOfferId, Map model) { NuOffer nuOffer = this.nuOfferService.findNuOfferById(nuOfferId); + if(!nuOffer.getStatus().equals(StatusOffer.active)) { + return "error"; + }else { model.put("nuOffer", nuOffer); model.put("localDateTimeFormat", DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm")); return "offers/nu/nuOffersShow"; + } } diff --git a/src/main/java/org/springframework/cheapy/web/OfertaController.java b/src/main/java/org/springframework/cheapy/web/OfertaController.java index 2ae80261c..60567c491 100644 --- a/src/main/java/org/springframework/cheapy/web/OfertaController.java +++ b/src/main/java/org/springframework/cheapy/web/OfertaController.java @@ -64,10 +64,10 @@ public class OfertaController { int actual = this.clientService.getCurrentClient().getId(); - List foodOfferLs = this.foodOfferService.findFoodOfferByUserId(actual); - List nuOfferLs = this.nuOfferService.findNuOfferByUserId(actual); - List speedOfferLs = this.speedOfferService.findSpeedOfferByUserId(actual); - List timeOfferLs = this.timeOfferService.findTimeOfferByUserId(actual); + List foodOfferLs = this.foodOfferService.findFoodOfferActOclByUserId(actual); + List nuOfferLs = this.nuOfferService.findNuOfferActOclByUserId(actual); + List speedOfferLs = this.speedOfferService.findSpeedOfferActOclByUserId(actual); + List timeOfferLs = this.timeOfferService.findTimeOfferActOclByUserId(actual); model.put("foodOfferLs", foodOfferLs); model.put("nuOfferLs", nuOfferLs); diff --git a/src/main/java/org/springframework/cheapy/web/SpeedOfferController.java b/src/main/java/org/springframework/cheapy/web/SpeedOfferController.java index 9785a4ed5..f717f96e4 100644 --- a/src/main/java/org/springframework/cheapy/web/SpeedOfferController.java +++ b/src/main/java/org/springframework/cheapy/web/SpeedOfferController.java @@ -130,12 +130,15 @@ public class SpeedOfferController { @GetMapping("/offers/speed/{speedOfferId}") public String processShowForm(@PathVariable("speedOfferId") int speedOfferId, Map model) { - SpeedOffer speedOffer = this.speedOfferService.findSpeedOfferById(speedOfferId); + if(!speedOffer.getStatus().equals(StatusOffer.active)) { + return "error"; + }else { model.put("speedOffer", speedOffer); model.put("localDateTimeFormat", DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm")); return "offers/speed/speedOffersShow"; + } } @GetMapping(value = "/offers/speed/{speedOfferId}/edit") diff --git a/src/main/java/org/springframework/cheapy/web/TimeOfferController.java b/src/main/java/org/springframework/cheapy/web/TimeOfferController.java index 3be933036..48c2f8b76 100644 --- a/src/main/java/org/springframework/cheapy/web/TimeOfferController.java +++ b/src/main/java/org/springframework/cheapy/web/TimeOfferController.java @@ -122,12 +122,15 @@ public class TimeOfferController { public String processShowForm(@PathVariable("timeOfferId") int timeOfferId, Map model) { TimeOffer timeOffer = this.timeOfferService.findTimeOfferById(timeOfferId); - + if(!timeOffer.getStatus().equals(StatusOffer.active)) { + return "error"; + }else { model.put("timeOffer", timeOffer); model.put("localDateTimeFormat", DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm")); return "offers/time/timeOffersShow"; + } } diff --git a/src/main/less/cheapy.less b/src/main/less/cheapy.less index a0bff3551..44e9d7e26 100644 --- a/src/main/less/cheapy.less +++ b/src/main/less/cheapy.less @@ -297,23 +297,23 @@ img.img-responsive{ } #foodOfferTable th { - width: 25%; + width: 20%; text-align: center; } #nuOfferTable th { - width: 25%; + width: 20%; text-align: center; } #speedOfferTable th { - width: 25%; + width: 20%; text-align: center; } #timeOfferTable th { - width: 25%; + width: 20%; text-align: center; } @@ -365,6 +365,29 @@ text-align: center; background-color: rgb(40, 140, 215); } +.btns-edit2{ + display: table; + margin:auto; + +} + +.btns-edit2 button{ + background-color: rgb(0, 64, 128); + border: 1px solid rgb(0, 0, 160); + color: white; + padding: 10px 24px; + cursor: pointer; +} + +.btns-edit2 button:not(:last-child) { + border-bottom: none; +} + + +.btns-edit2 button:hover { + background-color: rgb(40, 140, 215); +} + .btns-delete{ display: table; margin: 0 auto; diff --git a/src/main/resources/application-mysql.properties b/src/main/resources/application-mysql.properties index ccc6807c3..a2a4c4998 100644 --- a/src/main/resources/application-mysql.properties +++ b/src/main/resources/application-mysql.properties @@ -1,12 +1,11 @@ # database init, supports mysql too database=mysql -spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost/cheapy?serverTimezone=UTC} +#spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost/cheapy?serverTimezone=UTC} spring.datasource.username=${MYSQL_USER:cheapy} spring.datasource.password=${MYSQL_PASS:cheapy} # SQL is written to be idempotent so this is safe spring.datasource.initialization-mode=always -spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy spring.jpa.properties.javax.persistence.schema-generation.drop-source=metadata # Naming strategy spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 97ef60ff4..afee236bf 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -4,6 +4,8 @@ database=mysql spring.datasource.data=classpath*:db/${database}/data.sql spring.h2.console.enabled=true spring.profiles.active=mysql +spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost/cheapy?serverTimezone=UTC} +spring.datasource.driver-class-name=org.postgresql.Driver # Web spring.thymeleaf.mode=HTML diff --git a/src/main/resources/messages/messages_es.properties b/src/main/resources/messages/messages_es.properties index a6b8610f9..2e0a746e8 100644 --- a/src/main/resources/messages/messages_es.properties +++ b/src/main/resources/messages/messages_es.properties @@ -48,3 +48,7 @@ createSpeedOffers= Crear ofertas por rapidez comiendo createTimeOffers= Crear ofertas por franja horaria init= Inicio del intervalo finishOffer= Fin del intervalo +name= Nombre del restaurante +status= Estado de oferta +myOffers= Ver mis Ofertas + diff --git a/src/main/webapp/WEB-INF/jsp/offers/food/createOrUpdateFoodOfferForm.jsp b/src/main/webapp/WEB-INF/jsp/offers/food/createOrUpdateFoodOfferForm.jsp index e396fb9d8..736f83797 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/food/createOrUpdateFoodOfferForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/food/createOrUpdateFoodOfferForm.jsp @@ -42,15 +42,4 @@ -
- -
- - diff --git a/src/main/webapp/WEB-INF/jsp/offers/food/foodOffersDisable.jsp b/src/main/webapp/WEB-INF/jsp/offers/food/foodOffersDisable.jsp index 45861d2c3..15a051c8e 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/food/foodOffersDisable.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/food/foodOffersDisable.jsp @@ -9,27 +9,17 @@ -

¿Está seguro de que quiere eliminar su oferta?

+

¿Está seguro de que quiere eliminar su oferta?

-
+
-
- -
- diff --git a/src/main/webapp/WEB-INF/jsp/offers/food/foodOffersShow.jsp b/src/main/webapp/WEB-INF/jsp/offers/food/foodOffersShow.jsp index 5b82667b3..bfd854ea4 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/food/foodOffersShow.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/food/foodOffersShow.jsp @@ -12,7 +12,7 @@

- + @@ -40,44 +40,42 @@
-
- -
+ +
- - - - + + + + + + + + - - - - + + + + - - - - + + + + +
- + diff --git a/src/main/webapp/WEB-INF/jsp/offers/myOffersList.jsp b/src/main/webapp/WEB-INF/jsp/offers/myOffersList.jsp index 3292e232e..ee9b25750 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/myOffersList.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/myOffersList.jsp @@ -9,7 +9,7 @@

-

No hay ninguna oferta por plato específico activa.

+

No hay ninguna oferta por plato específico creada.

@@ -19,6 +19,7 @@ + +
@@ -36,6 +37,9 @@ + + @@ -54,7 +58,7 @@

-

No hay ninguna oferta por plato específico activa.

+

No hay ninguna oferta por número de comensales creada.

@@ -63,6 +67,7 @@ + +
@@ -79,6 +84,9 @@ + + @@ -96,8 +104,8 @@

- -

No hay ninguna oferta por plato específico activa.

+ +

No hay ninguna oferta por tiempo empleado en comer creada.

@@ -106,6 +114,7 @@ + + + + + @@ -38,6 +45,7 @@ +
@@ -122,6 +131,9 @@ + + @@ -141,7 +153,7 @@

-

No hay ninguna oferta por plato específico activa.

+

No hay ninguna oferta por franja horaria creada.

@@ -150,6 +162,7 @@ + +
@@ -165,6 +178,9 @@ + + diff --git a/src/main/webapp/WEB-INF/jsp/offers/nu/createOrUpdateNuOfferForm.jsp b/src/main/webapp/WEB-INF/jsp/offers/nu/createOrUpdateNuOfferForm.jsp index d693e8ae9..1dcc0f41d 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/nu/createOrUpdateNuOfferForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/nu/createOrUpdateNuOfferForm.jsp @@ -47,15 +47,5 @@ -
- -
- diff --git a/src/main/webapp/WEB-INF/jsp/offers/nu/nuOffersDisable.jsp b/src/main/webapp/WEB-INF/jsp/offers/nu/nuOffersDisable.jsp index f46b57f67..1071ec5bc 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/nu/nuOffersDisable.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/nu/nuOffersDisable.jsp @@ -13,23 +13,13 @@ -
+
-
- -
- diff --git a/src/main/webapp/WEB-INF/jsp/offers/nu/nuOffersShow.jsp b/src/main/webapp/WEB-INF/jsp/offers/nu/nuOffersShow.jsp index ba76384d7..dd4f68713 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/nu/nuOffersShow.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/nu/nuOffersShow.jsp @@ -53,19 +53,19 @@
-
- -
+ +
- - - - + + + + + + + @@ -83,13 +83,11 @@ Desactivar oferta +
+
- + diff --git a/src/main/webapp/WEB-INF/jsp/offers/offersCreate.jsp b/src/main/webapp/WEB-INF/jsp/offers/offersCreate.jsp index 986828742..a9b2e5d7d 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/offersCreate.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/offersCreate.jsp @@ -33,14 +33,5 @@ -
- -
- + diff --git a/src/main/webapp/WEB-INF/jsp/offers/offersList.jsp b/src/main/webapp/WEB-INF/jsp/offers/offersList.jsp index 5c339b735..c9fd5dbba 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/offersList.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/offersList.jsp @@ -4,10 +4,12 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <%@ taglib prefix="cheapy" tagdir="/WEB-INF/tags" %> +<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

+

No hay ninguna oferta por plato específico activa.

@@ -16,16 +18,21 @@
+ + @@ -56,13 +64,14 @@

-

No hay ninguna oferta por plato específico activa.

+

No hay ninguna oferta por número de comensales activa.

+ @@ -74,7 +83,9 @@ - + @@ -105,13 +116,14 @@

-

No hay ninguna oferta por plato específico activa.

+

No hay ninguna oferta por tiempo empleado en comer activa.

+ +
+ @@ -123,7 +135,9 @@ - + @@ -155,13 +169,14 @@

-

No hay ninguna oferta por plato específico activa.

+

No hay ninguna oferta por franja horaria activa.

+ +
+ @@ -172,7 +187,9 @@ - + @@ -201,15 +218,6 @@
+ +
- -
- -
- + + diff --git a/src/main/webapp/WEB-INF/jsp/offers/speed/createOrUpdateSpeedOfferForm.jsp b/src/main/webapp/WEB-INF/jsp/offers/speed/createOrUpdateSpeedOfferForm.jsp index d466bc2f5..906baa373 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/speed/createOrUpdateSpeedOfferForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/speed/createOrUpdateSpeedOfferForm.jsp @@ -44,16 +44,6 @@ - -
- -
- + diff --git a/src/main/webapp/WEB-INF/jsp/offers/speed/speedOffersDisable.jsp b/src/main/webapp/WEB-INF/jsp/offers/speed/speedOffersDisable.jsp index 66c5a0f07..f13e29766 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/speed/speedOffersDisable.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/speed/speedOffersDisable.jsp @@ -9,27 +9,18 @@ -

¿Está seguro de que quiere eliminar su oferta?

+

¿Está seguro de que quiere eliminar su oferta?

-
+
+
-
- -
- diff --git a/src/main/webapp/WEB-INF/jsp/offers/speed/speedOffersShow.jsp b/src/main/webapp/WEB-INF/jsp/offers/speed/speedOffersShow.jsp index f7065d80c..829621d5e 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/speed/speedOffersShow.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/speed/speedOffersShow.jsp @@ -53,19 +53,19 @@
-
- -
+ +
- - - - + + + + + + + @@ -84,14 +84,12 @@ Desactivar oferta +
+
- + diff --git a/src/main/webapp/WEB-INF/jsp/offers/time/createOrUpdateTimeOfferForm.jsp b/src/main/webapp/WEB-INF/jsp/offers/time/createOrUpdateTimeOfferForm.jsp index 51c188e8d..cc91be345 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/time/createOrUpdateTimeOfferForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/time/createOrUpdateTimeOfferForm.jsp @@ -45,15 +45,6 @@ -
- -
- + diff --git a/src/main/webapp/WEB-INF/jsp/offers/time/timeOffersDisable.jsp b/src/main/webapp/WEB-INF/jsp/offers/time/timeOffersDisable.jsp index b19346a70..facc40f1a 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/time/timeOffersDisable.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/time/timeOffersDisable.jsp @@ -13,23 +13,13 @@ -
+
-
- -
- diff --git a/src/main/webapp/WEB-INF/jsp/offers/time/timeOffersShow.jsp b/src/main/webapp/WEB-INF/jsp/offers/time/timeOffersShow.jsp index b24312b1d..9fccf28f4 100644 --- a/src/main/webapp/WEB-INF/jsp/offers/time/timeOffersShow.jsp +++ b/src/main/webapp/WEB-INF/jsp/offers/time/timeOffersShow.jsp @@ -42,20 +42,19 @@
-
- -
+ +
- - - - - + + + + + + + @@ -73,15 +72,11 @@ Desactivar oferta - +
- + diff --git a/src/main/webapp/WEB-INF/jsp/reviews/createOrUpdateReviewForm.jsp b/src/main/webapp/WEB-INF/jsp/reviews/createOrUpdateReviewForm.jsp index 5c8c53660..93f628af0 100644 --- a/src/main/webapp/WEB-INF/jsp/reviews/createOrUpdateReviewForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/reviews/createOrUpdateReviewForm.jsp @@ -18,15 +18,22 @@
+
- + +
+ + + diff --git a/src/main/webapp/WEB-INF/jsp/reviews/reviewsShow.jsp b/src/main/webapp/WEB-INF/jsp/reviews/reviewsShow.jsp index 982cb3b3a..b13c31115 100644 --- a/src/main/webapp/WEB-INF/jsp/reviews/reviewsShow.jsp +++ b/src/main/webapp/WEB-INF/jsp/reviews/reviewsShow.jsp @@ -24,11 +24,7 @@
-
- -
+
@@ -42,10 +38,6 @@ Editar opinión
- +
diff --git a/src/main/webapp/WEB-INF/jsp/welcome.jsp b/src/main/webapp/WEB-INF/jsp/welcome.jsp index 027fd2d3c..a2622ed5a 100644 --- a/src/main/webapp/WEB-INF/jsp/welcome.jsp +++ b/src/main/webapp/WEB-INF/jsp/welcome.jsp @@ -23,6 +23,11 @@
+
+ +