skeleton/assets/templates/layouts/auth_register.tmpl

111 lines
No EOL
6.3 KiB
Cheetah

<!DOCTYPE html>
<html lang="en">
<head>
<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://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.0/css/bulma.min.css"
integrity="sha256-aPeK/N8IHpHsvPBCf49iVKMdusfobKo2oxF8lRruWJg=" crossorigin="anonymous" />
<link rel="stylesheet" href="{{ static "css/style.css" }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/material-design-icons/3.0.1/iconfont/material-icons.min.css" integrity="sha512-mRuH7OxetZB1XiSaKZ2fxENKgxVvx3ffpzX0FUcaP6GBqAuqOLc8YiC/3EVTUVt5p5mIRT5D9i4LitZUQKWNCg==" crossorigin="anonymous" />
<title>Log In</title>
</head>
<body>
<div class="hero is-primary is-fullheight auth-background">
<div id="particles-js"></div>
<div class="hero-body">
<div class="container">
<div class="columns">
<div class="column is-one-half-desktop is-offset-one-quarter-desktop is-half-tablet is-offset-one-quarter-tablet">
<div class="content box">
<h2 class="has-text-centered is-size-3 has-text-weight-light">Sign up</h2>
<form class="form" method="POST" action="{{ url "/signup" }}">
<div class="field">
<div class="control has-icons-left">
<input type="text" name="name" id="name" class="input is-primary" placeholder="Your display name">
<span class="icon is-small is-left">
<i class="material-icons">person_outline</i>
</span>
</div>
</div>
<div class="field">
<div class="control has-icons-left">
<input type="text" name="email" id="email" class="input is-primary" placeholder="Email">
<span class="icon is-small is-left">
<i class="material-icons">mail_outline</i>
</span>
</div>
</div>
<div class="field mb-3">
<div class="control has-icons-left">
<input type="password" name="password" id="password" class="input is-primary" placeholder="Password">
<span class="icon is-small is-left">
<i class="material-icons">lock_outline</i>
</span>
</div>
<p class="help">Password must be minimum 8 characters, and should contain capital letters, numbers and special characters.</p>
</div>
<label class="checkbox mb-3">
<input type="checkbox">
I agree to the <a href="#">terms and conditions</a>
</label>
<label class="checkbox mb-5">
<input type="checkbox">
I would like to receive email updates from this project. I can unsubscribe anytime
</label>
<input type="hidden" name="client_id" value="">
<input type="hidden" name="redirect_uri" value="">
<input type="hidden" name="scope" value="">
<input type="hidden" name="state" value="">
<input type="hidden" name="response_type" value="">
<input type="hidden" name="duration" value="">
<input type="hidden" name="csrf_token" value="">
<div class="field">
<p class="control">
<button class="button is-medium is-fullwidth is-primary" value="authorize"
type="submit">
Sign up now
</button>
</p>
</div>
<div class="seperate-header">
<p classLog in="has-text-centered">Or</p>
</div>
<div class="field">
<a disabled class="button is-medium is-fullwidth is-dark">
Sign up with external
</a>
</div>
</form>
</div>
<div class="has-text-light-grey has-text-centered">
Already have an account?
<a class="has-text-white has-text-weight-bold" href="{{ url "login" }}">Log In</a>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
(document.querySelectorAll('.notification .delete') || []).forEach(($delete) => {
$notification = $delete.parentNode;
$delete.addEventListener('click', () => {
$notification.parentNode.removeChild($notification);
});
});
particlesJS.load('particles-js', '{{ static "js/particle.json" }}');
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/particles.js/2.0.0/particles.min.js" integrity="sha512-Kef5sc7gfTacR7TZKelcrRs15ipf7+t+n7Zh6mKNJbmW+/RRdCW9nwfLn4YX0s2nO6Kv5Y2ChqgIakaC6PW09A==" crossorigin="anonymous"></script>
</body>
</html>