[208] | 1 | <?php |
---|
| 2 | require 'classes/master.php'; //should be at top of every page |
---|
| 3 | ?> |
---|
| 4 | |
---|
| 5 | <!-- |
---|
| 6 | To change this template, choose Tools | Templates |
---|
| 7 | and 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> |
---|