Merge pull request 'chore: Update branch' (#1) from Maradona/Backend:main into main

Reviewed-on: 3002833/Backend#1
pull/1/head
David Hess 2024-11-04 18:29:19 +01:00
commit a9c667125a
4 changed files with 56 additions and 44 deletions

View File

@ -4,6 +4,9 @@
<div th:replace="~{/core/_metadata :: metadata}"></div>
<title>Create Project</title>
<link rel="stylesheet" href="/style/projects/projects.css" />
<link rel="stylesheet" href="/style/core/style.css" />
<link rel="stylesheet" href="/style/core/header.css" />
<link rel="stylesheet" href="/style/core/footer.css" />
</head>
<body>
<div class="wrapper">

View File

@ -4,6 +4,9 @@
<div th:replace="~{/core/_metadata :: metadata}"></div>
<title>Add Skill</title>
<link rel="stylesheet" href="/style/skills/skills.css" />
<link rel="stylesheet" href="/style/core/style.css" />
<link rel="stylesheet" href="/style/core/header.css" />
<link rel="stylesheet" href="/style/core/footer.css" />
</head>
<body>
<div class="wrapper">
@ -16,50 +19,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="~{/core/_footer :: footer}"></div>

View File

@ -4,6 +4,9 @@
<div th:replace="~{/core/_metadata :: metadata}"></div>
<title>Create Skill</title>
<link rel="stylesheet" href="/style/skills/skills.css" />
<link rel="stylesheet" href="/style/core/style.css" />
<link rel="stylesheet" href="/style/core/header.css" />
<link rel="stylesheet" href="/style/core/footer.css" />
</head>
<body>
<div class="wrapper">

View File

@ -3,7 +3,8 @@
<head>
<div th:replace="~{/core/_metadata :: metadata}"></div>
<title>My Skill Management System</title>
<link rel="stylesheet" href="style/skills/skills.css" />
<link rel="stylesheet" href="/style/skills/skills.css" />
<link rel="stylesheet" href="/style/core/style.css" />
</head>
<body>
<div class="wrapper">