/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk
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
					<div class="span9">
						
						<div class="span9" id="content">
							<h2>Manage courses</h2>
							<table  class="table table-striped">
								<thead>
									<tr>
										<th>Course ID</th>
										<th>Course Name</th>
										<th>Manage</th>
									</tr>
								</thead>
								<tbody>
									<?php
										foreach ($courses as $item):
									?>
									<tr>
										<td><?php echo $item->courseID ?></td>
										<td><?php echo $item->name ?></td>
										<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>
									</tr>
									<?php endforeach;?>
								</tbody>
							</table>
							<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>
						</div>
					</div>
					
				</div>
			</div>

		</div>
	</div>
</body>

</html>