/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk
50.1.1 by galaxyAbstractor
Started implementing categories and a menu
1
					<div class="span9">
20.1.1 by galaxyAbstractor
* Added an simple admin panel to the codeviewer-cmssy stuff
2
						
3
						<div class="span9" id="content">
4
							<h2>Manage courses</h2>
5
							<table  class="table table-striped">
6
								<thead>
7
									<tr>
8
										<th>Course ID</th>
9
										<th>Course Name</th>
10
										<th>Manage</th>
11
									</tr>
12
								</thead>
13
								<tbody>
14
									<?php
15
										foreach ($courses as $item):
16
									?>
17
									<tr>
18
										<td><?php echo $item->courseID ?></td>
23.1.2 by galaxyAbstractor
Fixed database stuff, added files to database.
19
										<td><?php echo $item->name ?></td>
39.1.1 by Albin Larsson
Bug #1170678: Corrected the use of a none existing attribute name, which resulted in an error when used.
20
										<td><button class="btn btn-primary" onClick="window.location.href='<?php echo base_url();?>admin/managecourse/<?php echo $item->courseID?>'"><i class="icon-cog icon-white"></i> Manage</button></td>
23.1.2 by galaxyAbstractor
Fixed database stuff, added files to database.
21
									</tr>
20.1.1 by galaxyAbstractor
* Added an simple admin panel to the codeviewer-cmssy stuff
22
									<?php endforeach;?>
23
								</tbody>
24
							</table>
25
							<button class="btn btn-primary" onClick="window.location.href='<?php echo base_url();?>admin/addcourse'"><i class="icon-plus-sign icon-white"></i> Add course</button>
26
						</div>
27
					</div>
28
					
29
				</div>
30
			</div>
31
32
		</div>
33
	</div>
34
</body>
35
36
</html>
37