-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.html
107 lines (101 loc) · 3.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Register Page</title>
<style>
body{
background-image: url("https://img.freepik.com/free-photo/abstract-background-illustration-watercolor-blue-green_53876-108704.jpg?size=626&ext=jpg&ga=GA1.1.2082370165.1716595200&semt=ais_user");
background-repeat: no-repeat;
background-size: 100% ;
}
.container{
text-align: center;
}
.clkbtn {
outline: none;
height: 35px;
width: 100px;
background-color: rgb(13, 111, 106);
border-radius: 50px;
color: white;
margin-top: 10px;
margin-left: 700px;
font-size: 15px;
font-family: Arial, Helvetica, sans-serif;
border: none;
cursor: pointer;
}
h1{
padding-top: 100px;
font-size: 50px;
font-family: Arial, Helvetica, sans-serif;
}
.register-box{
padding-left: 600px;
text-align: left;
width: 10px;
}
.radio-field {
display: flex;
align-items: center;
}
.radio-option {
display: inline-flex;
align-items: center;
margin-right: 170px;
margin-bottom: 10px;
}
input[type="text"], input[type="password"] {
border-radius: 10px;
background-color: transparent;
width: 300px;
height: 20px;
padding: 5px;
padding-left: 10px;
margin-bottom: 5px;
}
.hombtn{
text-decoration: none;
height: 30px;
width: 70px;
background-color: rgb(82, 81, 81);
border-radius: 10px;
color: white;
margin-top: 10px;
margin-left: 250px;
font-size: 15px;
font-family: Arial, Helvetica, sans-serif;
border: none;
cursor: pointer;
}
</style>
</head>
<body>
<div class="container">
<h1>Register</h1>
<form method="POST" action="">
{{ form.hidden_tag() }}
{% if error %}
<p style="color: red;">{{ error }}</p>
{% endif %}
<div class="register-box">
<div class="radio-field">
{% for subfield in form.user_role %}
<div class="radio-option">
{{ subfield() }} {{ subfield.label }}
</div>
{% endfor %}
</div>
<div class="username">{{ form.user_name }}</div> <br>
<div class="id">{{ form.user_id }}</div> <br>
<div class="password"> {{ form.user_pass }}</div> <br>
<div class="confirmpassword">{{ form.user_conf_pass }}</div> <br>
</div>
<div class="clkbtn">{{ form.submit }}</div><br>
</form>
<a class="hombtn" href="home">Home</a>
</div>
</body>
</html>