-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
109 lines (91 loc) · 4.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="./lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
<script src="https://maps.api.2gis.ru/2.0/loader.js?pkg=full"></script>
<title>Hello, world!</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light ">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup"
aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-between" id="navbarNavAltMarkup">
<ul class="navbar-nav">
<li><a class="navbar-brand" href="#">
<img src="./img/logo.png" height="30" alt="">
</a></li>
<li><a class="nav-item nav-link active" href="#" onclick="hideSideMenu()">Главная<span class="sr-only">(current)</span></a>
</li>
<li><a class="nav-item nav-link" href="#" onclick="showSideMenu()">Оставить заявку</a></li>
<li><a class="nav-item nav-link" href="#orders">Заказы</a></li>
</ul>
<ul class="navbar-nav" style="margin-right: 15%;">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="" id="dateTimeLink" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Dropdown link
</a>
<div class="dropdown-menu" aria-labelledby="dateTimeLink" id="carInfo">
<a class="dropdown-item carInfo" href="#">Машина 1: СКЛАД через 15 минут</a>
<a class="dropdown-item carInfo" href="#"></a>
</div>
</li>
</ul>
</div>
</nav>
<div class="content">
<div id="leaveRequest">
<h1>Оставьте заявку!</h1>
<form onsubmit="event.preventDefault();">
<label>Вы хотите...</label> <br>
<div class=" form-check-inline">
<input class="form-check-input" type="radio" name="whatYouWant" id="wantToBuy" value="buy" checked>
<label class="form-check-label" for="wantToBuy"> Купить </label>
<input class="form-check-input" type="radio" name="whatYouWant" id="wantToSell" value="sell">
<label class="form-check-label" for="wantToSell"> Продать </label>
</div>
<div class="form-group">
<label for="chooseMaterial">Выберите тип вторсырья</label>
<select class="form-control" id="chooseMaterial">
<option>Стекло</option>
<option>Пластик</option>
<option>Бумага</option>
<option>Металл</option>
</select>
</div>
<div class="form-group">
<label for="choosePrice">Введите стоимость за килограмм</label>
<input type="number" class="form-control" id="choosePrice" placeholder="Введите..">
</div>
<label>Выберите способ доставки...</label> <br>
<div class=" form-check-inline">
<input class="form-check-input" type="radio" name="delivery" id="take" value="Самовывоз" checked>
<label class="form-check-label" for="take">Самовывоз </label>
<input class="form-check-input" type="radio" name="delivery" id="deliver" value="Доставка" >
<label class="form-check-label" for="deliver">Доставка </label>
</div>
<br>
<a href="#" onclick="addUserMarker();">Выберите точку на карте</a>
<button class="btn btn-success" onclick="submitRequest();">Оставить заявку</button>
</form>
</div>
<div id="map"></div>
</div>
<div class="container info" id="orders">
<h1>Заказы</h1>
<div id="requests">
</div>
<!--<img src="./img/logoBig.jpg" width="600px">-->
</div>
<script src="script.js"></script>
<script src="./lib/jquery-3.4.1.min.js"></script>
<script src="./lib/bootstrap/js/bootstrap.bundle.js"></script>
</body>
</html>