-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuestion.html
More file actions
100 lines (96 loc) · 5.42 KB
/
Copy pathQuestion.html
File metadata and controls
100 lines (96 loc) · 5.42 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./css/Question.css">
<title>Document</title>
</head>
<body>
<div class="navbarzac">
<nav class="navbar navbar-expand-lg bg-body-tertiary" style="padding: 0;">
<div class="container-fluid FFFF">
<a class="navbar-brand gradient" href="#" style="font-size: 25px;">DevicePcShop</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html" style="color:white; font-size: 20px;">Головна</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false" style="color:white; font-size: 20px;">
Товари
</a>
<ul class="dropdown-menu">
<li><a href="./productsAll.html" class="dropdown-item">Усі</a></li>
<li><a href="./ProductsPromotions.html" class="dropdown-item">Акції</a></li>
<li><a class="dropdown-item" href="./productsKeyboard.html">Клавіатура</a></li>
<li><a class="dropdown-item" href="./productsMouse.html">Мишка</a></li>
<li><a class="dropdown-item" href="./productsHeadphones.html">Навушники</a></li>
<li><a class="dropdown-item" href="./productsSpeakers.html">Колонки</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="./products System blocks.html">Системні блоки</a></li>
<li><a class="dropdown-item" href="./productsLaptops.html">Ноутбуки</a></li>
<li><a class="dropdown-item" href="./productsMonitors.html">Монітори</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="./Question.html" style="color:white; font-size: 20px;">Питання</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link disabled" aria-disabled="true" style="color:white;">Disabled</a>
</li> -->
</ul>
<form class="d-flex" role="search">
<input class="form-control me-2" type="search" placeholder="Пошук" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Пошук</button>
</form>
</div>
</div>
</nav>
</div>
<div class="hon">
<div class="divzapit">
<div class="form-floating Question write1" >
<textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea"></textarea>
<label for="floatingTextarea">ім'я</label>
</div>
<div class="form-floating Question write">
<textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea"></textarea>
<label for="floatingTextarea">Телефон</label>
</div>
<div class="form-floating Question BigQues write">
<textarea class="form-control Zopit " placeholder="Leave a comment here" id="floatingTextarea2" style="height: 50px"></textarea>
<label for="floatingTextarea2" class="Zapit">Запитання</label>
</div>
<button type="button" class="btn btn-success btnQuestion" id="liveToastBtn" >Надіслати</button>
<div class="toast-container position-fixed bottom-0 end-0 p-3">
<div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header">
<strong class="me-auto">DevicePcShop</strong>
<small>11 mins ago</small>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body">
Запитання відправлено
</div>
</div>
</div>
</div>
</div>
<script>
const toastTrigger = document.getElementById('liveToastBtn')
const toastLiveExample = document.getElementById('liveToast')
if (toastTrigger) {
const toastBootstrap = bootstrap.Toast.getOrCreateInstance(toastLiveExample)
toastTrigger.addEventListener('click', () => {
toastBootstrap.show()
})
}
</script>
</body>
</html>