/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/views/manageCoursesBody.php

  • Committer: Gustav Hartvigsson
  • Date: 2013-04-12 19:13:58 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20130412191358-lvnmll48cw7idkzk
added:
* COPYING - licensing information
* COPYRIGHT_HEADER - the header that should be in every file related to
  the project.
* README - Information about the project.
* lgpl-3.0 - The license that is used by this project.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<div id="manageCourses" class="cmsContent">
2
 
        <div id="manageCoursesMenu">
3
 
                <h1 class="viewTitle">Manage Courses</h1>
4
 
                <a class="btn" id="addCourseButton" href="#">Add Course</a>
5
 
        </div>
6
 
        <div id="bodyContainer">
7
 
                <table>
8
 
                        <tr>
9
 
                                <th>Course Name</th>
10
 
                                <th>Course Code</th>
11
 
                                <th>Description</th>
12
 
                                <th>Published</th>
13
 
                                <th>Edit Course Details</th>
14
 
                        </tr>
15
 
                        <? foreach($courses as $item): ?>
16
 
                        <tr data-course="<?= $item->courseID; ?>">
17
 
                                <td class="courseName"><?= $item->name; ?></td>
18
 
                                <td class="courseID"><?= $item->courseID; ?></td>
19
 
                                <td class="courseData"><?= $item->courseData; ?></td>
20
 
                                <td class="coursePublishButton">
21
 
                                        <? if(ord($item->isHidden)): ?>
22
 
                                                <a href="<?=base_url();?>ajax/publishCourse/<?=$item->courseID;?>" class="publishButton unpublished">Unpublished</a>
23
 
                                        <? else: ?>
24
 
                                                <a href="<?=base_url();?>ajax/unpublishCourse/<?=$item->courseID;?>" class="publishButton published">Published</a>
25
 
                                        <? endif; ?> 
26
 
                                </td>
27
 
                                <td><a href="#" class="manageCourseButton">Manage Course</a></td>
28
 
                        </tr>
29
 
                        <? endforeach; ?>
30
 
                </table>
31
 
        </div>
32
 
</div><!-- end #manageCourses -->
 
 
b'\\ No newline at end of file'