skeleton/assets/templates/layouts/auth_register.tmpl

111 lines
6.3 KiB
Cheetah
Raw Permalink Normal View History

2020-07-19 11:52:26 +02:00
<!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">
2020-07-20 00:50:05 +02:00
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.0/css/bulma.min.css"
integrity="sha256-aPeK/N8IHpHsvPBCf49iVKMdusfobKo2oxF8lRruWJg=" crossorigin="anonymous" />
2020-07-19 11:52:26 +02:00
<link rel="stylesheet" href="{{ static "css/style.css" }}">
2020-07-20 00:50:05 +02:00
<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" />
2020-07-19 11:52:26 +02:00
<title>Log In</title>
</head>
<body>
2020-07-20 00:50:05 +02:00
<div class="hero is-primary is-fullheight auth-background">
2020-07-20 21:39:31 +02:00
<div id="particles-js"></div>
2020-07-19 11:52:26 +02:00
<div class="hero-body">
<div class="container">
<div class="columns">
2020-07-20 00:50:05 +02:00
<div class="column is-one-half-desktop is-offset-one-quarter-desktop is-half-tablet is-offset-one-quarter-tablet">
2020-07-19 11:52:26 +02:00
<div class="content box">
2020-07-20 00:50:05 +02:00
<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">
2020-07-20 21:39:31 +02:00
<input type="text" name="name" id="name" class="input is-primary" placeholder="Your display name">
2020-07-20 00:50:05 +02:00
<span class="icon is-small is-left">
<i class="material-icons">person_outline</i>
</span>
2020-07-19 11:52:26 +02:00
</div>
2020-07-20 00:50:05 +02:00
</div>
<div class="field">
<div class="control has-icons-left">
2020-07-20 21:39:31 +02:00
<input type="text" name="email" id="email" class="input is-primary" placeholder="Email">
2020-07-20 00:50:05 +02:00
<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">
2020-07-20 21:39:31 +02:00
<input type="password" name="password" id="password" class="input is-primary" placeholder="Password">
2020-07-20 00:50:05 +02:00
<span class="icon is-small is-left">
<i class="material-icons">lock_outline</i>
</span>
2020-07-19 11:52:26 +02:00
</div>
2020-07-20 00:50:05 +02:00
<p class="help">Password must be minimum 8 characters, and should contain capital letters, numbers and special characters.</p>
2020-07-19 11:52:26 +02:00
</div>
2020-07-20 00:50:05 +02:00
<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>
2020-07-19 11:52:26 +02:00
<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="">
2020-07-20 00:50:05 +02:00
<div class="field">
2020-07-19 11:52:26 +02:00
<p class="control">
2020-07-20 00:50:05 +02:00
<button class="button is-medium is-fullwidth is-primary" value="authorize"
2020-07-19 11:52:26 +02:00
type="submit">
2020-07-20 00:50:05 +02:00
Sign up now
2020-07-19 11:52:26 +02:00
</button>
</p>
</div>
2020-07-20 00:50:05 +02:00
<div class="seperate-header">
<p classLog in="has-text-centered">Or</p>
</div>
<div class="field">
2020-07-20 21:39:31 +02:00
<a disabled class="button is-medium is-fullwidth is-dark">
2020-07-20 00:50:05 +02:00
Sign up with external
2020-07-20 21:39:31 +02:00
</a>
2020-07-20 00:50:05 +02:00
</div>
2020-07-19 11:52:26 +02:00
</form>
</div>
2020-07-20 00:50:05 +02:00
<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>
2020-07-19 11:52:26 +02:00
</div>
</div>
</div>
</div>
</div>
2020-07-20 21:39:31 +02:00
<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>
2020-07-19 11:52:26 +02:00
</body>
</html>