Skip to content

Commit

Permalink
fix #1229. Changed icon and improved appearance when loading (#1231)
Browse files Browse the repository at this point in the history
  • Loading branch information
offtherailz authored and mbarto committed Oct 28, 2016
1 parent 593a5ef commit 2ab0ab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/client/components/TOC/DefaultLayer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ var DefaultLayer = React.createClass({
<LayersTool key="toolzoom"
ref="target"
style={{"float": "right", cursor: "pointer"}}
glyph="search"
glyph="1-full-screen"
onClick={(node) => this.props.onZoom(node.bbox.bounds, node.bbox.crs)}/>
);
}
Expand All @@ -154,14 +154,14 @@ var DefaultLayer = React.createClass({
return (
<Node className="toc-default-layer" sortableStyle={this.props.sortableStyle} style={this.props.style} type="layer" {...other}>
<Title onClick={this.props.onToggle}/>
<InlineSpinner loading={this.props.node.loading}/>
<LayersTool key="loadingerror"
style={{"display": this.props.node.loadingError ? "block" : "none", color: "red", cursor: "default"}}
glyph="ban-circle"
tooltip="toc.loadingerror"
/>
{this.renderCollapsible()}
{this.renderTools()}
<InlineSpinner loading={this.props.node.loading}/>
<ConfirmModal ref="removelayer" className="clayer_removal_confirm_button" show= {this.state.showDeleteDialog} onHide={this.closeDeleteDialog} onClose={this.closeDeleteDialog} onConfirm={this.onConfirmDelete} titleText={this.props.confirmDeleteText} confirmText={this.props.confirmDeleteText} cancelText={<Message msgId="cancel" />} body={this.props.confirmDeleteMessage} />
</Node>
);
Expand Down

0 comments on commit 2ab0ab2

Please sign in to comment.