-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
305 lines (272 loc) · 15 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="main.css">
<title>User Manage</title>
</head>
<body>
<!-- User board-->
<div class="container main" id="userPage">
<div class="sideBar">
<h1>User Manage </h1>
<h2>Dashboard</h2>
<p id="">User</p>
<p id="trainingPageButton">Training </p>
<p id="coursePageButton">Course Call</p>
</div>
<div class="containerRight">
<div class="containerHeader">
<div class="topContainer">
<h2 class="titleHeader">Users Page</h2>
<input type="button" value="+ User" class="button newUserInput" id="newUserInput">
</div>
<div class="bottomContainer">
<input type="search" name="search user" id="" placeholder="Search">
</div>
</div>
<main class="containerMain">
<table id="userTable" class="userTable">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Email</th>
<th>Password</th>
<th>Friends</th>
<th>Actions</th>
</tr>
</thead>
<tbody class="styleTable">
</tbody>
</table>
</main>
</div>
</div>
<!-- User board-->
<!-- User form-->
<div class="containerForm hidden --formUser" id="formUser">
<form class="createUser" id="createUser">
<label for="idUser" class=" labelColum idUserLabel">ID:</label>
<input type="number" name="id" class="inputFormUser" id="idUser" placeholder="id" >
<span id="idError successMessage" class="error-message success-message"></span>
<label for="userName" class="labelColum labelUserName">User Name:</label>
<input type="text" name="Name"class="inputFormUser" id="userName" placeholder="name" autocomplete="name">
<span id="nameError successMessage" class="error-message success-message"></span>
<label for="inputEmail" class="labelColum labelEmail">Email:</label>
<input type="text" name="Email"class="inputFormUser" id="inputEmail" placeholder="Email" autocomplete="email">
<span id="emailError successMessage" class="error-message success-message"></span>
<label for="usersFriends" class=" labelColum">Friends:</label>
<select name="user friends" class="inputFormUser" id="usersFriends" multiple></select>
<span id="passwordError successMessage" class="error-message success-message"></span>
<label for="inputPassword" class=" labelColum labelPassword">Password:</label>
<input type="text" name="Password"class="inputFormUser" id="inputPassword" placeholder="Password" >
<button type="button" class="button --secondaryBtn userFormButton" id="backForm">Back</button>
<button type="submit" class="button submitButton userFormButton" id="submitButton">Submit</button>
</form>
</div>
<!-- User form-->
<!-- User form update-->
<div class="containerForm hidden" id="formUpdateUser">
<form id="editUserForm">
<label for="editIdUser" class="labelColum">ID:</label>
<input type="text" id="editIdUser" name="id" readonly>
<label for="editUserName" class="labelColum">Name:</label>
<input type="text" id="editUserName" name="name">
<label for="editInputEmail" class="labelColum">Email:</label>
<input type="email" id="editInputEmail" name="email">
<label for="editInputPassword" class="labelColum">Password:</label>
<input type="password" id="editInputPassword" name="password" >
<label for="editUsersFriends" class="labelColum">Friends:</label>
<select id="editUsersFriends" name="friends" multiple></select>
<button type="button" class="--secondaryBtn button" id="backBtnUserPage">Back</button>
<button type="submit" class="button submitButton">Update User</button>
</form>
</div>
<!-- User form update-->
<!-- trainng page-->
<div class="container hidden main" id="trainingPage">
<div class="sideBar">
<h1>User Manage </h1>
<h2>Dashboard</h2>
<p id="userPageButton">User</p>
<p id="" >Training</p>
<p id="coursePageButton2">Course Call</p>
</div>
<div class="containerRight">
<div class="containerHeader">
<div class="topContainer">
<h2 class="titleHeader">Trainig Page</h2>
<input type="button" value="+ Training Technical Sheet" class="button newUserInput" id="btnTrainingTechSheet">
</div>
<div class="bottomContainer">
<input type="search" name="search user" id="search" placeholder="Search">
</div>
</div>
<main class="containerMain trainingTableContainer">
<table id="trainningTable" class="userTable">
<thead>
<tr>
<th>Training Name</th>
<th>Units Services</th>
<th>Training Plan</th>
<th>TypeOf Training</th>
<th>Duration</th>
<th>Rvaluation Type</th>
<th>Objectives</th>
<th>Comments</th>
<th>Students</th>
<th>Theoretical Instructors</th>
<th>Instructors</th>
<th>Assessors</th>
<th>Survey</th>
<th>Actions</th>
</tr>
</thead>
<tbody class="styleTable">
</tbody>
</table>
</main>
</div>
</div>
<!-- trainng page-->
<!-- trainng form-->
<div class="containerForm trainigForm hidden" id="formTrainingTSheet">
<form class="createTraining" id="formCreateTraining">
<label for="trainingName" class="labelColum">Trainig name:</label>
<input type="text" name="TrainingName" id="trainingName" placeholder="Training Name">
<label for="unitsServices" class="labelColum">Units services:</label>
<select id="unitsServices" name="unitsServices" multiple >
<option value="unitA">Unit A</option>
<option value="unitB">Unit B</option>
<option value="unitC">Unit C</option>
</select>
<label for="trainingPlan" class="labelColum">Training Plan/Program:</label>
<input type="file" name="trainingPlan" id="trainingPlan" accept=".pdf,.doc,.docx">
<label for="version" class="labelColum">Version:</label>
<input type="number" name="version" id="version" placeholder="Version">
<label for="typeOfTraining" class="labelColum">Type of Training:</label>
<select id="typeOfTraining" name="typeOfTraining" multiple>
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
</select>
<label for="duration" class="labelColum">Duration(hours):</label>
<input type="number" id="duration" name="duration" placeholder="Hours">
<label for="evaluationType" class="labelColum">Evaluation Type:</label>
<select id="evaluationType" name="evaluationType" >
<option value="TA">TA</option>
<option value="TB">TB</option>
<option value="TC">TC</option>
</select>
<label for="objectives" class="labelColum">Objectives:</label>
<textarea id="objectives" name="objectives" placeholder="Objectives" ></textarea>
<label for="comments" class="labelColum">Comments:</label>
<textarea id="comments" name="comments" placeholder="Comments"></textarea>
<label for="students" class="labelColum">Students:</label>
<select id="students" name="students" multiple>
<option value="roleA">Role A</option>
<option value="roleB">Role B</option>
<option value="roleC">Role C</option>
</select>
<label for="theoreticalInstructors" class="labelColum">Theoretical Instructors:</label>
<select id="theoreticalInstructors" name="theoreticalInstructors" multiple>
<option value="roleA">Role A</option>
<option value="roleB">Role B</option>
<option value="roleC">Role C</option>
</select>
<label for="instructors" class="labelColum">Instructors:</label>
<select id="instructors" name="instructors" multiple>
<option value="roleA">Role A</option>
<option value="roleB">Role B</option>
</select>
<label for="assessors" class="labelColum">Assessors:</label>
<select id="assessors" name="assessors" multiple>
<option value="roleA">Role A</option>
<option value="roleB">Role B</option>
</select>
<label for="survey" class="labelColum">Survey:</label>
<input type="url" id="survey" name="survey" placeholder="Url">
<button type="button" class="button --secondaryBtn trainingButton submitButton" id="backFormTraining">Back</button>
<button type="submit" class="button trainingButton submitButton" id="submitButtonTraining">Submit</button>
</form>
</div>
<!-- training form-->
<!-- course page-->
<div class="container hidden main" id="coursePage">
<div class="sideBar">
<h1>User Manage </h1>
<h2>Dashboard</h2>
<p id="userPageButton2">User</p>
<p id="trainingPageButton2">Training</p>
<p id="">Course Call</p>
</div>
<div class="containerRight">
<div class="containerHeader">
<div class="topContainer">
<h2 class="titleHeader">Course Call Page</h2>
<input type="button" value="+ Course Call" class="button newUserInput" id="btnCourseCall">
</div>
<div class="bottomContainer">
<input type="search" name="search user" id="" placeholder="Search">
</div>
</div>
<main class="containerMain">
<table id="courseCallTable" class="userTable">
<thead>
<tr>
<th>Training Name:</th>
<th>Unit-Service:</th>
<th>Start Date:</th>
<th>End Date:</th>
<th>Communicate days before the start of the course:</th>
<th>Timetable:</th>
<th>Theoretical Instructor:</th>
<th>Instructors:</th>
<th>Assessor:</th>
<th>Actions</th>
</tr>
</thead>
<tbody class="styleTable">
</tbody>
</table>
</main>
</div>
</div>
<!-- course page-->
<!-- course form-->
<div class="containerForm hidden courseForm --formUser" id="formCourseCall">
<form class="createCourse" id="createCourse">
<label for="convocationTrainingName"class="labelColum">Training Name:</label>
<select id="convocationTrainingName" name="convocationTrainingName" >
</select>
<label for="convocationUnitService" class="labelColum">Unit-Service:</label>
<select id="convocationUnitService" name="convocationUnitService" multiple>
</select>
<label for="startDate" class="labelColum">Start Date:</label>
<input type="date" id="startDate" name="startDate">
<label for="endDate" class="labelColum">End Date:</label>
<input type="date" id="endDate" name="endDate">
<label for="communicateDaysBefore" class="labelColum">Communicate days before the start of the course:</label>
<input type="number" id="communicateDaysBefore" name="communicateDaysBefore" placeholder="Communicate Days Before" >
<label for="timetable" class="labelColum">Timetable:</label>
<textarea id="timetable" name="timetable" placeholder="Time table"></textarea>
<label for="convocationTheoreticalInstructor" class="labelColum">Theoretical Instructor:</label>
<select id="convocationTheoreticalInstructor" name="convocationTheoreticalInstructor" multiple>
</select>
<label for="convocationInstructors" class="labelColum">Instructors:</label>
<select id="convocationInstructors" name="convocationInstructors" multiple >
</select>
<label for="convocationAssessor" class="labelColum">Assessor:</label>
<select id="convocationAssessor" name="convocationAssessor" multiple >
</select>
<button type="button" class="button --secondaryBtn trainingButton submitButton" id="backCoursePageButton">Back</button>
<button type="submit" class="button submitButton" id="submitCourseCall">Submit</button>
</form>
</div>
<!-- course form-->
<script type="module" src="./JS/app.js"></script>
</body>
</html>