-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvjay.html
132 lines (107 loc) · 2.96 KB
/
vjay.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
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Login / register material design form</title>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.5/css/materialize.min.css'>
</head>
<style>
body
{
background: #f5f5f5;
}
h5
{
font-weight: 400;
}
.container
{
margin-top: 80px;
width: 400px;
height: 700px;
}
.tabs .indicator
{
background-color: #e0f2f1;
height: 60px;
opacity: 0.3;
}
.form-container
{
padding: 40px;
padding-top: 10px;
}
.confirmation-tabs-btn
{
position: absolute;
}
</style>
<body>
<div class="container white z-depth-2">
<ul class="tabs teal">
<li class="tab col s3"><a class="white-text active" href="#login">login</a></li>
<li class="tab col s3"><a class="white-text" href="#register">register</a></li>
</ul>
<div id="login" class="col s12">
<form class="col s12" action="http://127.0.0.1:8080/signup" method="POST">
<div class="form-container">
<h3 class="teal-text">Hello</h3>
<div class="row">
<div class="input-field col s12">
<input id="signinemail" type="email" name="signinemail" class="validate">
<label for="email">Email</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input id="signinpassword" name="signinpassword" type="password" class="validate">
<label for="password">Password</label>
</div>
</div>
<br>
<center>
<button class="btn waves-effect waves-light teal" type="submit" name="action">Connect</button>
<br>
<br>
<a href="">Forgotten password?</a>
</center>
</div>
</form>
</div>
<div id="register" class="col s12">
<form class="col s12" action="http://127.0.0.1:8080/logininsert" method="POST">
<div class="form-container">
<h3 class="teal-text">Welcome</h3>
<div class="row">
<div class="input-field col s6">
<input id="first_name" name="first_name" type="text" class="validate">
<label for="first_name">First Name</label>
</div>
<div class="input-field col s6">
<input id="last_name" name="last_name" type="text" class="validate">
<label for="last_name">Last Name</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input id="signupemail" type="email" name="signupemail" class="validate">
<label for="email">Email</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input id="signuppassword" name="signuppassword" type="password" class="validate">
<label for="password">Password</label>
</div>
</div>
<center>
<button class="btn waves-effect waves-light teal" type="submit" name="action">Submit</button>
</center>
</div>
</form>
</div>
</div>
<script src='https://code.jquery.com/jquery-2.1.1.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.5/js/materialize.min.js'></script>
</body>
</html>