forked from spring-projects/spring-petclinic
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix spring-projects#78 Migrate to Bootstrap 3.x
- Loading branch information
Showing
830 changed files
with
10,350 additions
and
122,960 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
language: java | ||
jdk: oraclejdk8 | ||
script: mvn package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
{ | ||
"name": "spring-petclinic", | ||
"authors": [ | ||
"[email protected]" | ||
], | ||
"dependencies": { | ||
"bootstrap": "~2.3.0", | ||
"jquery": "~2.0.3", | ||
"bootstrap": "3.3.6", | ||
"jquery": "~2.0.3", | ||
"jquery-ui": "~1.10.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,25 @@ | ||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> | ||
|
||
<table class="footer"> | ||
<tr> | ||
<td width="70%"></td> | ||
<td align="right"><img src="<spring:url value="/resources/images/spring-pivotal-logo.png" htmlEscape="true" />" | ||
alt="Sponsored by Pivotal"/></td> | ||
</tr> | ||
</table> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12 text-center"><img src="<spring:url value="/resources/images/spring-pivotal-logo.png" htmlEscape="true" />" | ||
alt="Sponsored by Pivotal"/></div> | ||
</div> | ||
</div> | ||
|
||
<%-- Placed at the end of the document so the pages load faster --%> | ||
<spring:url value="/vendors/jquery/jquery.min.js" var="jQuery"/> | ||
<script src="${jQuery}"></script> | ||
|
||
<%-- jquery-ui.js file is really big so we only load what we need instead of loading everything --%> | ||
<spring:url value="/vendors/jquery-ui/ui/jquery.ui.core.js" var="jQueryUiCore"/> | ||
<script src="${jQueryUiCore}"></script> | ||
|
||
<spring:url value="/vendors/jquery-ui/ui/jquery.ui.datepicker.js" var="jQueryUiDatePicker"/> | ||
<script src="${jQueryUiDatePicker}"></script> | ||
|
||
|
||
<%-- Bootstrap --%> | ||
<spring:url value="/vendors/bootstrap/dist/js/bootstrap.min.js" var="bootstrapJs"/> | ||
<script src="${bootstrapJs}"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> | ||
|
||
<%-- | ||
PetClinic :: a Spring Framework demonstration | ||
--%> | ||
|
||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<%-- The above 4 meta tags *must* come first in the head; any other head content must come *after* these tags --%> | ||
|
||
<spring:url value="/resources/images/favicon.png" var="favicon"/> | ||
<link rel="shortcut icon" type="image/x-icon" href="${favicon}"> | ||
|
||
<title>PetClinic :: a Spring Framework demonstration</title> | ||
|
||
<%-- Bootstrap CSS --%> | ||
<spring:url value="/vendors/bootstrap/dist/css/bootstrap.min.css" var="bootstrapCss"/> | ||
<link href="${bootstrapCss}" rel="stylesheet"> | ||
<spring:url value="/vendors/bootstrap/dist/css/bootstrap-theme.min.css" var="bootstrapThemeCss"/> | ||
<link href="${bootstrapThemeCss}" rel="stylesheet"> | ||
|
||
|
||
<%-- Custom styles for Petclinic --%> | ||
<spring:url value="/resources/css/petclinic.css" var="petclinicCss"/> | ||
<link href="${petclinicCss}" rel="stylesheet"/> | ||
|
||
|
||
<%-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --%> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
|
||
<!-- Only datepicker is used --> | ||
<spring:url value="/vendors/jquery-ui/themes/base/minified/jquery-ui.min.css" var="jQueryUiCss"/> | ||
<link href="${jQueryUiCss}" rel="stylesheet"/> | ||
<spring:url value="/vendors/jquery-ui/themes/base/minified/jquery.ui.theme.min.css" var="jQueryUiThemeCss"/> | ||
<link href="${jQueryUiThemeCss}" rel="stylesheet"/> | ||
<spring:url value="/vendors/jquery-ui/themes/base/minified/jquery.ui.datepicker.min.css" var="jQueryUiDatePickerCss"/> | ||
<link href="${jQueryUiDatePickerCss}" rel="stylesheet"/> | ||
</head> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.