/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-28 15:21:12 UTC
  • mfrom: (83.2.23 pvp)
  • Revision ID: gustav.hartvigsson@gmail.com-20130528152112-pn1d6h8o6udcia0b
merged  Bigestans:s changes.


* Moved login JS to bannermenu.js and removed login.js
* Removed deprecated login CSS and JS
* Fixed login functionality -- now shows validation errors directly in the login popup, works through ajax
* Added a nifty little icon to represent the disabled login hint button
* Removed temporary functions from cms controller: tempLogin(), tempLogout(), test()
* Cleaned up ajax.php and cms.php

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
                                        <div class="span9">
 
3
                                                
 
4
                                                <div class="span9" id="content">
 
5
                                                        <h2>Manage courses</h2>
 
6
                                                        <table  class="table table-striped">
 
7
                                                                <thead>
 
8
                                                                        <tr>
 
9
                                                                                <th>Course ID</th>
 
10
                                                                                <th>Course Name</th>
 
11
                                                                                <th>Manage</th>
 
12
                                                                        </tr>
 
13
                                                                </thead>
 
14
                                                                <tbody>
 
15
                                                                        <?php
 
16
                                                                                foreach ($courses as $item):
 
17
                                                                        ?>
 
18
                                                                        <tr>
 
19
                                                                                <td><?php echo $item->courseID ?></td>
 
20
                                                                                <td><?php echo $item->name ?></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>
 
22
                                                                        </tr>
 
23
                                                                        <?php endforeach;?>
 
24
                                                                </tbody>
 
25
                                                        </table>
 
26
                                                        <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>
 
27
                                                </div>
 
28
                                        </div>
 
29
                                        
 
30
                                </div>
 
31
                        </div>
 
32
 
 
33
                </div>
 
34
        </div>
 
35
</body>
 
36
 
 
37
</html>
 
 
b'\\ No newline at end of file'