Merge pull request 'gui: Updated skill-add' (#32) from 2021323/Backend:main into main
Reviewed-on: Maradona/Backend#32pull/1/head
commit
18c5718a7e
|
@ -2,7 +2,6 @@
|
|||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<title>Add Skill</title>
|
||||
<!-- never remove this metadata -->
|
||||
<div th:replace="~{_metadata :: metadata}"></div>
|
||||
<link rel="stylesheet" href="/skills.css" />
|
||||
</head>
|
||||
|
@ -17,50 +16,52 @@
|
|||
method="post"
|
||||
class="project-card"
|
||||
>
|
||||
<div class="form-group">
|
||||
<label for="primarySkill">Primary Skill</label>
|
||||
<select
|
||||
id="primarySkill"
|
||||
name="primarySkillId"
|
||||
class="form-control"
|
||||
th:field="*{primarySkillId}"
|
||||
>
|
||||
<option
|
||||
th:each="primarySkill : ${primarySkills}"
|
||||
th:value="${primarySkill.psid}"
|
||||
th:text="${primarySkill.description}"
|
||||
></option>
|
||||
</select>
|
||||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
<label for="primarySkill">Primary Skill</label>
|
||||
<select
|
||||
id="primarySkill"
|
||||
name="primarySkillId"
|
||||
class="form-control"
|
||||
th:field="*{primarySkillId}"
|
||||
>
|
||||
<option
|
||||
th:each="primarySkill : ${primarySkills}"
|
||||
th:value="${primarySkill.psid}"
|
||||
th:text="${primarySkill.description}"
|
||||
></option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="secondarySkill">Secondary Skill</label>
|
||||
<select
|
||||
id="secondarySkill"
|
||||
name="secondarySkillId"
|
||||
class="form-control"
|
||||
th:field="*{secondarySkillId}"
|
||||
>
|
||||
<option value="" disabled selected>
|
||||
Select a secondary skill
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="level">Level</label>
|
||||
<select
|
||||
id="level"
|
||||
name="level"
|
||||
class="form-control"
|
||||
th:field="*{level}"
|
||||
>
|
||||
<option
|
||||
th:each="level : ${#numbers.sequence(1, 5)}"
|
||||
th:value="${level}"
|
||||
th:text="${level}"
|
||||
></option>
|
||||
</select>
|
||||
</div>
|
||||
<button type="submit" class="btn-create-project">Add Skill</button>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="secondarySkill">Secondary Skill</label>
|
||||
<select
|
||||
id="secondarySkill"
|
||||
name="secondarySkillId"
|
||||
class="form-control"
|
||||
th:field="*{secondarySkillId}"
|
||||
>
|
||||
<option value="" disabled selected>
|
||||
Select a secondary skill
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="level">Level</label>
|
||||
<select
|
||||
id="level"
|
||||
name="level"
|
||||
class="form-control"
|
||||
th:field="*{level}"
|
||||
>
|
||||
<option
|
||||
th:each="level : ${#numbers.sequence(1, 5)}"
|
||||
th:value="${level}"
|
||||
th:text="${level}"
|
||||
></option>
|
||||
</select>
|
||||
</div>
|
||||
<button type="submit" class="btn-create-project">Add Skill</button>
|
||||
</form>
|
||||
</div>
|
||||
<div th:replace="~{_footer :: footer}"></div>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<div th:replace="~{_metadata :: metadata}"></div>
|
||||
<title>Create Skill</title>
|
||||
<div th:replace="~{_metadata :: metadata}"></div>
|
||||
<link rel="stylesheet" href="/skills.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue