Ignore:
Timestamp:
03/09/14 14:23:42 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • Enable/disable buttons on content change.
  • One place to do date formatting, because it was going wrong again.
  • Serialize questions in survey properly.
  • _ComplexValueMixin consumes submit events, but does trigger outer forms if present.
  • Trigger dialog show/hide for login only after previous effect is finished.
  • Check that documents are actually valid, not just that validator returned a result.
  • Validate email and timestamp formats.
  • Prepared for live runs.
Location:
Dev/trunk/src/client/qed-client/model/widgets/templates
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/client/qed-client/model/widgets/templates/QuestionWidget.html

    r443 r492  
    77            <input data-dojo-type="dijit/form/TextBox" name="title" type="text" class="loginInput" />
    88            <label for="question" class="loginLabel">Description</label>
    9             <input data-dojo-type="dijit/form/Textarea" name="description" type="text" class="loginInput"/>
     9            <textarea data-dojo-type="dijit/form/Textarea" name="description" type="text" class="loginInput"></textarea>
    1010            <label for="category" class="loginLabel">Category</label>
    1111            <input data-dojo-type="dijit/form/TextBox" name="category" type="text" class="loginInput" />
  • Dev/trunk/src/client/qed-client/model/widgets/templates/SurveyRunWidget.html

    r461 r492  
    33    <div>
    44        <label for="mode" class="qedLabel">Description</label>
    5         <textarea name="description" class="qedField" data-dojo-type="dijit/form/Textarea"></textarea>
     5        <textarea name="description" class="qedField"
     6                  data-dojo-type="dijit/form/Textarea"></textarea>
    67    </div>
    78
    89    <div>
    910        <label for="startDate" class="qedLabel">Start date</label>
    10         <input type="text" name="startDate" class="qedField" data-dojo-type="dijit/form/DateTextBox" data-dojo-attach-point="startDateBox" />
     11        <input type="text" name="startDate" class="qedField"
     12               data-dojo-type="dijit/form/DateTextBox"
     13               data-dojo-attach-point="startDateBox" />
    1114    </div>
    1215
    1316    <div>
    1417        <label for="endDate" class="qedLabel">End date</label>
    15         <input type="text" name="endDate" class="qedField" data-dojo-type="dijit/form/DateTextBox" data-dojo-attach-point="endDateBox" />
     18        <input type="text" name="endDate" class="qedField"
     19               data-dojo-type="dijit/form/DateTextBox"
     20               data-dojo-attach-point="endDateBox" />
     21    </div>
     22
     23    <div>
     24        <label for="endDate" class="qedLabel">Allow respondents to delete their unsubmitted response</label>
     25        <input type="text" name="respondentCanDeleteOwnResponse"
     26               class="qedField"
     27               data-dojo-type="dijit/form/CheckBox"
     28               data-dojo-props="'value':true" />
    1629    </div>
    1730
  • Dev/trunk/src/client/qed-client/model/widgets/templates/SurveyWidget.html

    r461 r492  
    33    <input data-dojo-type="dijit/form/TextBox" name="title"/><br/>
    44    <label for="description">Description</label>
    5     <input data-dojo-type="dijit/form/Textarea" name="description"/><br/>
     5    <textarea data-dojo-type="dijit/form/Textarea" name="description"></textarea><br/>
    66</form>
Note: See TracChangeset for help on using the changeset viewer.