mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-26 11:36:40 +07:00
panel buttons tooltips
This commit is contained in:
parent
a0296f6332
commit
9321f41cd5
9 changed files with 82 additions and 12 deletions
|
@ -13,6 +13,7 @@ import classnames from 'classnames';
|
|||
import { CLIENT } from '$config/frontend';
|
||||
import { DIALOGS } from '$constants/dialogs';
|
||||
import { IRootState } from "$redux/user/reducer";
|
||||
import { Tooltip } from "$components/panels/Tooltip";
|
||||
|
||||
interface Props extends IRootState {
|
||||
is_empty: boolean,
|
||||
|
@ -121,6 +122,7 @@ export class Component extends React.PureComponent<Props, State> {
|
|||
})}
|
||||
onClick={this.openMapsDialog}
|
||||
>
|
||||
<Tooltip>Каталог маршрутов</Tooltip>
|
||||
<Icon icon="icon-folder-1" />
|
||||
</button>
|
||||
</div>
|
||||
|
@ -132,6 +134,7 @@ export class Component extends React.PureComponent<Props, State> {
|
|||
className={classnames({ active: false })}
|
||||
onClick={this.props.takeAShot}
|
||||
>
|
||||
<Tooltip>Снимок карты</Tooltip>
|
||||
<Icon icon="icon-shot-4" />
|
||||
</button>
|
||||
</div>
|
||||
|
@ -145,6 +148,7 @@ export class Component extends React.PureComponent<Props, State> {
|
|||
className={classnames({ active: false })}
|
||||
onClick={this.props.getGPXTrack}
|
||||
>
|
||||
<Tooltip>Экспорт GPX</Tooltip>
|
||||
<Icon icon="icon-gpx-1" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue