Changeset 1195

Show
Ignore:
Timestamp:
07/01/09 18:08:31 (4 years ago)
Author:
tschaub
Message:

Set paths to images in css where possible. Splitting width for grids on export wizard.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/Full.js

    r1182 r1195  
    4343        })); 
    4444        tools.unshift(new Ext.Button({ 
    45             tooltip: "Export as blog widget", 
     45            tooltip: "Publish Map", 
    4646            handler: this.showEmbedWizard, 
    4747            scope: this, 
     
    229229            region: 'center', 
    230230            autoScroll: true, 
     231            width: "50%", 
     232            autoExpandColumn: "layer", 
     233            enableHdMenu: false, 
     234            title: "Data Layers", 
    231235            columns: [ 
    232236                { 
    233                     header: '<img src="theme/img/silk/eye.png"></img>', 
     237                    header: '<span class="gx-layer-visibility">&nbsp;</span>', 
    234238                    id: 'visibility', 
    235239                    dataIndex: 'visibility', 
    236240                    width: 28, 
     241                    resizable: false, 
    237242                    renderer: cbRenderer 
    238243                },{ 
    239                     header: 'Layer Name', 
     244                    header: 'Name', 
    240245                    id: 'layer', 
    241246                    dataIndex: 'name', 
     247                    resizable: false, 
    242248                    renderer: titleRenderer 
    243249                } 
    244250            ], 
    245             autoExpandColumn:'layer', 
    246             title: "Data Layers", 
    247251            listeners: { 
    248252                rowclick: function(grid, index, evt) { 
     
    264268            store: basemapstore, 
    265269            region: 'east', 
    266             width: 150, 
    267             resizable: true, 
     270            width: "50%", 
    268271            autoScroll: true, 
     272            autoExpandColumn: "layer", 
     273            enableHdMenu: false, 
     274            title: "Base Layers", 
    269275            columns: [ 
    270276                { 
    271                     header: '<img src="theme/img/silk/star.png"></img>', 
     277                    header: '<span class="gx-layer-visibility">&nbsp;</span>', 
    272278                    id: 'visibility', 
    273279                    dataIndex: 'visibility', 
    274280                    width: 28, 
     281                    resizable: false, 
    275282                    renderer: radioRenderer 
    276283                }, { 
    277                     header: 'Layer Name', 
     284                    header: 'Name', 
    278285                    id: 'layer', 
    279286                    dataIndex: 'name', 
     287                    resizable: false, 
    280288                    renderer: titleRenderer 
    281289                } 
    282290            ], 
    283             autoExpandColumn:'layer', 
    284             title: "Base Layers", 
    285291            listeners: { 
    286292                rowclick: function(grid, index, evt) { 
     
    303309                    cls: "gx-wizard-description", 
    304310                    border: false, 
    305                     html:'<p>Choose layers to include in the map:</p>' 
     311                    html:'<p>Set initial layer visibility for published map:</p>' 
    306312                }, 
    307313                datagrid,  
  • apps/opengeo/geoexplorer/trunk/src/theme/app/geoexplorer.css

    r1188 r1195  
    241241    background-image: none; 
    242242} 
     243 
     244.gx-layer-visibility { 
     245    background-image: url(img/silk/eye.png); 
     246    width: 16px; 
     247    height: 16px; 
     248    display: block; 
     249} 
     250