-
Notifications
You must be signed in to change notification settings - Fork 2
/
reset.ejs
255 lines (251 loc) · 14.2 KB
/
reset.ejs
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<!--
Riviera Premier League <[email protected]>
Copyright (C) 2014 IEEE Computer Society - VIT Student Chapter <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!DOCTYPE html>
<!--[if IE 9]>
<html class="lt-ie10" lang="en">
<![endif]-->
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Riviera Premier League</title>
<link type="text/css" rel="stylesheet" href="/bower/bootstrap/dist/css/bootstrap.min.css"/>
<link type="text/css" rel="stylesheet" href="/bower/jquery-ui/themes/smoothness/jquery-ui.min.css"/>
<link href="/stylesheets/min/rplmain.min.css" rel="stylesheet" type="text/css"/>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-72986055-1', 'auto');ga('send', 'pageview');
</script>
</head>
<body style="overflow-x:hidden;background-color:rgba(200,200,200,0.7);font-family: 'PT Sans', sans-serif;height:100%;text-align: center">
<!-- Container -->
<div style="padding: 0;margin: 0;overflow: hidden">
<!-- Header -->
<div class="col-md-12" style="background: white;z-index: 3" id="header">
<!--logo-->
<div class="row">
<div class="col-md-1 col-md-offset-2" align="center">
<img src="http://res.cloudinary.com/rpl/general/rplsmall.jpg" style="height:9em;">
</div>
<div class="col-md-1"></div>
<!--Riviera Premier League -->
<div class="col-md-6" align="center" style="margin-left: -5%">
<h1 style="margin-top:7%">
<small style="font-size: 130%;text-shadow: 1px 2px rgba(0,0,0,0.3)">Riviera Premier League</small>
</h1>
</div>
</div>
<!--Menu -->
</div>
<!--Register-->
<!--test-->
<nav class="navbar navbar-default" role="navigation" style="margin:0;z-index: 2;background: rgba(0,0,0,0.8);position: relative;padding: 0;border: none;border-radius: 0">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#" id="brand">Riviera Premier League</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li>
<a href="/">Home</a>
</li>
<li>
<a href="/rules">Rules</a>
</li>
<li>
<a href="/prizes">Prizes</a>
</li>
<li>
<a href="#" data-toggle="modal" data-target=".bs-example-modal-lg">Register</a>
</li>
<li id="loginh">
<a href="#" data-toggle="modal" data-target=".bs-example-modal-sm">Login</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<!--test-->
<div id="login_small" class="col-md-12">
<div class="col-md-2"></div>
<div class="col-md-8" id="form">
<div style="float: right">
<a href="#" onclick="log(1)" id="x">X</a>
</div>
<h2 style="">Login</h2>
<form action="/login" method="post">
</form>
</div>
</div>
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content" style="background: rgba(0, 0, 0, 0.8);border-radius: 0">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true" style="color: #ffffff">×</span>
<span class="sr-only">Close</span>
</button>
<h2 class="modal-title" id="myLargeModalLabel" style="color: #ffffff">Register</h2>
</div>
<div class="modal-body">
<form action="/register" method="post" name="signin" id="reg">
<p style="color: rgba(255,255,255,0.8)">All fields are required.</p> <br>
<input name="m_name" type="text" placeholder="Manager's Name" id="m_name" required autofocus/> <br>
<input name="t_name" type="text" placeholder="Team Name" id="t_name" required/> <br>
<input name="rpass" type="password" placeholder="Password" id="rpass" required/> <br>
<input name="rcpass" type="password" placeholder="Confirm Password" id="rcpass" required/> <br>
<input name="pno" type="text" placeholder="Phone Number" id="pno" required/> <br>
<input name="email" type="email" placeholder="[email protected]" id="email" required/> <br/>
<a href="#" onclick="reg_valid()" class="button" style="font-size: 100%;margin: 2%">Submit</a>
</form>
</div>
</div>
</div>
</div>
<!--login modal-->
<div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content" style="background: rgba(0, 0, 0, 0.8);border-radius: 0">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true" style="color: #ffffff">×</span>
<span class="sr-only">Close</span>
</button>
<h2 class="modal-title" id="myLargeModalLabel" style="color: #ffffff">Login</h2>
</div>
<div class="modal-body">
<form action="/login" method="post">
<input name="t_name" type="text" placeholder="Team Name" required autofocus/> <br>
<input name="pass" type="password" placeholder="Password" required/> <br>
<a href="/forgot" style="">forgot password?</a> <br>
<button type="submit" value="Submit" style="font-size: 100%;margin: 2%">Submit</button>
</form>
</div>
</div>
</div>
</div>
<!--login-->
<div class="col-md-4" style="float: right" id="login_container">
<div class="row" style="padding: 0;margin: 0">
<div class="col-md-4" style="margin:0;padding: 0" id="log">
<a href="#" onclick="login(1)">
<div class="col-md-12" id="login">Login</div>
</a>
</div>
<div class="col-md-8" id="login_box">
<form action="/login" method="post">
<input name="t_name" type="text" placeholder="Team Name" required autofocus/> <br>
<input name="pass" type="password" placeholder="Password" required/> <br>
<a href="/forgot" style="">forgot password?</a> <br>
<button type="submit" value="Submit" style="font-size: 100%;margin: 2%">Submit</button>
</form>
</div>
</div>
</div>
<!--Rules-->
<div class="row">
<div class="col-md-2"></div>
<div align="center" class="col-md-8 box" style="background: rgba(255,255,255,1);margin: 2%;box-shadow: 0 0 5px 5px rgba(0,0,0,0.2)">
<div class="row" style="text-align: center;margin-bottom: 1%">
<h2> Reset Password </h2> <hr>
<form action="/home/reset" method="post" name="reset">
<div class="row" style="padding: 1%">
<div class="col-md-5" style="text-align: left">
<h2>
<small>Enter new password:</small>
</h2>
</div>
<div class="col-md-7" style="text-align: left">
<input type="password" id="pass" name="pass" placeholder="Password" required autofocus/>
</div>
</div>
<div class="row" style="padding: 1%">
<div class="col-md-5" style="text-align: left">
<h2>
<small>Enter confirm new password:</small>
</h2>
</div>
<div class="col-md-7" style="text-align: left">
<input type="password" id="cpass" name="cpass" placeholder="Confirm Password" required/>
</div>
</div>
<div class="row" style="margin: 2%">
<a href="#" class="button" onclick="valid_reset()">Submit</a>
</div>
</form>
</div>
</div>
</div>
<!--Footer -->
<div class="col-md-12" style="box-shadow: 1px 0 5px 5px rgba(0,0,0,0.2);color: white;background:rgba(0,0,0,0.9);min-height: 100%">
<hr>
<div class="row">
<div class="col-md-12" align="center" style="text-align: center">
<a href="/developers">
<h4>Developers</h4>
</a>
</div>
</div>
<div class="row">
<div class="col-md-4" align="center">
<a href="https://www.facebook.com/ieeecsvit">
<img src="http://res.cloudinary.com/rpl/general/ieeecs.png" style="width: 70%;margin:5%"/>
</a>
</div>
<div class="col-md-offset-4 col-md-4" align="center">
<a href="http://www.vit.ac.in/">
<img src="http://res.cloudinary.com/rpl/general/vit_logo_white.png" style="width: 70%;margin:5%"/>
</a>
</div>
</div>
</div>
<div id="fb-root"></div>
<div id="login_small" class="col-md-4">
<div class="fb-like" data-href="https://www.facebook.com/ieeecsvit" data-layout="button_count"
data-action="like" data-show-faces="true" data-share="true" style="margin:10%">
</div>
</div>
<script>
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</div>
<script src="/bower/jquery-ui/jquery-ui.min.js"></script>
<script src="/bower/jquery/dist/jquery.min.js"></script>
<script src="/bower/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="/javascript/min/rpl.min.js"></script>
</body>
</html>