Added in ability to edit the project data item, although backend is not completed yet.

Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
2023-02-03 01:20:55 +00:00
parent cef7cc5e64
commit db7c12857e
15 changed files with 326 additions and 120 deletions
+17 -12
View File
@@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Editor</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/main.css">
<script src="https://kit.fontawesome.com/ed3c25598e.js" crossorigin="anonymous"></script>
</head>
@@ -10,8 +11,8 @@
<nav class="sideNav">
<a href="#" class="closeBtn" id="navClose">&times;</a>
<ul>
<li><a href="#" id="goToCV" class="active"><span>&lt;</span>CV<span>&gt;</span></a></li>
<li><a href="#" id="goToProjects"><span>&lt;</span>Projects<span>&gt;</span></a></li>
<li><a href="#" id="goToCV"><span>&lt;</span>CV<span>&gt;</span></a></li>
<li><a href="#" id="goToProjects" class="active"><span>&lt;</span>Projects<span>&gt;</span></a></li>
<li><a href="#" id="goToSettings"><span>&lt;</span>Settings<span>&gt;</span></a></li>
<li><a href="#" id="logout"><span>&lt;</span>Logout<span>&gt;</span></a></li>
</ul>
@@ -33,22 +34,22 @@
<form action="" method="POST" id="addEdu">
<div class="formControl">
<label for="dateFromE">Date From</label>
<input type="date" id="dateFromE" name="dateFromE">
<input type="date" id="dateFromE" name="dateFromE" required>
</div>
<div class="formControl">
<label for="dateToE">Date To</label>
<input type="date" id="dateToE" name="dateToE">
<input type="date" id="dateToE" name="dateToE" required>
</div>
<div class="formControl">
<label for="grade">Grade</label>
<input type="text" id="grade" name="grade">
<input type="text" id="grade" name="grade" required>
</div>
<div class="formControl">
<label for="courseTitle">Course Title</label>
<input type="text" id="courseTitle" name="courseTitle">
<input type="text" id="courseTitle" name="courseTitle" required>
</div>
<div class="error hidden" id="eduError">
@@ -71,7 +72,7 @@
<form action="" method="POST" id="addWork">
<div class="formControl">
<label for="dateFromW">Date From</label>
<input type="date" id="dateFromW" name="dateFromW">
<input type="date" id="dateFromW" name="dateFromW" required>
</div>
<div class="formControl">
@@ -81,17 +82,17 @@
<div class="formControl">
<label for="company">Company</label>
<input type="text" id="company" name="company">
<input type="text" id="company" name="company" required>
</div>
<div class="formControl">
<label for="area">Area</label>
<input type="text" id="area" name="area">
<input type="text" id="area" name="area" required>
</div>
<div class="formControl">
<label for="jobTitle">Job Title</label>
<input type="text" id="jobTitle" name="jobTitle">
<input type="text" id="jobTitle" name="jobTitle" required>
</div>
<div class="error hidden" id="workError">
@@ -125,8 +126,12 @@
</label>
</div>
<div class="formControl">
<label for="imgLoc">Image</label>
<input type="file" name="imgLoc" id="imgLoc">
<label for="img">Image</label>
<input type="file" name="img" id="img">
</div>
<div class="formControl">
<label for="projectInfo">Description</label>
<textarea name="projectInfo" id="projectInfo"></textarea>
</div>
<div class="formControl">
<label for="projectLink">Project Link</label>