From 756d9e437cc0e573558046d7ad2b1e629487865d Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Thu, 23 Aug 2018 16:59:35 +0530 Subject: added new html files --- static/website/templates/abstract-details.html | 44 ++++++++++ static/website/templates/comment-abstract.html | 98 ++++++++++++++++++++++ static/website/templates/edit-proposal.html | 35 ++++++++ .../registration/password_change_done.html | 47 +++++++++++ .../registration/password_change_form.html | 49 +++++++++++ .../registration/password_reset_complete.html | 41 +++++++++ .../registration/password_reset_confirm.html | 91 ++++++++++++++++++++ .../registration/password_reset_done.html | 41 +++++++++ .../registration/password_reset_form.html | 26 ++++++ static/website/templates/user-register.html | 43 ++++++++++ 10 files changed, 515 insertions(+) create mode 100755 static/website/templates/abstract-details.html create mode 100755 static/website/templates/comment-abstract.html create mode 100755 static/website/templates/edit-proposal.html create mode 100755 static/website/templates/registration/password_change_done.html create mode 100755 static/website/templates/registration/password_change_form.html create mode 100755 static/website/templates/registration/password_reset_complete.html create mode 100755 static/website/templates/registration/password_reset_confirm.html create mode 100755 static/website/templates/registration/password_reset_done.html create mode 100755 static/website/templates/registration/password_reset_form.html create mode 100755 static/website/templates/user-register.html diff --git a/static/website/templates/abstract-details.html b/static/website/templates/abstract-details.html new file mode 100755 index 0000000..07dcfc3 --- /dev/null +++ b/static/website/templates/abstract-details.html @@ -0,0 +1,44 @@ +{% extends "base.html" %} +{% load static %} + {% block content %} +
+
+

+

+

Abstract Details

+
+

+

{{ proposal.user.first_name }} {{ proposal.user.last_name }}

+
+

Title:  {{ proposal.title }}

+

About Me:  {{ proposal.about_me | linebreaks }}

+

Abstract:  {{ proposal.abstract |linebreaks }}

+ {% if proposal.prerequisite %} +

Prerequisite:  {{ proposal.prerequisite |linebreaks }}

+ {% endif%} +

Duration:  {{ proposal.duration }} {% if proposal.proposal_type == "ABSTRACT"%} Mins {% else %}Hours {%endif%}

+ {% if proposal.proposal_type == "ABSTRACT"%} +

Tags:  {{ proposal.tags }}

+ {% else %} +

Level:  {{ proposal.tags }}

+ {% endif %} +

Date Created:  {{ proposal.date_created }}

+ {% if url %} +

Attachment:   + {{filename}} +

+ {% endif %} +

Comments: +


+ {% for comment in comments %} +
+ Comment By: + {{ comment.user.first_name }} {{ comment.user.last_name }} +

{{ comment.comment| linebreaks }}

+
+
+ {% endfor %} +
+
+ {% endblock %} + diff --git a/static/website/templates/comment-abstract.html b/static/website/templates/comment-abstract.html new file mode 100755 index 0000000..b6dd3a2 --- /dev/null +++ b/static/website/templates/comment-abstract.html @@ -0,0 +1,98 @@ +{% extends "base.html" %} +{% load static %} +{% load widget_tweaks %} +{% block content %} + +
+
+

+

+ {% if proposal.proposal_type == "ABSTRACT"%} +

Abstract Details

+ {% else %} +

Workshop Details

+ {% endif %} +
+

+

{{ proposal.user.first_name }} {{ proposal.user.last_name }}

+

Title:  {{ proposal.title }}

+

About Me:  {{ proposal.about_me |linebreaks }}

+ {% if proposal.proposal_type == "ABSTRACT"%} +

Abstract:  + {% else %} +

Description:  + {% endif %} + {{ proposal.abstract | linebreaks }} +

+ {% if proposal.prerequisite %} +

Prerequisite:  {{ proposal.prerequisite| linebreaks }}

+ {% endif%} +

Duration:  {{ proposal.duration }} {% if proposal.proposal_type == "ABSTRACT"%} Mins {% else %}Hours {%endif%}

+ {% if proposal.proposal_type == "ABSTRACT"%} +

Tags:  {{ proposal.tags }}

+ {% else %} +

Level:  {{ proposal.tags }}

+ {% endif %} + {% if url %} + Attachment:  {{ filename }} + {% endif %} +

Date Created:  {{ proposal.date_created }}

+
+ {% csrf_token %} + Ratings : + + /10   + +
+

Ratings

+ {% for rate in rates %} +
+ {{rate.rating}}/10 + by - {{ rate.user }} +
+ {% endfor %} +
+

Comments

+ {% for comment in comments %} +
+ Comment By: + {{ comment.user.first_name }} {{ comment.user.last_name }} +

{{ comment.comment| linebreaks }}

+ +
+
+ + {% endfor %} +
+ {% csrf_token %} +
+ +
+ +
+
+ {% endblock %} + + diff --git a/static/website/templates/edit-proposal.html b/static/website/templates/edit-proposal.html new file mode 100755 index 0000000..fdcc39b --- /dev/null +++ b/static/website/templates/edit-proposal.html @@ -0,0 +1,35 @@ +{% extends "base.html" %} +{% load static %} +{% load widget_tweaks %} +{% block content %} + +
+
+

+

+ {% if proposal.proposal_type == "ABSTRACT" %} +

Edit Abstract Proposal

+ {% else %} +

Edit Workshop Proposal

+ {% endif %} +
+

+

{{ proposal.user.first_name }} {{ proposal.user.last_name }}

+
+ {% csrf_token %} +
+ {% for field in form %} +

{{ field.label}} + {% if field.field.required %} * {% endif %} + {{ field }} +

+ {{ field.errors }} + {% endfor %} +
+ {% csrf_token %} +
+
+
+
+
+ {% endblock %} diff --git a/static/website/templates/registration/password_change_done.html b/static/website/templates/registration/password_change_done.html new file mode 100755 index 0000000..67fd9a6 --- /dev/null +++ b/static/website/templates/registration/password_change_done.html @@ -0,0 +1,47 @@ + +{% load static %} + + + + + + + + + + SciPy India 2017 + + + + + + + + + + {% block header %} +
+
+

SciPy India 2017

+

Reset Password

+
+
+{% endblock %} + +{% block content %} +
+
+
+ + +

Your password has been changed successfully.

+

Redirecting ...

+
+
+
+{% endblock %} \ No newline at end of file diff --git a/static/website/templates/registration/password_change_form.html b/static/website/templates/registration/password_change_form.html new file mode 100755 index 0000000..a27c585 --- /dev/null +++ b/static/website/templates/registration/password_change_form.html @@ -0,0 +1,49 @@ + +{% load static %} + + + + + + + + + + SciPy India 2017 + + + + + + + + + + {% block header %} +
+
+

SciPy India 2017

+

Reset Password

+
+
+{% endblock %} + +{% block content %} +
+
+
+
+
+ {% csrf_token %} +
+ + {{ form }} +
+
+
+
+
+
+
+
+{% endblock %} diff --git a/static/website/templates/registration/password_reset_complete.html b/static/website/templates/registration/password_reset_complete.html new file mode 100755 index 0000000..b8a6131 --- /dev/null +++ b/static/website/templates/registration/password_reset_complete.html @@ -0,0 +1,41 @@ + +{% load static %} + + + + + + + + + + SciPy India 2017 + + + + + + + + + + {% block header %} +
+
+

SciPy India 2017

+

Reset Password

+
+
+{% endblock %} + +{% block content %} +
+
+
+
+

Your password has been reset.

+

Please Log in with your new password.

+
+
+
+{% endblock %} diff --git a/static/website/templates/registration/password_reset_confirm.html b/static/website/templates/registration/password_reset_confirm.html new file mode 100755 index 0000000..895e30d --- /dev/null +++ b/static/website/templates/registration/password_reset_confirm.html @@ -0,0 +1,91 @@ +{% load static %} + + + + + + + + + + SciPy India 2017 + + + + + + + + + + {% block header %} +
+
+

SciPy India 2017

+

Reset Password

+
+
+{% endblock %} + +{% block content %} +
+
+
+ {% if validlink %} +
+

Please enter your new password twice.

+
+
+
+ +
+ + + + + + + + + + + + + + + + +
+
{{ form.new_password1.errors }} + {{ form.new_password1 }}
{{ form.new_password2.errors }} + {{ form.new_password2 }}

+
+
+ {% else %} +

The password reset link is invalid, + possibly because it has already been used.
+ Please request a new password reset.


+ {% endif %} +
+
+
+ + +{% endblock %} diff --git a/static/website/templates/registration/password_reset_done.html b/static/website/templates/registration/password_reset_done.html new file mode 100755 index 0000000..e161e5e --- /dev/null +++ b/static/website/templates/registration/password_reset_done.html @@ -0,0 +1,41 @@ +{% load static %} + + + + + + + + + + SciPy India 2017 + + + + + + + + +
+ {% block header %} +
+
+

SciPy India 2017

+

Reset Password

+
+
+
+{% endblock %} + + +{% block content %} +
+
+
+
+ If an account exists with this email, you would receive the password reset instructions shortly. Please check your spam folder too.
+
+
+
+ {% endblock %} diff --git a/static/website/templates/registration/password_reset_form.html b/static/website/templates/registration/password_reset_form.html new file mode 100755 index 0000000..b5d900a --- /dev/null +++ b/static/website/templates/registration/password_reset_form.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} +{% load static %} + {% block content %} +
+
+ +

Recovery Email

+
+ Kindly enter your email ID used for registration. The password reset link will be mailed to the same. +

+
+ {% csrf_token %} + {{ form.email.errors }} +

{{ form.email }} + +
+

+ + +
+
+ +
+
+{% endblock %} diff --git a/static/website/templates/user-register.html b/static/website/templates/user-register.html new file mode 100755 index 0000000..c5ea301 --- /dev/null +++ b/static/website/templates/user-register.html @@ -0,0 +1,43 @@ +{% extends "base.html" %} +{% load static %} +
+{% block content %} +
+
+
+

Register

+
+ {% if email_registered %} +
+
+ × +

Email ID is already registered !

+
+

Have you already logged in using social logins ?

+

or

+

Click Here if you forgot your username or password

+
+ {% endif %} + {% if registration_complete %} +

Your Account is Created Successfully !

+ {% endif %} + +
+ + {% csrf_token %} + {% for field in form %} +

{{ field.label}} + {% if field.field.required %} * {% endif %} + {{ field }} +

+ {{ field.errors }} + {% endfor %} +
+ + I have an account + +
+ +
+{% endblock %} -- cgit