Commit df433f280dd61374b439b16d888ace4131f7cdc2

Authored by Paul Brodner
1 parent c4b393bd87
Exists in master

format buttons

src/main/resources/spark/template/freemarker/environment/index.ftl
1   -<a href="/environment/new" data-toggle="tooltip" title="Add a new Environment!">Add New</a>
  1 +<a href="/environment/new" class="btn btn-warning" data-toggle="tooltip" title="Add a new Environment!">Add New</a>
  2 +
2 3 <table class="table table-striped table-bordered table-condensed">
3 4 <thead>
4 5 <tr>
... ... @@ -22,7 +23,7 @@
22 23 <td><pre>${env.getVersion()}</pre></td>
23 24 <td>
24 25 <form method="DELETE" action="/environment/delete/${env.getId()}">
25   - <button type="submit" class="btn btn-small">Delete</button>
  26 + <button type="submit" class="btn btn-xs btn-danger">Delete</button>
26 27 </form>
27 28 </td>
28 29 </tr>
... ...
src/main/resources/spark/template/freemarker/layout.ftl
... ... @@ -18,17 +18,19 @@
18 18 <span class="icon-bar"></span>
19 19 </button>
20 20 <a class="navbar-brand" href="/">TAS Environments</a>
21   - </div>
22   -
23   -
  21 + </div>
24 22 </div><!-- /.container-fluid -->
25 23 </nav>
26 24  
27 25 <#include "alert.ftl">
28 26 <div class="container">
29 27 <h3>${pageTitle}</h3>
30   - <#include "${templateName}">
31   - </div>
  28 + <#include "${templateName}">
  29 + <!-- Site footer -->
  30 + <footer class="footer">
  31 + <p>&copy; by Paul Brodner 2017</p>
  32 + </footer>
  33 + </div>
32 34 <script src="/js/jquery.min.js"></script>
33 35 <script src="/js/bootstrap.min.js"></script>
34 36 </body>
... ...