mirror of
https://github.com/Prominence/car-repair-site.git
synced 2026-07-03 03:06:47 +03:00
Switched to bootstrap v.4, added datepicker & enhanced autocomplete.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user