diff options
author | Akshen | 2019-02-22 12:49:43 +0530 |
---|---|---|
committer | Akshen | 2019-02-22 12:49:43 +0530 |
commit | eed46efdccfb2821cb07b6a189f439ba6f7bb3f2 (patch) | |
tree | 6c76aec2be2bf58978b638ef0f7209c8bbadb4bc /fossee_manim/templates | |
parent | df35e10de960c0a2566df002faa1f8fa7828ba51 (diff) | |
download | FOSSEE_animations-eed46efdccfb2821cb07b6a189f439ba6f7bb3f2.tar.gz FOSSEE_animations-eed46efdccfb2821cb07b6a189f439ba6f7bb3f2.tar.bz2 FOSSEE_animations-eed46efdccfb2821cb07b6a189f439ba6f7bb3f2.zip |
Basic Feature Working
- Register
- Sendmail
- Login/Logout
- Index page
- View profile
- NavBar fixed
Diffstat (limited to 'fossee_manim/templates')
16 files changed, 579 insertions, 0 deletions
diff --git a/fossee_manim/templates/fossee_manim/activation.html b/fossee_manim/templates/fossee_manim/activation.html new file mode 100644 index 0000000..10a3d60 --- /dev/null +++ b/fossee_manim/templates/fossee_manim/activation.html @@ -0,0 +1,71 @@ +{% extends 'fossee_manim/base.html' %} + +{% block title %} + Awating activation +{% endblock %} + +{% block header %} + <nav class="navbar navbar-default navbar-custom"> + <div class="container-fluid"> + <div class="navbar-header"> + <a class="navbar-brand" href="#">FOSSEE Animations</a> + </div> + <ul class="nav navbar-nav navbar-right"> + {% if request.user.profile.is_email_verified %} + <li><a href="{{ URL_ROOT }}/view_profile/"><span class="glyphicon glyphicon-user"></span> Profile</a></li> + + <li><a href="{{ URL_ROOT }}/logout/"><span class="glyphicon glyphicon-log-out"></span> Logout</a></li> + {% endif %} + </ul> + </div> + </nav> +{% endblock %} + +{% block extra %} + +{% endblock %} + +{% block content %} +<br> + {% if status == '2' %} + <div class="container"> + <div class="jumbotron"> + <p> Your email is already verified, Please view your profile <a href="{{ URL_ROOT }}/view_profile/">here</a> </p> + + </div> + </div> + {% elif status == '1' %} + <script type="text/javascript"> + window.setTimeout(function() + { + location.href="{{ URL_ROOT }}/register/" + }, 5000); + </script> + <div class="container"> + <div class="jumbotron"> + <p> Your activation has expired please register again</p> + </div> + </div> + {% elif status == '0' %} + <div class="container"> + <div class="jumbotron"> + <p> Your account has been activated. Please view your profile <a href="{{ URL_ROOT }}/view_profile/">here</a> </p> + + </div> + </div> + {% else %} + <script type="text/javascript"> + window.setTimeout(function() + { + location.href="{{ URL_ROOT }}/logout/" + }, 5000); + </script> + + <div class="container"> + <div class="jumbotron"> + <h1>Activation Awaiting</h1> + <p>The Activation Link has been sent to your email. The link expires in <strong>24hours</strong> from the date of registration. You will be logged out automatically.</p> + </div> + </div> + {% endif %} +{% endblock %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/base.html b/fossee_manim/templates/fossee_manim/base.html new file mode 100644 index 0000000..0e86ecc --- /dev/null +++ b/fossee_manim/templates/fossee_manim/base.html @@ -0,0 +1,102 @@ +<!DOCTYPE html> +<html> +<head> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title> + {% block title %} + HomePage + {% endblock %} + </title> + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> + <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> + <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.bundle.min.js"></script> + + <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> + + <link rel="stylesheet" href="{{ URL_ROOT }}/static/css/sticky-footer.css" type="text/css" /> + <!-- favicon --> + <link rel="shortcut icon" type="image/png" href="{{ URL_ROOT}}/"/> +</head> + + <!-- For js/ajax and other related scripts --> + {% block extra %} + {% endblock %} + +<body style="overflow: scroll;"> + {% block header %} + <nav class="navbar navbar-expand-lg navbar-custom"> + <a class="navbar-brand" href="#">FOSSEE Animations</a> + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" + aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> + <span class="navbar-toggler-icon">=</span> + </button> + + <div class="collapse navbar-collapse" id="navbarSupportedContent"> + <ul class="navbar-nav mr-auto"> + + <form class="form-inline"> + <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search"> + <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button> + </form> + <li class="nav-item dropdown"> + <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> + Categories + </a> + <div class="dropdown-menu" aria-labelledby="navbarDropdown"> + <a class="dropdown-item" href="#">Math</a> + <a class="dropdown-item" href="#">Aerospace</a> + <a class="dropdown-item" href="#">Biology</a> + </div> + </li> + </ul> + + {% if user.is_authenticated %} + <ul class="navbar-nav ml-auto mr-5"> + <li class="nav-item dropdown"> + <a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> + {{user.first_name}} + </a> + {% if request.user.profile.position == 'contributor' %} + <div class="dropdown-menu" aria-labelledby="navbarDropdown"> + <a class="dropdown-item" href="#">Send Proposal</a> + <a class="dropdown-item" href="#">Proposal Status</a> + <a class="dropdown-item" href="{{URL_ROOT}}/view_profile">View Profile</a> + <a class="dropdown-item" href="{{URL_ROOT}}/logout">Logout</a> + </div> + {% else %} + <div class="dropdown-menu" aria-labelledby="navbarDropdown"> + <a class="dropdown-item" href="#">Proposal Status</a> + <a class="dropdown-item" href="{{URL_ROOT}}/view_profile">View Profile</a> + <a class="dropdown-item" href="{{URL_ROOT}}/logout">Logout</a> + </div> + {% endif %} + </li> + </ul> + {% else %} + <ul class="navbar-nav ml-auto"> + <li class="nav-item"> + <a class="nav-link" href="{{ URL_ROOT}}/register">Register</a> + </li> + <li class="nav-item"> + <a class="nav-link" href="{{ URL_ROOT}}/login">Login</a> + </li> + </ul> + {% endif %} + </div> + </nav> + {% endblock %} + + {% block content %} + <br><br> + <h1>Base Template Content. Please override me</h1> + {% endblock %} + +</body> +<br><br> + <footer class="footer"> + <div class="container"> + <p align="center">Developed by FOSSEE group, IIT Bombay</p> + </div> + </footer> +</html>
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/edit_profile.html b/fossee_manim/templates/fossee_manim/edit_profile.html new file mode 100644 index 0000000..78d1546 --- /dev/null +++ b/fossee_manim/templates/fossee_manim/edit_profile.html @@ -0,0 +1,26 @@ +{% extends "fossee_manim/base.html" %} + +{% block title %} + Edit Profile +{% endblock %} + +{% block extra %} +<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> +<script src="{{URL_ROOT}}/static/workshop_app/js/bootstrap-3.3.7.min.js"></script> +{% endblock %} + +{% block content %} +<br> + <div class="container"> + <form action="{{URL_ROOT}}/edit_profile/" method="post" > + {% csrf_token %} + <center> + <table class="table table-bordered"> + {{ form.as_table }} + </table> + </center> + <br> + <button class="btn btn-primary pull-right" type="submit">Save Profile</button> + </form> + </div> +{% endblock %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/index.html b/fossee_manim/templates/fossee_manim/index.html new file mode 100644 index 0000000..3d39b41 --- /dev/null +++ b/fossee_manim/templates/fossee_manim/index.html @@ -0,0 +1,134 @@ +<html> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="Akshen Doke" content="PRE, FOSSEE-IITB"> + <meta name="title" content="Welcome to FOSSEE's Python Workshops"> + <meta name="description" content="The FOSSEE team at IIT Bombay conducts remote-assisted training programs in Python. + These are interactive workshop sessions with hands-on experience, live assistance, practice sessions and evaluation quizzes. + These programs can be conducted at your institution / organisation, free of charge. + Please note that you will require a coordinator and a minimum number of 25 participants to request for these workshops."> + <meta name="keywords" content="learn python for free, fossee, iit bombay, python workshops, fossee python, python workshops"> + <!-- favicon --> + <link rel="shortcut icon" type="image/png" href="{{ URL_ROOT}}/static/img/fevicon_python.png"/> + + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> + + + <!-- Custom CSS --> + <link rel="stylesheet" href="{{ URL_ROOT }}/static/css/index.css" type="text/css" /> + <link rel="stylesheet" href="{{ URL_ROOT }}/static/css/sticky-footer.css" type="text/css" /> + + <script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script> + <script type="text/javascript" src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> + + <!-- Search bar --> + <link rel="stylesheet" href="{{ URL_ROOT}}/static/css/font-awesome.min.css" type="text/css"> + + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" ></script> + + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> + + <title>Welcome</title> + + </head> + <body> + <div class="container-fluid" style="height:100%; background-color: #3D5A50;"> + <div class="row" id="r1" style="background-color:#ffffff"> + <div class="col-md-2" id="brand"><strong>FOSSEE</strong> <br>Animation</div> + <div class="col-md-10" style="text-align:center;" id="tag"><strong>Python based animation for math</strong></div> + </div> + + <div class="row" id="r2" style="background-color:#3D5A50"> + <div class="col-md-8"> + <form class="example" action="" id="search_bar"> + <input type="text" placeholder="Search." name="search" id="search_tab"> + + <button type="submit"><i class="fa fa-search"></i></button> + </form> + </div> + <div class="col-md-2" id="btns" style="text-align:center;"> + <a href="{{URL_ROOT}}/login"><strong>Login</strong></a> + </div> + <div class="col-md-2" id="btns" style="text-align:center;"> + <a href="{{URL_ROOT}}/register"><strong>Register</strong></a> + </div> + </div> + + <div class="row" id="r3" style="background-color:ghostwhite"> + <div class="col-md-6"> + <img src="{{URL_ROOT}}/static/img/SS.png" style="width: 100%;" alt=""> + </div> + <div class="col-md-6" style="background-color:#436355;" > + <iframe width="100%" height="55%" + src="https://www.youtube.com/embed/JGLfa66Os0Q" frameborder="0" allow="accelerometer; + encrypted-media; gyroscope; picture-in-picture" allowfullscreen> + </iframe> + </div> + </div> + + <div class="row" id="r4" style="background-color:ghostwhite"> + <hr style="height:3px;"> + <div class="col-md-3" style="text-align:center;"> + <iframe width="240" height="125" + src="https://www.youtube.com/embed/JGLfa66Os0Q" frameborder="0" allow="accelerometer; + encrypted-media; gyroscope; picture-in-picture" allowfullscreen> + </iframe> + </div> + <div class="col-md-3" style="text-align:center;"> + <iframe width="240" height="125" + src="https://www.youtube.com/embed/JGLfa66Os0Q" frameborder="0" allow="accelerometer; + encrypted-media; gyroscope; picture-in-picture" allowfullscreen> + </iframe> + </div> + <div class="col-md-3" style="text-align:center;"> + <iframe width="240" height="125" + src="https://www.youtube.com/embed/JGLfa66Os0Q" frameborder="0" allow="accelerometer; + encrypted-media; gyroscope; picture-in-picture" allowfullscreen> + </iframe> + </div> + <div class="col-md-3" style="text-align:center;"> + <iframe width="240" height="125" + src="https://www.youtube.com/embed/JGLfa66Os0Q" frameborder="0" allow="accelerometer; + encrypted-media; gyroscope; picture-in-picture" allowfullscreen> + </iframe> + </div> + </div> + + <div class="row" id="r5" style="background-color:#436355;"> + <div class="col-md-4" style="text-align:center;"> + <br> + <img src="{{ URL_ROOT}}/static/img/fossee_logo_iitb.png" > + </div> + <div class="col-md-4" style="text-align:center; color:ghostwhite; + font-size: 100%; + "> + <br> + FOSSEE, + IIT-Bombay <br>Mumbai, India <br> + Phone: (+91) 22 2576 4133 <br> + Email: workshops[at]fossee[dot]in + </div> + <div class="col-md-4" style="text-align:center;"> + <div id="social"> + <br> <br> + <a href="https://www.facebook.com/FOSSEENMEICT/" target="_blank" class="fa fa-facebook"></a> + <a href="https://plus.google.com/u/0/104012350840765676803" target="_blank" class="fa fa-google"></a> + <a href="https://www.youtube.com/channel/UCMtt6exSCmZI7JU73S6Wz_A" target="_blank" class="fa fa-youtube"></a> + </div> + </div> + + + <div class="col-md-12" id="r6" style="background-color:#436355; text-align: center; color:ghostwhite;"> + <hr> + The FOSSEE project is funded by the National Mission on Education through ICT, MHRD, Government of India. <br> + This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License + <br><br> + </div> + </div> + + + </div> + </body> +</html>
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/login.html b/fossee_manim/templates/fossee_manim/login.html new file mode 100644 index 0000000..611f6ca --- /dev/null +++ b/fossee_manim/templates/fossee_manim/login.html @@ -0,0 +1,25 @@ +{% extends 'fossee_manim/base.html' %} + + {% block title %} + Login + {% endblock %} + +{% block content %} + <div class="container" align="center"> + <br> + <h3>Login</h3> + <br> + <form method="post"> + {% csrf_token %} + <table class="table table-bordered"> + {{ form.as_table }} + <br> + <br> + </table> + <button class="btn btn-success btn-sm" type="submit">Login</button> + <a href="{{URL_ROOT}}/forgotpassword/" class="btn btn-default btn-sm" style="color:#3693C0;">Forgot Password</a> + <br> + </form> + <br> + </div> + {% endblock %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/logout.html b/fossee_manim/templates/fossee_manim/logout.html new file mode 100644 index 0000000..5ef3e73 --- /dev/null +++ b/fossee_manim/templates/fossee_manim/logout.html @@ -0,0 +1,16 @@ +{% extends 'fossee_manim/base.html' %} + + {% block title %} + Logged out + {% endblock %} + + + {% block content %} + <div class="container" align="center"> + <br> + <h3>You have logged out successfully.</h3> + <h4>If you want to Login again please <a href="{{ URL_ROOT}}/login/">click here</a></h4> + <br> + </div> + + {% endblock %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/password_change_done.html b/fossee_manim/templates/fossee_manim/password_change_done.html new file mode 100644 index 0000000..93b93cb --- /dev/null +++ b/fossee_manim/templates/fossee_manim/password_change_done.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} + +{% block pagetitle %} + Password change successful +{% endblock %} + +{% block script %} +<script type="text/javascript"> + window.setTimeout(function() + { + location.href="{{ URL_ROOT }}/login/" + }, 3000); +</script> +{% endblock %} + +{% block content %} + <h3>Your password has been changed successfully.</h3> + <h4>Redirecting ...</h4> +{% endblock %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/password_change_form.html b/fossee_manim/templates/fossee_manim/password_change_form.html new file mode 100644 index 0000000..918f820 --- /dev/null +++ b/fossee_manim/templates/fossee_manim/password_change_form.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} +<!DOCTYPE html> +{% block pagetitle %} Change Password {% endblock %} + +{% block content %} +<form action="" method="post" > + {% csrf_token %} + <center> + <table class=span1> + {{ form }} + </table> + </center> + <center><button class="btn" type="submit">Change Password</button> + <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/login/");'>Cancel</button></center> +</form> +{% endblock content %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/password_reset_complete.html b/fossee_manim/templates/fossee_manim/password_reset_complete.html new file mode 100644 index 0000000..99f8782 --- /dev/null +++ b/fossee_manim/templates/fossee_manim/password_reset_complete.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} +{% block pagetitle %}Password reset complete{% endblock %} +{% block content %} +<p>Your password has been reset. </p> + +{% endblock %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/password_reset_confirm.html b/fossee_manim/templates/fossee_manim/password_reset_confirm.html new file mode 100644 index 0000000..9f5b47a --- /dev/null +++ b/fossee_manim/templates/fossee_manim/password_reset_confirm.html @@ -0,0 +1,15 @@ +{% extends "base.html" %} +{% block pagetitle %}Reset Password{% endblock %} + +{% block content %} + {% if validlink %} + <p>Please enter your new password twice so we can verify you typed it in correctly</p>. + <form method="post"> + {% csrf_token %} + {{ form.as_p }} + <button class= "btn" type="submit">Submit</button> + </form> + {% else %} + <p>This reset link is no longer valid!</p> + {% endif %} +{% endblock %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/password_reset_done.html b/fossee_manim/templates/fossee_manim/password_reset_done.html new file mode 100644 index 0000000..0d335b8 --- /dev/null +++ b/fossee_manim/templates/fossee_manim/password_reset_done.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block title %} + Password reset successful +{% endblock %} + +{% block pagetitle %} + Instruction for setting new password has been mailed to your registered email address +{% endblock %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/password_reset_form.html b/fossee_manim/templates/fossee_manim/password_reset_form.html new file mode 100644 index 0000000..977fbc3 --- /dev/null +++ b/fossee_manim/templates/fossee_manim/password_reset_form.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block pagetitle %} + Email will be send to the registered email address +{% endblock %} + +{% block content %} +<form action="" method="post"> + {% csrf_token %} + {{ form }} + <button class="btn" type="submit">Request</button> + <a class="btn" href="{{URL_ROOT}}/login/">Cancel</a> +</form> +{% endblock content %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/profile_updated.html b/fossee_manim/templates/fossee_manim/profile_updated.html new file mode 100644 index 0000000..ef7177c --- /dev/null +++ b/fossee_manim/templates/fossee_manim/profile_updated.html @@ -0,0 +1,19 @@ + +{% extends 'fossee_manim/base.html' %} + +{% block title %} + Profile Changing +{% endblock %} + + + {% block extra %} + <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> + <script src="{{URL_ROOT}}/static/fossee_manim/js/bootstrap-3.3.7.min.js"></script> + {% endblock %} +{% block content %} + <div class="container"> + <div class="jumbotron"> + <h3>Your Profile has changed {{ user.first_name }}</h3> + </div> + </div> +{% endblock %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/registration/register.html b/fossee_manim/templates/fossee_manim/registration/register.html new file mode 100644 index 0000000..5b148a9 --- /dev/null +++ b/fossee_manim/templates/fossee_manim/registration/register.html @@ -0,0 +1,37 @@ +{% extends 'fossee_manim/base.html' %} + + {% block title %} + Register + {% endblock %} + +{% block content %} + + <style type="text/css"> + label.required::after { + content: "*"; + color: red; + } + .errorlist { + color: red; + } + </style> + + <div class="container" > + <br> + <h3>Contributor Registration Form</h3> + <br> + <form action="" method="post"> + {% csrf_token %} + <table class="table table-bordered"> + {{ form.as_table }} + </table> + + <button class="btn btn-success" type="submit">Register</button> + </form><br> + <!-- Activate when reviwers registeration starts --> + <!-- <div class="alert alert-info"> + <strong>Info!</strong> reviwerss, please wait for our admin approval, if your reviwers account is not activated in 7 days, please mail us at workshops[at]fossee[dot]in + </div> --> + <br> + </div> +{% endblock %}
\ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/view_profile.html b/fossee_manim/templates/fossee_manim/view_profile.html new file mode 100644 index 0000000..b70ec4a --- /dev/null +++ b/fossee_manim/templates/fossee_manim/view_profile.html @@ -0,0 +1,55 @@ +{% extends 'fossee_manim/base.html' %} + +{% block title %} + View Profile +{% endblock %} + + + {% block extra %} + <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> + <script src="{{URL_ROOT}}/static/fossee_manim/js/bootstrap-3.3.7.min.js"></script> + {% endblock %} + +{% csrf_token %} +{% block content %} + <br> + <div class="container"> + <table class="table table-bordered"> + <tr> + <th><label for="id_first_name"><h5>First name:</h5></label></th> + <th><label for="id_first_name"><h5>{{ user.first_name }}</h5></label></th> + </tr> + <tr> + <th><label for="id_last_name"><h5>Last name:</h5></label></th> + <th><label for="id_last_name"><h5>{{ user.last_name }}</h5></label></th> + </tr> + <tr> + <th><label for="id_email"><h5>Email:</h5></label></th> + <th><label for="id_email"><h5>{{ user.email }}</h5></label></th> + </tr> + <tr> + <th><label for="id_institute"><h5>Institute:</h5></label></th> + <th><label for="id_institute"><h5>{{ user.profile.institute }}</h5></label></th> + </tr> + <tr> + <th><label for="id_phone_number"><h5>Phone Number:</h5></label></th> + <th><label for="id_phone_number"><h5>{{ user.profile.phone_number }}</h5></label></th> + </tr> + <tr> + <th><label for="id_department"><h5>Department:</h5></label></th> + <th><label for="id_department"><h5>{{ user.profile.department }}</h5></label></th> + </tr> + <tr> + <th><label for="id_location"><h5>Location:</h5></label></th> + <th><label for="id_location"><h5>{{ user.profile.location }}</h5></label></th> + </tr> + <tr> + <th><label for="id_position"><h5>Position:</h5></label></th> + <th><label for="id_position"><h5>{{ user.profile.position }}</h5></label></th> + </tr> + </table> + <br> + <a class="btn btn-primary pull-right" href="{{ URL_ROOT }}/edit_profile/">Edit Profile</a> + </div> + <br><br> +{% endblock %}
\ No newline at end of file diff --git a/fossee_manim/templates/password_reset_confirm.html b/fossee_manim/templates/password_reset_confirm.html new file mode 100644 index 0000000..9f5b47a --- /dev/null +++ b/fossee_manim/templates/password_reset_confirm.html @@ -0,0 +1,15 @@ +{% extends "base.html" %} +{% block pagetitle %}Reset Password{% endblock %} + +{% block content %} + {% if validlink %} + <p>Please enter your new password twice so we can verify you typed it in correctly</p>. + <form method="post"> + {% csrf_token %} + {{ form.as_p }} + <button class= "btn" type="submit">Submit</button> + </form> + {% else %} + <p>This reset link is no longer valid!</p> + {% endif %} +{% endblock %}
\ No newline at end of file |