Merge pull request 'gui: Create skill button' (#27) from 3002833/Backend:main into main
Reviewed-on: Maradona/Backend#27pull/1/head
commit
4058c61315
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