source: Dev/trunk/questionEditor.php @ 175

Last change on this file since 175 was 175, checked in by fpvanagthoven, 13 years ago
  • questionEditor toegevoegd, DB-loos opzetje voor de interface daarvan.
  • editorScripts.js is niet meer nodig, alle functies staan al in sequencerScripts.js (Ik maak later nog wel een weloverwogen centrale .js file met alle gedeelde functies (hopelijk met een aantal scripts uit sequencerScripts wat meer gegeneraliseerd en breed toepasbaar!)
  • Wat aanpassingen in awesome.css voor de questionEditor
File size: 2.0 KB
Line 
1<?php
2require 'classes/master.php'; //should be at top of every page
3?>
4
5<!--
6To change this template, choose Tools | Templates
7and open the template in the editor.
8-->
9<!DOCTYPE html>
10<html>
11    <head>
12        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
13        <title></title>
14        <script type="text/javascript" src="js/questionEditorScripts.js"></script>
15        <?php new StyleSheet("awesome"); ?>
16    </head>
17    <body>
18        <div id="wrapper">
19            <div id="content">
20                <div id="questionEditor">
21                    <div id="questionEditor_header">
22                        Editing: #QUESTION-IDENT-NO
23                    </div>
24                    <div id="questionEditor_content">
25                        <h2>Question text:</h2>
26                        <div id="questionEditor_bodyText">
27                            <textarea id="questionEditor_bodyText_textArea">THIS IS THE QUESTION BODY TEXT. CLICK HERE TO EDIT!</textarea>
28                        </div>
29                        <div id="questionEditor_questionParams" >
30                            Answer type:
31                            <select id="questionType" onChange="selectAnswerType();" class="questionParamField">
32                                <option value=""></option>
33                                <option value="int">Integer</option>
34                                <option value="scale">Scale</option>
35                                <option value="choice">Multiple choice</option>
36                                <option value="text">Text</option>
37                            </select>
38                           
39                           
40                        </div>
41                    </div>
42                    <div id="questionEditor_controls">
43                        <input type="button" value="Discard" />
44                        <input type="button" value="Save" />
45                    </div>
46                </div>
47            </div>
48        </div>
49    </body>
50</html>
Note: See TracBrowser for help on using the repository browser.