Commit cc6e16eb7fdae1b10610c67b6d29111a3e2fd227
1 parent
8a0f1e9e
Exists in
master
and in
112 other branches
Remove info panel
Showing
1 changed file
with
2 additions
and
58 deletions
Show diff stats
js/app/views/EpnTapUI.js
@@ -188,8 +188,7 @@ Ext.define('amdaUI.EpnTapUI', { | @@ -188,8 +188,7 @@ Ext.define('amdaUI.EpnTapUI', { | ||
188 | layout: { type: 'vbox', pack: 'start', align: 'stretch'}, | 188 | layout: { type: 'vbox', pack: 'start', align: 'stretch'}, |
189 | items: [ | 189 | items: [ |
190 | this.createServiceFilterPanel(), | 190 | this.createServiceFilterPanel(), |
191 | - this.createGridsPanel(), | ||
192 | - this.createInfoPanel() | 191 | + this.createGridsPanel() |
193 | ] | 192 | ] |
194 | }] | 193 | }] |
195 | }; | 194 | }; |
@@ -299,25 +298,6 @@ Ext.define('amdaUI.EpnTapUI', { | @@ -299,25 +298,6 @@ Ext.define('amdaUI.EpnTapUI', { | ||
299 | } | 298 | } |
300 | }; | 299 | }; |
301 | }, | 300 | }, |
302 | -/* | ||
303 | -name "Jujo" | ||
304 | -parent "Sun" | ||
305 | -type "Asteroid" | ||
306 | -system "sys-Sun" | ||
307 | -classes "MB>OMB" | ||
308 | -@id 104747 | ||
309 | -id "Jujo" | ||
310 | -aliases | ||
311 | -0 "4747" | ||
312 | -1 "1989 WB" | ||
313 | -2 "J89W00B" | ||
314 | -3 "1976 GK6" | ||
315 | -4 "J76G06K" | ||
316 | -5 "1978 PJ" | ||
317 | -6 "J78P00J" | ||
318 | -7 "1978 SW" | ||
319 | -8 "J78S00W" | ||
320 | -*/ | ||
321 | 301 | ||
322 | /** | 302 | /** |
323 | Create `epnTapTimeSelector`, an IntervalUI object, allowing the user to select a time interval (by filling two | 303 | Create `epnTapTimeSelector`, an IntervalUI object, allowing the user to select a time interval (by filling two |
@@ -434,7 +414,7 @@ aliases | @@ -434,7 +414,7 @@ aliases | ||
434 | xtype: 'panel', | 414 | xtype: 'panel', |
435 | id: 'epnTapGridsPanel', | 415 | id: 'epnTapGridsPanel', |
436 | layout: 'fit', | 416 | layout: 'fit', |
437 | - height: 380, | 417 | + height: 400, |
438 | region: 'center', | 418 | region: 'center', |
439 | items: [{ | 419 | items: [{ |
440 | xtype: 'container', | 420 | xtype: 'container', |
@@ -654,41 +634,5 @@ aliases | @@ -654,41 +634,5 @@ aliases | ||
654 | }); | 634 | }); |
655 | 635 | ||
656 | return epnTapGranulesGrid; | 636 | return epnTapGranulesGrid; |
657 | - }, | ||
658 | - | ||
659 | - /******************* | ||
660 | - *** Other panels *** | ||
661 | - *******************/ | ||
662 | - | ||
663 | - /** | ||
664 | - Create `epnTapInfoPanel`, an ExtJS Panel used to display a brief user guide about how to use this module. | ||
665 | - */ | ||
666 | - createInfoPanel: function() { | ||
667 | - return { | ||
668 | - xtype: 'panel', | ||
669 | - id: 'epnTapInfoPanel', | ||
670 | - region: 'south', | ||
671 | - title: 'Information', | ||
672 | - collapsible: true, | ||
673 | - animCollapse: false, | ||
674 | - collapsed: true, | ||
675 | - // collapseDirection: 'bottom', | ||
676 | - height: 100, | ||
677 | - // autoHide: false, | ||
678 | - bodyStyle: 'padding: 5px', | ||
679 | - iconCls: 'icon-information', | ||
680 | - loader: { autoLoad: true, url: helpDir + 'epnTapHOWTO' }, | ||
681 | - listeners: { | ||
682 | - // Dirty way to reduce the size of the grids panel. | ||
683 | - 'beforeexpand': function() { | ||
684 | - Ext.getCmp('epnTapGridsPanel').collapse(); | ||
685 | - // Ext.getCmp('epnTapGridsPanel').setHeight(280); | ||
686 | - }, | ||
687 | - 'beforecollapse': function() { | ||
688 | - Ext.getCmp('epnTapGridsPanel').expand(); | ||
689 | - // Ext.getCmp('epnTapGridsPanel').setHeight(380); | ||
690 | - } | ||
691 | - } | ||
692 | - }; | ||
693 | } | 637 | } |
694 | }); | 638 | }); |