|
@@ -3,31 +3,55 @@
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<title>Регистрация</title>
|
|
|
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
|
|
+ <link rel="stylesheet" type="text/css" href="http://localhost:8080/resources/signin/style.css">
|
|
|
</head>
|
|
|
<body>
|
|
|
- <h1>SIGNIN</h1>
|
|
|
- <form method="POST">
|
|
|
- <p>
|
|
|
- Логин:
|
|
|
- <br>
|
|
|
- <input name="username" value="{{.Username}}">
|
|
|
- </p>
|
|
|
- <p>
|
|
|
- Пароль:
|
|
|
- <br>
|
|
|
- <input name="password" value="{{.Password}}">
|
|
|
- </p>
|
|
|
- <p>
|
|
|
- Подтвердить пароль:
|
|
|
- <br>
|
|
|
- <input name="password-repeat" value="{{.PasswordRepeat}}">
|
|
|
- </p>
|
|
|
- <p>
|
|
|
- <button type="submit">Зарегистрироваться</button>
|
|
|
- </p>
|
|
|
- {{if .Error}}<p>
|
|
|
- {{.Error}}
|
|
|
- </p>{{end}}
|
|
|
- </form>
|
|
|
+ <section class="vh-100 gradient-custom">
|
|
|
+ <div class="container py-5 h-100">
|
|
|
+ <div class="row d-flex justify-content-center align-items-center h-100">
|
|
|
+ <div class="col-12 col-md-8 col-lg-6 col-xl-5">
|
|
|
+ <div class="ard bg-dark text-white" style="border-radius: 1rem;">
|
|
|
+ <div class="card-body p-5">
|
|
|
+ <div class="mb-md-5 mt-md-4 pb-2">
|
|
|
+ <form method="POST" id="signinsubmitform">
|
|
|
+ <h2 class="fw-bold mb-2 text-uppercase text-center pb-4">Регистрация</h2>
|
|
|
+ <div class="form-outline form-white mb-4">
|
|
|
+ <label class="form-label" for="typeEmailX">Имя пользователя</label>
|
|
|
+ <input type="text" id="username" name="username" class="form-control form-control-lg" value="{{.Username}}" required>
|
|
|
+ </div>
|
|
|
+ <div class="form-group form-outline form-white mb-4">
|
|
|
+ <label class="form-label" for="typePasswordX">Пароль</label>
|
|
|
+ <span class="has-float-label pass_show mb-4">
|
|
|
+ <input type="password" id="password" name="password" class="form-control form-control-lg has-float-label" value="{{.Password}}" required>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="form-group form-outline form-white mb-4">
|
|
|
+ <label class="form-label" for="typePasswordX">Подтвердить пароль</label>
|
|
|
+ <span class="has-float-label pass_show mb-4">
|
|
|
+ <input type="password" id="password-repeat" name="password-repeat" class="form-control form-control-lg has-float-label" value="{{.PasswordRepeat}}" required>
|
|
|
+ </span>
|
|
|
+ <small id="errmsg" class="form-text text-center errmsg">{{if .Error}}{{.Error}}{{end}}</small>
|
|
|
+ </div>
|
|
|
+ <div class="text-center">
|
|
|
+ <input class="btn btn-dark btn-lg px-5" type="submit" value="Регистрация">
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p class="mb-0 text-secondary">Уже зарегистрированы? <a href="/login/" class="text-primary fw-bold myclass">Войти</a></p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+
|
|
|
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous">
|
|
|
+ </script>
|
|
|
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
|
|
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
|
|
+ <script src="http://localhost:8080/resources/signin/script.js"></script>
|
|
|
</body>
|
|
|
</html>
|