Merge pull request #16 from cheapy-issp/009-cambiarVistas

Algunos cambios de diseño
This commit is contained in:
davsotpon 2021-03-23 14:16:27 +01:00 committed by GitHub
commit 93ca48e624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 8 deletions

View file

@ -10,7 +10,7 @@
.navbar a.navbar-brand {
background: url("../images/Logo Cheapy2.png") -1px -1px no-repeat;
margin: 12px 0 6px;
width: 55px;
width: 70px;
height: 55px;
display: inline-block;
text-decoration: none;

View file

@ -213,6 +213,7 @@ img.img-responsive{
.img-home{
display: table;
margin: 0 auto;
padding: 20px;
}
.btn-home{
@ -221,7 +222,7 @@ img.img-responsive{
}
.btn-home button {
background-color: rgb(0, 64, 128); /* Green background */
background-color: rgb(0, 64, 128);
border: 1px solid rgb(0, 0, 160);
color: white;
padding: 10px 24px;

View file

@ -9,10 +9,10 @@
.navbar a.navbar-brand {
display: block;
margin: 0 auto 0 auto;
width: 148px;
width: 50px;
height: 50px;
float: none;
background: url("../images/spring-logo-dataflow-mobile.png") 0 center no-repeat;
background: url("../images/Logo Cheapy2.png") 0 center no-repeat;
}
.homepage-billboard .homepage-subtitle {

View file

@ -2,10 +2,11 @@
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="petclinic" tagdir="/WEB-INF/tags" %>
<link href='https://fonts.googleapis.com/css?family=Lobster' rel='stylesheet'>
<!-- %@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %-->
<petclinic:layout pageName="home">
<h2 class="text-center"><fmt:message key="welcome"/></h2>
<h2 class="text-center" style="font-family: 'Lobster'; font-size: 50px; color: rgb(0, 64, 128); padding:20px"><fmt:message key="welcome"/></h2>
<div class="row">
<div class="col-md-12">
<div class="img-home">
@ -13,7 +14,8 @@
<img class="img-responsive" src="${cheapyImage}"/>
</div>
<div class="btn-home">
<button type="button">Ver Ofertas</button>
<button type="button"><span class="glyphicon glyphicon-cutlery" aria-hidden="true" style="padding: 5px"></span> Ver Ofertas</button>
</div>
</div>
</div>

View file

@ -27,10 +27,16 @@
<span class="glyphicon glyphicon-home" aria-hidden="true"></span>
<span>Home</span>
</petclinic:menuItem>
<petclinic:menuItem active="${name eq 'ofertas'}" url="/ofertas"
title="ofertas">
<span class="glyphicon glyphicon-cutlery" aria-hidden="true"></span>
<span>Ver ofertas</span>
</petclinic:menuItem>
<petclinic:menuItem active="${name eq 'contactanos'}" url="/contactanos"
title="contactanos">
<span class="glyphicon glyphicon-th-list" aria-hidden="true"></span>
<span class="glyphicon glyphicon-earphone" aria-hidden="true"></span>
<span>Contáctanos</span>
</petclinic:menuItem>