ug2024finals/default_templates/register.html

58 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mashinka Control</title>
<!-- Font Awesome -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet">
<!-- MDB -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.1.0/mdb.min.css" rel="stylesheet">
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="#">Seal Team: Регистрация</a>
<span class="navbar-buttons">
<div class="d-flex align-items-center">
<button data-mdb-ripple-init type="button" class="btn btn-primary me-3">
Авторизация
</button>
</div>
</span>
</div>
</nav>
<div class="d-flex justify-content-center mt-5">
<form class="mr-3" action="register" method="post">
<div class="form-outline" data-mdb-input-init>
<input required id="login" name="login" type="text" id="formControlLg" class="form-control form-control-lg" />
<label class="form-label" for="formControlLg">Имя пользователя</label>
</div>
<p></p>
<div class="form-outline" data-mdb-input-init>
<input required id="password" name="password" type="password" id="formControlLg" class="form-control form-control-lg" />
<label class="form-label" for="formControlLg">Пароль</label>
</div>
<p></p>
<button type="submit" class="btn btn-primary btn-lg ml-3">Регистрация</button>
</form>
{% if err != '' %}
<p><h3>{{err}}</h3></p>
{% endif%}
</div>
<!-- MDB -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.1.0/mdb.umd.min.js"></script>
<!--Script-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</body>
</html>