Switched to bootstrap v.4, added datepicker & enhanced autocomplete.

This commit is contained in:
2019-05-09 20:55:39 +03:00
parent 0c2f38ef7a
commit fab69122bb
15 changed files with 189 additions and 147 deletions
@@ -22,11 +22,12 @@
</script>
</head>
<body>
<div layout:fragment="content">
<div layout:fragment="header">
<h1 th:text="#{mechanic.title}"></h1>
<div class="pull-right">
<a class="btn btn-success" th:href="@{/mechanic/create}" th:text="#{common.create.button}"></a>
</div>
<div layout:fragment="content">
<div class="float-right mb-3">
<a class="btn btn-success" th:href="@{/mechanic/create}" th:text="#{common.create.button}"></a></a>
</div>
<table class="table table-striped table-hover" th:unless="${mechanicList.isEmpty()}">
@@ -48,7 +49,7 @@
<td>
<div class="btn-group pull-right">
<a th:href="@{/mechanic/statistics/{id}(id=${mechanic.id})}" class="btn btn-info" th:text="#{showStatistics.button}"></a>
<a th:href="@{/mechanic/edit/{id}(id=${mechanic.id})}" class="btn btn-default" th:text="#{common.edit.button}"></a>
<a th:href="@{/mechanic/edit/{id}(id=${mechanic.id})}" class="btn btn-secondary" th:text="#{common.edit.button}"></a>
<button type="button" class="btn btn-danger" th:onclick="'deleteMechanicById(' + ${mechanic.id} + ')'" th:text="#{common.delete.button}"></button>
</div>
</td>