DmitrMakeev
commited on
Commit
•
4685308
1
Parent(s):
7e9f622
Update biz_v.html
Browse files- biz_v.html +209 -206
biz_v.html
CHANGED
@@ -6,218 +6,222 @@
|
|
6 |
<title>API Request</title>
|
7 |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/notyf/notyf.min.css">
|
8 |
<style>
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
h1 {
|
17 |
-
background-color: #4CAF50;
|
18 |
-
color: white;
|
19 |
-
padding: 20px;
|
20 |
-
margin: 0;
|
21 |
-
border-bottom: 2px solid #388E3C;
|
22 |
-
font-size: 28px;
|
23 |
-
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
24 |
-
}
|
25 |
-
.container {
|
26 |
-
display: flex;
|
27 |
-
justify-content: space-around;
|
28 |
-
margin-top: 20px;
|
29 |
-
}
|
30 |
-
.block {
|
31 |
-
width: 45%;
|
32 |
-
text-align: left;
|
33 |
-
background-color: white;
|
34 |
-
padding: 20px;
|
35 |
-
border-radius: 10px;
|
36 |
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
37 |
-
}
|
38 |
-
.form-group {
|
39 |
-
margin: 20px 0;
|
40 |
-
}
|
41 |
-
.form-group label {
|
42 |
-
display: block;
|
43 |
-
margin-bottom: 8px;
|
44 |
-
font-size: 16px;
|
45 |
-
}
|
46 |
-
.form-group input,
|
47 |
-
.form-group select {
|
48 |
-
width: 100%;
|
49 |
-
padding: 12px;
|
50 |
-
font-size: 16px;
|
51 |
-
border: 1px solid #ccc;
|
52 |
-
border-radius: 5px;
|
53 |
-
box-sizing: border-box;
|
54 |
-
}
|
55 |
-
button {
|
56 |
-
display: block;
|
57 |
-
margin: 20px auto;
|
58 |
-
color: white;
|
59 |
-
background-color: #4CAF50;
|
60 |
-
border: none;
|
61 |
-
cursor: pointer;
|
62 |
-
padding: 12px 24px;
|
63 |
-
font-size: 16px;
|
64 |
-
border-radius: 5px;
|
65 |
-
transition: background-color 0.3s ease;
|
66 |
-
}
|
67 |
-
button:hover {
|
68 |
-
background-color: #388E3C;
|
69 |
-
}
|
70 |
-
.input-row {
|
71 |
-
display: flex;
|
72 |
-
justify-content: center;
|
73 |
-
gap: 10px;
|
74 |
-
margin-top: 20px;
|
75 |
-
}
|
76 |
-
.input-row input[type="file"] {
|
77 |
-
padding: 10px;
|
78 |
-
font-size: 16px;
|
79 |
-
border: 1px solid #ccc;
|
80 |
-
border-radius: 5px;
|
81 |
-
}
|
82 |
-
.input-row input[type="checkbox"] {
|
83 |
-
margin-top: 5px;
|
84 |
-
}
|
85 |
-
.input-row label {
|
86 |
-
display: flex;
|
87 |
-
align-items: center;
|
88 |
-
color: #4CAF50;
|
89 |
-
font-size: 16px;
|
90 |
-
}
|
91 |
-
#uploadButton {
|
92 |
-
color: white;
|
93 |
-
background-color: #4CAF50;
|
94 |
-
border: none;
|
95 |
-
cursor: pointer;
|
96 |
-
padding: 10px 20px;
|
97 |
-
font-size: 16px;
|
98 |
-
border-radius: 5px;
|
99 |
-
margin-top: 20px;
|
100 |
-
display: block;
|
101 |
-
margin-left: auto;
|
102 |
-
margin-right: auto;
|
103 |
-
}
|
104 |
-
#uploadButton:hover {
|
105 |
-
background-color: #388E3C;
|
106 |
-
}
|
107 |
-
/* Центрирование заголовков блоков */
|
108 |
-
.block h2 {
|
109 |
-
text-align: center;
|
110 |
-
}
|
111 |
-
/* Custom Checkbox Styles */
|
112 |
-
.container-checkbox {
|
113 |
-
color: #000000;
|
114 |
-
display: block;
|
115 |
-
position: relative;
|
116 |
-
padding-left: 35px;
|
117 |
-
margin-bottom: 12px;
|
118 |
-
cursor: pointer;
|
119 |
-
font-size: 16px;
|
120 |
-
-webkit-user-select: none;
|
121 |
-
-moz-user-select: none;
|
122 |
-
-ms-user-select: none;
|
123 |
-
user-select: none;
|
124 |
-
}
|
125 |
-
.container-checkbox input {
|
126 |
-
position: absolute;
|
127 |
-
opacity: 0;
|
128 |
-
cursor: pointer;
|
129 |
-
height: 0;
|
130 |
-
width: 0;
|
131 |
-
}
|
132 |
-
.checkmark {
|
133 |
-
position: absolute;
|
134 |
-
top: 0;
|
135 |
-
left: 0;
|
136 |
-
height: 25px;
|
137 |
-
width: 25px;
|
138 |
-
background-color: #eee;
|
139 |
-
}
|
140 |
-
.container-checkbox:hover input ~ .checkmark {
|
141 |
-
background-color: #ccc;
|
142 |
-
}
|
143 |
-
.container-checkbox input:checked ~ .checkmark {
|
144 |
-
background-color: #4CAF50;
|
145 |
-
}
|
146 |
-
.checkmark:after {
|
147 |
-
content: "";
|
148 |
-
position: absolute;
|
149 |
-
display: none;
|
150 |
-
}
|
151 |
-
.container-checkbox input:checked ~ .checkmark:after {
|
152 |
-
display: block;
|
153 |
-
}
|
154 |
-
.container-checkbox .checkmark:after {
|
155 |
-
left: 9px;
|
156 |
-
top: 5px;
|
157 |
-
width: 5px;
|
158 |
-
height: 10px;
|
159 |
-
border: solid white;
|
160 |
-
border-width: 0 3px 3px 0;
|
161 |
-
-webkit-transform: rotate(45deg);
|
162 |
-
-ms-transform: rotate(45deg);
|
163 |
-
transform: rotate(45deg);
|
164 |
-
}
|
165 |
-
/* Стили для input[type="date"] */
|
166 |
-
input[type="date"] {
|
167 |
-
background-color: #4CAF50;
|
168 |
-
color: white;
|
169 |
-
padding: 12px;
|
170 |
-
font-size: 16px;
|
171 |
-
border: none;
|
172 |
-
border-radius: 5px;
|
173 |
-
width: 100%;
|
174 |
-
box-sizing: border-box;
|
175 |
-
}
|
176 |
-
::-webkit-calendar-picker-indicator {
|
177 |
-
background-color: white;
|
178 |
-
padding: 5px;
|
179 |
-
cursor: pointer;
|
180 |
-
border-radius: 3px;
|
181 |
-
}
|
182 |
-
/* Стили для выпадающего списка */
|
183 |
-
#dropdown {
|
184 |
-
width: 100%;
|
185 |
-
padding: 12px;
|
186 |
-
font-size: 16px;
|
187 |
-
border: 1px solid #ccc;
|
188 |
-
border-radius: 5px;
|
189 |
-
box-sizing: border-box;
|
190 |
-
margin-bottom: 20px;
|
191 |
-
}
|
192 |
-
#uploadButtonJson {
|
193 |
-
color: white;
|
194 |
-
background-color: #4CAF50;
|
195 |
-
border: none;
|
196 |
-
cursor: pointer;
|
197 |
-
padding: 10px 20px;
|
198 |
-
font-size: 16px;
|
199 |
-
border-radius: 5px;
|
200 |
-
margin-top: 20px;
|
201 |
-
display: block;
|
202 |
-
margin-left: auto;
|
203 |
-
margin-right: auto;
|
204 |
-
}
|
205 |
-
#uploadButtonJson:hover {
|
206 |
-
background-color: #388E3C;
|
207 |
-
}
|
208 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
|
210 |
-
|
211 |
-
|
|
|
212 |
margin-top: 20px;
|
213 |
}
|
214 |
|
215 |
-
.block
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
display: flex;
|
217 |
-
|
218 |
-
|
|
|
|
|
|
|
|
|
|
|
219 |
font-size: 16px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
color: #4CAF50;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
}
|
222 |
|
223 |
.block form#uploadFormJson input[type="file"] {
|
@@ -225,7 +229,6 @@
|
|
225 |
font-size: 16px;
|
226 |
border: 1px solid #ccc;
|
227 |
border-radius: 5px;
|
228 |
-
margin-right: 10px;
|
229 |
}
|
230 |
|
231 |
#uploadButtonJson {
|
@@ -237,7 +240,7 @@
|
|
237 |
font-size: 16px;
|
238 |
border-radius: 5px;
|
239 |
display: inline-block;
|
240 |
-
margin-
|
241 |
transition: background-color 0.3s ease;
|
242 |
}
|
243 |
|
|
|
6 |
<title>API Request</title>
|
7 |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/notyf/notyf.min.css">
|
8 |
<style>
|
9 |
+
body {
|
10 |
+
font-family: Arial, sans-serif;
|
11 |
+
text-align: center;
|
12 |
+
background-color: #f0f0f0;
|
13 |
+
margin: 0;
|
14 |
+
padding: 0;
|
15 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
+
h1 {
|
18 |
+
background-color: #4CAF50;
|
19 |
+
color: white;
|
20 |
+
padding: 20px;
|
21 |
+
margin: 0;
|
22 |
+
border-bottom: 2px solid #388E3C;
|
23 |
+
font-size: 28px;
|
24 |
+
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
25 |
+
}
|
26 |
|
27 |
+
.container {
|
28 |
+
display: flex;
|
29 |
+
justify-content: space-around;
|
30 |
margin-top: 20px;
|
31 |
}
|
32 |
|
33 |
+
.block {
|
34 |
+
width: 45%;
|
35 |
+
text-align: left;
|
36 |
+
background-color: white;
|
37 |
+
padding: 20px;
|
38 |
+
border-radius: 10px;
|
39 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
40 |
+
}
|
41 |
+
|
42 |
+
.form-group {
|
43 |
+
margin: 20px 0;
|
44 |
+
}
|
45 |
+
|
46 |
+
.form-group label {
|
47 |
+
display: block;
|
48 |
+
margin-bottom: 8px;
|
49 |
+
font-size: 16px;
|
50 |
+
}
|
51 |
+
|
52 |
+
.form-group input,
|
53 |
+
.form-group select {
|
54 |
+
width: 100%;
|
55 |
+
padding: 12px;
|
56 |
+
font-size: 16px;
|
57 |
+
border: 1px solid #ccc;
|
58 |
+
border-radius: 5px;
|
59 |
+
box-sizing: border-box;
|
60 |
+
}
|
61 |
+
|
62 |
+
button {
|
63 |
+
display: block;
|
64 |
+
margin: 20px auto;
|
65 |
+
color: white;
|
66 |
+
background-color: #4CAF50;
|
67 |
+
border: none;
|
68 |
+
cursor: pointer;
|
69 |
+
padding: 12px 24px;
|
70 |
+
font-size: 16px;
|
71 |
+
border-radius: 5px;
|
72 |
+
transition: background-color 0.3s ease;
|
73 |
+
}
|
74 |
+
|
75 |
+
button:hover {
|
76 |
+
background-color: #388E3C;
|
77 |
+
}
|
78 |
+
|
79 |
+
.input-row {
|
80 |
display: flex;
|
81 |
+
justify-content: center;
|
82 |
+
gap: 10px;
|
83 |
+
margin-top: 20px;
|
84 |
+
}
|
85 |
+
|
86 |
+
.input-row input[type="file"] {
|
87 |
+
padding: 10px;
|
88 |
font-size: 16px;
|
89 |
+
border: 1px solid #ccc;
|
90 |
+
border-radius: 5px;
|
91 |
+
}
|
92 |
+
|
93 |
+
.input-row input[type="checkbox"] {
|
94 |
+
margin-top: 5px;
|
95 |
+
}
|
96 |
+
|
97 |
+
.input-row label {
|
98 |
+
display: flex;
|
99 |
+
align-items: center;
|
100 |
color: #4CAF50;
|
101 |
+
font-size: 16px;
|
102 |
+
}
|
103 |
+
|
104 |
+
#uploadButton {
|
105 |
+
color: white;
|
106 |
+
background-color: #4CAF50;
|
107 |
+
border: none;
|
108 |
+
cursor: pointer;
|
109 |
+
padding: 10px 20px;
|
110 |
+
font-size: 16px;
|
111 |
+
border-radius: 5px;
|
112 |
+
margin-top: 20px;
|
113 |
+
display: block;
|
114 |
+
margin-left: auto;
|
115 |
+
margin-right: auto;
|
116 |
+
}
|
117 |
+
|
118 |
+
#uploadButton:hover {
|
119 |
+
background-color: #388E3C;
|
120 |
+
}
|
121 |
+
|
122 |
+
/* Центрирование заголовков блоков */
|
123 |
+
.block h2 {
|
124 |
+
text-align: center;
|
125 |
+
}
|
126 |
+
|
127 |
+
/* Custom Checkbox Styles */
|
128 |
+
.container-checkbox {
|
129 |
+
color: #000000;
|
130 |
+
display: block;
|
131 |
+
position: relative;
|
132 |
+
padding-left: 35px;
|
133 |
+
margin-bottom: 12px;
|
134 |
+
cursor: pointer;
|
135 |
+
font-size: 16px;
|
136 |
+
-webkit-user-select: none;
|
137 |
+
-moz-user-select: none;
|
138 |
+
-ms-user-select: none;
|
139 |
+
user-select: none;
|
140 |
+
}
|
141 |
+
|
142 |
+
.container-checkbox input {
|
143 |
+
position: absolute;
|
144 |
+
opacity: 0;
|
145 |
+
cursor: pointer;
|
146 |
+
height: 0;
|
147 |
+
width: 0;
|
148 |
+
}
|
149 |
+
|
150 |
+
.checkmark {
|
151 |
+
position: absolute;
|
152 |
+
top: 0;
|
153 |
+
left: 0;
|
154 |
+
height: 25px;
|
155 |
+
width: 25px;
|
156 |
+
background-color: #eee;
|
157 |
+
}
|
158 |
+
|
159 |
+
.container-checkbox:hover input ~ .checkmark {
|
160 |
+
background-color: #ccc;
|
161 |
+
}
|
162 |
+
|
163 |
+
.container-checkbox input:checked ~ .checkmark {
|
164 |
+
background-color: #4CAF50;
|
165 |
+
}
|
166 |
+
|
167 |
+
.checkmark:after {
|
168 |
+
content: "";
|
169 |
+
position: absolute;
|
170 |
+
display: none;
|
171 |
+
}
|
172 |
+
|
173 |
+
.container-checkbox input:checked ~ .checkmark:after {
|
174 |
+
display: block;
|
175 |
+
}
|
176 |
+
|
177 |
+
.container-checkbox .checkmark:after {
|
178 |
+
left: 9px;
|
179 |
+
top: 5px;
|
180 |
+
width: 5px;
|
181 |
+
height: 10px;
|
182 |
+
border: solid white;
|
183 |
+
border-width: 0 3px 3px 0;
|
184 |
+
-webkit-transform: rotate(45deg);
|
185 |
+
-ms-transform: rotate(45deg);
|
186 |
+
transform: rotate(45deg);
|
187 |
+
}
|
188 |
+
|
189 |
+
/* Стили для input[type="date"] */
|
190 |
+
input[type="date"] {
|
191 |
+
background-color: #4CAF50;
|
192 |
+
color: white;
|
193 |
+
padding: 12px;
|
194 |
+
font-size: 16px;
|
195 |
+
border: none;
|
196 |
+
border-radius: 5px;
|
197 |
+
width: 100%;
|
198 |
+
box-sizing: border-box;
|
199 |
+
}
|
200 |
+
|
201 |
+
::-webkit-calendar-picker-indicator {
|
202 |
+
background-color: white;
|
203 |
+
padding: 5px;
|
204 |
+
cursor: pointer;
|
205 |
+
border-radius: 3px;
|
206 |
+
}
|
207 |
+
|
208 |
+
/* Стили для выпадающего списка */
|
209 |
+
#dropdown {
|
210 |
+
width: 100%;
|
211 |
+
padding: 12px;
|
212 |
+
font-size: 16px;
|
213 |
+
border: 1px solid #ccc;
|
214 |
+
border-radius: 5px;
|
215 |
+
box-sizing: border-box;
|
216 |
+
margin-bottom: 20px;
|
217 |
+
}
|
218 |
+
|
219 |
+
/* Стили для формы загрузки JSON */
|
220 |
+
.block form#uploadFormJson {
|
221 |
+
display: flex;
|
222 |
+
flex-direction: column;
|
223 |
+
align-items: center;
|
224 |
+
margin-top: 20px;
|
225 |
}
|
226 |
|
227 |
.block form#uploadFormJson input[type="file"] {
|
|
|
229 |
font-size: 16px;
|
230 |
border: 1px solid #ccc;
|
231 |
border-radius: 5px;
|
|
|
232 |
}
|
233 |
|
234 |
#uploadButtonJson {
|
|
|
240 |
font-size: 16px;
|
241 |
border-radius: 5px;
|
242 |
display: inline-block;
|
243 |
+
margin-top: 10px;
|
244 |
transition: background-color 0.3s ease;
|
245 |
}
|
246 |
|