/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 11:59:17 UTC
  • mfrom: (85.1.27 lenasys)
  • Revision ID: gustav.hartvigsson@gmail.com-20130530115917-nq06e5l455nfqok5
Merged Ohlssons 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

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" data-toggle="dropdown" href="#">
22
 
                                                                Browse
23
 
                                                                <span class="caret"></span>
24
 
                                                        </a>
25
 
                                                        <ul class="dropdown-menu">
26
 
                                                                <div class="dropdown-info">
27
 
                                                                        <p>Example!</p>
28
 
                                                                </div>
29
 
                                                                <li><a href="#">test</a></li>
30
 
                                                        </ul>
31
 
                                                </div>
32
 
                                                
33
 
                                                <div class="separator"></div>
34
 
                                                <div class="btn-group">
35
 
                                                        <a class="btn btn-inverse">Left</a>
36
 
                                                        <a class="btn btn-inverse">Right</a>
37
 
                                                </div>
38
 
                                                <div class="separator"></div>
39
 
                                                <div class="btn-group">
40
 
                                                        <a class="btn btn-inverse">Run</a>
41
 
                                                </div>
42
 
                                                <div class="separator"></div>
43
 
                                        </div>
44
 
                                </div>
45
 
                        </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
                        ?>
46
10
                </div>
47
 
        </div>
48
 
        <div class="container">
49
 
                <div class="row">
50
 
                        <div class="span4" id="doc">
51
 
                                <?php
52
 
                                        echo $documentation;
53
 
                                ?>
54
 
                        </div>
55
 
                        <div class="span8">
56
 
                                <?php 
57
 
                                        echo $editors;
58
 
                                ?>
59
 
                                
60
 
                        </div>
 
11
                <div class="codecolumn2">
 
12
                        <?php 
 
13
                                foreach($editors as $editor) {
 
14
                                        if($editor[0] == 2) {
 
15
                                                echo $editor[1];
 
16
                                        }
 
17
                                }
 
18
                        ?>
61
19
                </div>
62
20
        </div>
63
21
 
64
22
</body>
65
23
 
66
 
</html>
 
 
b'\\ No newline at end of file'
 
24
</html>