Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
turban committed Nov 23, 2016
1 parent ff27f54 commit 13f9096
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions plugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
GIS.plugin.getMap({
url: url,
el: "map1",
id: 'qTfO4YkQ9xW',
id: 'GlCLRPPLsWF',
crossDomain: true,
// username: 'admin',
// password: 'district'
username: 'system',
password: 'System123'
username: 'admin',
password: 'district'
// username: 'system',
// password: 'System123'
});

/*
Expand Down
2 changes: 1 addition & 1 deletion scss/plugin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
.x-box-inner { zoom: 1; }
.x-box-item { position: absolute !important; }
.x-unselectable { -webkit-user-select: none; cursor: default; }
.gis-menu-item-icon-drill, .gis-menu-item-icon-float { left: 6px; }
.gis-menu-item-icon-drill, .gis-menu-item-icon-float, .gis-menu-item-icon-relocate, .gis-menu-item-icon-earthengine { left: 6px; }
.gis-menu-item-first.x-menu-item-active .x-menu-item-link { border-radius: 0; border-top-left-radius: 2px; border-top-right-radius: 2px; }
.gis-menu-item-last.x-menu-item-active .x-menu-item-link { border-radius: 0; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; }
.gis-menu-item-icon-drill { background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAVFBMVEUAAAChoaGjo6OYmJiYmJiYmJiYmJh1dXV2dnZ4eHh5eXl6enp9fX1+fn5/f3+AgICFhYWGhoaHh4eIiIiJiYmKioqWlpaXl5eYmJiZmZnNzc3///9MH+hFAAAAB3RSTlMAT0/LzNzeBNbumgAAAH9JREFUGNNtj9sSwiAMBQ8UYgu1CkEb5f//U27t9MF93MnsnAB6IjugSQNK9o40NMyeXpXUjQHF3IlNEGzI67rd/RAWlscFt1ARwnO+hcX3UBUS8vY4QkMUvpVTzMsRGuL5ds5779y/BomkS4NgyprEZ8NAfdpCjhWW+u71fYUfm9cSDGkZm34AAAAASUVORK5CYII=') no-repeat; }
Expand Down
14 changes: 7 additions & 7 deletions src/core/ContextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export default function ContextMenu(gis, layer, instance, latlng) {
const isPoint = feature.geometry.type === 'Point';
const att = feature.properties;

let infrastructuralPeriod; // TODO: in use?

// Relocate
const showRelocate = function() {
if (gis.relocate.window) {
Expand Down Expand Up @@ -489,11 +487,13 @@ export default function ContextMenu(gis, layer, instance, latlng) {
}));
}

menuItems.push( Ext.create('Ext.menu.Item', {
text: GIS.i18n.show_information_sheet,
iconCls: 'gis-menu-item-icon-information',
handler: showInfo
}));
if (!gis.plugin) {
menuItems.push( Ext.create('Ext.menu.Item', {
text: GIS.i18n.show_information_sheet,
iconCls: 'gis-menu-item-icon-information',
handler: showInfo
}));
}

}

Expand Down

0 comments on commit 13f9096

Please sign in to comment.