Commit d2978a304b34c0fc063f1e6b9428fac4e67b3c1a

Authored by Benjamin Renard
1 parent 0e0690e1

Add icon for Pluto (#6506)

generic_data/rank.json
1 1 {"Sun" : 1, "Mercury": 2, "Venus": 3, "Heliosphere.NearEarth": 4, "Heliosphere.Remote1AU": 5,
2 2 "Earth.Magnetosheath": 6, "Earth.Magnetosphere": 6, "Earth": 6, "Earth.Surface": 7,
3   -"Mars": 8, "Jupiter": 9, "Ganymede" : 9, "Saturn": 91, "Uranus" : 92, "Neptune" : 93, "Comet" : 94,
4   -"Heliosphere" : 99 }
5 3 \ No newline at end of file
  4 +"Mars": 8, "Jupiter": 9, "Ganymede" : 9, "Saturn": 91, "Uranus" : 92, "Neptune" : 93, "Comet" : 94, "Pluto" : 95,
  5 +"Heliosphere" : 99 }
... ...
js/app/models/LocalParamNode.js
... ... @@ -30,7 +30,7 @@ Ext.define('amdaModel.LocalParamNode',
30 30  
31 31 icons : {'1' : 'icon-sun', '2' : 'icon-mercury','3' : 'icon-venus','4' : 'icon-sw','5' : 'icon-sw','6' : 'icon-earth','7' : 'icon-earth',
32 32 '8' : 'icon-mars','9' : 'icon-jupiter','91' : 'icon-saturn','92' : 'icon-uranus','93' : 'icon-neptune',
33   - '94' :'icon-comet', '99' :'icon-solarsystem', '999' :'icon-solarsystem'
  33 + '94' :'icon-comet', '95' : 'icon-pluto', '99' :'icon-solarsystem', '999' :'icon-solarsystem'
34 34 },
35 35  
36 36 constructor : function(config)
... ...
js/resources/css/amda.css
... ... @@ -443,6 +443,12 @@ background-image: url(../images/16x16/error.png) !important;
443 443 background-repeat: no-repeat;
444 444 }
445 445  
  446 +.icon-pluto {
  447 + background-image:url(../images/icons/pluto.png) !important;
  448 + background-position: center;
  449 + background-repeat: no-repeat;
  450 +}
  451 +
446 452 img.centered {
447 453 display: block;
448 454 margin-left: auto;
... ...
js/resources/images/icons/pluto.png 0 → 100644

929 Bytes