Changeset 350 for Dev/branches/rest-dojo-ui/client/rft/pages
- Timestamp:
- 07/03/12 16:57:07 (13 years ago)
- Location:
- Dev/branches/rest-dojo-ui/client/rft/pages
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/pages/session.html
r347 r350 30 30 <br/><br/> 31 31 <div data-dojo-type="rft.ui.List" data-dojo-props="region:'center'" style="width: 500px;"> 32 <div data-dojo-type="rft.ui.LineWithActionsWidget Thijs" data-dojo-props="title:'a.bezuijen@tudelft.nl', modifiers: 'green', actions: {'Cancel':{callback: function(){}, properties: {blockButton: false, icon: 'Delete', modifiers:'white'}}}"></div>33 <div data-dojo-type="rft.ui.LineWithActionsWidget Thijs" data-dojo-props="title:'i.mayer@tudelft.nl', modifiers: 'green', actions: {'Cancel':{callback: function(){}, properties: {blockButton: false, icon: 'Delete', modifiers:'white'}}}"></div>32 <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> 33 <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> 34 34 </div> 35 35 </fieldset> -
Dev/branches/rest-dojo-ui/client/rft/pages/sessions.html
r347 r350 1 <div >1 <div data-dojo-type="rft.pages.sessions"> 2 2 <script> 3 3 function createNew(){ … … 50 50 <div id="containerTemplates" data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region: 'center'"> 51 51 <!--TODO: These don't allow for custom icon settings yet! --> 52 <div data-dojo-type="rft.ui.ObjectBox" data-dojo-props="actions: {'edit': function(){alert('Custom edit code');}, 'delete':function(){}, 'Custom function': function(){alert('newCommand');}, 'publish': createInstance}"></div>52 <div data-dojo-type="rft.ui.ObjectBox" data-dojo-props="actions: {'edit': function(){alert('Custom edit code');}, 'delete':function(){}, 'Custom function': function(){alert('newCommand');}, 'publish': function(){alert('createInstance');}}"></div> 53 53 </div> 54 54 <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region: 'bottom'" style="height: 40px;"> 55 <div data-dojo-type="dijit.form.Button" data-dojo-props="region: 'bottom', baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconSessionTemplate', onClick: createNew">Create new template</div>55 <div data-dojo-type="dijit.form.Button" data-dojo-props="region: 'bottom', baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconSessionTemplate', onClick: function(){alert('createNew');}">Create new template</div> 56 56 </div> 57 57 </div> -
Dev/branches/rest-dojo-ui/client/rft/pages/sessions.js
r347 r350 1 1 define(['dojo/_base/declare','dojo/_base/lang','dojo/_base/Deferred','dojo/data/ObjectStore','rft/auth','rft/store','rft/content','rft/ui/_Page'], 2 2 function(declare,lang,Deferred,ObjectStore,auth,store,content,_Page){ 3 return declare('rft.pages.s urveys',[_Page],{3 return declare('rft.pages.sessions',[_Page],{ 4 4 selectedObject: null, 5 5 onVisit: function() { -
Dev/branches/rest-dojo-ui/client/rft/pages/survey.html
r349 r350 13 13 <div data-dojo-type="dijit.layout.TabContainer" class="blue" data-dojo-props="tabPosition:'left-h',region:'center'"> 14 14 <div data-dojo-type="dijit.layout.ContentPane" title="Category One, this is a very long title to see how overflow works. This part is cut off because it passes two lines at 200px wide."> 15 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Subcat one'"></div>16 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Subcat two'"></div>15 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Subcat one'"></div> 16 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Subcat two'"></div> 17 17 </div> 18 18 <div data-dojo-type="dijit.layout.ContentPane" title="Category Two"> 19 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Subcat one'"></div>20 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Subcat two'"></div>19 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Subcat one'"></div> 20 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Subcat two'"></div> 21 21 </div> 22 22 <div data-dojo-type="dijit.layout.ContentPane" title="Category Three"> 23 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Subcat one'"></div>23 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Subcat one'"></div> 24 24 </div> 25 25 <div data-dojo-type="dijit.layout.ContentPane" title="Category Four"> 26 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Green Question Subcat one'"></div>27 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Subcat two'"></div>28 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Subcat three'"></div>26 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Green Question Subcat one'"></div> 27 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Subcat two'"></div> 28 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Subcat three'"></div> 29 29 </div> 30 30 <div data-dojo-type="dijit.layout.ContentPane" title="Category Five"> 31 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Subcat one'"></div>32 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Subcat two'"></div>33 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Subcat three'"></div>34 <div data-dojo-type="rft.ui.Selector Thijs" data-dojo-props="Title:'Subcat four'"></div>31 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Subcat one'"></div> 32 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Subcat two'"></div> 33 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Subcat three'"></div> 34 <div data-dojo-type="rft.ui.Selector" data-dojo-props="Title:'Subcat four'"></div> 35 35 </div> 36 36 </div> … … 43 43 <div data-dojo-type="rft.ui.List" data-dojo-props="region:'center'"> 44 44 <!-- These would have to be dynamically generated instead of declared here! --> 45 <div data-dojo-type="rft.ui.LineWithActionsWidget Thijs" data-dojo-props="title:'Question one', actions: {'Cancel':{callback: function(){}, properties: {blockButton: false, icon: 'Delete', modifiers:'white'}}}"></div>46 <div data-dojo-type="rft.ui.LineWithActionsWidget Thijs" data-dojo-props="title:'Question two', actions: {'Cancel':{callback: function(){}, properties: {blockButton: false, icon: 'Delete', modifiers:'white'}}}"></div>45 <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> 46 <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> 47 47 </div> 48 48 <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region: 'bottom'">
Note: See TracChangeset
for help on using the changeset viewer.