Commit 4a9e0229466eb1f74cebff02744e501ac3c3c0d4
1 parent
d134bdf3
Exists in
master
and in
94 other branches
icones for shared TT, Catalogs
Showing
3 changed files
with
10 additions
and
1 deletions
Show diff stats
js/app/models/sharedCatalogNode.js
... | ... | @@ -22,6 +22,8 @@ Ext.define('amdaModel.sharedCatalogNode', { |
22 | 22 | this.set('moduleId',myDesktopApp.dynamicModules.catalog.id); |
23 | 23 | this.set('objectDataModel','amdaModel.Catalog'); |
24 | 24 | if (this.get('leaf')) this.set('iconCls', 'icon-catalog'); |
25 | + else this.set('iconCls', 'icon-' + this.get('text').toLowerCase()); | |
26 | + | |
25 | 27 | }, |
26 | 28 | |
27 | 29 | localMenuItems : function() { | ... | ... |
js/app/models/sharedTimeTableNode.js
... | ... | @@ -14,7 +14,7 @@ Ext.define('amdaModel.sharedTimeTableNode', { |
14 | 14 | |
15 | 15 | statics: { |
16 | 16 | nodeType: 'sharedtimeTable', |
17 | - objectName: 'Time Table' | |
17 | + objectName: 'TimeTable' | |
18 | 18 | }, |
19 | 19 | |
20 | 20 | constructor : function(config){ |
... | ... | @@ -22,6 +22,7 @@ Ext.define('amdaModel.sharedTimeTableNode', { |
22 | 22 | this.set('moduleId',myDesktopApp.dynamicModules.tt.id); |
23 | 23 | this.set('objectDataModel','amdaModel.TimeTable'); |
24 | 24 | if (this.get('leaf')) this.set('iconCls', 'icon-timetable'); |
25 | + else this.set('iconCls', 'icon-' + this.get('text').toLowerCase()); | |
25 | 26 | }, |
26 | 27 | |
27 | 28 | localMenuItems : function() { | ... | ... |
js/resources/css/amda.css
... | ... | @@ -431,6 +431,12 @@ background-image: url(../images/16x16/error.png) !important; |
431 | 431 | background-repeat: no-repeat; |
432 | 432 | } |
433 | 433 | |
434 | +.icon-solar_wind { | |
435 | + background-image:url(../images/icons/sw.png) !important; | |
436 | + background-position: center; | |
437 | + background-repeat: no-repeat; | |
438 | +} | |
439 | + | |
434 | 440 | .icon-solarsystem { |
435 | 441 | background-image:url(../images/icons/space.png) !important; |
436 | 442 | background-position: center; | ... | ... |