Ignore:
Timestamp:
07/11/12 18:45:51 (13 years ago)
Author:
tjcschipper
Message:
  • surveyEditor more or less works! Only needed change is addition of "topic" property in question objects (database-side), and the change from "category"(string) to "categories"(string[]).
  • surveyEditor still needs removal function and infofunction to be written properly!
  • Added all files belonging to SurveyAdvanced?. Most do not work properly yet, but at least there will not be a 404 page when you click btnPreview on survey.html.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/pages/survey.html

    r354 r355  
    1 <div data-dojo-type="rft.pages.survey" id="survey">
     1<div data-dojo-type="rft.pages.survey" id="survey" class="blue">
    22    <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'center'" style="height: 500px;">
     3
    34        <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'top'">
    45            <h2>
     
    78            </h2>
    89        </div>
     10       
    911        <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'center'">
    10             <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'top'">
    11                 Presets
    12             </div>
    1312            <div id="tabList" data-dojo-type="dijit.layout.TabContainer" class="blue" data-dojo-props="tabPosition:'left-h',region:'center'">
    1413                <!-- tabs go here -->
    1514            </div>
    1615        </div>
    17         <!-- "Shopping cart" -->
     16       
    1817        <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'right'" style="width: 300px">
    19             <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'top'">
    20                 <h3>Included questions</h3>
     18            <div id="SurveyListViewNode" class="rftSurveyListView">
    2119            </div>
    22             <div data-dojo-type="rft.ui.List" data-dojo-props="region:'center'">
    23                 <!-- These would have to be dynamically generated instead of declared here! -->
    24                 <div data-dojo-type="rft.ui.LineWithActionsWidget" data-dojo-props="title:'Question one', actions: {'Cancel':{callback: function(){}, properties: {blockButton: false, icon: 'Delete', modifiers:'white'}}}"></div>
    25                 <div data-dojo-type="rft.ui.LineWithActionsWidget" data-dojo-props="title:'Question two', actions: {'Cancel':{callback: function(){}, properties: {blockButton: false, icon: 'Delete', modifiers:'white'}}}"></div>
    26             </div>
     20
    2721            <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region: 'bottom'">
    2822                <button id="btnProperties" data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconProperties'">Properties</button>
Note: See TracChangeset for help on using the changeset viewer.