Commit 085aaa36f0712ab3379c6df0fe726843af62895e
1 parent
82d5e2cf
Exists in
master
and in
109 other branches
add uranus neptune icons
Showing
3 changed files
with
17 additions
and
5 deletions
Show diff stats
generic_data/rank.json
1 | 1 | {"Mercury": 1, "Venus": 2, "Heliosphere.NearEarth": 3, "Heliosphere.Remote1AU": 4, |
2 | 2 | "Earth.Magnetosheath": 5, "Earth.Magnetosphere": 5, "Earth": 5, "Earth.Surface": 6, |
3 | -"Mars": 7, "Jupiter": 8, "Ganymede" : 8, "Saturn": 9, "Uranus" : 91, "Neptune" : 92, "Comet" : 93, | |
3 | +"Mars": 7, "Jupiter": 8, "Ganymede" : 8, "Saturn": 9, "Uranus" : 10, "Neptune" : 11, "Comet" : 93, | |
4 | 4 | "Heliosphere" : 99 } |
5 | 5 | \ No newline at end of file | ... | ... |
js/app/models/LocalParamNode.js
... | ... | @@ -63,14 +63,14 @@ Ext.define('amdaModel.LocalParamNode', |
63 | 63 | var rank = this.get('rank'); |
64 | 64 | if (rank == 1) this.set('iconCls', 'icon-mercury'); |
65 | 65 | if (rank == 2) this.set('iconCls', 'icon-venus'); |
66 | - if (rank == 5) this.set('iconCls', 'icon-earth'); | |
67 | - if (rank == 6) this.set('iconCls', 'icon-earth'); | |
66 | + if (rank == 5 || rank == 6) this.set('iconCls', 'icon-earth'); | |
68 | 67 | if (rank == 7) this.set('iconCls', 'icon-mars'); |
69 | 68 | if (rank == 8) this.set('iconCls', 'icon-jupiter'); |
70 | 69 | if (rank == 9) this.set('iconCls', 'icon-saturn'); |
70 | + if (rank == 10) this.set('iconCls', 'icon-uranus'); | |
71 | + if (rank == 11) this.set('iconCls', 'icon-neptune'); | |
71 | 72 | if (rank == 93) this.set('iconCls', 'icon-comet'); |
72 | - if (rank == 3) this.set('iconCls', 'icon-sw'); | |
73 | - if (rank == 4) this.set('iconCls', 'icon-sw'); | |
73 | + if (rank == 3 || rank == 4) this.set('iconCls', 'icon-sw'); | |
74 | 74 | if (rank >= 99) this.set('iconCls', 'icon-solarsystem'); |
75 | 75 | } |
76 | 76 | ... | ... |
js/resources/css/amda.css
... | ... | @@ -369,6 +369,18 @@ background-image: url(../images/16x16/error.png) !important; |
369 | 369 | background-repeat: no-repeat; |
370 | 370 | } |
371 | 371 | |
372 | +.icon-neptune { | |
373 | + background-image:url(../images/icons/neptune.png) !important; | |
374 | + background-position: center; | |
375 | + background-repeat: no-repeat; | |
376 | +} | |
377 | + | |
378 | +.icon-uranus { | |
379 | + background-image:url(../images/icons/uranus.png) !important; | |
380 | + background-position: center; | |
381 | + background-repeat: no-repeat; | |
382 | +} | |
383 | + | |
372 | 384 | .icon-sun { |
373 | 385 | background-image:url(../images/icons/sun.png) !important; |
374 | 386 | background-position: center; | ... | ... |