Changeset 396 for Dev/branches/rest-dojo-ui/client/rft/ui
- Timestamp:
- 08/09/12 17:09:46 (13 years ago)
- Location:
- Dev/branches/rest-dojo-ui/client/rft/ui
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/ui/LineWithActionsWidget.js
r370 r396 16 16 baseClass: 'rftLineWithButtons', 17 17 title: '', 18 modifiers: "blue",19 18 selectable: false, 20 19 userObject: null, … … 28 27 this.inherited(arguments); 29 28 this._setupActions(); 30 domClass.add(this.domNode, this.modifiers);29 domClass.add(this.domNode, "inheritBgColor bg"); 31 30 this.refresh(); 32 31 }, … … 37 36 properties = lang.mixin({ 38 37 baseClass: 'rftBlockButton', 39 modifiers: this.modifiers,38 "class": "inheritBgColor light", 40 39 label: "Default", 41 40 iconClass: 'rftIcon rftIcon'+this.actions[action].properties.icon, … … 47 46 }, this.actions[action]) 48 47 }, this.actions[action].properties); 49 properties["class"] = properties.modifiers;50 48 new Button(properties).placeAt(this.buttonsNode); 51 49 } else { 52 50 properties = lang.mixin({ 53 51 baseClass: 'rftInlineButton', 54 modifiers: 'black',55 52 label: "Default", 56 53 showLabel: false, … … 63 60 }, this.actions[action]) 64 61 }, this.actions[action].properties); 65 properties["class"] = properties.modifiers;66 62 new Button(properties).placeAt(this.buttonsNode); 67 63 } -
Dev/branches/rest-dojo-ui/client/rft/ui/ObjectBox.js
r359 r396 15 15 startup: function() { 16 16 this.line1 = new LineWithActionsWidget({ 17 modifiers: 'green',18 17 actions: { 19 18 "inspectIcon": { … … 21 20 properties: { 22 21 blockButton: false, 23 modifiers: "white",24 22 icon: "Inspect" 25 23 } … … 28 26 }).placeAt(this.line1Node); 29 27 this.line2 = new LineWithActionsWidget({ 30 modifiers: 'green'31 28 }).placeAt(this.line1Node); 32 29 var line3Actions = this._createLine3Actions(); 33 30 this.line3 = new LineWithActionsWidget({ 34 modifiers: 'green',35 31 actions: line3Actions 36 32 }).placeAt(this.line1Node); … … 50 46 blockButton: true, 51 47 label: action, 52 modifiers: "trans",53 48 icon: action.charAt(0).toUpperCase()+action.slice(1) 54 49 } … … 76 71 } 77 72 }); 78 73 }); -
Dev/branches/rest-dojo-ui/client/rft/ui/Selector.js
r370 r396 31 31 templateString: templateString, 32 32 baseClass: 'rftSelector', 33 modifiers: 'blue',34 33 35 34 title: "", … … 47 46 48 47 startup: function() { 49 domClass.add(this.domNode, this.modifiers);50 48 domClass.add(this.selectedColorNode, "pending"); 51 49 … … 69 67 properties: { 70 68 blockButton: true, 71 modifiers: this.modifiers,72 69 label: action.title || actionName, 73 70 icon: action.icon, … … 81 78 this._titleLine = new LineWithActionsWidget({ 82 79 title: this.title, 83 modifiers: this.modifiers,84 80 actions: actions 85 81 },this.titleNode); … … 89 85 this._selectorLine = new LineWithActionsWidget({ 90 86 title: 'None', 91 modifiers: this.modifiers,92 87 actions: { 93 88 "Toggle dropdown" : { … … 95 90 properties: { 96 91 blockButton: true, 97 modifiers: this.modifiers,98 92 showLabel: false, 99 93 icon: "HalfArrowDown" … … 162 156 blockButton: false, 163 157 showLabel: false, 164 icon: action.icon ,158 icon: action.icon + " black", 165 159 tooltip: action.description 166 160 } -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/AccountListView.js
r389 r396 31 31 properties: { 32 32 blockButton: false, 33 icon: "Delete", 34 modifiers: "white" 33 icon: "Delete" 35 34 } 36 35 } -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/CategoryListView.js
r389 r396 31 31 properties: { 32 32 blockButton: false, 33 icon: "Delete", 34 modifiers: "white" 33 icon: "Delete" 35 34 } 36 35 } -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/MultipleChoiceListView.js
r389 r396 31 31 properties: { 32 32 blockButton: false, 33 icon: "Delete", 34 modifiers: "white" 33 icon: "Delete" 35 34 } 36 35 } -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/QuestionListView.js
r389 r396 32 32 blockButton: false, 33 33 icon: "Delete", 34 modifiers: "white",35 34 label: "Remove" 36 35 } … … 41 40 blockButton: false, 42 41 icon: "Inspect", 43 modifiers: "white",44 42 label: "Show info" 45 43 } -
Dev/branches/rest-dojo-ui/client/rft/ui/templates/SessionBar.html
r350 r396 1 1 <div class="${baseClass}"> 2 2 <span class="rftIcon rftIconSession" data-dojo-attach-point="iconNode"></span> 3 <div data-dojo-type="rft.ui.LineWithActionsWidget" data-dojo-attach-point="upperNode" data-dojo-props=" modifiers: 'green', actions: {'inspect':{callback: inspect, properties: {blockButton: true, modifiers: 'white'}}}"></div>3 <div data-dojo-type="rft.ui.LineWithActionsWidget" data-dojo-attach-point="upperNode" data-dojo-props="actions: {'inspect':{callback: inspect, properties: {blockButton: true}}}"></div> 4 4 <div data-dojo-type="rft.ui.LineWithActionsWidget" data-dojo-attach-point="lowerNode"></div> 5 5 </div>
Note: See TracChangeset
for help on using the changeset viewer.