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 { .navbar a.navbar-brand {
background: url("../images/spring-logo-dataflow.png") -1px -1px no-repeat; background: url("../images/spring-logo-dataflow.png") -1px -1px no-repeat;

View file

@ -49,14 +49,14 @@
<span>Home</span> <span>Home</span>
</li> </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 class="glyphicon glyphicon-search" aria-hidden="true"></span>
<span>Find owners</span> <span>Find Parents</span>
</li> </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 class="glyphicon glyphicon-th-list" aria-hidden="true"></span>
<span>Veterinarians</span> <span>Pediatricians</span>
</li> </li>
<li th:replace="::menuItem ('/oups','error','trigger a RuntimeException to see how it is handled','warning-sign','Reviews')"> <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> <body>
<h2>Owner</h2> <h2>Parent</h2>
<form th:object="${owner}" class="form-horizontal" id="add-owner-form" method="post"> <form th:object="${owner}" class="form-horizontal" id="add-owner-form" method="post">
<div class="form-group has-feedback"> <div class="form-group has-feedback">
<input <input
@ -22,7 +22,7 @@
<button <button
th:with="text=${owner['new']} ? 'Add Owner' : 'Update Owner'" th:with="text=${owner['new']} ? 'Add Owner' : 'Update Owner'"
class="btn btn-default" type="submit" th:text="${text}">Add class="btn btn-default" type="submit" th:text="${text}">Add
Owner</button> Parent</button>
</div> </div>
</div> </div>
</form> </form>

View file

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

View file

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

View file

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