up
This commit is contained in:
30
flask_sample/templates/index.html
Normal file
30
flask_sample/templates/index.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>COVID-19 Some statistics</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
<p>Some statistics</p>
|
||||
<img src="{{ url_for('static', filename='img/covid19.png') }}"
|
||||
alt="Img" width="300">
|
||||
<!-- alt="Img" width="300" height="300">-->
|
||||
|
||||
<form action="" method="post">
|
||||
<p>
|
||||
<label for="input_date">Input date (YYYY-MM-DD)</label>
|
||||
<input type="text" name="input_date">
|
||||
<input type="submit" value="Show">
|
||||
</p>
|
||||
<!-- <p>-->
|
||||
<!-- <input type="submit" value="Show">-->
|
||||
<!-- </p>-->
|
||||
</form>
|
||||
{{ message }}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!--<script>-->
|
||||
<!-- alert('Эй!')-->
|
||||
<!--</script>-->
|
||||
Reference in New Issue
Block a user