start register and login page
This commit is contained in:
1 parent
19bb16c450
commit
1ee9de601c
55 files changed
+38561
-11
No files matched your search
+115
-9
File diff suppressed because one or more lines are too long.
@@ -0,0 +1,85 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Login</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/png" href="static/images/icons/favicon.ico"/>
|
||||
<link rel="stylesheet" type="text/css" href="static/vendor/bootstrap/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="fonts/iconic/css/material-design-iconic-font.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="static/vendor/animate/animate.css">
|
||||
<link rel="stylesheet" type="text/css" href="static/vendor/css-hamburgers/hamburgers.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="static/vendor/animsition/css/animsition.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="static/vendor/select2/select2.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="static/vendor/daterangepicker/daterangepicker.css">
|
||||
<link rel="stylesheet" type="text/css" href="static/styles/util.css">
|
||||
<link rel="stylesheet" type="text/css" href="static/styles/register.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<div class="limiter">
|
||||
<div class="container-login100">
|
||||
<div class="wrap-login100">
|
||||
{{ unescape .errorMsg }}
|
||||
|
||||
<form action="/login" method="POST" class="login100-form validate-form">
|
||||
<span class="login100-form-title p-b-26">
|
||||
Welcome
|
||||
</span>
|
||||
<span class="login100-form-title p-b-48">
|
||||
<i class="zmdi zmdi-font"></i>
|
||||
</span>
|
||||
|
||||
<div class="wrap-input100 validate-input" data-validate = "Valid email is: a@b.c">
|
||||
<input class="input100" type="text" name="email">
|
||||
<span class="focus-input100" data-placeholder="Email"></span>
|
||||
</div>
|
||||
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter password">
|
||||
<span class="btn-show-pass">
|
||||
<i class="zmdi zmdi-eye"></i>
|
||||
</span>
|
||||
<input class="input100" type="password" name="pass">
|
||||
<span class="focus-input100" data-placeholder="Password"></span>
|
||||
</div>
|
||||
|
||||
<div class="container-login100-form-btn">
|
||||
<div class="wrap-login100-form-btn">
|
||||
<div class="login100-form-bgbtn"></div>
|
||||
<button class="login100-form-btn">
|
||||
Login
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-center p-t-115">
|
||||
<span class="txt1">
|
||||
Don't have an account?
|
||||
</span>
|
||||
|
||||
<a class="txt2" href="/register">
|
||||
Sign Up
|
||||
</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="dropDownSelect1"></div>
|
||||
|
||||
<script src="static/vendor/jquery/jquery-3.2.1.min.js"></script>
|
||||
<script src="static/vendor/animsition/js/animsition.min.js"></script>
|
||||
<script src="static/vendor/bootstrap/js/popper.js"></script>
|
||||
<script src="static/vendor/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="static/vendor/select2/select2.min.js"></script>
|
||||
<script src="static/vendor/daterangepicker/moment.min.js"></script>
|
||||
<script src="static/vendor/daterangepicker/daterangepicker.js"></script>
|
||||
<script src="static/vendor/countdowntime/countdowntime.js"></script>
|
||||
<script src="static/scripts/register.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,96 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Register</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://bootswatch.com/4/journal/bootstrap.min.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="row mt-5">
|
||||
<div class="col-md-6 m-auto">
|
||||
<div class="card card-body">
|
||||
<h1 class="text-center mb-3">
|
||||
<i class="fas fa-user-plus"></i> Register
|
||||
</h1>
|
||||
{{ unescape .errorMsg }}
|
||||
<form action="/register" method="POST" enctype="multipart/form-data">
|
||||
<div class="form-group">
|
||||
<label for="username">Username</label>
|
||||
<input
|
||||
type="name"
|
||||
id="username"
|
||||
name="username"
|
||||
class="form-control"
|
||||
placeholder="Enter Name"
|
||||
value="{{ .username }}"
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for='image'>Upload Profile Picture</label>
|
||||
<input class="form-control-file" type="file" id="image" name="image">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email">Email</label>
|
||||
<input
|
||||
type="email"
|
||||
id="email"
|
||||
name="email"
|
||||
class="form-control"
|
||||
placeholder="Enter Email"
|
||||
value="{{ .email }}"
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password">Password</label>
|
||||
<input
|
||||
type="password"
|
||||
id="password"
|
||||
name="password"
|
||||
class="form-control"
|
||||
placeholder="Create Password"
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password2">Confirm Password</label>
|
||||
<input
|
||||
type="password"
|
||||
id="password2"
|
||||
name="password2"
|
||||
class="form-control"
|
||||
placeholder="Confirm Password"
|
||||
/>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary btn-block">
|
||||
Register
|
||||
</button>
|
||||
</form>
|
||||
<p class="lead mt-4">Have An Account? <a href="/login">Login</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<!-- Load Scripts for Modal -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
|
||||
|
||||
<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.6/umd/popper.min.js"
|
||||
integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script
|
||||
src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
|
||||
integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
</html>
|
||||
Reference in new issue
Block a user