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

  • Committer: Gustav Hatvigsson
  • Date: 2013-05-07 08:05:14 UTC
  • mfrom: (53.2.2 lenasys)
  • Revision ID: gustav.hartvigsson@gmail.com-20130507080514-u53zto672m0t19wl
merded the new salting stuff for the user passwords and stuff...

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>
 
7
                        </div>
 
8
                </div>
 
9
        </div>
 
10
        <div class="container">
 
11
                
 
12
                <div class="row">
 
13
                        <div class="span12" id="mainpage">
 
14
                                <div class="row">
 
15
                                        <div class="span6">
 
16
                                                
 
17
                                                
 
18
                                                        <h3>Managing example - <?php echo $example?> </h3>
 
19
                                                
 
20
                                                        
 
21
                                                        <div id="dropbox">
 
22
                                                                <span class="message"><i>Drop files here to upload</i></span>
1
23
 
2
 
                                        <div class="span9">
 
24
                                                                <div class="progressHolder">
 
25
                                                                        <div class="progress"></div>
 
26
                                                                </div>
 
27
                                                        </div>
 
28
                                                        <div id="filelist">
 
29
                                                        </div>
 
30
                                                        <?php 
 
31
        
 
32
                                                                echo form_open(base_url().'admin/manageexample');
 
33
                                                                                echo form_label('Documentation', 'documentation');
 
34
                                                                                echo form_textarea(array('name' => 'documentation',  'class' => 'ckeditor'/*, 'value' => $documentation*/));
 
35
                                                                                echo form_hidden('cid',$cid); 
 
36
                                                                                echo form_hidden('example',$example); 
 
37
                                                                                echo form_hidden('category',$category);
 
38
                                                                                echo form_hidden('subcategory',$subcategory); 
 
39
                                                                                echo form_hidden('files'); 
 
40
                                                                                echo "<br>";
 
41
                                                                                echo form_submit(array('name' => 'submit', 'value' => 'Update example', "class" => "btn btn-primary")); 
 
42
                                                                echo form_close(); 
 
43
                                                                
 
44
                                                         ?>
3
45
                                                
4
 
                                                <div class="span9" id="content">
5
 
                                                        <h2>Manage example -  <?php echo $example ?> - <?php echo $cid ?></h2>
6
 
                                                        <table  class="table table-striped">
7
 
                                                                <thead>
8
 
                                                                        <tr>
9
 
                                                                                <th>Page ID</th>
10
 
                                                                                <th>Manage</th>
11
 
                                                                        </tr>
12
 
                                                                </thead>
13
 
                                                                <tbody>
14
 
                                                                        <?php
15
 
                                                                                foreach ($pages as $item):
16
 
                                                                        ?>
17
 
                                                                        <tr>
18
 
                                                                                <td><?php echo $item->name ?></td>
19
 
                                                                                <td><button class="btn btn-primary" onClick="window.location.href='<?php echo base_url();?>admin/managepage/<?php echo $cid ?>/<?php echo $example ?>/<?php echo $item->name ?>'"><i class="icon-cog icon-white"></i> Manage</button></td>
20
 
                                                                        </tr>
21
 
                                                                        <?php endforeach;?>
22
 
                                                                </tbody>
23
 
                                                        </table>
24
 
                                                        <button class="btn btn-primary" onClick="window.location.href='<?php echo base_url();?>admin/addpage/<?php echo $cid ?>/<?php echo $example ?>'"><i class="icon-plus-sign icon-white"></i> Add page</button>
25
 
                                                </div>
 
46
                                        </div>
 
47
                                        <div class="span6">
 
48
                                                <?php 
 
49
                                                        echo $editors;
 
50
                                                ?>
26
51
                                        </div>
27
52
                                        
28
53
                                </div>