gui: Create skill button

pull/1/head
Lunix-420 2024-11-03 18:53:56 +01:00
parent 67552e4f1e
commit 29132ad132
2 changed files with 20 additions and 5 deletions

Binary file not shown.

View File

@ -24,7 +24,12 @@
</div>
<div class="d-flex justify-content-between align-items-center mb-4">
<h2 class="mb-0">Skills</h2>
<a th:href="@{/skills/add}" class="btn-create-project">Add Skill</a>
<div>
<a th:href="@{/skills/add}" class="btn-create-project">Add Skill</a>
<a th:href="@{/skills/create}" class="btn-create-project"
>Create Skill</a
>
</div>
</div>
<div class="row">
<div class="col-12" th:each="skillDto : ${skillData}">
@ -40,10 +45,20 @@
<div class="card-text">
<ul>
<li th:each="pair : ${skillDto.secondarySkills}">
<span th:text="${pair.first.description}">Secondary Skill</span>
<span th:text="${pair.first.description}"
>Secondary Skill</span
>
<span class="stars">
<span th:each="i : ${#numbers.sequence(1, pair.second)}" class="star">&#9733;</span>
<span th:each="i : ${#numbers.sequence(pair.second + 1, 5)}" class="star">&#9734;</span>
<span
th:each="i : ${#numbers.sequence(1, pair.second)}"
class="star"
>&#9733;</span
>
<span
th:each="i : ${#numbers.sequence(pair.second + 1, 5)}"
class="star"
>&#9734;</span
>
</span>
</li>
</ul>
@ -69,4 +84,4 @@
<div th:replace="~{_footer :: footer}"></div>
</div>
</body>
</html>
</html>