1 | <div data-dojo-type="rft.pages.session"> |
---|
2 | <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'center'" style="height: 500px;"> |
---|
3 | <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'top'"> |
---|
4 | <h2> |
---|
5 | <span class="rftIcon rftIconSurvey"></span> |
---|
6 | <span data-rft-attach-point="titleNode" class="headerText">Untitled</span><span class="headerText"> [editing]</span> |
---|
7 | </h2> |
---|
8 | </div> |
---|
9 | <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'center'"> |
---|
10 | <div data-dojo-type="dijit.layout.TabContainer" class="green" data-dojo-props="tabPosition:'left-h',region:'center'"> |
---|
11 | <div data-dojo-type="dijit.layout.ContentPane" title="Properties"> |
---|
12 | <div data-dojo-type="dijit.form.Form" data-rft-attach-point="propertiesForm" data-rft-attach-event="onSubmit:onSave"> |
---|
13 | |
---|
14 | <h3>Basic</h3> |
---|
15 | <fieldset class="align"> |
---|
16 | <label for="titleInput">Title</label> |
---|
17 | <input type="text" name="title" data-dojo-type="dijit.form.TextBox" data-dojo-props="placeHolder: 'Enter title here'" /> |
---|
18 | <br/> |
---|
19 | <label for="descriptionInput">Description</label> |
---|
20 | <textarea name="description" rows="3" cols="54" data-dojo-type="dijit.form.SimpleTextarea" data-dojo-props="selectOnClick: true, placeHolder: 'Description shown in tooltips'"></textarea> |
---|
21 | <br/> |
---|
22 | <label for="dateInput">Planned date</label> |
---|
23 | <input type="text" name="plannedDate" data-dojo-type="dijit.form.DateTextBox" required="required" /> |
---|
24 | </fieldset> |
---|
25 | |
---|
26 | <h3>Accounts</h3> |
---|
27 | <fieldset class="align"> |
---|
28 | <label for="accountsInput">Add new</label> |
---|
29 | <select id="accountBox"></select> |
---|
30 | <!-- |
---|
31 | <input type="text" data-rft-attach-point="emailBox" data-dojo-type="dijit.form.TextBox" data-dojo-props="placeHolder: 'Enter email address here...'" /> |
---|
32 | --> |
---|
33 | <button data-rft-attach-point="btnInvite" data-dojo-type="dijit.form.Button" data-rft-attach-event="onClick:onInvite" data-dojo-props="baseClass: 'rftBlockButton', class: 'green', iconClass: 'rftIcon rftIconPlus'">Invite</button> |
---|
34 | <br/><br/> |
---|
35 | |
---|
36 | <div data-rft-attach-point="listViewNode" class="rftLineListView"> |
---|
37 | </div> |
---|
38 | <!-- |
---|
39 | <div data-dojo-type="rft.ui.List" data-dojo-props="region:'center'" style="width: 500px;"> |
---|
40 | <div data-dojo-type="rft.ui.LineWithActionsWidget" data-dojo-props="title:'a.bezuijen@tudelft.nl', modifiers: 'green', actions: {'Cancel':{callback: function(){}, properties: {blockButton: false, icon: 'Delete', modifiers:'white'}}}"></div> |
---|
41 | <div data-dojo-type="rft.ui.LineWithActionsWidget" data-dojo-props="title:'i.mayer@tudelft.nl', modifiers: 'green', actions: {'Cancel':{callback: function(){}, properties: {blockButton: false, icon: 'Delete', modifiers:'white'}}}"></div> |
---|
42 | </div> |
---|
43 | --> |
---|
44 | </fieldset> |
---|
45 | |
---|
46 | <button data-rft-attach-point="btnPropertiesDiscard" data-dojo-type="dijit.form.Button" data-rft-attach-event="onClick:onDiscard" data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconCancel'">Discard changes</button> |
---|
47 | <button data-rft-attach-point="btnPropertiesSave" data-dojo-type="dijit.form.Button" data-rft-attach-event="onClick:onSave" data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconAccept'">Save changes</button> |
---|
48 | |
---|
49 | </div> |
---|
50 | |
---|
51 | </div> |
---|
52 | <div data-dojo-type="dijit.layout.ContentPane" title="Design"> |
---|
53 | <!--DESIGN--> |
---|
54 | |
---|
55 | <div class="rftSessionObject green"> |
---|
56 | <div class="rftIcon rftIconSurvey"></div> |
---|
57 | <label>Survey name</label> |
---|
58 | </div> |
---|
59 | <div class="rftSessionObject green"> |
---|
60 | <div class="rftIcon rftIconSurvey"></div> |
---|
61 | <label>Survey name, this one is really long.</label> |
---|
62 | </div> |
---|
63 | |
---|
64 | </div> |
---|
65 | </div> |
---|
66 | </div> |
---|
67 | </div> |
---|
68 | </div> |
---|