| 12345678910111213141516171819202122232425262728293031323334353637 |
- {{ define "index" }}
- <!DOCTYPE html>
- <html lang="ru">
- <head>
- <title>WarTank</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link href="/static/bootstrap5/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
- <script src="/static/bootstrap5/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/brython@3.11.0/brython.min.js">
- </script>
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/brython@3.11.0/brython_stdlib.js">
- </script>
- </head>
- <body onload="brython({debug:1})">
- <h1>WarTank</h1>
- <div class="container">
- <h2>Список танков</h2>
- <div class="btn-group" role="group" aria-label="Управление списком">
- <button type="button" id="bot_list_update" class="btn btn-primary">Обновить</button>
- <button type="button" id="bot_list_add" class="btn btn-primary">Добавить</button>
- </div>
- <div class="container" id="bot_list">
- </div>
- <div class="container" id="bot_list_new">
- <!-- Форма для добавления нового бота -->
- </div>
- </div>
- <script type="text/python" src="/static/bry/index.py"></script>
- </body>
- </html>
- {{ end }}
|