1 | <!DOCTYPE html> |
---|
2 | <html lang="en"> |
---|
3 | <head> |
---|
4 | <meta charset="utf-8"> |
---|
5 | <title>Base · Twitter Bootstrap</title> |
---|
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
---|
7 | <meta name="description" content=""> |
---|
8 | <meta name="author" content=""> |
---|
9 | |
---|
10 | <!-- stylesheets --> |
---|
11 | <link href="bootstrap/css/bootstrap.min.css" |
---|
12 | rel="stylesheet"> |
---|
13 | <link href="bootstrap/css/bootstrap-theme.min.css" |
---|
14 | rel="stylesheet"> |
---|
15 | |
---|
16 | <link href="static/css/jquery.dataTables.css" |
---|
17 | rel="stylesheet"> |
---|
18 | |
---|
19 | <link href="static/css/base.css" rel="stylesheet"> |
---|
20 | |
---|
21 | <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> |
---|
22 | <!--[if lt IE 9]> |
---|
23 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> |
---|
24 | <![endif]--> |
---|
25 | |
---|
26 | <!-- icons --> |
---|
27 | <link rel="shortcut icon" href="static/ico/favicon.ico"> |
---|
28 | |
---|
29 | |
---|
30 | </head> |
---|
31 | |
---|
32 | <body id="kofa-body"> |
---|
33 | |
---|
34 | <div class="navbar navbar-inverse navbar-fixed-top" role="navigation"> |
---|
35 | <div class="navbar-header"> |
---|
36 | <button type="button" class="navbar-toggle" data-toggle="collapse" |
---|
37 | data-target="#kofa-primary-nav"> |
---|
38 | <span class="icon-bar"></span> |
---|
39 | <span class="icon-bar"></span> |
---|
40 | <span class="icon-bar"></span> |
---|
41 | </button> |
---|
42 | <a class="navbar-brand active kofa-brand-link" href="/">WAeUP.Kofa</a> |
---|
43 | </div> |
---|
44 | <div class="navbar-collapse collapse" |
---|
45 | id="kofa-primary-nav"> |
---|
46 | <ul class="nav navbar-nav kofa-navbar-left"> |
---|
47 | <li class="active"><a href="#">Academics</a></li> |
---|
48 | <li><a href="#about">Applicants</a></li> |
---|
49 | <li><a href="#contact">Students</a></li> |
---|
50 | <li><a href="#contact">Hostels</a></li> |
---|
51 | <li class="dropdown kofa-langselect"> |
---|
52 | <a href="#" class="dropdown-toggle" |
---|
53 | data-toggle="dropdown">Language <b class="caret"></b></a> |
---|
54 | <ul class="dropdown-menu"> |
---|
55 | <li class="kofa-language"><a href="#">en</a></li> |
---|
56 | <li class="kofa-language"><a href="#">fr</a></li> |
---|
57 | <li class="kofa-language"><a href="#">de</a></li> |
---|
58 | <li class="kofa-language"><a href="#">ha</a></li> |
---|
59 | <li class="kofa-language"><a href="#">yo</a></li> |
---|
60 | <li class="kofa-language"><a href="#">ig</a></li> |
---|
61 | </ul> |
---|
62 | </li> |
---|
63 | </ul> |
---|
64 | |
---|
65 | <ul class="nav navbar-nav navbar-right kofa-navbar-right"> |
---|
66 | <li class="nav"><a href="#">Contact</a></li> |
---|
67 | <li class="nav"><a href="#">Logout</a></li> |
---|
68 | </ul> |
---|
69 | </div><!--/.nav-collapse --> |
---|
70 | </div><!-- /.navbar --> |
---|
71 | |
---|
72 | <div class="container"> |
---|
73 | <div class="row"> |
---|
74 | <div class="col-md-12 container kofa-breadcrumbs-box"> |
---|
75 | <div class="well"> |
---|
76 | <ol class="breadcrumb kofa-breadcrumbs"> |
---|
77 | <li class="kofa-breadcrumb"> |
---|
78 | <a href="#"> |
---|
79 | Home |
---|
80 | </a> |
---|
81 | </li> |
---|
82 | <li class="kofa-breadcrumb"> |
---|
83 | <a href="#"> |
---|
84 | Subtopic |
---|
85 | </a> |
---|
86 | </li> |
---|
87 | <span class="wfstatus"> |
---|
88 | Student Id: K12345678 |
---|
89 | |
---|
90 | State: clearance requested |
---|
91 | </span> <!-- /wfstatus --> |
---|
92 | </ol><!-- /kofa-breadcrumbs --> |
---|
93 | </div> <!-- /well --> |
---|
94 | </div> <!-- /kofa-breadcrumbs-box --> |
---|
95 | </div> <!-- /row --> |
---|
96 | |
---|
97 | <div class="row"> |
---|
98 | <div class="col-md-2 kofa-sidebar"> |
---|
99 | <div class="sidebar-nav well"> |
---|
100 | <div> |
---|
101 | <div class="kofa-sidebar-title">Student Name</div> |
---|
102 | <ul class="nav"> |
---|
103 | <li><a href="#">Base Data</a></li> |
---|
104 | <li><a href="#">Clearance Data</a></li> |
---|
105 | <li><a href="#">Personal Data</a></li> |
---|
106 | <li><a href="#">Study Course</a></li> |
---|
107 | <li><a href="#"">Payments</a></li> |
---|
108 | <li><a href="#">Accommodation</a></li> |
---|
109 | <li><a href="#">History</a></li> |
---|
110 | </ul> |
---|
111 | </div> |
---|
112 | <div> |
---|
113 | <div class="kofa-sidebar-title">Manager Name</div> |
---|
114 | <ul class="nav"> |
---|
115 | <li><a href="#">Portal Configuration</a></li> |
---|
116 | <li><a href="#">Portal Users</a></li> |
---|
117 | <li><a href="#">Data Center</a></li> |
---|
118 | <li><a href="#">Reports</a></li> |
---|
119 | <li><a href="#">Access Codes</a></li> |
---|
120 | <li><a href="#">My Preferences</a></li> |
---|
121 | <li><a href="#">My Roles</a></li> |
---|
122 | </ul> |
---|
123 | </div> |
---|
124 | </div> <!-- /well --> |
---|
125 | </div> <!-- /kofa-sidebar --> |
---|
126 | <div class="col-md-10 content kofa-content-narrow"> |
---|
127 | <div class="well"> |
---|
128 | <div class="kofa-content"> |
---|
129 | <div class="actionbar"> |
---|
130 | <a class="btn btn-default" href=""> |
---|
131 | <img src="static/img/actionicon_modify.png" |
---|
132 | alt="Manage" /> |
---|
133 | Manage |
---|
134 | </a> |
---|
135 | <a class="btn btn-default" href=""> |
---|
136 | <img src="static/img/actionicon_trigtrans.png" |
---|
137 | alt="Trigger transition" /> |
---|
138 | Trigger transition |
---|
139 | </a> |
---|
140 | </div> |
---|
141 | <div class="alert alert-warning"> |
---|
142 | Be careful ... |
---|
143 | </div> |
---|
144 | <div class="alert alert-success"> |
---|
145 | You have successfully ... |
---|
146 | </div> |
---|
147 | <div class="alert alert-danger"> |
---|
148 | There were errors ... |
---|
149 | </div> |
---|
150 | <div class="hero-unit kofa-content-label-box"> |
---|
151 | <h1 class="kofa-content-label-title">WAeUP.Kofa Theme</h1> |
---|
152 | <p class="kofa-content-label-descr"> |
---|
153 | A sample theme for WAeUP.Kofa</p> |
---|
154 | </div> |
---|
155 | <p> |
---|
156 | Donec id elit non mi porta gravida at eget metus. Fusce |
---|
157 | dapibus, tellus ac cursus commodo, tortor mauris |
---|
158 | condimentum nibh, ut fermentum massa justo sit amet |
---|
159 | risus. Etiam porta sem malesuada magna mollis |
---|
160 | euismod. Donec sed odio dui. |
---|
161 | </p> |
---|
162 | <img src="static/img/bg.png" /> |
---|
163 | </div> <!-- /kofa-content --> |
---|
164 | </div> <!-- /well --> |
---|
165 | </div> <!-- /kofa-content-narrow --> |
---|
166 | </div> <!-- /row --> |
---|
167 | |
---|
168 | <div class="row"> |
---|
169 | <div class="col-md-12 content kofa-content-wide"> |
---|
170 | <div class="well kofa-content"> |
---|
171 | <div class="hero-unit"> |
---|
172 | <h1>Hello there!</h1> |
---|
173 | <p>this is...</p> |
---|
174 | </div> |
---|
175 | <div>...content that spans the whole page.</div> |
---|
176 | <br><br> |
---|
177 | <div id="#sampleform"> |
---|
178 | <form method="post"> |
---|
179 | <fieldset id="form-fieldset"> |
---|
180 | <legend>A Sample Form</legend> |
---|
181 | <div class="form-group variable-form"> |
---|
182 | <label>Some Label</label> |
---|
183 | <input type="text" class="textType" |
---|
184 | name="myinput[]" placeholder="A name..." /> |
---|
185 | </div> |
---|
186 | <button type="submit" class="btn rowadd btn-default"> |
---|
187 | Add row |
---|
188 | </button> |
---|
189 | <br /> |
---|
190 | <button type="submit" class="btn btn-primary">Save</button> |
---|
191 | </fieldset> |
---|
192 | </form> |
---|
193 | </div> <!-- /sampleform --> |
---|
194 | <br><br> |
---|
195 | <h3>A Sample Data Table</h3> |
---|
196 | <table id="#dadatable" class="table table-striped dataTable"> |
---|
197 | <thead> |
---|
198 | <tr> |
---|
199 | <th>Id</th> |
---|
200 | <th>Name</th> |
---|
201 | <th>Portal Roles</th> |
---|
202 | <th>Local Roles</th> |
---|
203 | <th></th> |
---|
204 | </tr> |
---|
205 | </thead><tbody><tr><td>admin</td> |
---|
206 | <td>John</td> |
---|
207 | <td nowrap="nowrap">Portal Manager <br />Academics Officer (view only) </td> |
---|
208 | <td>Owner</td> |
---|
209 | <td class="text-right"> |
---|
210 | <form method="post"> |
---|
211 | <input type="hidden" name="userid" value="admin" /> |
---|
212 | <input class="btn btn-sm btn-primary" type="submit" name="manage" value="Manage" /> |
---|
213 | <input class="btn btn-sm btn-default" type="submit" name="delete" value="Remove" /> |
---|
214 | </form> |
---|
215 | </td> |
---|
216 | </tr> |
---|
217 | <tr> |
---|
218 | <td>tester</td> |
---|
219 | <td>Vitali</td> |
---|
220 | <td nowrap="nowrap">Academics Officer (view only)</td> |
---|
221 | <td>Owner</td> |
---|
222 | <td class="text-right"> |
---|
223 | <form method="post"> |
---|
224 | <input type="hidden" name="userid" value="your_id" /> |
---|
225 | <input class="btn btn-sm btn-primary" type="submit" name="manage" value="Manage" /> |
---|
226 | <input class="btn btn-sm btn-default" type="submit" name="delete" value="Remove" /> |
---|
227 | </form> |
---|
228 | </td> |
---|
229 | </tr> |
---|
230 | </tbody> |
---|
231 | </table> |
---|
232 | |
---|
233 | <br><br> |
---|
234 | <h3>A Sample Inline Form</h3> |
---|
235 | <form method="POST" class="form-inline"> |
---|
236 | <br /> |
---|
237 | <div class="form-group"> |
---|
238 | <input class="btn btn-primary" type="submit" name="search" |
---|
239 | value="Find student(s)" /> |
---|
240 | </div> |
---|
241 | <div class="form-group"> |
---|
242 | <select name="searchtype"> |
---|
243 | <option value="student_id">with id</option> |
---|
244 | <option value="fullname">with name</option> |
---|
245 | <option value="reg_number">with registration number</option> |
---|
246 | <option value="matric_number">with matriculation number</option> |
---|
247 | <option value="current_session">in session</option> |
---|
248 | <option value="depcode">in department</option> |
---|
249 | <option value="current_mode">in study mode</option> |
---|
250 | <option value="suspended"> |
---|
251 | with deactivated account (search term omitted) |
---|
252 | </option> |
---|
253 | <option value="transcript"> |
---|
254 | who requested transcript (search term omitted) |
---|
255 | </option> |
---|
256 | </select> |
---|
257 | </div> |
---|
258 | <div class="form-group"> |
---|
259 | <input type="text" class="form-control" name="searchterm" /> |
---|
260 | </div> |
---|
261 | </form> |
---|
262 | |
---|
263 | |
---|
264 | </div> <!-- /well --> |
---|
265 | </div> <!-- /kofa-content-wide --> |
---|
266 | </div> <!-- /row --> |
---|
267 | |
---|
268 | <div class="footer"> |
---|
269 | <p class="credit muted text-right"> |
---|
270 | Kofa - Student Management System<br /> |
---|
271 | Copyright © WAeUP Group 2014 |
---|
272 | </p> |
---|
273 | </div> |
---|
274 | |
---|
275 | </div> <!-- /container --> |
---|
276 | |
---|
277 | <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> |
---|
278 | <script src="bootstrap/js/bootstrap.min.js"></script> |
---|
279 | |
---|
280 | <script type="text/javascript" class="kofa-script kofa-script-tooltip"> |
---|
281 | $(function () { |
---|
282 | $("[data-toggle=tooltip]").tooltip(); |
---|
283 | }); |
---|
284 | </script> |
---|
285 | |
---|
286 | <script type="text/javascript"> |
---|
287 | $("button.rowadd").click(function (evt) { |
---|
288 | /* Do not submit the form really */ |
---|
289 | evt.preventDefault(); |
---|
290 | /* Add first .form-field after last .form-field... */ |
---|
291 | $(".variable-form:last").after($(".variable-form:first").clone().hide().fadeIn()); |
---|
292 | }); |
---|
293 | </script> |
---|
294 | |
---|
295 | <script src="static/js/jquery.dataTables.min.js"></script> |
---|
296 | |
---|
297 | <script type="text/javascript"> |
---|
298 | $(document).ready(function(){ |
---|
299 | $('.dataTable').dataTable(); |
---|
300 | |
---|
301 | $('.dataTableFiles').dataTable( { |
---|
302 | "aaSorting": [[ 2, "desc" ]], |
---|
303 | } ); |
---|
304 | |
---|
305 | $('.dataTableManage').dataTable( { |
---|
306 | "aaSorting": [[ 1, "asc" ]], |
---|
307 | "aoColumnDefs":[{ "bSortable": false, "aTargets": [ 0 ] }] |
---|
308 | } ); |
---|
309 | |
---|
310 | $('.dataTableManageFiles').dataTable( { |
---|
311 | "aaSorting": [[ 3, "desc" ]], |
---|
312 | "aoColumnDefs":[{ "bSortable": false, "aTargets": [ 0 ] }] |
---|
313 | } ); |
---|
314 | }); |
---|
315 | </script> |
---|
316 | |
---|
317 | </body> |
---|
318 | </html> |
---|