diff options
author | Sashi20 | 2017-09-21 17:30:20 +0530 |
---|---|---|
committer | Sashi20 | 2017-09-21 17:30:20 +0530 |
commit | 0f9ec24f76f4053e2aab3cda5e4cd825683cd4f5 (patch) | |
tree | 6bbc827e9f549587ef6e0259ea6a181e4055a5ed /website | |
parent | eb6bc0cff8c711fb389702fec1a5de4368d4a92c (diff) | |
download | SciPy2017-0f9ec24f76f4053e2aab3cda5e4cd825683cd4f5.tar.gz SciPy2017-0f9ec24f76f4053e2aab3cda5e4cd825683cd4f5.tar.bz2 SciPy2017-0f9ec24f76f4053e2aab3cda5e4cd825683cd4f5.zip |
Added css to Forgot password Templates
Diffstat (limited to 'website')
-rwxr-xr-x | website/static/css/one-page-wonder.css | 10 | ||||
-rwxr-xr-x | website/templates/register/password_change_done.html | 40 | ||||
-rwxr-xr-x | website/templates/register/password_change_form.html | 44 | ||||
-rwxr-xr-x | website/templates/register/password_reset_complete.html | 42 | ||||
-rwxr-xr-x | website/templates/register/password_reset_confirm.html | 42 | ||||
-rwxr-xr-x | website/templates/register/password_reset_done.html | 38 | ||||
-rwxr-xr-x | website/templates/register/password_reset_form.html | 57 |
7 files changed, 113 insertions, 160 deletions
diff --git a/website/static/css/one-page-wonder.css b/website/static/css/one-page-wonder.css index 51676e0..42a8071 100755 --- a/website/static/css/one-page-wonder.css +++ b/website/static/css/one-page-wonder.css @@ -118,4 +118,14 @@ header.masthead > .overlay { transform: translate3d(0,0,0); } +#main input[type="password"], + #main input[type="email"], + #main textarea { + width: 90%; + border:solid 1px #565050; + -webkit-border-radius: 5px; +-moz-border-radius: 5px; +border-radius: 5px; + } + diff --git a/website/templates/register/password_change_done.html b/website/templates/register/password_change_done.html index 6ccd5d4..1b60f30 100755 --- a/website/templates/register/password_change_done.html +++ b/website/templates/register/password_change_done.html @@ -1,41 +1,33 @@ + {% load static %} <!DOCTYPE HTML> <html> <head> - <title>Forgot Password</title> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <link rel="stylesheet" href="assets/css/main.css" /> - </head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta name="description" content=""> + <meta name="author" content=""> + <link rel="icon" href="{% static 'img/fevicon.png'%}" type="icon"> + <title>SciPy India 2017</title> + <!-- Bootstrap core CSS --> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> + <link href="{% static 'vendor/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet"> + <!-- Custom styles for this template --> + <link href="{% static 'css/one-page-wonder.css' %}" rel="stylesheet"> + </head> <body> {% block header %} - <header id="header1"> + <header id="header1" style="background-color: #01c3d9;"> <h1>SciPy India 2017</h1> <h2>Reset Password</h2> -</header> -{% endblock %} - - -{% block nav %} - -<div id="navbar-main"> - <div class="navbar navbar-inverse navbar-fixed-top"> - <div class="navbar-collapse collapse"> - <ul class="nav navbar-nav"> - <li><a href="{% url 'website:home' %}" class="active">Home</a></li> - </ul> - </div> - </div> -</div> + </header> {% endblock %} - - {% block content %} -<div id="wrapper"> +<div id="wrapper" style="margin-left: 10%;"> <div id="main"> <section id="content" class="main"> diff --git a/website/templates/register/password_change_form.html b/website/templates/register/password_change_form.html index 23459b7..6723a8f 100755 --- a/website/templates/register/password_change_form.html +++ b/website/templates/register/password_change_form.html @@ -3,43 +3,31 @@ <!DOCTYPE HTML> <html> - <head> - <title>Call for Proposal</title> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]--> - <link rel="stylesheet" href="assets/css/main.css" /> - <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]--> - <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]--> - </head> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta name="description" content=""> + <meta name="author" content=""> + <link rel="icon" href="{% static 'img/fevicon.png'%}" type="icon"> + <title>SciPy India 2017</title> + <!-- Bootstrap core CSS --> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> + <link href="{% static 'vendor/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet"> + <!-- Custom styles for this template --> + <link href="{% static 'css/one-page-wonder.css' %}" rel="stylesheet"> + </head> <body> {% block header %} - <header id="header1"> + <header id="header1" style="background-color: #01c3d9;"> <h1>SciPy India 2017</h1> <h2>Reset Password</h2> </header> {% endblock %} - -{% block nav %} - -<div id="navbar-main"> - <div class="navbar navbar-inverse navbar-fixed-top"> - <div class="navbar-collapse collapse"> - <ul class="nav navbar-nav"> - <li><a href="{% url 'website:home' %}" class="active">Home</a></li> - </ul> - </div> - </div> -</div> -{% endblock %} - - - {% block content %} -<div id="wrapper"> +<div id="wrapper" style="margin-left: 10%;"> <div id="main"> <section id="content" class="main"> <form action="" method="post" > @@ -50,7 +38,7 @@ </table> </center> <center><button class="btn" type="submit">Change Password</button> - <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/accounts/");'>Cancel</button></center> + <button class="btn btn-primary gradient" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/accounts/");'>Cancel</button></center> </form> </section> </div> diff --git a/website/templates/register/password_reset_complete.html b/website/templates/register/password_reset_complete.html index 16d0502..dcaed8b 100755 --- a/website/templates/register/password_reset_complete.html +++ b/website/templates/register/password_reset_complete.html @@ -4,42 +4,30 @@ <!DOCTYPE HTML> <html> <head> - <title>Call for Proposal</title> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]--> - <link rel="stylesheet" href="assets/css/main.css" /> - <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]--> - <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]--> - </head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta name="description" content=""> + <meta name="author" content=""> + <link rel="icon" href="{% static 'img/fevicon.png'%}" type="icon"> + <title>SciPy India 2017</title> + <!-- Bootstrap core CSS --> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> + <link href="{% static 'vendor/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet"> + <!-- Custom styles for this template --> + <link href="{% static 'css/one-page-wonder.css' %}" rel="stylesheet"> + </head> <body> {% block header %} - <header id="header1"> + <header id="header1" style="background-color: #01c3d9;"> <h1>SciPy India 2017</h1> <h2>Reset Password</h2> -</header> + </header> {% endblock %} - -{% block nav %} - -<div id="navbar-main"> - <div class="navbar navbar-inverse navbar-fixed-top"> - <div class="navbar-collapse collapse"> - <ul class="nav navbar-nav"> - <li><a href="{% url 'website:home' %}" class="active">Home</a></li> - </ul> - </div> - </div> -</div> -{% endblock %} - - - {% block content %} -<div id="wrapper"> +<div id="wrapper" style="margin-left: 10%;"> <div id="main"> <section id="content" class="main"> <p>Your password has been reset. </p> diff --git a/website/templates/register/password_reset_confirm.html b/website/templates/register/password_reset_confirm.html index 723cfad..5b23073 100755 --- a/website/templates/register/password_reset_confirm.html +++ b/website/templates/register/password_reset_confirm.html @@ -4,42 +4,30 @@ <!DOCTYPE HTML> <html> <head> - <title>Call for Proposal</title> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]--> - <link rel="stylesheet" href="assets/css/main.css" /> - <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]--> - <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]--> - </head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta name="description" content=""> + <meta name="author" content=""> + <link rel="icon" href="{% static 'img/fevicon.png'%}" type="icon"> + <title>SciPy India 2017</title> + <!-- Bootstrap core CSS --> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> + <link href="{% static 'vendor/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet"> + <!-- Custom styles for this template --> + <link href="{% static 'css/one-page-wonder.css' %}" rel="stylesheet"> + </head> <body> {% block header %} - <header id="header1"> + <header id="header1" style="background-color: #01c3d9;"> <h1>SciPy India 2017</h1> <h2>Reset Password</h2> </header> {% endblock %} - -{% block nav %} - -<div id="navbar-main"> - <div class="navbar navbar-inverse navbar-fixed-top"> - <div class="navbar-collapse collapse"> - <ul class="nav navbar-nav"> - <li><a href="{% url 'website:home' %}" class="active">Home</a></li> - </ul> - </div> - </div> -</div> -{% endblock %} - - - {% block content %} -<div id="wrapper"> +<div id="wrapper" style="margin-left: 10%;"> <div id="main"> <section id="content" class="main"> {% if validlink %} @@ -63,7 +51,7 @@ </tr> <tr> <td></td> - <td><br> <button class= "btn btn-sm btn-primary" type="submit" onclick="return checkform(this);">Submit</button> + <td><br> <button class= "btn btn-sm btn-primary gradient" type="submit" onclick="return checkform(this);">Submit</button> </tr> <br> </table> diff --git a/website/templates/register/password_reset_done.html b/website/templates/register/password_reset_done.html index 032eb43..75251ef 100755 --- a/website/templates/register/password_reset_done.html +++ b/website/templates/register/password_reset_done.html @@ -3,43 +3,33 @@ <!DOCTYPE HTML> <html> <head> - <title>Call for Proposal</title> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]--> - <link rel="stylesheet" href="assets/css/main.css" /> - <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]--> - <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]--> - </head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta name="description" content=""> + <meta name="author" content=""> + <link rel="icon" href="{% static 'img/fevicon.png'%}" type="icon"> + <title>SciPy India 2017</title> + <!-- Bootstrap core CSS --> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> + <link href="{% static 'vendor/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet"> + <!-- Custom styles for this template --> + <link href="{% static 'css/one-page-wonder.css' %}" rel="stylesheet"> + </head> <body> {% block header %} - <header id="header1"> + <header id="header1" style="background-color: #01c3d9;"> <h1>SciPy India 2017</h1> <h2>Reset Password</h2> </header> {% endblock %} -{% block nav %} - -<div id="navbar-main"> - <div class="navbar navbar-inverse navbar-fixed-top"> - <div class="navbar-collapse collapse"> - <ul class="nav navbar-nav"> - <li><a href="{% url 'website:home' %}" class="active">Home</a></li> - </ul> - </div> - </div> -</div> -{% endblock %} - - {% block content %} <div id="wrapper"> <div id="main"> -<section id="content" class="main"> +<section id="content" class="main" style="margin-left: 10%;"> If an account exists with this email, you would receive the password reset instructions shortly. Please check your spam folder too.<br/> </section> </div> diff --git a/website/templates/register/password_reset_form.html b/website/templates/register/password_reset_form.html index 02de5d9..64bde98 100755 --- a/website/templates/register/password_reset_form.html +++ b/website/templates/register/password_reset_form.html @@ -3,53 +3,49 @@ <!DOCTYPE HTML> <html> <head> - <title>Call for Proposal</title> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]--> - <link rel="stylesheet" href="assets/css/main.css" /> - <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]--> - <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]--> - </head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta name="description" content=""> + <meta name="author" content=""> + <link rel="icon" href="{% static 'img/fevicon.png'%}" type="icon"> + <title>SciPy India 2017</title> + <!-- Bootstrap core CSS --> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> + <link href="{% static 'vendor/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet"> + <!-- Custom styles for this template --> + <link href="{% static 'css/one-page-wonder.css' %}" rel="stylesheet"> + </head> <body> +{% include 'navbar.html' %} +<center> {% block header %} - <header id="header1"> + <header id="header1" style="background-color: #01c3d9;"> + <br> <h1>SciPy India 2017</h1> <h2>Reset Password</h2> + <br> </header> +</center> {% endblock %} - -{% block nav %} - -<div id="navbar-main"> - <div class="navbar navbar-inverse navbar-fixed-top"> - <div class="navbar-collapse collapse"> - <ul class="nav navbar-nav"> - <li><a href="{% url 'website:home' %}" class="active">Home</a></li> - </ul> - </div> - </div> -</div> -{% endblock %} - - - {% block content %} -<div id="wrapper"> +<div id="wrapper" style="margin-left: 10%;"> <div id="main"> <section id="content" class="main"> -<div><h2> Recovery Email </h2></div> <br> -Kindly enter your email ID used for registration. The password reset link will be mailed to the same. -<br> <br> +<div><h4> Recovery Email </h4></div> +<br> + Kindly enter your email ID used for registration. The password reset link will be mailed to the same. +<br><br> <form action="" method="post"> {% csrf_token %} {{ form.email.errors }} <p><label for="id_email">E-mail address:</label> {{ form.email }} - <br/><input type="submit" class ="button special" value="Reset password" /></p> + + <br/> + <br><input type="submit" class ="btn btn-primary gradient" style="border: none;" value="Reset Password" /></p> <!-- <button class="btn btn-sm btn-primary" type="submit">Request</button> <a class="btn btn-sm " href="{{URL_ROOT}}/accounts/login/">Cancel</a> --> @@ -60,4 +56,5 @@ Kindly enter your email ID used for registration. The password reset link will b </section> </div> </div> + {% endblock %} |