source: Dev/branches/jos-branch/questionEditor.php @ 209

Last change on this file since 209 was 208, checked in by jkraaijeveld, 13 years ago

Got latest version from trunk. Ready to reorganise.

File size: 2.3 KB
RevLine 
[208]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: <span id="header_identifier">#QUESTION-IDENT-NO</span>
23                    </div>
24                    <div id="questionEditor_content">
25                        <h2>Question text:</h2>
26                        <div id="questionEditor_bodyText">
27                            <textarea id="questionEditor_bodyText_textArea" onKeyUp="resizeTextArea();">THIS IS THE QUESTION BODY TEXT. CLICK HERE TO EDIT!</textarea>
28                        </div>
29                        <div id="questionEditor_questionParams" >
30                            <label for="questionIdentifierField" class="formLineBreak">Question tag:</label> <input type="text" id="questionIdentifierField" class="questionParamField" onChange="updateIdentifier();" />
31
32                            <label for="questionType" class="formLineBreak">Answer type:</label>
33                            <select id="questionType" onChange="selectAnswerType();" class="questionParamField">
34                                <option value=""></option>
35                                <option value="int">Integer</option>
36                                <option value="scale">Scale</option>
37                                <option value="choice">Multiple choice</option>
38                                <option value="text">Text</option>
39                            </select>
40
41
42
43                        </div>
44                    </div>
45                    <div id="questionEditor_controls">
46                        <input type="button" id="discard" value="Discard" />
47                        <input type="button" value="Save" />
48                    </div>
49                </div>
50            </div>
51        </div>
52    </body>
53</html>
Note: See TracBrowser for help on using the repository browser.