Ignore:
Timestamp:
07/23/12 13:07:24 (13 years ago)
Author:
hendrikvanantwerpen
Message:

Seperated question browser in TabbedQuestionBrowser? widget.
Made configuring Selector actions more flexible (both for top actions and item actions).
Fixed lowercase/uppercase problem in SurveyListView?.
Fixed whitespace and toolyip in LineWithActionsWidget?.
Added question browser to questions page. Removed the old dialog that was there and redirect to questionEditor page.

File:
1 edited

Legend:

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

    r358 r370  
    1 <div data-dojo-type="rft.pages.questions">
    2     <h1>Questions</h1>
    3     <div data-dojo-type="dijit.form.Button" data-rft-attach-event="onClick:onNewQuestion" data-dojo-props="baseClass: 'rftLargeButton', iconClass:'rftIcon rftIconQuestion'">New question</div>
    4     <div data-rft-attach-point="list">
    5     </div>
    6     <div data-dojo-type="dijit.Dialog" title="Question" data-rft-attach-point="questionDialog">
    7         <form data-dojo-type="dijit.form.Form" data-rft-attach-point="questionForm" data-rft-attach-event="onSubmit:onSaveQuestion">
    8             <div data-dojo-type="rft.ui.QuestionWidget" data-rft-attach-point="questionWidget"></div>
    9             <div style="float: right;">
    10                 <button type="button" data-dojo-type="dijit.form.Button" data-rft-attach-event="onClick:onCancelQuestion">Cancel</button>
    11                 <button type="submit" data-dojo-type="dijit.form.Button">Save</button>
    12             </div>
    13         </form>
     1<div data-dojo-type="rft.pages.questions" class="blue">
     2    <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'center'" style="height: 500px;">
     3
     4        <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'top'">
     5            <h2>
     6                <span class="rftIcon rftIconQuestion"></span>
     7                <span class="headerText">Questions</span>
     8            </h2>
     9        </div>
     10       
     11        <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'center'">
     12            <div data-rft-attach-point="questionBrowser"></div>
     13        </div>
     14
     15        <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'bottom'">
     16            <div data-dojo-type="dijit.form.Button" data-rft-attach-event="onClick:onNewQuestion" data-dojo-props="baseClass: 'rftLargeButton', iconClass:'rftIcon rftIconQuestion'">New question</div>
     17        </div>
     18
    1419    </div>
    1520</div>
Note: See TracChangeset for help on using the changeset viewer.