-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.html
112 lines (84 loc) · 4.73 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="assets/blue_favicon/android-chrome-192x192.png" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href='http://fonts.googleapis.com/css?family=Judson:400,400italic,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="register.css">
<script src="register.js"></script>
<title>Register</title>
</head>
<body>
<main>
<div id="header" class="d-flex justify-content-between align-items-center">
<a href="home.html" id="home-link">بازگشت به خانه </a>
<img class="navbar-brand" id="logoimg" src="assets/blue_logo_200x200.png" />
</div>
<div id="main-content">
<div class="picture-container">
<picture id="picture">
<source media="(min-width:1000px)" srcset="assets/signup-lowQ-light.jpg">
<source media="(min-width:600px)" srcset="assets/signup-lowQ-light.jpg">
<img src="assets/signup-highQ-dark.jpg" alt="Flowers" class="image">
</picture>
<div id="picture-text">change the world with WebDev!</div>
</div>
<div class="form-section" class="d-flex">
<div id="form-section-header" class="row">
<button type="button" class="col-6 form-btn" id="enter-button" onclick="enter();">ورود</button>
<button type="button" class="col-6 form-btn form-btn-active" id="register-button"
onclick="register();">ثبت نام</button>
</div>
<div id="form-section-form" class="row justify-content-center align-items-center">
<form id="register-form" dir="rtl">
<div class="form-group">
<input type="email" class="form-control" name="Email" placeholder="ایمیل" dir="rtl">
</div>
<div class="form-group">
<input type="password" class="form-control" name="Password" placeholder="رمز عبور"
dir="rtl">
</div>
<div class="form-group">
<input type="password" class="form-control" name="RepeatePassword"
placeholder="تکرار رمز عبور">
</div>
<div class="form-check" style="float: right;">
<input type="checkbox" name="terms-checkbox">
<label for="terms-checkbox">قوانین و شرایط را میپذیرم</label>
</div>
<button type="button" class="btn btn-primary" id="submit-button" onclick="submit_register();">
ثبت نام
</button>
<div id="register-error-message" class="error-message">
<span id="register-error-text"></span>
<button type="button" class="exit-error-button"
onclick="remove_error('register-error-message');">x</button>
</div>
</form>
<form id="enter-form" dir="rtl">
<div class="form-group">
<input type="email" class="form-control" name="Email" placeholder="ایمیل" dir="rtl"
required>
</div>
<div class="form-group">
<input type="password" class="form-control" name="Password" placeholder="رمز عبور" dir="rtl"
required>
</div>
<button type="button" class="btn btn-primary" id="submit-button" onclick="submit_enter();">
ورود
</button>
<div id="enter-error-message" class="error-message">
<span id="enter-error-text"></span>
<button type="button" class="exit-error-button"
onclick="remove_error('enter-error-message');">x</button>
</div>
</form>
</div>
</div>
</div>
</main>
</body>
</html>