source: Dev/trunk/src/client/qed-client/pages/templates/surveyRun.html @ 457

Last change on this file since 457 was 457, checked in by hendrikvanantwerpen, 12 years ago

Improve SurveyRun? form and drop Fieldsets as widgets.

  • Improved console message on Page change fail.
  • Renamed some widgets, dropped having Fieldset widgets.
  • Put constraint that survey run start date cannot be before end date.
  • Link to survey from survey summary,
File size: 1.9 KB
Line 
1<div class="blue">
2
3    <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'">
4        <h2>
5            <span class="rftIcon rftIconSurvey"></span>
6            <span class="headerText" data-dojo-attach-point="titleNode">SurveyRun Editor</span>
7        </h2>
8    </div>
9   
10    <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'">
11        <fieldset class="qedFieldset">
12            <legend>Survey</legend>
13            <div data-dojo-type="../model/widgets/SurveySummary" data-dojo-attach-point="surveySummaryWidget"></div>
14        </fieldset>
15        <fieldset class="qedFieldset">
16            <legend>Run Details</legend>
17            <div data-dojo-type="../model/widgets/SurveyRunWidget" data-dojo-attach-point="surveyRunWidget"></div>
18        </fieldset>
19        <fieldset class="qedFieldset">
20            <legend>Response Details</legend>
21            <div><div class="qedLabel">General URL</div><div class="qedField" data-dojo-attach-point="runURLNode" style="overflow: ellipsis"></div></div>
22            <div><div class="qedLabel">Responses <span data-dojo-attach-point="responsesCountNode"></span></div><div class="qedField qedFill" data-dojo-attach-point="responsesNode"></div></div>
23        </fieldset>
24    </div>
25   
26    <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'bottom'" style="height: 40px;">
27        <button data-dojo-type="dijit/form/Button"
28                class="blue"
29                data-dojo-props="baseClass: 'rftBlockButton', iconClass: 'rftIcon rftIconSave'"
30                data-dojo-attach-event="onClick:_onSave">Save &amp; Close</button>
31        <button data-dojo-type="dijit/form/Button"
32                class="blue"
33                data-dojo-props="baseClass: 'rftBlockButton', iconClass: 'rftIcon rftIconClose'"
34                data-dojo-attach-event="onClick:_onDiscard">Discard &amp; Close</button>
35    </div>
36</div>
Note: See TracBrowser for help on using the repository browser.