/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 Hatvigsson
  • Date: 2013-05-31 06:15:46 UTC
  • mfrom: (90.1.20 lenasys2)
  • Revision ID: gustav.hartvigsson@gmail.com-20130531061546-vj8z28sq375kvghq
Merged Jonsson:s changes:
Fixed the layout on cms index so the arrows and dots marks expanded objects.
Fixed so the course content is sorted by course occasion and not by name

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>
 
1
 
33
2
                                        <div class="span9">
34
3
                                                
35
4
                                                <div class="span9" id="content">
47
16
                                                                                foreach ($courses as $item):
48
17
                                                                        ?>
49
18
                                                                        <tr>
50
 
                                                                                <td><?php echo $item->cid ?></td>
 
19
                                                                                <td><?php echo $item->courseID ?></td>
51
20
                                                                                <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->cid ?>'"><i class="icon-cog icon-white"></i> Manage</button></td>
 
21
                                                                                <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
22
                                                                        </tr>
54
23
                                                                        <?php endforeach;?>
55
24
                                                                </tbody>