redy for deploy
This commit is contained in:
1
app.py
1
app.py
@@ -7,6 +7,7 @@ app.config.from_object(app_config)
|
|||||||
|
|
||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
|
@app.route('/index.html')
|
||||||
def index():
|
def index():
|
||||||
return render_template('index.html')
|
return render_template('index.html')
|
||||||
|
|
||||||
|
|||||||
@@ -1,25 +1,32 @@
|
|||||||
.body, html{
|
body, html{
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
background: url(../img/noback.jpg);
|
background: url(../img/noback.jpg);
|
||||||
background-position: center;
|
font-family: sans-serif;
|
||||||
background-repeat: no-repeat;
|
line-height: 1.15;
|
||||||
background-size: cover;
|
-webkit-text-size-adjust: 100%;
|
||||||
height: 100%;
|
-ms-text-size-adjust: 100%;
|
||||||
|
-ms-overflow-style: scrollbar;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.yesimg{
|
|
||||||
width: 500px;
|
.h1, h1 {
|
||||||
padding: 40px;
|
font-size: 30pt;
|
||||||
position: absolute;
|
color: #cc0000;
|
||||||
top: 50%;
|
font-family: 'Pattaya', sans-serif;
|
||||||
left: 50%;
|
text-align: center;
|
||||||
-webkit-transform: translate(-50%, -50%);
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.yesimg h1{
|
|
||||||
|
container-fluid{
|
||||||
|
min-width: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.row{
|
||||||
|
justify-content:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.row h1{
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
font-family: 'Pattaya', sans-serif;
|
font-family: 'Pattaya', sans-serif;
|
||||||
@@ -27,5 +34,19 @@
|
|||||||
font-size: 50pt;
|
font-size: 50pt;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
|
margin-top: 5vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
img{
|
||||||
|
max-width: 400px;
|
||||||
|
height: auto;
|
||||||
|
margin-top: 10vh;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#backbtn{
|
||||||
|
background-color: #fe5f55;
|
||||||
|
text-transform: uppercase;
|
||||||
|
border: #fe5f55;
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,16 +1,11 @@
|
|||||||
html{
|
body, html{
|
||||||
min-width: 488px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body{
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: url(../img/yesback.jpg);
|
background: url(../img/yesback.jpg);
|
||||||
background-position: center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: cover;
|
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
container-fluid{
|
container-fluid{
|
||||||
@@ -47,3 +42,9 @@ img{
|
|||||||
height: auto;
|
height: auto;
|
||||||
margin-top: 10vh;
|
margin-top: 10vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#backbtn{
|
||||||
|
background-color: #fe5f55;
|
||||||
|
text-transform: uppercase;
|
||||||
|
border: #fe5f55;
|
||||||
|
}
|
||||||
|
|||||||
BIN
static/img/bear.jpg
Normal file
BIN
static/img/bear.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 101 KiB |
@@ -2,15 +2,23 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<html lang="ru">
|
<html lang="ru">
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="css/nopage.css">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/nopage.css')}}">
|
||||||
<link href="https://fonts.googleapis.com/css?family=Pattaya&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Pattaya&display=swap" rel="stylesheet">
|
||||||
|
{%include 'bootstrap.html'%}
|
||||||
<title>Жаль</title>
|
<title>Жаль</title>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="yesimg">
|
<div class="container-fluid">
|
||||||
<h1>Жаль, я ждал свою Котю. </h1>
|
<div class="row">
|
||||||
|
<img src="{{url_for('static', filename='img/bear.jpg')}}">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<h1>Жаль, я ждал свою Котю.</h1>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<button class="btn btn-primary" id="backbtn" onClick="window.location.href='{{ url_for( 'index' ) }}';">На главную</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -20,6 +20,9 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<h2>Мы вместе {{days}} дней </h>
|
<h2>Мы вместе {{days}} дней </h>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<button class="btn btn-primary" id="backbtn" onClick="window.location.href='{{ url_for( 'index' ) }}';">На главную</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user