/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: Gustav Hatvigsson
  • Date: 2013-05-30 12:02:31 UTC
  • mfrom: (85.1.28 lenasys)
  • Revision ID: gustav.hartvigsson@gmail.com-20130530120231-ttqgqjqw2w8enn7g
Merged Ohlsons changes:
added function to get ssn and name for the registrationspages in the user model.
added the registrationpage for students.
edited the registration page for instructors
edited the css for both the registrationpages
minor fix to registration css

Show diffs side-by-side

added added

removed removed

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