Use webjars for static resources in sample apps

This commit is contained in:
Vedran Pavic
2016-04-08 19:38:14 +02:00
committed by Rob Winch
parent 4a1f132e07
commit 2b4a349b1a
89 changed files with 88 additions and 45198 deletions

View File

@@ -5,6 +5,7 @@ apply from: SAMPLE_GRADLE
dependencies {
compile project(':spring-session-data-redis'),
"org.springframework:spring-web:$springVersion",
"org.webjars:bootstrap:$bootstrapVersion",
jstlDependencies
providedCompile "javax.servlet:javax.servlet-api:$servletApiVersion"
@@ -12,4 +13,4 @@ dependencies {
testCompile "junit:junit:$junitVersion"
integrationTestCompile gebDependencies
}
}

File diff suppressed because one or more lines are too long

View File

@@ -3,7 +3,7 @@
<html lang="en">
<head>
<title>Session Attributes</title>
<link rel="stylesheet" href="assets/bootstrap.min.css">
<link rel="stylesheet" href="<c:url value="/webjars/bootstrap/2.3.2/css/bootstrap.min.css"/>">
<style type="text/css">
body {
padding: 1em;