mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 07:45:49 +00:00
Algunos cambios de diseño
This commit is contained in:
parent
0f933acd52
commit
36b07bc4dd
5 changed files with 17 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue