gear-orders/web/templates/index.html

55 lines
1.3 KiB
HTML
Raw Normal View History

2026-01-09 22:56:54 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
2026-01-09 23:45:03 +00:00
<title>Gear Orders Bot</title>
2026-01-09 22:56:54 +00:00
2026-01-09 23:45:03 +00:00
<style>
body {
font-family: Arial;
}
h1 {
font-size: 18pt;
}
.grid {
display: grid;
justify-items: center;
align-content: center;
height: 80vh;
}
.flashes {
padding: 10px;
margin: 10px;
background-color: rgb(255, 193, 7);
color: rgb(51, 39, 1);
border: 1px solid rgb(51, 39, 1);
text-align: center;
p {
margin: 0;
}
}
</style>
2026-01-09 22:56:54 +00:00
</head>
2026-01-09 23:45:03 +00:00
<body>
<div class="grid">
<h1>Gear Orders Bot</h1>
<script async src="https://telegram.org/js/telegram-widget.js?19" data-telegram-login="{{ data['bot_name'] }}" data-size="large" data-auth-url="{{ data['bot_domain'] }}/login" data-request-access="write"></script>
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="flashes">
{% for message in messages %}
<p>{{ message }}</p>
{% endfor %}
</div>
{% endif %}
{% endwith %}
2026-01-09 22:56:54 +00:00
</div>
</body>
</html>