diff options
Diffstat (limited to 'app/templates/base.html')
-rw-r--r-- | app/templates/base.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html new file mode 100644 index 0000000..aeb42c6 --- /dev/null +++ b/app/templates/base.html @@ -0,0 +1,39 @@ +<!doctype html> +<html lang="ru" class="h-100 mh-100"> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"> + <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> + + <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/3.0.4/socket.io.js" integrity="sha512-aMGMvNYu8Ue4G+fHa359jcPb1u+ytAF+P2SCb+PxrjCdO3n3ZTxJ30zuH39rimUggmTwmh2u7wvQsDTHESnmfQ==" crossorigin="anonymous"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.20/lodash.min.js" integrity="sha512-90vH1Z83AJY9DmlWa8WkjkV79yfS2n2Oxhsi2dZbIv0nC4E6m5AbH8Nh156kkM7JePmqD6tcZsfad1ueoaovww==" crossorigin="anonymous"></script> + + <script src="https://api-maps.yandex.ru/2.1/?apikey=ce936229-3ef4-41b1-96c0-270bcf8ff341&lang=ru_RU" type="text/javascript"></script> + + <script src="{{ url_for('static', filename='autocomplete.js') }}"></script> + <script src="{{ url_for('static', filename='app.js') }}"></script> + + <title>{% block title %}{% endblock %}</title> +</head> +<body class="h-100 mh-100"> + <div class="container h-100 pt-4 pb-4"> + <div class="h-100 d-flex flex-column bd-highlight"> + <div> + <form class="mb-4" onsubmit="return false"> + <div class="input-group"> + <input type="text" class="form-control" id="queryInput" placeholder="Введите название препарата" autocomplete="off"> + <button type="submit" class="btn btn-outline-primary" id="querySubmit">Поиск</button> + </div> + </form> + </div> + <div class="flex-grow-1" id="mapContainer"> + <!-- maps --> + </div> + </div> + </div> + <div id="test">test</div> +</body> +</html>
\ No newline at end of file |