mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-28 12:36:41 +07:00
delete dialog
This commit is contained in:
parent
21532ba240
commit
cb3fabaf74
9 changed files with 85 additions and 29 deletions
|
@ -1,12 +1,12 @@
|
|||
import React from 'react';
|
||||
|
||||
const noPoints = ({ cancelDrawing }) => (
|
||||
<div className="router-helper">
|
||||
<div className="router-helper__text">
|
||||
<div className="helper router-helper">
|
||||
<div className="helper__text">
|
||||
<div className="big white">Укажите на карте первую точку маршрута</div>
|
||||
<div className="small gray">Путь прокладывается по улицам, тротуарам и тропинкам</div>
|
||||
</div>
|
||||
<div className="router-helper__buttons">
|
||||
<div className="helper__buttons">
|
||||
<div className="button router-helper__button" onClick={cancelDrawing}>
|
||||
Отмена
|
||||
</div>
|
||||
|
@ -15,12 +15,12 @@ const noPoints = ({ cancelDrawing }) => (
|
|||
);
|
||||
|
||||
const firstPoint = ({ cancelDrawing }) => (
|
||||
<div className="router-helper">
|
||||
<div className="router-helper__text">
|
||||
<div className="helper router-helper">
|
||||
<div className="helper__text">
|
||||
<div className="big white">Укажите на карте конечную точку маршрута</div>
|
||||
<div className="small gray"> Вы сможете добавить уточняющие точки</div>
|
||||
</div>
|
||||
<div className="router-helper__buttons">
|
||||
<div className="helper__buttons">
|
||||
<div className="button router-helper__button" onClick={cancelDrawing}>
|
||||
Отмена
|
||||
</div>
|
||||
|
@ -29,12 +29,12 @@ const firstPoint = ({ cancelDrawing }) => (
|
|||
);
|
||||
|
||||
const draggablePoints = ({ cancelDrawing, submitDrawing }) => (
|
||||
<div className="router-helper">
|
||||
<div className="router-helper__text">
|
||||
<div className="helper router-helper">
|
||||
<div className="helper__text">
|
||||
<div className="big white">Продолжите маршрут, щелкая по карте</div>
|
||||
<div className="small gray">Потяните линию, чтобы указать промежуточные точки</div>
|
||||
</div>
|
||||
<div className="router-helper__buttons button-group">
|
||||
<div className="helper__buttons button-group">
|
||||
<div className="button button_red router-helper__button" onClick={cancelDrawing}>
|
||||
Отмена
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue