Edited register page

This commit is contained in:
CommanderStrax 2015-12-27 18:23:59 -06:00
parent 84ea7f1e1a
commit f90ddc7dc0
2 changed files with 118 additions and 95 deletions

View file

@ -1,20 +1,18 @@
@import url(https://fonts.googleapis.com/css?family=Exo+2); @import url(https://fonts.googleapis.com/css?family=Exo+2);
h1 { h1 {
font-size: 75px; font-size: 75px;
} }
::-webkit-input-placeholder { ::-webkit-input-placeholder {
color: #999999; color: #999999;
} }
:-moz-placeholder {
:-moz-placeholder { /* Firefox 18- */ /* Firefox 18- */
color: #999999; color: #999999;
} }
::-moz-placeholder {
::-moz-placeholder { /* Firefox 19+ */ /* Firefox 19+ */
color: #999999; color: #999999;
} }
:-ms-input-placeholder { :-ms-input-placeholder {
color: #999999; color: #999999;
} }
@ -24,7 +22,6 @@ h1 {
.column { .column {
max-width: 450px; max-width: 450px;
} }
body { body {
background-color: #F0F0F0; background-color: #F0F0F0;
} }
@ -67,23 +64,41 @@ table {
color: #226C1B; color: #226C1B;
} }
#fileupload { #fileupload {
margin-right:auto; margin-right: auto;
padding-left:2em; padding-left: 2em;
}
@-webkit-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-moz-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
} }
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.fade_in { .fade_in {
opacity: 0; opacity: 0;
-webkit-animation: fadeIn ease-in-out 1; -webkit-animation: fadeIn ease-in-out 1;
-moz-animation: fadeIn ease-in-out 1; -moz-animation: fadeIn ease-in-out 1;
animation: fadeIn ease-in-out 1; animation: fadeIn ease-in-out 1;
-webkit-animation-fill-mode: forwards; -webkit-animation-fill-mode: forwards;
-moz-animation-fill-mode: forwards; -moz-animation-fill-mode: forwards;
animation-fill-mode: forwards; animation-fill-mode: forwards;
-webkit-animation-duration: 1s; -webkit-animation-duration: 1s;
-moz-animation-duration: 1s; -moz-animation-duration: 1s;
animation-duration: 1s; animation-duration: 1s;

View file

@ -1,36 +1,41 @@
<center class="fade_in"> <center class="fade_in">
<h1 class="ui dividing header">Register</h1> <h1 class="ui dividing header">Register</h1>
<script src="https://www.google.com/recaptcha/api.js" async defer></script> <script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script src="js/register.js"></script> <script src="js/register.js"></script>
<div class="input-group"> <div class="input-group">
<form id="registration-form"> <form id="registration-form">
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6">
<br>
<label>Name</label> <label>Name</label>
<br> <br>
<input type="text" name="name" id="name" autocomplete="off" autofocus placeholder="Name" class="form-control"> <input type="text" name="name" id="name" autocomplete="off" autofocus placeholder="Name" class="form-control">
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<br>
<label>Email</label> <label>Email</label>
<br> <br>
<input type="email" name="email" id="email" autocomplete="off" placeholder="Email" class="form-control"> <input type="email" name="email" id="email" autocomplete="off" placeholder="Email" class="form-control">
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<br>
<label>Username</label> <label>Username</label>
<br> <br>
<input type="text" name="username" id="username" autocomplete="off" placeholder="Username" class="form-control"> <input type="text" name="username" id="username" autocomplete="off" placeholder="Username" class="form-control">
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<br>
<label>Password</label> <label>Password</label>
<br> <br>
<input type="password" name="password" id="password" autocomplete="off" placeholder="Password" class="form-control"> <input type="password" name="password" id="password" autocomplete="off" placeholder="Password" class="form-control">
</div> </div>
<div class="col-md-12"> <div class="col-md-12">
<br>
<label>Password</label> <label>Password</label>
<br> <br>
<input type="password" name="password_confirm" id="password_confirm" autocomplete="off" placeholder="Confirm Password" class="form-control"> <input type="password" name="password_confirm" id="password_confirm" autocomplete="off" placeholder="Confirm Password" class="form-control">
@ -39,17 +44,20 @@
<br> <br>
<div class="col-md-12"> <div class="col-md-12">
<br>
<label>Captcha</label> <label>Captcha</label>
<br> <br>
<div class="g-recaptcha" data-sitekey="6Lc4xhMTAAAAAIaiF3yEWGbHRaGgMg4FHor61p1G"></div> <div class="g-recaptcha" data-sitekey="6Lc4xhMTAAAAAIaiF3yEWGbHRaGgMg4FHor61p1G"></div>
<br>
</div> </div>
<div id="status"></div> <div id="status"></div>
<label>I have read and I agree to <a href="/rules" target="_blank">EasyCTF Rules</a>.</label>
<label>Read and agree to follow <a href="/rules" target="_blank">the rules</a></label><br> <br><br>
<label>I have read it:</label><input type="checkbox" class="form-control" value="didRead" style="margin-left:49%;"><br> <input type="checkbox" class="form-control" value="didRead" style="margin: 0px 0px 0px 0px;padding: 0px 0px 0px 0px;">
<br>
<input type="submit" class="btn btn-lg btn-success" value="Register" style="margin-top:1em;"> <input type="submit" class="btn btn-lg btn-success" value="Register" style="margin-top:1em;">
</div> </div>
</form> </form>
</div> </div>
</center> </center>