/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/codeviewer/codeviewer.php

  • Committer: a11andoh
  • Date: 2013-05-24 11:28:43 UTC
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: a11andoh@student.his.se-20130524112843-360je7hu7q13r171
added the cms controller to load all content pages.
added first time registration controller to load the views for the registration
pages.
added and fixed temporarypages for the controllers 
and edited the models to be able to get active courses.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html>
2
 
<html>
3
 
<head>
4
 
        <script src="<?php echo base_url();?>js/ace/ace.js" type="text/javascript" charset="utf-8"></script>
5
 
        <script src="<?php echo base_url();?>js/jquery-1.8.0.min.js" type="text/javascript" charset="utf-8"></script>
6
 
        <script src="<?php echo base_url();?>js/codeviewer.js" type="text/javascript" charset="utf-8"></script>
7
 
        <script src="<?php echo base_url();?>js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
8
 
        <link href="<?php echo base_url();?>css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
9
 
        <link href="<?php echo base_url();?>css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>
10
 
        <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>css/codeviewer.css">
11
 
 
12
 
</head>
13
 
<body>
14
 
        <div  id="header">
15
 
                <div class="container">
16
 
                        <div class="row">
17
 
                                <div class="span12" id="nav">
18
 
                                        <div class="row">
19
 
                                                <div class="separator"></div>
20
 
                                                <div class="btn-group">
21
 
                                                        <a class="btn dropdown-toggle btn-inverse" href="#" onClick="dropdown()">
22
 
                                                                Browse
23
 
                                                                <span class="caret"></span>
24
 
                                                        </a>
25
 
 
26
 
                                                </div>
27
 
 
28
 
                                                
29
 
                                                <div class="separator"></div>
30
 
                                                <div class="btn-group">
31
 
                                                        <a class="btn btn-inverse">Left</a>
32
 
                                                        <a class="btn btn-inverse">Right</a>
33
 
                                                </div>
34
 
                                                <div class="separator"></div>
35
 
                                                <div class="btn-group">
36
 
                                                        <a class="btn btn-inverse">Run</a>
37
 
                                                </div>
38
 
                                                <div class="separator"></div>
39
 
                                        </div>
40
 
                                </div>
41
 
                        </div>
42
 
 
43
 
                </div>
44
 
                
45
 
        </div>
46
 
        <div id="dropdown">
47
 
                        <section class="group">
48
 
                                <div class="heading pink">
49
 
                                        <h1>Quizzes</h1>
50
 
                                </div>
51
 
                                <div class="content">
52
 
                                        <a href="#Quiz1">Quiz1</a>
53
 
                                        <a href="#Quiz2">Quiz2</a>
54
 
                                        <a href="#Quiz3">Quiz3</a>
55
 
                                </div>
56
 
                        </section>
57
 
                        <section class="group">
58
 
                                <div class="heading">
59
 
                                        <h1>Javascript examples</h1>
60
 
                                </div>
61
 
                                <div class="content">
62
 
                                        <section class="inner group">
63
 
                                                <div class="heading">
64
 
                                                        <h1>A couple of short tutorials introducing firgebug</h1>
65
 
                                                </div>
66
 
                                                <div class="content"> 
67
 
                                                        <a href="#Firebug-tutorial">Firebug tutorial</a>
68
 
                                                        <a href="#Firebug-tutorial2">Firebug tutorial II</a>
69
 
                                                </div>
70
 
                                        </section>
71
 
                                        <section class="inner group">
72
 
                                                <div class="heading">
73
 
                                                        <h1>Some simple JavaScript code examples</h1>
74
 
                                                </div>
75
 
                                                <div class="content">
76
 
                                                        <a href="#Dom-tutorial">Changing the DOM</a>
77
 
                                                </div>
78
 
                                        </section>
79
 
                                </div>
80
 
                        </section>
81
 
                        <section class="group">
82
 
                                <div class="heading">
83
 
                                        <h1>Examples on jQuery and jQuery UI</h1>
84
 
 
85
 
                                </div>
86
 
                                <div class="content">
87
 
                                        <a href="#jQuery-selector">jQuery selectors</a>
88
 
                                        <a href="#jQueryUI-datepicker">Datepicker</a>
89
 
                                        <a href="#jQueryUI-draggable">Using draggable</a>
90
 
                                </div>
91
 
                        </section>
92
 
                </div>
93
 
        <div class="container">
94
 
                <div class="row">
95
 
                        <div class="span4" id="doc">
96
 
                                <?php
97
 
                                echo $documentation;
98
 
                                ?>
99
 
                        </div>
100
 
                        <div class="span8">
101
 
                                <?php 
102
 
                                echo $editors;
103
 
                                ?>
104
 
                                
105
 
                        </div>
 
1
        <div class="codecontainer">
 
2
                <div class="codecolumn1">
 
3
                        <?php 
 
4
                                foreach($editors as $editor) {
 
5
                                        if($editor[0] == 1) {
 
6
                                                echo $editor[1];
 
7
                                        }
 
8
                                }
 
9
                        ?>
 
10
                </div>
 
11
                <div class="codecolumn2">
 
12
                        <?php 
 
13
                                foreach($editors as $editor) {
 
14
                                        if($editor[0] == 2) {
 
15
                                                echo $editor[1];
 
16
                                        }
 
17
                                }
 
18
                        ?>
106
19
                </div>
107
20
        </div>
108
21
 
109
22
</body>
110
23
 
111
 
</html>
 
 
b'\\ No newline at end of file'
 
24
</html>