parent
55da6a92cf
commit
766549c649
@ -0,0 +1,9 @@
|
||||
from flask import Flask, render_template
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route("/")
|
||||
def main():
|
||||
return render_template("index.html")
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=False, port = 5001)
|
@ -0,0 +1,67 @@
|
||||
<!doctype html>
|
||||
<html lang="ru" data-bs-theme="dark">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>SS14Tools</title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
.mx-10 {
|
||||
margin-left: 10rem;
|
||||
margin-right: 10rem;
|
||||
}
|
||||
.gxr-- {
|
||||
margin-right: 18rem;
|
||||
}
|
||||
.gxl-- {
|
||||
margin-left: 18rem;
|
||||
}
|
||||
</style>
|
||||
<nav class="navbar bg-body-tertiary">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#"><i class="bi bi-tools"></i> SS14Tools</a>
|
||||
<div class="btn-group" role="group" aria-label="Простой пример">
|
||||
<button type="button" class="btn btn-primary"><i class="bi bi-discord"></i></button>
|
||||
<button type="button" class="btn btn-primary"><i class="bi bi-telegram"></i></button>
|
||||
<button type="button" class="btn btn-primary"><i class="bi bi-github"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<center>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col p-5 gxl--">
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" py-5>
|
||||
<span class="mx-10">Реакция</span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">Пример 1</a></li>
|
||||
<li><a class="dropdown-item" href="#">Пример 2</a></li>
|
||||
<li><a class="dropdown-item" href="#">Пример 3</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col p-5 gxr--">
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
Сколько?
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">30</a></li>
|
||||
<li><a class="dropdown-item" href="#">50</a></li>
|
||||
<li><a class="dropdown-item" href="#">100</a></li>
|
||||
<li><a class="dropdown-item" href="#">300</a></li>
|
||||
<li><a class="dropdown-item" href="#">1000</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue