diff options
author | Akshen | 2018-01-22 14:14:20 +0530 |
---|---|---|
committer | GitHub | 2018-01-22 14:14:20 +0530 |
commit | 8bc7f300e51a6dd6a4fa372dce366e4f036ef2d4 (patch) | |
tree | e3b3c18eba77cdbbffcb999f8f3f1401ed2603f8 | |
parent | 76ba40c705fbc7ee0032c30057caabc942aa5532 (diff) | |
parent | 359651df235b325129b6b18c2e121ed1c239358e (diff) | |
download | workshop_booking-8bc7f300e51a6dd6a4fa372dce366e4f036ef2d4.tar.gz workshop_booking-8bc7f300e51a6dd6a4fa372dce366e4f036ef2d4.tar.bz2 workshop_booking-8bc7f300e51a6dd6a4fa372dce366e4f036ef2d4.zip |
Merge pull request #31 from Akshen/develop
Add Cookie Age
-rw-r--r-- | workshop_app/templates/workshop_app/self_workshop.html | 29 | ||||
-rw-r--r-- | workshop_portal/settings.py | 2 |
2 files changed, 24 insertions, 7 deletions
diff --git a/workshop_app/templates/workshop_app/self_workshop.html b/workshop_app/templates/workshop_app/self_workshop.html index b472252..4c52671 100644 --- a/workshop_app/templates/workshop_app/self_workshop.html +++ b/workshop_app/templates/workshop_app/self_workshop.html @@ -24,8 +24,9 @@ {% block content %} <div class="container-fluid"> -<ul class ="list-unstyled"> - <li><h3 style="font-family: 'Josefin Sans', sans-serif;">About this Online Courses</h3></li> + <div class="row"> + <ul class ="list-unstyled"> + <li><u><h3 style="font-family: 'Josefin Sans', sans-serif; padding-left:40%;">About this Online Courses</h3></li></u> <ul> <li> <h4 style="font-family: 'Roboto Mono', monospace; @@ -44,8 +45,13 @@ <h4 style="font-family: 'Roboto Mono', monospace; ">Participants who meet the <a target="_blank" href="https://python.fossee.in/python-workshops">criteria</a> mentioned will receive e-certificates within 15 working days from the day of course completion. Certificates will be issued on registered email address.</h4></li> </ul> + </ul> + </div> - <li><h3 style="font-family: 'Josefin Sans', sans-serif;">Instructions</h3></li> + <!-- --> + <div class="row"> + <ul class="list-unstyled"> + <li><u><h3 style="font-family: 'Josefin Sans', sans-serif; padding-left:40%;">Instructions</h3></u></li> <ul> <li> <h4 style="font-family: 'Roboto Mono', monospace;"> @@ -70,8 +76,12 @@ </h4> </li> </ul> + </ul> +</div> - <li><h3 style="font-family: 'Josefin Sans', sans-serif;">Duration</h3></li> + <div class="row"> + <ul class="list-unstyled"> + <li><u><h3 style="font-family: 'Josefin Sans', sans-serif; padding-left:40%;">Duration</h3></u></li> <ul> <li> <h4 style="font-family: 'Roboto Mono', monospace;"> @@ -79,8 +89,13 @@ </h4> </li> </ul> + </ul> + </div> - <li><h3 style="font-family: 'Josefin Sans', sans-serif;">Benefits</h3></li> + <!-- --> + <div class="row"> + <ul class="list-unstyled"> + <li><u><h3 style="font-family: 'Josefin Sans', sans-serif; padding-left:40%;">Benefits</h3></u></li> <ul> <li> <h4 style="font-family: 'Roboto Mono', monospace;"> @@ -94,9 +109,9 @@ Flexible Timings </h4> </li> + </ul> </ul> - -</ul> + </div> </div> {% endblock %} diff --git a/workshop_portal/settings.py b/workshop_portal/settings.py index 3e8bbab..c6ca22e 100644 --- a/workshop_portal/settings.py +++ b/workshop_portal/settings.py @@ -177,3 +177,5 @@ SHOW_WORKSHOP_STATS = False #Set True or False to view/hide LOGIN_REDIRECT_URL = '/profile' SESSION_EXPIRE_AT_BROWSER_CLOSE = True +SESSION_SAVE_EVERY_REQUEST = True +SESSION_COOKIE_AGE = 360 |