KidClinic Header/Button Changes

This commit is contained in:
Daniel.ryan@glowtouch.com 2017-06-05 14:04:45 -04:00
parent b88c395dcc
commit 05f19739de
6 changed files with 16 additions and 17 deletions

View file

@ -10,7 +10,6 @@
}
/*
.navbar a.navbar-brand {
background: url("../images/spring-logo-dataflow.png") -1px -1px no-repeat;

View file

@ -49,14 +49,14 @@
<span>Home</span>
</li>
<li th:replace="::menuItem ('/owners/find','owners','find owners','search','Find owners')">
<li th:replace="::menuItem ('/owners/find','owners','Find Parents','search','Find Parents')">
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
<span>Find owners</span>
<span>Find Parents</span>
</li>
<li th:replace="::menuItem ('/vets.html','vets','veterinarians','th-list','Veterinarians')">
<li th:replace="::menuItem ('/vets.html','vets', 'Pediatricians','th-list','Pediatricians')">
<span class="glyphicon glyphicon-th-list" aria-hidden="true"></span>
<span>Veterinarians</span>
<span>Pediatricians</span>
</li>
<li th:replace="::menuItem ('/oups','error','trigger a RuntimeException to see how it is handled','warning-sign','Reviews')">

View file

@ -3,7 +3,7 @@
<body>
<h2>Owner</h2>
<h2>Parent</h2>
<form th:object="${owner}" class="form-horizontal" id="add-owner-form" method="post">
<div class="form-group has-feedback">
<input
@ -22,7 +22,7 @@
<button
th:with="text=${owner['new']} ? 'Add Owner' : 'Update Owner'"
class="btn btn-default" type="submit" th:text="${text}">Add
Owner</button>
Parent</button>
</div>
</div>
</form>

View file

@ -3,7 +3,7 @@
<body>
<h2>Find Owners</h2>
<h2>Find Parents</h2>
<form th:object="${owner}" th:action="@{/owners}" method="get"
class="form-horizontal" id="search-owner-form">
@ -22,14 +22,14 @@
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Find
Owner</button>
Parent</button>
</div>
</div>
</form>
<br />
<a class="btn btn-default" th:href="@{/owners/new}">Add Owner</a>
<a class="btn btn-default" th:href="@{/owners/new}">Add Parent</a>
</body>
</html>

View file

@ -6,7 +6,7 @@
<body>
<h2>Owner Information</h2>
<h2>Parent Information</h2>
<table class="table table-striped" th:object="${owner}">
@ -29,14 +29,14 @@
</table>
<a th:href="@{{id}/edit(id=${owner.id})}" class="btn btn-default">Edit
Owner</a>
Parent</a>
<a th:href="@{{id}/pets/new(id=${owner.id})}" class="btn btn-default">Add
New Pet</a>
New Child</a>
<br />
<br />
<br />
<h2>Pets and Visits</h2>
<h2>Children and Visits</h2>
<table class="table table-striped">
@ -67,7 +67,7 @@
<tr>
<td><a
th:href="@{{ownerId}/pets/{petId}/edit(ownerId=${owner.id},petId=${pet.id})}">Edit
Pet</a></td>
Child</a></td>
<td><a
th:href="@{{ownerId}/pets/{petId}/visits/new(ownerId=${owner.id},petId=${pet.id})}">Add
Visit</a></td>

View file

@ -4,7 +4,7 @@
<body>
<h2>Owners</h2>
<h2>Parents</h2>
<table id="vets" class="table table-striped">
<thead>
@ -13,7 +13,7 @@
<th style="width: 200px;">Address</th>
<th>City</th>
<th style="width: 120px">Telephone</th>
<th>Pets</th>
<th>Children</th>
</tr>
</thead>
<tbody>