/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/admin/index.php

  • Committer: Gustav Hartvigsson
  • Date: 2013-04-05 15:54:35 UTC
  • mfrom: (19.1.4 lenasys)
  • Revision ID: gustav.hartvigsson@gmail.com-20130405155435-lf76rf1vwcacin4p
Merged from implementation group 1's team branch into trunk, 20130405 end of
day.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html>
2
 
<html>
3
 
<head>
4
 
        <title>Index</title>
5
 
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
 
        <link href="<?php echo base_url();?>css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
7
 
        <link href="<?php echo base_url();?>css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>
8
 
        <link href="<?php echo base_url();?>css/adminstyle.css" rel="stylesheet" type="text/css"/>
9
 
 
10
 
        <script src="<?php echo base_url();?>js/bootstrap.js" type="text/javascript"></script>
11
 
</head>
12
 
<body>
13
 
        <div  id="header">
14
 
                <div class="container">
15
 
                        <div class="row">
16
 
                                <div class="span12" id="nav">
17
 
                                        <div class="row">
18
 
                                                <div class="separator"></div>
19
 
                                                <div id="logo">*Lenasys logo*</div>
20
 
                                                
21
 
                                                <div class="separator"></div>
22
 
                                                
23
 
                                        </div>
24
 
                                </div>
25
 
                        </div>
26
 
                </div>
27
 
        </div>
28
 
        <div class="container">
29
 
                
30
 
                <div class="row">
31
 
                        <div class="span12" id="mainpage">
32
 
                                <div class="row">
33
 
                                        <div class="span3">
34
 
                                                <div id="menu">
35
 
                                                        <div id="menuheader">
36
 
                                                                Dashboard
37
 
                                                        </div>
38
 
                                                        <ul>
39
 
                                                                <li class="active">Courses</li>
40
 
                                                                <li>Examples</li>
41
 
                                                        </ul>
42
 
                                                </div>
43
 
                                        </div>
44
 
                                        <div class="span9">
45
 
                                                
46
 
                                                <div class="span9" id="content">
47
 
                                                        <h2>Manage courses</h2>
48
 
                                                        <table  class="table table-striped">
49
 
                                                                <thead>
50
 
                                                                        <tr>
51
 
                                                                                <th>Course ID</th>
52
 
                                                                                <th>Course Name</th>
53
 
                                                                                <th>Manage</th>
54
 
                                                                        </tr>
55
 
                                                                </thead>
56
 
                                                                <tbody>
57
 
                                                                        <?php
58
 
                                                                                foreach ($courses as $item):
59
 
                                                                        ?>
60
 
                                                                        <tr>
61
 
                                                                                <td><?php echo $item->cid ?></td>
62
 
                                                                                <td><?php echo $item->name ?></td>
63
 
                                                                                <td><button class="btn btn-primary" onClick="window.location.href='<?php echo base_url();?>admin/managecourse/<?php echo $item->cid ?>'"><i class="icon-cog icon-white"></i> Manage</button></td>
64
 
                                                                        </tr>
65
 
                                                                        <?php endforeach;?>
66
 
                                                                </tbody>
67
 
                                                        </table>
68
 
                                                        <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>
69
 
                                                </div>
70
 
                                        </div>
71
 
                                        
72
 
                                </div>
73
 
                        </div>
74
 
 
75
 
                </div>
76
 
        </div>
77
 
</body>
78
 
 
79
 
</html>
 
 
b'\\ No newline at end of file'