mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
Merge bdfb90a1dc
into ffa967c94b
This commit is contained in:
commit
29ee9a9041
14 changed files with 48 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,3 +6,4 @@ target/*
|
|||
*.iml
|
||||
/target
|
||||
_site/
|
||||
.DS_Store
|
||||
|
|
1
kill.sh
Executable file
1
kill.sh
Executable file
|
@ -0,0 +1 @@
|
|||
killall java
|
1
run.sh
Executable file
1
run.sh
Executable file
|
@ -0,0 +1 @@
|
|||
./mvnw spring-boot:run &
|
BIN
src/main/java/.DS_Store
vendored
Normal file
BIN
src/main/java/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
src/main/resources/static/.DS_Store
vendored
Normal file
BIN
src/main/resources/static/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
src/main/resources/static/resources/.DS_Store
vendored
Normal file
BIN
src/main/resources/static/resources/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
src/main/resources/static/resources/images/doctor.jpg
Normal file
BIN
src/main/resources/static/resources/images/doctor.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
BIN
src/main/resources/static/resources/images/doctor2.jpg
Normal file
BIN
src/main/resources/static/resources/images/doctor2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
src/main/resources/static/resources/images/doctor3.jpg
Normal file
BIN
src/main/resources/static/resources/images/doctor3.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 391 KiB |
BIN
src/main/resources/static/resources/images/doctor4.jpg
Normal file
BIN
src/main/resources/static/resources/images/doctor4.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 96 KiB |
BIN
src/main/resources/static/resources/images/doctor5.jpg
Normal file
BIN
src/main/resources/static/resources/images/doctor5.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 138 KiB |
|
@ -5,7 +5,7 @@
|
|||
|
||||
<body>
|
||||
|
||||
<h2>Veterinarians</h2>
|
||||
<h2>Pediatricians</h2>
|
||||
|
||||
<table id="vets" class="table table-striped">
|
||||
<thead>
|
||||
|
|
|
@ -1,16 +1,54 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns:th="http://www.thymeleaf.org" th:replace="~{fragments/layout :: layout (~{::body},'home')}">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
||||
|
||||
<body>
|
||||
|
||||
<h2 th:text="#{welcome}">Welcome</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<img class="img-responsive" src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/>
|
||||
</div>
|
||||
|
||||
<!-- This is a test for a picture car. -->
|
||||
|
||||
<div class="container">
|
||||
<div id="myCarousel" class="carousel slide" data-ride="carousel">
|
||||
<!-- Indicators -->
|
||||
<ol class="carousel-indicators">
|
||||
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
|
||||
<li data-target="#myCarousel" data-slide-to="1"></li>
|
||||
<li data-target="#myCarousel" data-slide-to="2"></li>
|
||||
</ol>
|
||||
|
||||
<!-- Wrapper for slides -->
|
||||
<div class="carousel-inner">
|
||||
<div class="item active">
|
||||
<img src="../static/resources/images/doctor4.jpg" th:src="@{/resources/images/doctor4.jpg}" alt="Doctor" style="width:100%;">
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<img src="../static/resources/images/doctor5.jpg" th:src="@{/resources/images/doctor5.jpg}" alt="Doctor" style="width:100%;">
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<img src="../static/resources/images/doctor3.jpg" th:src="@{/resources/images/doctor3.jpg}" alt="Doctor" style="width:100%;">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Left and right controls -->
|
||||
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
|
||||
<span class="glyphicon glyphicon-chevron-left"></span>
|
||||
<span class="sr-only">Previous</span>
|
||||
</a>
|
||||
<a class="right carousel-control" href="#myCarousel" data-slide="next">
|
||||
<span class="glyphicon glyphicon-chevron-right"></span>
|
||||
<span class="sr-only">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
1
update.sh
Executable file
1
update.sh
Executable file
|
@ -0,0 +1 @@
|
|||
./kill.sh && git pull && ./run.sh &
|
Loading…
Reference in a new issue