Changeset 192 for trunk/web-app
- Timestamp:
- Feb 11, 2010, 5:47:49 PM (11 years ago)
- Location:
- trunk/web-app
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/css/wizard.css
r178 r192 217 217 } 218 218 219 .wizard .grouping .subjects {220 display: block;221 float: left;222 }223 219 .wizard .grouping .ui-selected { 224 220 background-color: red; … … 228 224 } 229 225 226 .wizard .grouping .subjects { 227 display: block; 228 float: left; 229 } 230 .wizard .grouping .subjects .subject { 231 margin: 1px; 232 padding: 0.2em; 233 font-size: .8em; 234 height: 14px; 235 } 230 236 .wizard .grouping .right { 231 237 display: inline-block; … … 252 258 .wizard .grouping .group .subjects { 253 259 display: inline-block; 260 height: auto; 254 261 } 255 262 .wizard .grouping .group .subject { 256 display: block;263 display: inline-block; 257 264 width: 100%; 258 265 font-size: 10px; -
trunk/web-app/js/grouping.js
r189 r192 29 29 30 30 this.initItems(); 31 this.initGroupItems(); 32 this.initGroups(); 33 //this.initGroups(); 34 35 console.log('bla') 31 36 }, 32 37 33 38 initItems: function() { 39 var that = this; 40 34 41 //$(this.itemsIdentifier). 42 $(this.itemsIdentifier).first().selectable({ 43 filter: that.itemIdentifier, 44 stop: function() { 45 // done selecting, make all selected items draggable 46 //that.makeDraggable(this); 47 } 48 }); 49 }, 50 51 initGroups: function() { 52 this.initGroupItems(); 53 }, 54 55 initGroupItems: function() { 56 var that = this; 57 58 $(this.groupsIdentifier).selectable({ 59 filter: that.itemIdentifier 60 }) 35 61 } 36 62 } … … 156 182 } 157 183 */ 184 185 // for debugging purposes this is here 186 // TODO: to be be migrated to wizard.js.... 187 $(document).ready(function() { 188 new Grouping().init('div.subjects', 'div.subject', 'div.groups', 'div.group'); 189 }); -
trunk/web-app/js/wizard.js
r189 r192 43 43 44 44 // GROUPING PAGE 45 new Grouping().init('div.subjects', 'div.subject', 'div.groups', 'div.group');45 //new Grouping().init('div.subjects', 'div.subject', 'div.groups', 'div.group'); 46 46 } 47 47
Note: See TracChangeset
for help on using the changeset viewer.