File tree Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 32
32
<groupId >org.springframework.boot</groupId >
33
33
<artifactId >spring-boot-starter-web</artifactId >
34
34
</dependency >
35
+
36
+ <!-- WebJars-->
37
+ <dependency >
38
+ <groupId >org.webjars</groupId >
39
+ <artifactId >bootstrap</artifactId >
40
+ <version >3.3.5</version >
41
+ </dependency >
42
+ <dependency >
43
+ <groupId >org.webjars</groupId >
44
+ <artifactId >jquery</artifactId >
45
+ <version >2.1.4</version >
46
+ </dependency >
35
47
36
48
<dependency >
37
49
<groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change 4
4
5
5
< title > Spring Core Online Tutorial</ title >
6
6
< meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 "/>
7
+
8
+ < link href ="http://cdn.jsdelivr.net/webjars/bootstrap/3.3.4/css/bootstrap.min.css "
9
+ th:href ="@{/webjars/bootstrap/3.3.5/css/bootstrap.min.css} "
10
+ rel ="stylesheet " media ="screen " />
11
+
12
+ < script src ="http://cdn.jsdelivr.net/webjars/jquery/2.1.4/jquery.min.js "
13
+ th:src ="@{/webjars/jquery/2.1.4/jquery.min.js} "> </ script >
14
+
15
+ < link href ="../static/css/spring-core.css "
16
+ th:href ="@{css/spring-core.css} " rel ="stylesheet " media ="screen "/>
7
17
</ head >
8
18
< body >
9
- < h1 > Hello World</ h1 >
19
+ < div class ="container ">
20
+ < h1 > Hello World</ h1 >
21
+
22
+ < h2 > This is my Thymeleaf index page. This is my changed.</ h2 >
23
+
24
+ </ div >
10
25
11
- < h2 > This is my Thymeleaf index page. This is my changed.</ h2 >
12
26
</ body >
13
27
</ html >
You can’t perform that action at this time.
0 commit comments