Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95b7377781 | |||
| 05088d3934 | |||
| 1367d48428 | |||
| 93b25d3af8 | |||
| dc55e9080e | |||
| 0ef69acfc2 | |||
| 4833b4ba28 |
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
* text=auto eol=lf
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,7 +3,7 @@
|
|||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
*$py.class
|
*$py.class
|
||||||
|
errLogger.txt
|
||||||
# C extensions
|
# C extensions
|
||||||
*.so
|
*.so
|
||||||
|
|
||||||
|
|||||||
6
.prettierrc.json
Normal file
6
.prettierrc.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://json.schemastore.org/prettierrc",
|
||||||
|
"semi": false,
|
||||||
|
"singleQuote": true,
|
||||||
|
"printWidth": 100
|
||||||
|
}
|
||||||
6
.vscode/extensions.json
vendored
Normal file
6
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"Vue.volar",
|
||||||
|
"esbenp.prettier-vscode"
|
||||||
|
]
|
||||||
|
}
|
||||||
10
.vscode/settings.json
vendored
Normal file
10
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"explorer.fileNesting.enabled": true,
|
||||||
|
"explorer.fileNesting.patterns": {
|
||||||
|
"tsconfig.json": "tsconfig.*.json, env.d.ts",
|
||||||
|
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*",
|
||||||
|
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .oxlint*, oxlint*, .prettier*, prettier*, .editorconfig"
|
||||||
|
},
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
}
|
||||||
98
app.py
Normal file
98
app.py
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
from flask import Flask, render_template, request, jsonify
|
||||||
|
import datetime
|
||||||
|
import time
|
||||||
|
|
||||||
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
# хэндлеры ошибок
|
||||||
|
|
||||||
|
def file_logger(err_code, time, ifRequest):
|
||||||
|
with open('errLogger.txt', 'a') as r:
|
||||||
|
if err_code != 0:
|
||||||
|
r.write(f"Error {time} {err_code}\n")
|
||||||
|
else:
|
||||||
|
r.write(f"{time} {ifRequest}\n")
|
||||||
|
r.close()
|
||||||
|
|
||||||
|
|
||||||
|
@app.errorhandler(404)
|
||||||
|
def page_not_found(error):
|
||||||
|
'''handle 404'''
|
||||||
|
file_logger(error, datetime.datetime.now(), 'not a request')
|
||||||
|
return render_template('404.html'), 404
|
||||||
|
|
||||||
|
|
||||||
|
@app.errorhandler(500)
|
||||||
|
def internal_error(error):
|
||||||
|
'''handle 500'''
|
||||||
|
file_logger(error, datetime.datetime.now(), 'not a request')
|
||||||
|
return render_template('500.html'), 500
|
||||||
|
|
||||||
|
|
||||||
|
@app.errorhandler(429)
|
||||||
|
def request_timeout_error(error):
|
||||||
|
'''handle 429'''
|
||||||
|
file_logger(error, datetime.datetime.now(), 'not a request')
|
||||||
|
return render_template('408.html'), 429
|
||||||
|
|
||||||
|
|
||||||
|
@app.errorhandler(408)
|
||||||
|
def request_timeout_error(error):
|
||||||
|
'''handle 408'''
|
||||||
|
file_logger(error, datetime.datetime.now(), 'not a request')
|
||||||
|
return render_template('408.html'), 429
|
||||||
|
|
||||||
|
|
||||||
|
@app.errorhandler(Exception)
|
||||||
|
def internal_error(error):
|
||||||
|
'''handle unmatched'''
|
||||||
|
file_logger(error, datetime.datetime.now(), 'not a request')
|
||||||
|
return render_template('500.html'), 500
|
||||||
|
|
||||||
|
# основные маршруты
|
||||||
|
|
||||||
|
@app.route("/")
|
||||||
|
def ind():
|
||||||
|
return render_template('zayavka.html')
|
||||||
|
|
||||||
|
|
||||||
|
@app.route("/process", methods=['GET', 'POST'])
|
||||||
|
def prcs():
|
||||||
|
if request.method == 'POST':
|
||||||
|
try:
|
||||||
|
data22 = request.get_json()
|
||||||
|
print(data22)
|
||||||
|
except Exception as e:
|
||||||
|
print(f"Error: {e}.")
|
||||||
|
return render_template('zayavka.html')
|
||||||
|
|
||||||
|
|
||||||
|
@app.route("/sucseed")
|
||||||
|
def s():
|
||||||
|
try:
|
||||||
|
data223 = request.get_json()
|
||||||
|
print(data223)
|
||||||
|
except Exception as e:
|
||||||
|
print(f"Error: {e}.")
|
||||||
|
return render_template("end.html")
|
||||||
|
|
||||||
|
|
||||||
|
@app.route("/OK")
|
||||||
|
def ok():
|
||||||
|
return render_template("ok.html")
|
||||||
|
|
||||||
|
|
||||||
|
@app.route("/sendedData", methods=['POST'])
|
||||||
|
def answer():
|
||||||
|
try:
|
||||||
|
data223 = request.get_json()
|
||||||
|
print(data223)
|
||||||
|
time.sleep(3)
|
||||||
|
return jsonify({"status": "sucsess"})
|
||||||
|
except Exception as e:
|
||||||
|
print(f"Error: {e}")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
app.run(debug=True, port=4321)
|
||||||
57
index.html
Normal file
57
index.html
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link rel="icon" href="/favicon.ico">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Vite App</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<div class="wrapper">
|
||||||
|
<header class="header"></header>
|
||||||
|
|
||||||
|
<main class="main">
|
||||||
|
<div class="main-inner">
|
||||||
|
<form action="" method="post">
|
||||||
|
<label for="name">Имя</label>
|
||||||
|
<input type="text" name="name" id="name">
|
||||||
|
|
||||||
|
<label for="surname">Фамилия</label>
|
||||||
|
<input type="text" name="surname" id="surname">
|
||||||
|
|
||||||
|
<label for="otchestvo">Отчество</label>
|
||||||
|
<input type="text" name="otchestvo" id="otchestvo">
|
||||||
|
|
||||||
|
<label for="tel">Телефон</label>
|
||||||
|
<input type="tel" name="tel" id="tel">
|
||||||
|
|
||||||
|
<label for="email">Почта</label>
|
||||||
|
<input type="email" name="email" id="email">
|
||||||
|
|
||||||
|
<label for="inptGrp">Тип обращения</label>
|
||||||
|
<div class="inptGrp">
|
||||||
|
<label for="radio">Вставить ссылку на TaoBao</label>
|
||||||
|
<input type="radio" name="radio" id="radio1">
|
||||||
|
|
||||||
|
<label for="radio">Описать необходимый товар</label>
|
||||||
|
<input type="radio" name="radio" id="radio2">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="module" src="/src/main.ts"></script>
|
||||||
|
<script type="module" src="/src/case.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
1700
package-lock.json
generated
Normal file
1700
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
15
package.json
Normal file
15
package.json
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"dotenv": "^17.2.3",
|
||||||
|
"envy": "^3.0.0",
|
||||||
|
"fs": "^0.0.1-security",
|
||||||
|
"require": "^0.4.4"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"webpack": "^5.103.0",
|
||||||
|
"webpack-cli": "^6.0.1"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "webpack"
|
||||||
|
}
|
||||||
|
}
|
||||||
2
requirement.txt
Normal file
2
requirement.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
flask
|
||||||
|
pip
|
||||||
755
static/css/ZayavkaStyle.css
Normal file
755
static/css/ZayavkaStyle.css
Normal file
@@ -0,0 +1,755 @@
|
|||||||
|
*{
|
||||||
|
/* margin: 0; */
|
||||||
|
padding: 0;
|
||||||
|
background-color: var(--baseBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
body{
|
||||||
|
z-index: -10;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* */
|
||||||
|
/* */
|
||||||
|
|
||||||
|
/* */
|
||||||
|
input{
|
||||||
|
padding: 1% 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a, h1, h2, h3, h4, h5, h6, label{
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
label{
|
||||||
|
padding: 0 0 1% 2%;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
li{
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex{
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root{
|
||||||
|
--baseBlue: #242430;
|
||||||
|
--blue: #4D54BA;
|
||||||
|
--lightBlue: #54AAFF;
|
||||||
|
--white: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.baseBlue{
|
||||||
|
color: var(--baseBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.blue{
|
||||||
|
color: var(--blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.white{
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.lightBlue{
|
||||||
|
color: var(--lightBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.container{
|
||||||
|
padding: 0 10%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arial-regular{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arial-bald{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.f14{
|
||||||
|
/* font-size: 14px; */
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.colms{
|
||||||
|
flex-direction: column;
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.between{
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w100{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- */
|
||||||
|
|
||||||
|
|
||||||
|
.header-inner{
|
||||||
|
margin: 1.5% 0 0;
|
||||||
|
padding: 0 14%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerLi{
|
||||||
|
margin: 0% 1% 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* ----------- main ----------- */
|
||||||
|
.main{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputText{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputLink{
|
||||||
|
display: none;
|
||||||
|
margin-bottom: 3%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form1{
|
||||||
|
flex-direction: column;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.radio1Div{
|
||||||
|
flex-direction: row;
|
||||||
|
margin: 0 !important;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tel, #tg{
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 3%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.inputZ{
|
||||||
|
border-style: solid;
|
||||||
|
border-color: var(--blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.zayavkaH1{
|
||||||
|
font-size: 34px;
|
||||||
|
padding: 2% 0 4%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width{
|
||||||
|
width: 100%;
|
||||||
|
min-height: 25px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 2.5% 2.5% 2.5% 3%;
|
||||||
|
color: var(--white);
|
||||||
|
border-radius: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w1{
|
||||||
|
/* align-content: flex-start;
|
||||||
|
*/ display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width:focus, .inpt2:focus{
|
||||||
|
border-color: var(--lightBlue);
|
||||||
|
outline: var(--lightBlue);
|
||||||
|
color: var(--white);
|
||||||
|
padding-left: 2%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inpt2{
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.e1{
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 70%;
|
||||||
|
text-align: start;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 0 2%;
|
||||||
|
align-items: center;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#email{
|
||||||
|
margin-top: 5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#hide2{
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tgHover, #bt {
|
||||||
|
min-height: 70px;
|
||||||
|
border: var(--lightBlue) solid 2px;
|
||||||
|
text-align: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: var(--white);
|
||||||
|
width: 23vw;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
overflow: hidden;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
border-radius: 17px;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tgHover:after, #bt:after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
height: 100%;
|
||||||
|
width: 0; /* Начинаем с нулевой ширины */
|
||||||
|
background-color: var(--lightBlue);
|
||||||
|
transition: width 0.3s ease; /* Анимируем именно ширину */
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tgHover:hover:after, #bt:hover:after {
|
||||||
|
width: 100%; /* Расширяем до конца */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.e2{
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 70%;
|
||||||
|
margin: 0 !important;
|
||||||
|
text-align: start;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#or{
|
||||||
|
padding: 0;
|
||||||
|
margin: 0 0 1.5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ent{
|
||||||
|
width: 23vw;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e3{
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 70%;
|
||||||
|
margin: 0 !important;
|
||||||
|
text-align: start;
|
||||||
|
float: left;
|
||||||
|
padding: 0 0 1%;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"] {
|
||||||
|
accent-color: var(--blue);
|
||||||
|
margin: 0 2% 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tel{
|
||||||
|
width: 20vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
select option{
|
||||||
|
padding: 0 !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
select{
|
||||||
|
padding: 0 !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
/* border: #4D54BA; */
|
||||||
|
border-top: 2px solid #4D54BA;
|
||||||
|
border-bottom: 2px solid #4D54BA;
|
||||||
|
border-left: 2px solid #4D54BA;
|
||||||
|
border-right: none;
|
||||||
|
color: var(--white);
|
||||||
|
min-height: 26px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
#telind{
|
||||||
|
width: 3vw;
|
||||||
|
min-height: 25px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#l1{
|
||||||
|
padding-left: 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkTao{
|
||||||
|
width: 100%;
|
||||||
|
min-height: 25px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 1.2%;
|
||||||
|
border-radius: 13px;
|
||||||
|
|
||||||
|
/* margin: 0 0 3%; */
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkItem{
|
||||||
|
width: 100%;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
box-sizing: border-box;
|
||||||
|
min-height: 185px;
|
||||||
|
padding: 2% 1.3%;
|
||||||
|
margin-top: 1%;
|
||||||
|
|
||||||
|
border-radius: 15px;
|
||||||
|
|
||||||
|
/* display: none; */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* .btn{
|
||||||
|
padding: 0.8% 2%;
|
||||||
|
border-radius: 5px;
|
||||||
|
border-color: var(--lightBlue);
|
||||||
|
color: var(--white);
|
||||||
|
margin: 2% 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn:hover{
|
||||||
|
background-color: var(--lightBlue);
|
||||||
|
color: var(--baseBlue);
|
||||||
|
transition: .7s;
|
||||||
|
} */
|
||||||
|
|
||||||
|
.ptg{
|
||||||
|
margin: 0 0 2px 2%;
|
||||||
|
margin-bottom: 2px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkUnderneath, #linkUnderneath1{
|
||||||
|
padding: 0;
|
||||||
|
margin: 7px 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.under{
|
||||||
|
margin: 0;
|
||||||
|
padding: 2% 0 0 0;
|
||||||
|
color: var(--lightBlue);
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ----------- footer ------------- */
|
||||||
|
.notiInnner{
|
||||||
|
display: flex;
|
||||||
|
background-color: var(--blue);
|
||||||
|
text-align: center;
|
||||||
|
justify-content: center;
|
||||||
|
border: var(--white) solid 1px;
|
||||||
|
border-radius: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerP, .footerA{
|
||||||
|
background-color: var(--blue);
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerP{
|
||||||
|
padding: 0 2%;
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerA{
|
||||||
|
color: #a9d4ff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer{
|
||||||
|
text-align: center;
|
||||||
|
margin: 3% 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------------------------------- @media ---------------------------------- */
|
||||||
|
|
||||||
|
/* Small Mobile: 320px - 425px (for older or compact smartphones)*/
|
||||||
|
/* Modern Mobile: 375px - 575px (for modern smartphones)*/
|
||||||
|
/* Landscape Phones / Small Tablets: 576px - 767px*/
|
||||||
|
/* Tablets (Portrait): 768px - 991px*/
|
||||||
|
/* Laptops / Small Desktops: 992px - 1199px*/
|
||||||
|
/* Desktops: 1200px - 1400px (or higher)*/
|
||||||
|
/* Large Desktops / High-Resolution Screens: 1401px and above */
|
||||||
|
|
||||||
|
@media (min-width: 1921px) {
|
||||||
|
.container{
|
||||||
|
padding: 0 calc(100%/4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width, #tel {
|
||||||
|
width: 15vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tgHover, #bt{
|
||||||
|
width: 16vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ent p{
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ent{
|
||||||
|
width: 43%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1400px) and (min-width: 1200px) {
|
||||||
|
.container{
|
||||||
|
padding: 0 6%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* .input1Width {
|
||||||
|
width: 15vw;
|
||||||
|
} */
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1199px) and (min-width: 992px) {
|
||||||
|
.container{
|
||||||
|
padding: 0 7%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* .input1Width {
|
||||||
|
width: 15vw;
|
||||||
|
} */
|
||||||
|
|
||||||
|
.f14{
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 991px) and (min-width: 768px) {
|
||||||
|
|
||||||
|
input::placeholder, textarea::placeholder {
|
||||||
|
font-size:10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container{
|
||||||
|
padding: 0 7%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width, #inputLink {
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zayavkaH1{
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tgHover, #bt{
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ, .f14, .footerP, .footerA {
|
||||||
|
font-size: 10.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media (max-width: 767px) and (min-width: 576px) {
|
||||||
|
|
||||||
|
input::placeholder, textarea::placeholder {
|
||||||
|
font-size: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container{
|
||||||
|
padding: 0 7%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width, #inputLink {
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tgHover, #bt{
|
||||||
|
font-size: 10px;
|
||||||
|
min-height: 55px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zayavkaH1{
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ, .f14, .footerP, .footerA {
|
||||||
|
font-size: 9.5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logoIMG{
|
||||||
|
max-width: 75%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkItem{
|
||||||
|
min-height: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 575px) and (min-width: 426px) {
|
||||||
|
*{
|
||||||
|
padding: 0;
|
||||||
|
background-color: var(--baseBlue);
|
||||||
|
margin: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
input::placeholder, textarea::placeholder {
|
||||||
|
font-size: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container, .cont{
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e1 {
|
||||||
|
flex-direction: column;
|
||||||
|
text-align: start;
|
||||||
|
margin: 5% 0 0 0;
|
||||||
|
padding: 0 0 4%;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width, #inputLink {
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tgHover, #bt{
|
||||||
|
font-size: 14px;
|
||||||
|
width: 100%;
|
||||||
|
min-height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 3%;
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.colms, .input1Width{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zayavkaH1{
|
||||||
|
font-size: 1.3em;
|
||||||
|
padding: 4% 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ, .f14, .footerP, .footerA {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ{
|
||||||
|
margin: 0 0 1%;
|
||||||
|
padding: 1% 0 0.5% 2%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logoIMG{
|
||||||
|
max-width: 70%;
|
||||||
|
height: auto;
|
||||||
|
margin: 6% 0 4% -21%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkItem{
|
||||||
|
min-height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkTao{
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tel {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e3 {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 0 3%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v{
|
||||||
|
margin-bottom: 2% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.forDown{
|
||||||
|
margin-bottom: 3%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#email{
|
||||||
|
margin-top: 3%;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"] {
|
||||||
|
margin: 0 2% 2% 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn{
|
||||||
|
padding: 2%;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e1, .e2 {
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer{
|
||||||
|
margin: 5% 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerP{
|
||||||
|
padding: 0.5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#bt{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cont{
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 426px) and (min-width: 350px) {
|
||||||
|
.container{
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tgHover, #bt{
|
||||||
|
font-size: 12px;
|
||||||
|
width: 100%;
|
||||||
|
min-height: 42px;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zayavkaH1 {
|
||||||
|
font-size: 19px;
|
||||||
|
padding: 7% 0 8%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e1 {
|
||||||
|
flex-direction: column;
|
||||||
|
width: 70%;
|
||||||
|
text-align: start;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 0 4%;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width, #inputLink {
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 3%;
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.colms, .input1Width{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ, .f14, .footerP, .footerA {
|
||||||
|
font-size: 14px;
|
||||||
|
/* padding: 0 0 3%; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ{
|
||||||
|
margin: 0 0 5%;
|
||||||
|
padding: 1% 0 0.5% 2%;
|
||||||
|
margin-bottom: 3%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tel{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logoIMG{
|
||||||
|
max-width: 75%;
|
||||||
|
height: auto;
|
||||||
|
margin: 6% 0 0 -21%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkItem{
|
||||||
|
min-height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkTao{
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e3 {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 0 3%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v{
|
||||||
|
margin-bottom: 2% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"] {
|
||||||
|
margin: 0 2% 2% 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn{
|
||||||
|
padding: 2%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e1, .e2 {
|
||||||
|
width: 85%;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer{
|
||||||
|
margin: 8% 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerP{
|
||||||
|
padding: 1% 2%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#bt{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tgHover a{
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cont{
|
||||||
|
width: 86%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.forDown{
|
||||||
|
margin: 0 0 3%;
|
||||||
|
}
|
||||||
|
#email{
|
||||||
|
margin-top: 3%;
|
||||||
|
}
|
||||||
|
}
|
||||||
182
static/css/baseCSS.css
Normal file
182
static/css/baseCSS.css
Normal file
@@ -0,0 +1,182 @@
|
|||||||
|
*{
|
||||||
|
/* margin: 0; */
|
||||||
|
padding: 0;
|
||||||
|
background-color: var(--baseBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
a, h1, h2, h3, h4, h5, h6, label, p{
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
label{
|
||||||
|
padding: 0 0 1% 2%;
|
||||||
|
}
|
||||||
|
|
||||||
|
li{
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex{
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root{
|
||||||
|
--baseBlue: #242430;
|
||||||
|
--blue: #4D54BA;
|
||||||
|
--lightBlue: #54AAFF;
|
||||||
|
--white: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.baseBlue{
|
||||||
|
color: var(--baseBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.blue{
|
||||||
|
color: var(--blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.white{
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.lightBlue{
|
||||||
|
color: var(--lightBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.container{
|
||||||
|
padding: 0 7%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arial-regular{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arial-bald{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.f14{
|
||||||
|
/* font-size: 14px; */
|
||||||
|
font-size: 0.9rem;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.f16{
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.colms{
|
||||||
|
flex-direction: column;
|
||||||
|
margin: 0 !important
|
||||||
|
}
|
||||||
|
|
||||||
|
.between{
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w100{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w1-5
|
||||||
|
{
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
|
/* ---------------------- footer ----------------------- */
|
||||||
|
.footer-inner{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.right{
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerLI{
|
||||||
|
padding: 9% 2% 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* -------------------- header ----------------------*/
|
||||||
|
.pokazateli{
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-inner{
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select{
|
||||||
|
max-width: 8vw;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-1{
|
||||||
|
width: 9%;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-2{
|
||||||
|
width: 35%;
|
||||||
|
justify-content: space-between !important;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerUL{
|
||||||
|
justify-content: space-between !important;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
border: none;
|
||||||
|
width: 35%;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-3{
|
||||||
|
width: 30%;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#search-inpt{
|
||||||
|
border-radius: 30px;
|
||||||
|
border-color: var(--blue);
|
||||||
|
min-width: 22vw;
|
||||||
|
min-height: 2vw;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 3%;
|
||||||
|
border-style: solid;
|
||||||
|
background-color: var(--backBlue);
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-4{
|
||||||
|
width: 7%;
|
||||||
|
justify-content: space-around;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
color: var(--lightBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-5{
|
||||||
|
width: 10%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login{
|
||||||
|
background-color: var(--blue);
|
||||||
|
border: var(--blue) solid 1px;
|
||||||
|
padding: 6% 20%;
|
||||||
|
}
|
||||||
|
|
||||||
|
option{
|
||||||
|
font-size: 14px !important;
|
||||||
|
}
|
||||||
120
static/css/errorPages.css
Normal file
120
static/css/errorPages.css
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
*{
|
||||||
|
padding: 0;
|
||||||
|
background-color: var(--baseBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
a, h1, h2, h3, h4, h5, h6, label{
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex{
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root{
|
||||||
|
--baseBlue: #242430;
|
||||||
|
--blue: #4D54BA;
|
||||||
|
--lightBlue: #54AAFF;
|
||||||
|
--white: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wrapper{
|
||||||
|
min-height: 80vh;
|
||||||
|
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
justify-self: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.baseBlue{
|
||||||
|
color: var(--baseBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.blue{
|
||||||
|
color: var(--blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.white{
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.lightBlue{
|
||||||
|
color: var(--lightBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.container{
|
||||||
|
padding: 0 7%;
|
||||||
|
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
justify-self: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arial-regular{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arial-bald{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.f14{
|
||||||
|
/* font-size: 14px; */
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.column{
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------ ---------------------- ------------------------------ */
|
||||||
|
.fontCenter{
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
justify-self: center;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 160px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fontCenter1{
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
justify-self: center;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 39px;
|
||||||
|
padding: 0 0 4%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text{
|
||||||
|
width: 50%;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
justify-self: center;
|
||||||
|
align-items: center;
|
||||||
|
/* margin-top: 12vw; */
|
||||||
|
padding: 5%;
|
||||||
|
/* border: var(--blue) solid 3px;
|
||||||
|
border-radius: 20px; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.lilText{
|
||||||
|
font-size: 20px;
|
||||||
|
text-align: center;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.a1{
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
30
static/css/fonts.css
Normal file
30
static/css/fonts.css
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
.unbounded {
|
||||||
|
font-family: "Unbounded", sans-serif;
|
||||||
|
font-optical-sizing: auto;
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.onest{
|
||||||
|
font-family: "Onest", sans-serif;
|
||||||
|
font-optical-sizing: auto;
|
||||||
|
font-weight: 200;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.jetbrains-mono {
|
||||||
|
font-family: "JetBrains Mono", monospace;
|
||||||
|
font-optical-sizing: auto;
|
||||||
|
font-weight: 200;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
input::placeholder, textarea::placeholder, input, textarea {
|
||||||
|
font-family: "Onest", sans-serif;
|
||||||
|
font-optical-sizing: auto;
|
||||||
|
font-weight: 200;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
355
static/css/normalize.css
vendored
Normal file
355
static/css/normalize.css
vendored
Normal file
@@ -0,0 +1,355 @@
|
|||||||
|
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||||
|
|
||||||
|
/* Document
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the line height in all browsers.
|
||||||
|
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
||||||
|
*/
|
||||||
|
|
||||||
|
html {
|
||||||
|
line-height: 1.15; /* 1 */
|
||||||
|
-webkit-text-size-adjust: 100%; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sections
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the margin in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render the `main` element consistently in IE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
main {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct the font size and margin on `h1` elements within `section` and
|
||||||
|
* `article` contexts in Chrome, Firefox, and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2em;
|
||||||
|
margin: 0.67em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Grouping content
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Add the correct box sizing in Firefox.
|
||||||
|
* 2. Show the overflow in Edge and IE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
hr {
|
||||||
|
box-sizing: content-box; /* 1 */
|
||||||
|
height: 0; /* 1 */
|
||||||
|
overflow: visible; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||||
|
* 2. Correct the odd `em` font sizing in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
pre {
|
||||||
|
font-family: monospace, monospace; /* 1 */
|
||||||
|
font-size: 1em; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Text-level semantics
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the gray background on active links in IE 10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
a {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Remove the bottom border in Chrome 57-
|
||||||
|
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
abbr[title] {
|
||||||
|
border-bottom: none; /* 1 */
|
||||||
|
text-decoration: underline; /* 2 */
|
||||||
|
text-decoration: underline dotted; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add the correct font weight in Chrome, Edge, and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
b,
|
||||||
|
strong {
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||||
|
* 2. Correct the odd `em` font sizing in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
samp {
|
||||||
|
font-family: monospace, monospace; /* 1 */
|
||||||
|
font-size: 1em; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add the correct font size in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prevent `sub` and `sup` elements from affecting the line height in
|
||||||
|
* all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
sub,
|
||||||
|
sup {
|
||||||
|
font-size: 75%;
|
||||||
|
line-height: 0;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub {
|
||||||
|
bottom: -0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
sup {
|
||||||
|
top: -0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Embedded content
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the border on images inside links in IE 10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
img {
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Forms
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Change the font styles in all browsers.
|
||||||
|
* 2. Remove the margin in Firefox and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
input,
|
||||||
|
optgroup,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
font-family: inherit; /* 1 */
|
||||||
|
font-size: 100%; /* 1 */
|
||||||
|
line-height: 1.15; /* 1 */
|
||||||
|
margin: 0; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the overflow in IE.
|
||||||
|
* 1. Show the overflow in Edge.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
input {
|
||||||
|
/* 1 */
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
||||||
|
* 1. Remove the inheritance of text transform in Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
select {
|
||||||
|
/* 1 */
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct the inability to style clickable types in iOS and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
[type="button"],
|
||||||
|
[type="reset"],
|
||||||
|
[type="submit"] {
|
||||||
|
-webkit-appearance: button;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the inner border and padding in Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button::-moz-focus-inner,
|
||||||
|
[type="button"]::-moz-focus-inner,
|
||||||
|
[type="reset"]::-moz-focus-inner,
|
||||||
|
[type="submit"]::-moz-focus-inner {
|
||||||
|
border-style: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Restore the focus styles unset by the previous rule.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button:-moz-focusring,
|
||||||
|
[type="button"]:-moz-focusring,
|
||||||
|
[type="reset"]:-moz-focusring,
|
||||||
|
[type="submit"]:-moz-focusring {
|
||||||
|
outline: 1px dotted ButtonText;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct the padding in Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
padding: 0.35em 0.75em 0.625em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the text wrapping in Edge and IE.
|
||||||
|
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
||||||
|
* 3. Remove the padding so developers are not caught out when they zero out
|
||||||
|
* `fieldset` elements in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
legend {
|
||||||
|
box-sizing: border-box; /* 1 */
|
||||||
|
color: inherit; /* 2 */
|
||||||
|
display: table; /* 1 */
|
||||||
|
max-width: 100%; /* 1 */
|
||||||
|
padding: 0; /* 3 */
|
||||||
|
white-space: normal; /* 1 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
||||||
|
*/
|
||||||
|
|
||||||
|
progress {
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the default vertical scrollbar in IE 10+.
|
||||||
|
*/
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Add the correct box sizing in IE 10.
|
||||||
|
* 2. Remove the padding in IE 10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[type="checkbox"],
|
||||||
|
[type="radio"] {
|
||||||
|
box-sizing: border-box; /* 1 */
|
||||||
|
padding: 0; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct the cursor style of increment and decrement buttons in Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[type="number"]::-webkit-inner-spin-button,
|
||||||
|
[type="number"]::-webkit-outer-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the odd appearance in Chrome and Safari.
|
||||||
|
* 2. Correct the outline style in Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[type="search"] {
|
||||||
|
-webkit-appearance: textfield; /* 1 */
|
||||||
|
outline-offset: -2px; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the inner padding in Chrome and Safari on macOS.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[type="search"]::-webkit-search-decoration {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||||
|
* 2. Change font properties to `inherit` in Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
::-webkit-file-upload-button {
|
||||||
|
-webkit-appearance: button; /* 1 */
|
||||||
|
font: inherit; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Interactive
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Add the correct display in Edge, IE 10+, and Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
details {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Add the correct display in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
summary {
|
||||||
|
display: list-item;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Misc
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add the correct display in IE 10+.
|
||||||
|
*/
|
||||||
|
|
||||||
|
template {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add the correct display in IE 10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[hidden] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul,li{
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
17
static/css/spin.css
Normal file
17
static/css/spin.css
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#uploader{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.spin{
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
color: #4D54BA;
|
||||||
|
border: #54AAFF solid 5px;
|
||||||
|
border-radius: 10px;
|
||||||
|
animation: spin 4s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes spin {
|
||||||
|
0% { transform: rotate(0deg); }
|
||||||
|
100% { transform: rotate(360deg); }
|
||||||
|
}
|
||||||
459
static/css/style.css
Normal file
459
static/css/style.css
Normal file
@@ -0,0 +1,459 @@
|
|||||||
|
*{
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
background-color: var(--baseBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
a, h1, h2, h3, h4, h5, h6, label{
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
label{
|
||||||
|
padding: 0 0 1% 2%;
|
||||||
|
}
|
||||||
|
|
||||||
|
li{
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex{
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root{
|
||||||
|
--baseBlue: #242430;
|
||||||
|
--blue: #4D54BA;
|
||||||
|
--lightBlue: #54AAFF;
|
||||||
|
--white: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.baseBlue{
|
||||||
|
color: var(--baseBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.blue{
|
||||||
|
color: var(--blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.white{
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.lightBlue{
|
||||||
|
color: var(--lightBlue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.container{
|
||||||
|
padding: 0 7%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arial-regular{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arial-bald{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.f14{
|
||||||
|
/* font-size: 14px; */
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.colms{
|
||||||
|
flex-direction: column;
|
||||||
|
margin: 0 !important
|
||||||
|
}
|
||||||
|
|
||||||
|
.between{
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w100{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- */
|
||||||
|
|
||||||
|
.header-inner{
|
||||||
|
margin: 1% 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ----------- main ----------- */
|
||||||
|
.main{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputText{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputLink{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form1{
|
||||||
|
flex-direction: column;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.radio1Div{
|
||||||
|
flex-direction: row;
|
||||||
|
margin: 0 !important;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ{
|
||||||
|
border-style: solid;
|
||||||
|
border-color: var(--blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.zayavkaH1{
|
||||||
|
font-size: 24px;
|
||||||
|
padding: 2% 0 4%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width{
|
||||||
|
/* width: 325px; */
|
||||||
|
width: 23vw;
|
||||||
|
min-height: 25px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 3%;
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.w1{
|
||||||
|
/* align-content: flex-start;
|
||||||
|
*/ display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width:focus, .inpt2:focus{
|
||||||
|
border-color: var(--lightBlue);
|
||||||
|
outline: var(--lightBlue);
|
||||||
|
color: var(--white);
|
||||||
|
padding-left: 2%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inpt2{
|
||||||
|
color: var(--white);
|
||||||
|
padding-left: 3%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e1{
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 70%;
|
||||||
|
text-align: start;
|
||||||
|
float: left;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 0 4%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e2{
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 70%;
|
||||||
|
margin: 0 !important;
|
||||||
|
text-align: start;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e3{
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 70%;
|
||||||
|
margin: 0 !important;
|
||||||
|
text-align: start;
|
||||||
|
float: left;
|
||||||
|
padding: 0 0 1%;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"] {
|
||||||
|
accent-color: var(--blue);
|
||||||
|
margin: 0 2% 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l1{
|
||||||
|
padding-left: 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkTao{
|
||||||
|
width: 100%;
|
||||||
|
min-height: 25px;
|
||||||
|
/* display: none; */
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkItem{
|
||||||
|
width: 100%;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
box-sizing: border-box;
|
||||||
|
min-height: 250px;
|
||||||
|
/* display: none; */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn{
|
||||||
|
padding: 0.8% 2%;
|
||||||
|
border-radius: 5px;
|
||||||
|
border-color: var(--lightBlue);
|
||||||
|
color: var(--white);
|
||||||
|
margin: 4% 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn:hover{
|
||||||
|
background-color: var(--lightBlue);
|
||||||
|
color: var(--baseBlue);
|
||||||
|
transition: .7s;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------------------------------- @media ---------------------------------- */
|
||||||
|
|
||||||
|
/* Small Mobile: 320px - 425px (for older or compact smartphones)*/
|
||||||
|
/* Modern Mobile: 375px - 575px (for modern smartphones)*/
|
||||||
|
/* Landscape Phones / Small Tablets: 576px - 767px*/
|
||||||
|
/* Tablets (Portrait): 768px - 991px*/
|
||||||
|
/* Laptops / Small Desktops: 992px - 1199px*/
|
||||||
|
/* Desktops: 1200px - 1400px (or higher)*/
|
||||||
|
/* Large Desktops / High-Resolution Screens: 1401px and above */
|
||||||
|
|
||||||
|
@media (min-width: 1921px) {
|
||||||
|
.container{
|
||||||
|
padding: 0 calc(100%/4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width {
|
||||||
|
width: 15vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1400px) and (min-width: 1200px) {
|
||||||
|
.container{
|
||||||
|
padding: 0 6%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* .input1Width {
|
||||||
|
width: 15vw;
|
||||||
|
} */
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1199px) and (min-width: 992px) {
|
||||||
|
.container{
|
||||||
|
padding: 0 7%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* .input1Width {
|
||||||
|
width: 15vw;
|
||||||
|
} */
|
||||||
|
|
||||||
|
.f14{
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 991px) and (min-width: 768px) {
|
||||||
|
.container{
|
||||||
|
padding: 0 7%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width, #inputLink {
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zayavkaH1{
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ, .f14 {
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) and (min-width: 576px) {
|
||||||
|
.container{
|
||||||
|
padding: 0 7%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width, #inputLink {
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zayavkaH1{
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ, .f14 {
|
||||||
|
font-size: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logoIMG{
|
||||||
|
max-width: 15%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkItem{
|
||||||
|
min-height: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 575px) and (min-width: 375px) {
|
||||||
|
.container{
|
||||||
|
padding: 0 5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e1 {
|
||||||
|
flex-direction: column;
|
||||||
|
width: 70%;
|
||||||
|
text-align: start;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 0 4%;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width, #inputLink {
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 3%;
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.colms, .input1Width{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zayavkaH1{
|
||||||
|
font-size: 17px;
|
||||||
|
padding: 4% 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ, .f14 {
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ{
|
||||||
|
margin: 0 0 5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logoIMG{
|
||||||
|
max-width: 22%;
|
||||||
|
height: auto;
|
||||||
|
margin-top: 6%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkItem{
|
||||||
|
min-height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkTao{
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e3 {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 0 3%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v{
|
||||||
|
margin-bottom: 2% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"] {
|
||||||
|
margin: 0 2% 2% 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn{
|
||||||
|
padding: 2%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 425px) and (min-width: 350px) {
|
||||||
|
.container{
|
||||||
|
padding: 0 2%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e1 {
|
||||||
|
flex-direction: column;
|
||||||
|
width: 70%;
|
||||||
|
text-align: start;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 0 4%;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width, #inputLink {
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input1Width {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 3%;
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.colms, .input1Width{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zayavkaH1{
|
||||||
|
font-size: 17px;
|
||||||
|
padding: 4% 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ, .f14 {
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputZ{
|
||||||
|
margin: 0 0 5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logoIMG{
|
||||||
|
max-width: 22%;
|
||||||
|
height: auto;
|
||||||
|
margin: 6% 0 0 6%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkItem{
|
||||||
|
min-height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#linkTao{
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.e3 {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 0 3%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v{
|
||||||
|
margin-bottom: 2% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"] {
|
||||||
|
margin: 0 2% 2% 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn{
|
||||||
|
padding: 2%;
|
||||||
|
}
|
||||||
|
}
|
||||||
3
static/imgs/cart.svg
Normal file
3
static/imgs/cart.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M3.97462 3.98196H21.8223L19.5914 13.6733H6.20558M19.5914 16.6553H6.94923L3.23096 1H1M19.5913 19.6373C19.5913 20.4607 18.9255 21.1282 18.104 21.1282C17.2826 21.1282 16.6167 20.4607 16.6167 19.6373C16.6167 18.8138 17.2826 18.1463 18.104 18.1463C18.9255 18.1463 19.5913 18.8138 19.5913 19.6373ZM9.92387 19.6373C9.92387 20.4607 9.25798 21.1282 8.43656 21.1282C7.61514 21.1282 6.94925 20.4607 6.94925 19.6373C6.94925 18.8138 7.61514 18.1463 8.43656 18.1463C9.25798 18.1463 9.92387 18.8138 9.92387 19.6373Z" stroke="#4D54BA" stroke-width="1.38815" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 703 B |
3
static/imgs/heart.svg
Normal file
3
static/imgs/heart.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M7.58317 3.25C4.59209 3.25 2.1665 5.65067 2.1665 8.6125C2.1665 11.0034 3.11442 16.6779 12.4452 22.4142C12.6123 22.5159 12.8042 22.5697 12.9998 22.5697C13.1955 22.5697 13.3874 22.5159 13.5545 22.4142C22.8853 16.6779 23.8332 11.0034 23.8332 8.6125C23.8332 5.65067 21.4076 3.25 18.4165 3.25C15.4254 3.25 12.9998 6.5 12.9998 6.5C12.9998 6.5 10.5743 3.25 7.58317 3.25Z" stroke="#4D54BA" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 560 B |
4
static/imgs/logo.svg
Normal file
4
static/imgs/logo.svg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<svg width="121" height="43" viewBox="0 0 121 43" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M14.0273 31.2578V34H2.88281V13.8555L14.0273 13.8203V16.3516H5.55469V20.7109H14.0273V23.2422H5.55469V31.2578H14.0273ZM28.3008 16.457H22.6055V31.4688H30.6562V34H19.793V13.8555H30.9375V19.5859H28.3008V16.457ZM39.375 31.2578H45.0352V16.3867H39.375V31.2578ZM36.7031 34V13.8555H47.8477V34H36.7031ZM63.442 22.288L64.018 25.456V34H61.618V22.288H63.442ZM63.658 26.44L63.082 26.176V24.424L63.298 24.16C63.458 23.872 63.706 23.568 64.042 23.248C64.394 22.912 64.802 22.632 65.266 22.408C65.73 22.168 66.202 22.048 66.682 22.048C66.922 22.048 67.146 22.064 67.354 22.096C67.578 22.128 67.746 22.184 67.858 22.264V24.424H67.114C66.026 24.424 65.234 24.592 64.738 24.928C64.242 25.248 63.882 25.752 63.658 26.44ZM74.3277 34.24C73.1437 34.24 72.0957 33.992 71.1837 33.496C70.2877 32.984 69.5917 32.272 69.0957 31.36C68.5997 30.448 68.3517 29.384 68.3517 28.168C68.3517 26.936 68.5997 25.864 69.0957 24.952C69.5917 24.04 70.2877 23.328 71.1837 22.816C72.0957 22.304 73.1437 22.048 74.3277 22.048C75.5277 22.048 76.5757 22.304 77.4717 22.816C78.3677 23.328 79.0637 24.04 79.5597 24.952C80.0717 25.864 80.3277 26.936 80.3277 28.168C80.3277 29.384 80.0717 30.448 79.5597 31.36C79.0637 32.272 78.3677 32.984 77.4717 33.496C76.5757 33.992 75.5277 34.24 74.3277 34.24ZM74.3277 31.936C75.3997 31.936 76.2557 31.592 76.8957 30.904C77.5517 30.2 77.8797 29.288 77.8797 28.168C77.8797 27.032 77.5517 26.112 76.8957 25.408C76.2557 24.704 75.3997 24.352 74.3277 24.352C73.2717 24.352 72.4157 24.704 71.7597 25.408C71.1197 26.096 70.7997 27.008 70.7997 28.144C70.7997 29.28 71.1197 30.2 71.7597 30.904C72.4157 31.592 73.2717 31.936 74.3277 31.936ZM86.1734 34.24C85.2934 34.24 84.5974 34.104 84.0854 33.832C83.5734 33.544 83.1974 33.168 82.9574 32.704C82.7174 32.224 82.5574 31.688 82.4774 31.096C82.4134 30.504 82.3814 29.896 82.3814 29.272V22.288H84.7814V29.776C84.7814 30.608 84.9654 31.168 85.3334 31.456C85.7174 31.744 86.1654 31.888 86.6774 31.888C87.2054 31.888 87.7254 31.784 88.2374 31.576C88.7654 31.368 89.2374 31.088 89.6534 30.736C90.0854 30.368 90.4054 29.976 90.6134 29.56V30.904H90.2294V22.288H92.6294V34H90.8054L90.3014 31.936L90.9014 31.864C90.4854 32.36 90.0214 32.792 89.5094 33.16C88.9974 33.512 88.4614 33.784 87.9014 33.976C87.3414 34.152 86.7654 34.24 86.1734 34.24ZM102.392 22.048C103.224 22.048 103.88 22.192 104.36 22.48C104.84 22.752 105.192 23.128 105.416 23.608C105.64 24.072 105.784 24.6 105.848 25.192C105.912 25.784 105.944 26.392 105.944 27.016V34H103.544V26.512C103.544 25.68 103.352 25.12 102.968 24.832C102.6 24.544 102.16 24.4 101.648 24.4C101.136 24.4 100.616 24.504 100.088 24.712C99.5602 24.92 99.0882 25.2 98.6722 25.552C98.2562 25.904 97.9362 26.296 97.7122 26.728V25.384H98.0962V34H95.6962V22.288H97.5202L98.0242 24.352L97.4242 24.424C97.8722 23.912 98.3602 23.48 98.8882 23.128C99.4162 22.776 99.9762 22.512 100.568 22.336C101.16 22.144 101.768 22.048 102.392 22.048ZM113.478 34.24C112.406 34.24 111.462 33.984 110.646 33.472C109.83 32.96 109.198 32.248 108.75 31.336C108.302 30.408 108.078 29.336 108.078 28.12C108.078 26.904 108.302 25.84 108.75 24.928C109.198 24.016 109.83 23.312 110.646 22.816C111.462 22.304 112.406 22.048 113.478 22.048C114.534 22.048 115.454 22.304 116.238 22.816C117.022 23.312 117.63 24.016 118.062 24.928C118.51 25.84 118.734 26.904 118.734 28.12C118.734 29.336 118.51 30.408 118.062 31.336C117.63 32.248 117.022 32.96 116.238 33.472C115.454 33.984 114.534 34.24 113.478 34.24ZM113.838 32.176C114.83 32.176 115.622 31.808 116.214 31.072C116.822 30.336 117.126 29.36 117.126 28.144C117.126 26.928 116.822 25.952 116.214 25.216C115.622 24.48 114.83 24.112 113.838 24.112C112.846 24.112 112.046 24.48 111.438 25.216C110.83 25.952 110.526 26.92 110.526 28.12C110.526 29.336 110.83 30.32 111.438 31.072C112.046 31.808 112.846 32.176 113.838 32.176ZM117.582 34L117.006 31.648H117.246V24.976H117.006V17.656H119.406V34H117.582Z" fill="#4D54BA"/>
|
||||||
|
<circle cx="3" cy="3" r="3" transform="matrix(-1 0 0 1 58 30)" fill="#E2E2EF"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 4.0 KiB |
87
static/js/cases.js
Normal file
87
static/js/cases.js
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
const textTaoL = document.getElementById('linkItem');
|
||||||
|
const bttn = document.getElementById('bt');
|
||||||
|
const linkTaoL = document.getElementById('linkTao');
|
||||||
|
const emal = document.getElementById('email');
|
||||||
|
const uploader = document.getElementById('uploader');
|
||||||
|
|
||||||
|
var inUnder = document.getElementById('inUnderline')
|
||||||
|
var emailUnderline = document.getElementById('emailUnderline')
|
||||||
|
|
||||||
|
|
||||||
|
window.onload = function () {
|
||||||
|
textTaoL.value = "";
|
||||||
|
linkTaoL.value = "";
|
||||||
|
emal.value = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
emal.addEventListener("change", function () {
|
||||||
|
bttn.disabled = false;
|
||||||
|
emailUnderline.textContent = '';
|
||||||
|
|
||||||
|
var emailRe = /\S+@\S+\.\S+/;
|
||||||
|
var isValid = emailRe.test(emal.value);
|
||||||
|
|
||||||
|
if (!isValid) {
|
||||||
|
emailUnderline.textContent = '*Введите корректный адрес электронной почты.';
|
||||||
|
bttn.disabled = true;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
bttn.disabled = false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
const inputs = document.querySelectorAll('.inpt2');
|
||||||
|
inputs.forEach(input => {
|
||||||
|
input.addEventListener("change", function () {
|
||||||
|
inUnder.textContent = '';
|
||||||
|
if (linkTaoL.value === "" && textTaoL.value === "") {
|
||||||
|
inUnder.textContent = '*Введите ссылку или текстовое описание желаемого товара.';
|
||||||
|
bttn.disabled = true;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
bttn.disabled = false;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
document.getElementById('form').addEventListener("submit", function (event) {
|
||||||
|
bttn.disabled = false;
|
||||||
|
|
||||||
|
|
||||||
|
if (emal.value != '' && (textTaoL.value == '' || linkTaoL.value == '')) {
|
||||||
|
event.preventDefault();
|
||||||
|
uploader.style.display = "block";
|
||||||
|
|
||||||
|
const ToSend = { 'email': emal.value.toString(), 'link': linkTaoL.value, 'text': textTaoL.value };
|
||||||
|
event.preventDefault();
|
||||||
|
try {
|
||||||
|
const xhr = new XMLHttpRequest();
|
||||||
|
xhr.open('POST', '/sendedData', true);
|
||||||
|
xhr.setRequestHeader('Content-Type', 'application/json');
|
||||||
|
|
||||||
|
xhr.onload = function () {
|
||||||
|
if (xhr.status === 200) {
|
||||||
|
const response = JSON.parse(xhr.responseText);
|
||||||
|
console.log("Получено спустя 5 секунд:", response.status);
|
||||||
|
event.preventDefault();
|
||||||
|
|
||||||
|
const timeoutId = setTimeout(() => {
|
||||||
|
window.location.href = "OK";
|
||||||
|
window.location.replace = "OK";
|
||||||
|
}, 5000);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
console.log("Данные отправлены. Ждем ответа сервера...");
|
||||||
|
xhr.send(JSON.stringify(ToSend));
|
||||||
|
}
|
||||||
|
catch (Error) {
|
||||||
|
console.log(Error)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
27
templates/404.html
Normal file
27
templates/404.html
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="ru">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='imgs/logo.svg') }}">
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename=" css/errorPages.css" ) }}">
|
||||||
|
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="container flex">
|
||||||
|
<div class="flex column text">
|
||||||
|
<h1 class="flex lightBlue arial-bald fontCenter">404</h1>
|
||||||
|
<p class="flex blue arial-regular lilText">Страница не найдена. <a href="{{ url_for(" ind")
|
||||||
|
}}">Вернуться на главную</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
27
templates/408.html
Normal file
27
templates/408.html
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='imgs/logo.svg') }}">
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename=" css/errorPages.css" ) }}">
|
||||||
|
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="container ">
|
||||||
|
<div class="flex column text">
|
||||||
|
<h1 class="flex lightBlue arial-bald fontCenter">408</h1>
|
||||||
|
<p class="flex blue arial-regular lilText">Превышено ожидание ответа сервера. Попробуйте ещё раз позже.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
26
templates/500.html
Normal file
26
templates/500.html
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='imgs/logo.svg') }}">
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename=" css/errorPages.css" ) }}">
|
||||||
|
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="container ">
|
||||||
|
<div class="flex column text">
|
||||||
|
<h1 class="flex lightBlue arial-bald fontCenter">500</h1>
|
||||||
|
<p class="flex blue arial-regular lilText">Ошибка сервера. Попробуйте ещё раз позже.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
142
templates/base.html
Normal file
142
templates/base.html
Normal file
@@ -0,0 +1,142 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="ru">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
{% block linking %}
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/baseCSS.css') }}">
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
{% block header %}
|
||||||
|
<header class="header f-14">
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="container">
|
||||||
|
<div class="header-inner flex w100">
|
||||||
|
<div class="header-1 w1-5">
|
||||||
|
<li class="headerLi">
|
||||||
|
<a href="" class="logoHref">
|
||||||
|
<img src="{{ url_for('static', filename='imgs/logo.svg') }}" alt="" class="logo">
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="header-2 flex arial-regular">
|
||||||
|
<ul class="headerUL flex">
|
||||||
|
<li class="headerLi flex">
|
||||||
|
<a href="#" class="li-a-header">Главная</a>
|
||||||
|
</li>
|
||||||
|
<li class="headerLi flex">
|
||||||
|
<select name="header-innner-links-2" id="links-2" class="select header-links">
|
||||||
|
<option class="optionHeader" value="1" disabled selected hidden>Каталог</option>
|
||||||
|
<option class="optionHeader" value="Сборки ПК">Сборки ПК</option>
|
||||||
|
<option class="optionHeader" value="Комплектующие">Комплектующие</option>
|
||||||
|
<option class="optionHeader" value="Периферия и аксессуары">Периферия и аксессуары</option>
|
||||||
|
<option class="optionHeader" value="Другое">Другое</option>
|
||||||
|
</select>
|
||||||
|
</li>
|
||||||
|
<li class="headerLi flex">
|
||||||
|
<select name="header-innner-links-3" id="links-3" class="select header-links">
|
||||||
|
<option class="optionHeader" value="1" disabled selected hidden>Покупателям</option>
|
||||||
|
<option class="optionHeader" value="Доставка и выдача заказов">Доставка и выдача заказов</option>
|
||||||
|
<option class="optionHeader" value="Пункты выдачи заказов">Пункты выдачи заказов</option>
|
||||||
|
<option class="optionHeader" value="Q&A">Q&A</option>
|
||||||
|
<option class="optionHeader" value="Контакты">Контакты</option>
|
||||||
|
<option class="optionHeader" value="Обмен и возврат">Обмен и возврат</option>
|
||||||
|
<div class="down-option">
|
||||||
|
<option value="33">Пополняй свой Steam без комиссии* с нашим сервисом LizardMoney!</option>
|
||||||
|
</div>
|
||||||
|
</select>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="header-3 flex">
|
||||||
|
<search>
|
||||||
|
<form action="./search/">
|
||||||
|
<input type="search" id="search-inpt" name="search" placeholder="Найти..."/>
|
||||||
|
</form>
|
||||||
|
</search>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="header-4 flex">
|
||||||
|
<a href="#">
|
||||||
|
<div class="cart">
|
||||||
|
<!-- from db -->
|
||||||
|
<p class="pokazateli arial-regular">3</p>
|
||||||
|
<img src="{{ url_for('static', filename='imgs/cart.svg') }}" alt="cart">
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a href="#">
|
||||||
|
<div class="heart">
|
||||||
|
<!-- from db -->
|
||||||
|
<p class="pokazateli arial-regular">3</p>
|
||||||
|
<img src="{{ url_for('static', filename='imgs/heart.svg') }}" alt="heart">
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="header-5">
|
||||||
|
<button class="login f14 white arial-regular">Войти</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block footer %}
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="container">
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="footer-inner flex between">
|
||||||
|
<div class="left">
|
||||||
|
<img src="{{ url_for('static', filename='imgs/logo.svg') }}" alt="">
|
||||||
|
</div>
|
||||||
|
<div class="right flex between">
|
||||||
|
<div class="colms">
|
||||||
|
<h6 class="footerRazd f14 arial-bald blue">
|
||||||
|
<a href="#"> Главная</a>
|
||||||
|
</h6>
|
||||||
|
</div>
|
||||||
|
<div class="colms">
|
||||||
|
<h6 class="footerRazd f14 arial-bald blue">
|
||||||
|
<a href="#">Каталог</a>
|
||||||
|
</h6>
|
||||||
|
|
||||||
|
<ul class="footerUL f14 arial-regular white">
|
||||||
|
<li class="footerLI"><a href="#">Сборки ПК</a> </li>
|
||||||
|
<li class="footerLI"><a href="#">Комплектующие</a> </li>
|
||||||
|
<li class="footerLI"><a href="#">Периферия и аксессуары</a> </li>
|
||||||
|
<li class="footerLI"><a href="#">Прочее</a> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="colms">
|
||||||
|
<h6 class="footerRazd f16 arial-bald blue">
|
||||||
|
<a href="#">Покупателям</a>
|
||||||
|
</h6>
|
||||||
|
<ul class="footerUL f14 arial-regular white">
|
||||||
|
<li class="footerLI"><a href="#">Доставка и выдача заказов</a> </li>
|
||||||
|
<li class="footerLI"><a href="#">Пункты выдачи заказов</a> </li>
|
||||||
|
<li class="footerLI"><a href="#">Q&A</a> </li>
|
||||||
|
<li class="footerLI"><a href="#">Контакты</a> </li>
|
||||||
|
<li class="footerLI"><a href="#">Обмен и возврат</a> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
35
templates/end.html
Normal file
35
templates/end.html
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="ru">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='imgs/logo.svg') }}">
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Onest:wght@100..900&family=Unbounded:wght@200..900&display=swap"
|
||||||
|
rel="stylesheet">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/errorPages.css' ) }}">
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/fonts.css') }}">
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/normalize.css') }}">
|
||||||
|
|
||||||
|
<title>Заявка отправлена</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper flex">
|
||||||
|
<div class="container flex a1">
|
||||||
|
<div class="main-inner flex column text">
|
||||||
|
<h1 class="flex lightBlue unbounded fontCenter1">Заявка отправлена на рассмотрение!</h1>
|
||||||
|
<p class="flex white onest lilText">Вся информация о её статусе будет отправлена по почте на указанный
|
||||||
|
адрес.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
100
templates/index.html
Normal file
100
templates/index.html
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
<link rel="icon" type="image/png" href="{{ url_for('static', filename='imgs/logo.svg') }}">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||||||
|
<title>Оставить заявку</title>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<!-- ----------- header ------------ -->
|
||||||
|
<header class="header">
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="container">
|
||||||
|
<div class="header-inner">
|
||||||
|
<ul class="headerUL">
|
||||||
|
<li class="headerLi">
|
||||||
|
<a href="#" class="logoLink">
|
||||||
|
<img src="{{ url_for('static', filename='imgs/logo.svg') }}" alt="" class="logoIMG">
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<!-- <li class="headerLi">1</li>
|
||||||
|
<li class="headerLi">1</li>
|
||||||
|
<li class="headerLi">1</li>
|
||||||
|
<li class="headerLi">1</li> -->
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<!-- --------------- main -------------- -->
|
||||||
|
<main class="main">
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="container">
|
||||||
|
<div class="main-inner">
|
||||||
|
<h1 class="zayavkaH1 arial-bald lightBlue">Оставить заявку на товар</h1>
|
||||||
|
{% block content %}
|
||||||
|
<form action="/process" method="POST" class="form1 flex between w100">
|
||||||
|
<div class="e1 flex">
|
||||||
|
<!-- ОБРАЗАТЬ ТЕЛЕФОН: БЕЗ ПРОБЕЛОВ, ЧЕРТ И ПЛЮСОВ -->
|
||||||
|
<div class="colms flex">
|
||||||
|
<label for="tel" class="arial-regular white f14">Телефон для обращения</label>
|
||||||
|
<input type="tel" name="tel" id="tel" class="inputZ input1Width">
|
||||||
|
</div>
|
||||||
|
<!-- tg -->
|
||||||
|
<div class="colms flex">
|
||||||
|
<label for="tg" class="arial-regular white f14">Telegram для обратной связи</label>
|
||||||
|
<input type="text" name="tg" id="tg" class="inputZ input1Width" placeholder="t.me/">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- radio -->
|
||||||
|
<div class="e2 flex">
|
||||||
|
<label for="radioDiv" class="arial-regular white f14 v">Тип обращения</label>
|
||||||
|
<div class="radioDiv">
|
||||||
|
<div class="flex e3">
|
||||||
|
<div class="radio1Div flex">
|
||||||
|
<input type="radio" name="radio12" id="radio1" value="link">
|
||||||
|
<label for="radio1" class="arial-regular white f14">Ссылка</label>
|
||||||
|
</div>
|
||||||
|
<div class="radio1Div flex">
|
||||||
|
<input type="radio" name="radio12" id="radio2" value="text">
|
||||||
|
<label for="radio2" class="arial-regular white f14" id="l1">Описать необходимый
|
||||||
|
товар</label>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="colms flex">
|
||||||
|
<div id="inputLink">
|
||||||
|
<input type="url" name="linkI" id="linkTao" class="inputZ inpt2"
|
||||||
|
placeholder="Ссылка на товар TaoBao">
|
||||||
|
</div>
|
||||||
|
<div id="inputText">
|
||||||
|
<textarea type="text" name="textI" id="linkItem" class="inputZ inpt2"
|
||||||
|
placeholder="Опишите желаемый товар..."></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<button class="btn f14">Отправить заявку</button>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<script src="{{ url_for('static', filename='js/cases.js') }}"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
34
templates/ok.html
Normal file
34
templates/ok.html
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="ru">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='imgs/logo.svg') }}">
|
||||||
|
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Onest:wght@100..900&family=Unbounded:wght@200..900&display=swap"
|
||||||
|
rel="stylesheet">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/errorPages.css' ) }}">
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/fonts.css') }}">
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/normalize.css') }}">
|
||||||
|
|
||||||
|
<title>Заявка отправлена</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper flex">
|
||||||
|
<div class="container flex a1">
|
||||||
|
<div class="main-inner flex column text">
|
||||||
|
<h1 class="flex lightBlue unbounded fontCenter1">Заявка согласована!</h1>
|
||||||
|
<p class="flex white onest lilText">Вся информация о её статусе будет отправлена по почте на указанный
|
||||||
|
адрес.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
162
templates/zayavka.html
Normal file
162
templates/zayavka.html
Normal file
@@ -0,0 +1,162 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="ru">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='imgs/logo.svg') }}">
|
||||||
|
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Onest:wght@100..900&family=Unbounded:wght@200..900&display=swap"
|
||||||
|
rel="stylesheet">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/ZayavkaStyle.css') }}">
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/fonts.css') }}">
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/spin.css') }}">
|
||||||
|
<title>Оставить заявку</title>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<!-- ----------- header ------------ -->
|
||||||
|
<header class="header">
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="container">
|
||||||
|
<div class="header-inner">
|
||||||
|
<div class="headerUL flex">
|
||||||
|
<div class="headerLi flex">
|
||||||
|
<!-- <a href="#" class="logoLink"> -->
|
||||||
|
<img src="{{ url_for('static', filename='imgs/logo.svg') }}" alt="" class="logoIMG">
|
||||||
|
<!-- </a> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- --------------- main -------------- -->
|
||||||
|
<main class="main">
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<!-- form -->
|
||||||
|
<div class="main-inner">
|
||||||
|
<h1 class="zayavkaH1 unbounded lightBlue">Оставить заявку на товар</h1>
|
||||||
|
{% block content %}
|
||||||
|
<form action="/process" method="POST" id="form" class="form1 flex between w100">
|
||||||
|
|
||||||
|
<!-- <div id="radioBttns ">
|
||||||
|
<p class="radioP onest white">Выберите способ получения информации по заявке:</p>
|
||||||
|
<label for="Radio" class="onest f14 white">Почта</label>
|
||||||
|
<input type="radio" name="Radio" id="emailRadio">
|
||||||
|
<label for="Radio" class="onest f14 white">Telegram</label>
|
||||||
|
<input type="radio" name="Radio" id="tgRadio">
|
||||||
|
</div> -->
|
||||||
|
|
||||||
|
<div class="e1 flex">
|
||||||
|
|
||||||
|
<!-- <div class="colms flex">
|
||||||
|
<label for="tel" class="onest white f14">Почта для обращения</label> -->
|
||||||
|
<!-- div class="lineIn">
|
||||||
|
<input type="email" name="email" id="email" class="inputZ input1Width" placeholder="Адрес электронной почты..." required>
|
||||||
|
</div>
|
||||||
|
<p id="telUnderline" class="under onest"></p>
|
||||||
|
</div>-->
|
||||||
|
|
||||||
|
<!-- <div class="colms flex ent" id="hide1">
|
||||||
|
<input type="text" name="tg" id="tg" class="inputZ input1Width" required>
|
||||||
|
<p id="tgUnderline" class="under onest"></p>
|
||||||
|
</div> -->
|
||||||
|
|
||||||
|
<div class="colms ent">
|
||||||
|
<label for="email" class="f14 onest white">Введите адрес электронной почты:</label>
|
||||||
|
<input type="email" name="email" id="email" class="inputZ input1Width"
|
||||||
|
placeholder="Ваша почта..." required>
|
||||||
|
<p id="emailUnderline" class="under onest"></p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<p class="white onest f14 forDown"> или </p>
|
||||||
|
<div class="colms flex" id="hide2">
|
||||||
|
<a href="#" class="f14 white jetbrains-mono flex" id="tgHover">Заполнить заявку в
|
||||||
|
Telegram-боте.</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="e2 flex">
|
||||||
|
<!-- <label for="radioDiv" class="onest white f14 v">Тип обращения</label>
|
||||||
|
<div class="radioDiv">
|
||||||
|
<div class="flex e3">
|
||||||
|
<div class="radio1Div flex">
|
||||||
|
<input type="radio" name="radio12" id="radio1" value="link">
|
||||||
|
<label for="radio1" class="onest white f14">Ссылка</label>
|
||||||
|
</div>
|
||||||
|
<div class="radio1Div flex">
|
||||||
|
<input type="radio" name="radio12" id="radio2" value="text">
|
||||||
|
<label for="radio2" class="onest white f14" id="l1">Описать необходимый
|
||||||
|
товар</label>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> -->
|
||||||
|
|
||||||
|
<p for="email" class="f14 onest white forDown">Опишите, что необходимо заказать:</p>
|
||||||
|
<div class="colms flex">
|
||||||
|
<div id="inputLink">
|
||||||
|
<input type="url" name="linkI" id="linkTao" class="inputZ inpt2"
|
||||||
|
placeholder="Ссылка на товар">
|
||||||
|
<p id="linkUnderneath" class="onest white f14"></p>
|
||||||
|
</div>
|
||||||
|
<p id="inUnderline" class="under onest"></p>
|
||||||
|
<p id="or" class="f14 onest white">Или</p>
|
||||||
|
<div id="inputText">
|
||||||
|
<textarea type="text" name="textI" id="linkItem" class="inputZ inpt2"
|
||||||
|
placeholder="Опишите желаемый товар (до 1500 символов) ..."
|
||||||
|
maxlength="1500"></textarea>
|
||||||
|
<p id="linkUnderneath1" class="onest white f14"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="cont">
|
||||||
|
<button id="bt" class="btn f14 jetbrains-mono flex" style="margin-top: 2%;">Отправить
|
||||||
|
заявку</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<div id="uploader">
|
||||||
|
<div class="spin"></div>
|
||||||
|
<h5 class="spinText">Идёт обработка данных...</h5>
|
||||||
|
<p class="spinP">Это может занять несколько минут. Не закрывайте вкладку до окончания обработки.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- <footer class="footer">
|
||||||
|
<div class="wrapper cf">
|
||||||
|
<div class="notiInnner onest">
|
||||||
|
<p class="footerP ">Убедитесь, что в настройках конфиденциальности Telegram в графе "Сообщения" стоит "Все". Иначе бот не сможет Вам написать. Если не хотите менять настройки — нажмите кнопку /start в боте <a href="#" class="footerA">@EcoBot</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer> -->
|
||||||
|
|
||||||
|
|
||||||
|
<script src="{{ url_for('static', filename='js/cases.js') }}">
|
||||||
|
</script>
|
||||||
|
<!-- <script src="{{ url_for('static', filename='js/dist/bundle.js') }}"></script> -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user