gui: Create skill button
parent
67552e4f1e
commit
29132ad132
Binary file not shown.
|
@ -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">★</span>
|
||||
<span th:each="i : ${#numbers.sequence(pair.second + 1, 5)}" class="star">☆</span>
|
||||
<span
|
||||
th:each="i : ${#numbers.sequence(1, pair.second)}"
|
||||
class="star"
|
||||
>★</span
|
||||
>
|
||||
<span
|
||||
th:each="i : ${#numbers.sequence(pair.second + 1, 5)}"
|
||||
class="star"
|
||||
>☆</span
|
||||
>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -69,4 +84,4 @@
|
|||
<div th:replace="~{_footer :: footer}"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue