Changeset 342
- Timestamp:
- 06/14/12 18:34:52 (13 years ago)
- Location:
- Dev/branches/rest-dojo-ui/client
- Files:
-
- 2 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/css/layout.css
r340 r342 45 45 /* Section headers */ 46 46 font-size: 18px; 47 margin: 0 0 4px 0; 47 48 } 48 49 .claro h4 { … … 69 70 height: 16px; 70 71 line-height: 16px; 72 margin: 0 0 4px 0; 71 73 } 72 74 .claro .breadcrumbs .breadcrumb { -
Dev/branches/rest-dojo-ui/client/rft/css/rftButtons.css
r339 r342 63 63 } 64 64 .claro .rftBlockButton .rftIcon { 65 height: 16px; 66 width: 16px; 67 background-image: url('images/icons/rftIcons16.png'); 65 height: 16px !important; 66 width: 16px !important; 67 background-image: url('images/icons/rftIcons16.png') !important; 68 margin-right: 4px !important; 68 69 } 69 70 .claro .rftBlockButton.rftBlockButtonHover .rftIcon { 70 background-image: url('images/icons/rftIcons16black.png') ;71 background-image: url('images/icons/rftIcons16black.png') !important; 71 72 } 72 73 .claro .rftBlockButton.rftBlockButtonHover .dijitButtonNode { … … 113 114 color: #993dec; 114 115 } 115 116 .claro .rftBlockButton.trans .dijitButtonNode { 117 background: transparent; 118 } 119 .claro .rftBlockButton.trans.rftBlockButtonHover .dijitButtonNode { 120 background: #ffffff !important; 121 color: #000000; 122 } 116 123 117 124 /* InlineButton */ -
Dev/branches/rest-dojo-ui/client/rft/css/rftIcons.css
r335 r342 34 34 background-position: -64px 0px; 35 35 } 36 .rftIconS urvey{36 .rftIconSessionActive { 37 37 background-position: -96px 0px; 38 38 } 39 .rftIcon Question{39 .rftIconSessionTemplate { 40 40 background-position: -128px 0px; 41 41 } 42 .rftIcon QuestionAlt{42 .rftIconSurvey { 43 43 background-position: -160px 0px; 44 44 } 45 .rftIcon Accept{45 .rftIconQuestion { 46 46 background-position: -192px 0px; 47 47 } 48 .rftIcon Cancel {48 .rftIconQuestionFill { 49 49 background-position: -224px 0px; 50 50 } 51 .rftIcon Delete{51 .rftIconRespondent { 52 52 background-position: -256px 0px; 53 53 } 54 .rftIcon Home{54 .rftIconAnswer { 55 55 background-position: -288px 0px; 56 56 } 57 .rftIcon Preview{57 .rftIconAnswerSet { 58 58 background-position: -320px 0px; 59 59 } 60 .rftIcon Save{60 .rftIconGameData { 61 61 background-position: -352px 0px; 62 62 } 63 .rftIcon Settings{63 .rftIconUser { 64 64 background-position: -384px 0px; 65 65 } 66 .rftIcon Undo{66 .rftIconAccept { 67 67 background-position: -416px 0px; 68 68 } 69 .rftIcon Previous{69 .rftIconCancel { 70 70 background-position: -448px 0px; 71 71 } 72 .rftIcon Next{72 .rftIconPlus { 73 73 background-position: -480px 0px; 74 74 } 75 .rftIcon HalfArrowUp{75 .rftIconMinus { 76 76 background-position: -512px 0px; 77 77 } 78 .rftIcon HalfArrowDown{78 .rftIconIncrease { 79 79 background-position: -544px 0px; 80 80 } 81 .rftIcon HalfArrowLeft{81 .rftIconDecrease { 82 82 background-position: -576px 0px; 83 83 } 84 .rftIcon HalfArrowRight{84 .rftIconDelete { 85 85 background-position: -608px 0px; 86 86 } 87 .rftIcon FullArrowUp{87 .rftIconHome { 88 88 background-position: -640px 0px; 89 89 } 90 .rftIcon FullArrowDown{90 .rftIconPreview { 91 91 background-position: -672px 0px; 92 92 } 93 .rftIcon FullArrowLeft{93 .rftIconSave { 94 94 background-position: -704px 0px; 95 95 } 96 .rftIcon FullArrowRight{96 .rftIconDiscard { 97 97 background-position: -736px 0px; 98 98 } 99 .rftIcon Help{99 .rftIconSettings { 100 100 background-position: -768px 0px; 101 101 } 102 .rftIcon Inspect{102 .rftIconUndo { 103 103 background-position: -800px 0px; 104 104 } 105 .rftIcon Minus{105 .rftIconRedo { 106 106 background-position: -832px 0px; 107 107 } 108 .rftIcon Plus{108 .rftIconBack { 109 109 background-position: -864px 0px; 110 110 } 111 112 /* The following do not yet have an icon and are displaced a bit to make room for possible extra inlineIcons. 113 The reserved offsets are: 896, 928, 960, 992, 1024, 1056 and 1088 */ 114 .rftIconRespondent { 111 .rftIconForward { 112 background-position: -896px 0px; 113 } 114 .rftIconRefresh { 115 background-position: -928px 0px; 116 } 117 .rftIconHelp { 118 background-position: -960px 0px; 119 } 120 .rftIconInspect { 121 background-position: -992px 0px; 122 } 123 .rftIconFullArrowUp { 124 background-position: -1024px 0px; 125 } 126 .rftIconFullArrowDown { 127 background-position: -1056px 0px; 128 } 129 .rftIconFullArrowLeft { 130 background-position: -1088px 0px; 131 } 132 .rftIconFullArrowRight { 115 133 background-position: -1120px 0px; 116 134 } 117 .rftIcon AnswerSet{135 .rftIconHalfArrowUp { 118 136 background-position: -1152px 0px; 119 137 } 120 .rftIcon Answer{138 .rftIconHalfArrowDown { 121 139 background-position: -1184px 0px; 122 140 } 123 .rftIcon GameData{141 .rftIconHalfArrowLeft { 124 142 background-position: -1216px 0px; 125 143 } 144 .rftIconHalfArrowRight { 145 background-position: -1248px 0px; 146 } -
Dev/branches/rest-dojo-ui/client/rft/css/rftSelector.css
r339 r342 56 56 color: #ffffff; 57 57 } 58 .claro .rftLineWithButtons.trans { 59 background-color: transparent; 60 color: #ffffff; 61 } 58 62 59 63 /* Background colour settings for the various contexts of rftLineWithButtons */ … … 103 107 background-color: #00ff00; 104 108 } 109 110 /* rftSessionBar */ 111 .claro .rftSessionBar { 112 margin: 8px 0; 113 } 114 .claro .rftSessionBar .rftIcon.typeIcon { 115 background-image: url('images/icons/rftIcons32.png'); 116 height: 32px; 117 width: 32px; 118 margin: 20px 8px; 119 float: left; 120 } 121 .claro .rftSessionBar .rftLineWithButtons { 122 margin: 0; 123 padding: 0; 124 } -
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.