Changeset 342 for Dev/branches/rest-dojo-ui/client/rft/ui
- Timestamp:
- 06/14/12 18:34:52 (13 years ago)
- Location:
- Dev/branches/rest-dojo-ui/client/rft/ui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/ui/LineWithActionsWidgetThijs.js
r339 r342 28 28 baseClass: 'rftBlockButton', 29 29 modifiers: this.modifiers, 30 label: action,31 iconClass: 'rftIcon rftIcon'+ action,30 label: "Default", 31 iconClass: 'rftIcon rftIcon'+this.actions[action].properties.icon, 32 32 title: action, 33 onClick: lang.hitch(this, function(){ 34 this.actions[action].callback(this.userObject); 35 }) 36 }, 37 this.actions[action].properties); 33 onClick: lang.hitch(this, this.actions[action].callback) 34 }, this.actions[action].properties); 38 35 properties["class"] = properties.modifiers; 39 36 new Button(properties).placeAt(this.buttonsNode); … … 42 39 baseClass: 'rftInlineButton', 43 40 modifiers: 'black', 41 label: "Default", 44 42 showLabel: false, 45 iconClass: 'rftIcon rftIcon'+ action,43 iconClass: 'rftIcon rftIcon'+this.actions[action].properties.icon, 46 44 title: action, 47 onClick: lang.hitch(this, function(){ 48 this.actions[action].callback(this.userObject); 49 }) 50 }, 51 this.actions[action].properties); 45 onClick: lang.hitch(this, this.actions[action].callback) 46 }, this.actions[action].properties); 52 47 properties["class"] = properties.modifiers; 53 48 new Button(properties).placeAt(this.buttonsNode); … … 65 60 return !preventDefault; 66 61 }, 67 onClick: function(e) {} 62 onClick: function(e) {}, 63 _setTitleAttr: function(value){ 64 this.title = value; 65 this.refresh(); 66 } 68 67 }); 69 68 }); -
Dev/branches/rest-dojo-ui/client/rft/ui/SelectorThijs.js
r338 r342 37 37 modifiers: this.modifiers, 38 38 actions: { 39 "A ccept" : {39 "AddToSurvey" : { 40 40 callback: function(arg){}, 41 41 properties: { 42 42 blockButton: true, 43 modifiers: this.modifiers 43 modifiers: this.modifiers, 44 icon: "Accept", 45 label: "Include" 44 46 } 45 47 } … … 50 52 modifiers: this.modifiers, 51 53 actions: { 52 " HalfArrowDown" : {54 "ToggleDropdown" : { 53 55 callback: lang.hitch(this,function(){ 54 56 var node = this.optionsNode; … … 87 89 blockButton: true, 88 90 modifiers: this.modifiers, 89 showLabel: false 91 showLabel: false, 92 icon: "HalfArrowDown" 90 93 } 91 94 } … … 95 98 title: 'Are there direct colleagues among the other participants?', 96 99 actions: { 97 "In spect" : {100 "InfoHover" : { 98 101 callback: infoFunction, 99 102 properties: { 100 103 blockButton: false, 101 showLabel: false 104 showLabel: false, 105 icon: "Inspect" 102 106 } 103 107 } -
Dev/branches/rest-dojo-ui/client/rft/ui/templates/List.html
r316 r342 1 1 <div> 2 2 <div data-dojo-attach-point="containerNode"></div> 3 <div >4 <span>Move selected </span>5 <button data-dojo-type="dijit.form.Button" >Up</button>6 <button data-dojo-type="dijit.form.Button" >Down</button>3 <div style="float: right;"> 4 <span>Move selected: </span> 5 <button data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftBlockButton', iconClass:'rftIcon rftIconFullArrowUp'" class="trans"></button> 6 <button data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftBlockButton', iconClass:'rftIcon rftIconFullArrowDown'" class="trans"></button> 7 7 </div> 8 8 </div>
Note: See TracChangeset
for help on using the changeset viewer.