prepared favorites
This commit is contained in:
		| @@ -391,3 +391,6 @@ body { | ||||
| 	background-image: linear-gradient(to right bottom, #99c1f1, #1a5f64); | ||||
| } | ||||
|  | ||||
| .golden { | ||||
| 	color: darkgoldenrod; | ||||
| } | ||||
| @@ -64,7 +64,16 @@ | ||||
| 							<th>Modul</th> | ||||
| 							<th>Aufgabe</th> | ||||
| 							<th>Abrechnung</th> | ||||
| 							<th></th> | ||||
| 							<th> | ||||
| 								<div class="dropdown"> | ||||
| 									<button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Favoriten</button> | ||||
| 									<ul class="dropdown-menu"> | ||||
| 										<li th:each="f : ${favorites}"> | ||||
| 											<a class="dropdown-item" href="#"><span  th:text="${f.project} + ' ' + ${f.module} + ' ' + ${f.job}"></span></a> | ||||
| 										</li> | ||||
| 									</ul> | ||||
| 								</div>							 | ||||
| 							</th> | ||||
| 						</tr> | ||||
| 					</thead> | ||||
| 					<tbody> | ||||
| @@ -83,7 +92,10 @@ | ||||
| 								th:if="${done.billing != null}"></span></td> | ||||
| 							<td> | ||||
| 								<a class="btn-list" th:href="@{/done/copy/{id}(id=${done.pk})}" title="Aufgabe neu beginnen"><i class="fa fa-copy"></i></a> | ||||
| 								<a class="btn-list" th:href="@{/done/edit/{id}(id=${done.pk})}" title="Eintrag bearbeiten"><i class="fa fa-edit"></i></a></td> | ||||
| 								<a class="btn-list" th:href="@{/done/edit/{id}(id=${done.pk})}" title="Eintrag bearbeiten"><i class="fa fa-edit"></i></a> | ||||
| 								<a class="btn-list" th:href="@{/done/favorize/{id}(id=${done.pk})}" title="als Favorit speichern" th:if="${!done.isFavorite}"><i class="far fa-star golden"></i></a> | ||||
| 								<a class="btn-list" th:href="@{/done/unfavorize/{id}(id=${done.pk})}" title="Favoritenstatus entfernen" th:if="${done.isFavorite}"><i class="fas fa-star golden"></i></a> | ||||
| 							</td> | ||||
| 						</tr> | ||||
| 					</tbody> | ||||
| 					<tfoot> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user