-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsign-up.html
122 lines (120 loc) · 5.68 KB
/
sign-up.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!doctype html>
<!--
* Tabler - Premium and Open Source dashboard template with responsive and high quality UI.
* @version 1.0.0-beta19
* @link https://tabler.io
* Copyright 2018-2023 The Tabler Authors
* Copyright 2018-2023 codecalm.net Paweł Kuna
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
-->
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>Sign up - Tabler - Premium and Open Source dashboard template with responsive and high quality UI.</title>
<!-- CSS files -->
<link href="{{ url_for('static', filename='css/tabler.min.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='css/tabler-flags.min.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='css/tabler-payments.min.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='css/tabler-vendors.min.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='css/demo.min.css') }}" rel="stylesheet">
<style>
@import url('https://rsms.me/inter/inter.css');
:root {
--tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
}
body {
font-feature-settings: "cv03", "cv04", "cv11";
}
</style>
</head>
<body class=" d-flex flex-column">
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="flash-container">
{% for message in messages %}
<div class="flash-message">{{ message }}</div>
{% endfor %}
</div>
{% endif %}
{% endwith %}
<script src="{{ url_for('static', filename='js/demo-theme.min.js') }}"></script>
<div class="page page-center">
<div class="container container-tight py-4">
<div class="text-center mb-4">
<a href="." class="navbar-brand navbar-brand-autodark"><img src="./static/logo.svg" height="36" alt=""></a>
</div>
<form class="card card-md" action="/signup" method="POST" autocomplete="off" novalidate>
<div class="card-body">
<h2 class="card-title text-center mb-4">Create new account</h2>
<div class="mb-3">
<label class="form-label">Username</label>
<input type="text" class="form-control" name="username" id="username" placeholder="Enter name">
</div>
<div class="mb-3">
<label class="form-label">Email address</label>
<input type="email" name="email" id="email" class="form-control" placeholder="Enter email">
</div>
<div class="mb-3">
<label class="form-label">Mother Language</label>
<div class="mb-3">
<select method="GET" class="form-select" name="mother_language" id="mother_language">
<option value="English">English</option>
<option value="French">French</option>
<option value="Spanish">Spanish</option>
<option value="Arabic">Arabic</option>
<option value="Italian">Italian</option>
<option value="Portuguese">Portuguese</option>
<option value="German">German</option>
</select>
</div>
</div>
<div class="mb-3">
<label class="form-label">Password</label>
<div class="input-group input-group-flat">
<input type="password" name="password" id="password" class="form-control" id="password" placeholder="Password" autocomplete="off">
<span class="input-group-text">
<a href="#" class="link-secondary" title="Show password" data-bs-toggle="tooltip" onclick="togglePassword()">
<!-- Download SVG icon from http://tabler-icons.io/i/eye -->
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
</a>
</span>
</div>
</div>
<div class="form-footer">
<button type="submit" class="btn btn-primary w-100">Create new account</button>
</div>
</div>
</form>
<div class="text-center text-muted mt-3">
Already have account? <a href="/sign_in" tabindex="-1">Sign in</a>
</div>
</div>
</div>
<!-- Libs JS -->
<!-- Tabler Core -->
<script src="{{ url_for('static', filename='js/tabler.min.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/demo.min.js') }}" defer></script>
<script>
function togglePassword() {
var passwordInput = document.getElementById("password");
if (passwordInput.type === "password") {
passwordInput.type = "text";
} else {
passwordInput.type = "password";
}
}
</script>
<script>
document.addEventListener('DOMContentLoaded', function() {
var messages = document.querySelectorAll('.flash-message');
messages.forEach(function(message) {
message.addEventListener('animationend', function() {
message.parentNode.removeChild(message);
});
});
});
</script>
</body>
</html>