/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-04 18:24:21 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20130404182421-e8l692tsqroc1u05
Readded the file that Adam Ringhede removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<body>
2
 
        <div  id="header">
3
 
                <div class="container">
4
 
                        <div class="row">
5
 
                                <div class="span12" id="nav">
6
 
                                        <div class="row">
7
 
                                                <div class="separator"></div>
8
 
                                                <div id="logo">*Lenasys logo*</div>
9
 
                                                
10
 
                                                <div class="separator"></div>
11
 
                                                
12
 
                                        </div>
13
 
                                </div>
14
 
                        </div>
15
 
                </div>
16
 
        </div>
17
 
        <div class="container">
18
 
                
19
 
                <div class="row">
20
 
                        <div class="span12" id="mainpage">
21
 
                                <div class="row">
22
 
                                        <div class="span3">
23
 
                                                <div id="menu">
24
 
                                                        <div id="menuheader">
25
 
                                                                Dashboard
26
 
                                                        </div>
27
 
                                                        <ul>
28
 
                                                                <li class="active">Courses</li>
29
 
                                                                <li>Examples</li>
30
 
                                                        </ul>
31
 
                                                </div>
32
 
                                        </div>
33
 
                                        <div class="span9">
34
 
                                                
35
 
                                                <div class="span9" id="content">
36
 
                                                        <h2>Manage courses</h2>
37
 
                                                        <table  class="table table-striped">
38
 
                                                                <thead>
39
 
                                                                        <tr>
40
 
                                                                                <th>Course ID</th>
41
 
                                                                                <th>Course Name</th>
42
 
                                                                                <th>Manage</th>
43
 
                                                                        </tr>
44
 
                                                                </thead>
45
 
                                                                <tbody>
46
 
                                                                        <?php
47
 
                                                                                foreach ($courses as $item):
48
 
                                                                        ?>
49
 
                                                                        <tr>
50
 
                                                                                <td><?php echo $item->courseID ?></td>
51
 
                                                                                <td><?php echo $item->name ?></td>
52
 
                                                                                <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>
53
 
                                                                        </tr>
54
 
                                                                        <?php endforeach;?>
55
 
                                                                </tbody>
56
 
                                                        </table>
57
 
                                                        <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>
58
 
                                                </div>
59
 
                                        </div>
60
 
                                        
61
 
                                </div>
62
 
                        </div>
63
 
 
64
 
                </div>
65
 
        </div>
66
 
</body>
67
 
 
68
 
</html>
 
 
b'\\ No newline at end of file'