-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.html
72 lines (71 loc) · 3.2 KB
/
register.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="../static/favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../static/favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../static/favicon_io/favicon-16x16.png">
<link rel="manifest" href="../static/favicon_io/site.webmanifest">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;800;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="../static/css/common.css">
<link rel="stylesheet" href="../static/css/login.css">
<link rel="stylesheet" href="../static/css/register.css">
<SCRIPT src="https://code.jquery.com/jquery-3.2.1.min.js"></SCRIPT>
{% if title %}
<title>{{ title }}</title>
{% else %}
<title>ConTime</title>
{% endif %}
</head>
<body>
<div class="container">
<a href="{{ url_for('home') }}">
<div class="logo">
<img src="../static/images/logo.png" alt="logo">
</div>
</a>
<div class="form-container">
<h2>Register</h2>
<div>
{{ employee_form.login_type(class='select-box') }}
</div>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class="{{ category }}">{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}
<form class="form" method="POST" id="employee-form">
<div>
{{ employee_form.login_type(class="select-box-none") }}
</div>
{{ employee_form.hidden_tag() }}
{{ employee_form.first_name(class='input-box') }}
{{ employee_form.last_name(class='input-box') }}
{{ employee_form.email(class='input-box') }}
{{ employee_form.password(class='input-box') }}
{{ employee_form.confirm(class='input-box') }}
<button class="login-btn" type="submit">Sign Up</button>
</form>
<form class="form" method="POST" id="company-form">
<div>
{{ employee_form.login_type(class="select-box-none") }}
</div>
{{ company_form.hidden_tag() }}
{{ company_form.first_name(class='input-box') }}
{{ company_form.last_name(class='input-box') }}
{{ company_form.company_name(class='input-box') }}
{{ company_form.description(class='input-box') }}
{{ company_form.email(class='input-box') }}
{{ company_form.password(class='input-box') }}
{{ company_form.confirm(class='input-box') }}
<button class="login-btn" type="submit">Sign Up</button>
</form>
<a href="{{ url_for('login') }}">Sign IN</a>
</div>
</div>
<script src="../static/js/index.js"></script>
</body>
</html>