-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.xhtml
242 lines (241 loc) · 7.39 KB
/
template.xhtml
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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>Sapient Systems : SchoolSys</title>
<link rel="stylesheet" type="text/css" href="style/dropdown.css" />
<link rel="stylesheet" type="text/css" href="style/main.css" />
<link rel="stylesheet" type="text/css" media="only screen and (max-device-width: 480px)" href="style/mobile.css" />
</head>
<body>
<div id="wrapper">
<div class="header">
<ul id="nav_global">
<li>
<a href="http://localhost/eebrah/schoolsys/?section=students">students</a>
<ul>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=students&action=add">add student</a>
</li>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=students&action=list">list students</a>
</li>
</ul>
</li>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=subjects">subjects</a>
<ul>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=subjects&action=add">add subject</a>
</li>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=subjects&action=list">list subjects</a>
</li>
</ul>
</li>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=streams">streams</a>
<ul>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=streams&action=add">add stream</a>
</li>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=streams&action=list">list stream</a>
</li>
</ul>
</li>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=tests">tests</a>
<ul>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=tests&action=add">add test</a>
</li>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=tests&action=list">list tests</a>
</li>
</ul>
</li>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=access">admin</a>
<ul>
<li>
<a href="http://localhost/eebrah/schoolsys/?section=access&action=toggle">log out</a>
</li>
</ul>
</li>
</ul>
</div>
<div class="body">
<div class="dialog">
<form action="?section=students&action=add" method="POST">
<fieldset class="info">
<legend>student details</legend>
<div class="row">
<label for="schoolID">school id</label>
<input name="schoolID" placeholder="students admission number" type="text" />
</div>
<div class="row">
<label for="surname">surname</label>
<input name="surname" placeholder="enter students surname" required="required" type="text" />
</div>
<div class="row">
<label for="otherNames">other names</label>
<input name="otherNames" placeholder="other names" required="required" type="text" />
</div>
<div class="row">
<label for="gender">gender</label>
<select name="gender">
<option selected="selected" value="1">male</option>
<option value="0">female</option>
</select>
</div>
<div class="row">
<label for="stream">stream</label>
<select name="stream">
<option selected="selected" value="UQZ4F">North</option>
<option value="NX8ZU">South</option>
</select>
</div>
<div class="row">
<label for="yearOfStudyAtAdmission">year of study</label>
<select name="yearOfStudyAtAdmission">
<option selected="selected" value="1">Form 1</option>
<option value="2">Form 2</option>
<option value="3">Form 3</option>
<option value="4">Form 4</option>
</select>
</div>
<div class="row">
<label for="entryScore">KCPE marks</label>
<input name="entryScore" placeholder="students KCPE Marks" type="text" />
</div>
<div class="row">
<label for="dateOfAdmission">date of registration/admission</label>
<input name="dateOfAdmission" placeholder="date on which student was registered" value="2015-03-17" type="date" />
</div>
</fieldset>
<fieldset class="buttons">
<button type="reset">reset</button>
<button type="submit" name="stage" value="final">submit</button>
</fieldset>
</form>
</div>
<table class="fancy sortable searchable">
<thead>
<tr>
<th>#</th>
<th>school ID</th>
<th>form</th>
<th>name</th>
<th>actions</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>1234</td>
<td>4</td>
<td>Onyango, Dennis Mungai</td>
<td class="actions">
<ul>
<li>
<a href="?section=students&action=view&target=94OX4">view</a>
</li>
<li>
<a href="?section=students&action=edit&target=94OX4">edit</a>
</li> <!--
<li>
<a href="?section=students&action=delete&target=94OX4">delete</a>
</li> -->
</ul>
</td>
</tr>
</tbody>
</table>
<div class="dialog">
<form action="?section=subjects&action=add"
method="POST">
<fieldset class="info">
<legend>subject details</legend>
<div class="row">
<label>code</label>
<input type="text"
name="code"
placeholder="KNEC subject code"
required="required" />
</div>
<div class="row">
<label>name</label>
<input type="text"
name="name"
placeholder="What is the subject called"
required="required" />
</div>
<div class="row">
<label>description</label>
<textarea name="description"
placeholder="any further information"></textarea>
</div>
<div class="row">
<label>start year</label>
<select name="startYear">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</div>
<div class="row">
<label>end year</label>
<select name="stopYear">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4" selected="selected">4</option>
</select>
</div>
</fieldset>
<fieldset class="buttons">
<button type="reset">reset</button>
<button type="submit"
name="stage"
value="2">submit</button>
</fieldset>
</form>
</div>
<table class="fancy">
<thead>
<tr>
<th>#</th>
<th>code</th>
<th>name</th>
<th>start class</th>
<th>end class</th>
<th>actions</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>101</td>
<td>English</td>
<td>Form1</td>
<td>Form4</td>
<td>
<ul>
<li>
<a href="?section=subjects&action=view&target=R9WUV">view</a>
</li>
<li>
<a href="?section=subjects&action=edit&target=R9WUV">edit</a>
</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>