initial commit

This commit is contained in:
danamir
2020-05-10 03:11:53 +03:00
commit 95ff7ff8cf
16 changed files with 249 additions and 0 deletions

4
templates/bootstrap.html Normal file
View File

@@ -0,0 +1,4 @@
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

20
templates/index.html Normal file
View File

@@ -0,0 +1,20 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<html lang="ru">
<head>
<title>Ты котя?</title>
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ url_for('static', filename='css/index.css')}}">
{% include 'bootstrap.html' %}
</head>
<body>
<div class="container main">
<div class="kotya">
<h1>Ты котя?</h1>
<button class="btn btn-primary" id="yesbtn" onClick="window.location.href='{{ url_for( 'yespressed' ) }}';">Да</button>
<button class="btn btn-primary" id="nobtn" onClick="window.location.href='{{ url_for( 'nopressed' ) }}';">Нет</button>
</div>
</div>
</body>
</html>

16
templates/nopage.html Normal file
View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<html lang="ru">
<head>
<link rel="stylesheet" href="css/nopage.css">
<link href="https://fonts.googleapis.com/css?family=Pattaya&display=swap" rel="stylesheet">
<title>Жаль</title>
</head>
<body>
<div class="yesimg">
<h1>Жаль, я ждал свою Котю. </h1>
</div>
</body>
</html>

26
templates/yespage.html Normal file
View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<html lang="ru">
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='css/yespage.css')}}">
<link href="https://fonts.googleapis.com/css?family=Pattaya&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1">
{%include 'bootstrap.html'%}
<title>Да, ты Котя</title>
</head>
<body>
<div class="container-fluid">
<div class="row">
<img src="{{url_for('static', filename='img/love2.jpg')}}">
</div>
<div class="row">
<h1>ТЬМООООООК</h1>
</div>
<div class="row">
<h2>Мы вместе {{days}} дней </h>
</div>
</div>
</body>
</html>