gui: Updated skill-add
parent
c2a57ce0ba
commit
a4a8f61d27
|
@ -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>
|
||||
|
@ -92,3 +93,5 @@
|
|||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
/****** a7a88cf0-2777-497e-bfc4-87d6ab9e0317 *******/
|
||||
|
|
|
@ -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