-
Notifications
You must be signed in to change notification settings - Fork 898
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated travis yml file * removed xml files * passsword reset issue fixed, updated html design with django-crm theme, added named urls in templates * updated readme.rst file
- Loading branch information
Showing
18 changed files
with
95 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Django==2.1 | ||
Django==2.0.7 | ||
django-simple-pagination==1.1.8 | ||
pytz==2018.3 | ||
psycopg2-binary==2.7.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
{% extends 'base.html' %} | ||
<a href="/logout/"><button class="btn btn-primary" type="button">Logout</button></a | ||
<a href="{% url "common:logout" %}"><button class="btn btn-primary" type="button">Logout</button></a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
{% extends 'base.html' %} | ||
|
||
{% block content %} | ||
<p> | ||
Your password has been set. You may go ahead and <a href="{% url 'common:login' %}">sign in</a> now. | ||
</p> | ||
<div class="row marl justify-content-center login_row"> | ||
<div class="col-md-12 col-lg-6 col-xl-4"> | ||
<div class="login_block"> | ||
<div class="login_form_block"> | ||
Your password has been set. You may go ahead and <a href="{% url 'common:login' %}">sign in</a> now. | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
{% extends 'registration/base.html' %} | ||
|
||
{% extends 'base.html' %} | ||
{% block content %} | ||
{% if validlink %} | ||
<h3>Change password</h3> | ||
<form method="post"> | ||
{% csrf_token %} | ||
{{ form.as_p }} | ||
<button type="submit" class="btn btn-danger">Change password</button> | ||
</form> | ||
{% else %} | ||
<p> | ||
The password reset link was invalid, possibly because it has already been used. | ||
Please request a new password reset. | ||
</p> | ||
{% endif %} | ||
<div class="row marl justify-content-center login_row"> | ||
<div class="col-md-6 col-lg-6 col-xl-4"> | ||
<div class="login_block"> | ||
<div class="login_form_block"> | ||
{% if validlink %} | ||
<h3 class="welcome">Change password</h3> | ||
<form method="post"> | ||
{% csrf_token %} | ||
{{ form.as_p }} | ||
<button type="submit" class="btn btn-danger">Change password</button> | ||
</form> | ||
{% else %} | ||
<p> | ||
The password reset link was invalid, possibly because it has already been used. | ||
Please request a new password reset. | ||
</p> | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
{% extends 'registration/base.html' %} | ||
{% block content %} | ||
<p> | ||
We've emailed you instructions for setting your password, if an account exists with the email you entered. | ||
You should receive them shortly. | ||
</p> | ||
<p> | ||
If you don't receive an email, please make sure you've entered the address you registered with, | ||
and check your spam folder. | ||
</p> | ||
<div class="ow marl justify-content-center login_row"> | ||
<div class="login_block"> | ||
<div class="login_form_block"> | ||
<div class="welcome">Django CRM</div> | ||
<p> | ||
We've emailed you instructions for setting your password, if an account exists with the email you entered. | ||
You should receive them shortly. | ||
</p> | ||
<p> | ||
If you don't receive an email, please make sure you've entered the address you registered with, | ||
and check your spam folder. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
{% autoescape off %} | ||
To initiate the password reset process for your {{ user.get_username }} TestSite Account, | ||
To initiate the password reset process for your {{ user.get_username }} Django-CRM Account, | ||
click the link below: | ||
|
||
{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %} | ||
|
||
If clicking the link above doesn't work, please copy and paste the URL in a new browser | ||
window instead. | ||
|
||
Sincerely, | ||
The TestSite Team | ||
The Django-CRM Team | ||
{% endautoescape %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters