bzr branch
http://gegoxaren.bato24.eu/bzr/lenasys/trunk
|
83.2.1
by elof.bigestans at gmail
Fixed various bugs in the ManageCourses function |
1 |
<div id="manageCourses"> |
2 |
<!-- examplesBody.php --> |
|
3 |
<div id="manageCoursesMenu"> |
|
4 |
<h1 class="viewTitle">Manage Courses</h1> |
|
5 |
<!-- Only displayed when teacher --> |
|
|
83.2.5
by elof.bigestans at gmail
* Updated ManageCourses, including JS+Jquery, popups, controller. |
6 |
<a class="btn" id="addCourseButton" href="#">Add Course</a> |
|
83.2.1
by elof.bigestans at gmail
Fixed various bugs in the ManageCourses function |
7 |
</div> |
8 |
||
9 |
<div id="bodyContainer"> |
|
10 |
<table> |
|
11 |
<tr> |
|
12 |
<th>Course Name</th> |
|
13 |
<th>Course Code</th> |
|
14 |
<th>Description</th> |
|
|
83.2.5
by elof.bigestans at gmail
* Updated ManageCourses, including JS+Jquery, popups, controller. |
15 |
<th>Published</th> |
|
83.2.1
by elof.bigestans at gmail
Fixed various bugs in the ManageCourses function |
16 |
<th>Edit Course Details</th> |
17 |
</tr> |
|
18 |
<? foreach($courses as $item): ?> |
|
19 |
<tr data-course="<?= $item->courseID; ?>"> |
|
20 |
<td class="courseName"><?= $item->name; ?></td> |
|
21 |
<td class="courseID"><?= $item->courseID; ?></td> |
|
22 |
<td class="courseData"><?= $item->courseData; ?></td> |
|
|
83.2.5
by elof.bigestans at gmail
* Updated ManageCourses, including JS+Jquery, popups, controller. |
23 |
<td class="coursePublishButton"> |
24 |
<? if(ord($item->isHidden)): ?> |
|
25 |
<a href="<?=base_url();?>ajax/publishCourse/<?=$item->courseID;?>" class="publishButton unpublished">Unpublished</a> |
|
26 |
<? else: ?> |
|
27 |
<a href="<?=base_url();?>ajax/unpublishCourse/<?=$item->courseID;?>" class="publishButton published">Published</a> |
|
28 |
<? endif; ?> |
|
29 |
</td> |
|
|
83.2.1
by elof.bigestans at gmail
Fixed various bugs in the ManageCourses function |
30 |
<td><a href="#" class="manageCourseButton">Manage Course</a></td> |
31 |
</tr> |
|
32 |
<? endforeach; ?> |
|
33 |
</table> |
|
34 |
</div> |
|
|
83.2.5
by elof.bigestans at gmail
* Updated ManageCourses, including JS+Jquery, popups, controller. |
35 |
<div id="popup"></div> |
|
83.2.1
by elof.bigestans at gmail
Fixed various bugs in the ManageCourses function |
36 |
</div> |
37 |
</div><!-- end #manageCourses --> |
|
38 |
</div> <!-- end #wrapper --> |
|
39 |
</body> |
|
|
79.1.1
by a10rolch
- Updated admin_model function addCourse to also include courseData. |
40 |
</html>
|
|
83.2.1
by elof.bigestans at gmail
Fixed various bugs in the ManageCourses function |
41 |
|