diff options
author | adityacp | 2020-07-27 16:49:44 +0530 |
---|---|---|
committer | adityacp | 2020-07-27 16:49:44 +0530 |
commit | 96102991ed192ca6a0c48cad4e63b604c0ce6d70 (patch) | |
tree | 6a1d15502f45c72d99d806b043efda334b0f3184 /cms/templates | |
parent | 47eb422c3cb2baf5386df274114019f684fa9af8 (diff) | |
download | workshop_booking-96102991ed192ca6a0c48cad4e63b604c0ce6d70.tar.gz workshop_booking-96102991ed192ca6a0c48cad4e63b604c0ce6d70.tar.bz2 workshop_booking-96102991ed192ca6a0c48cad4e63b604c0ce6d70.zip |
Change models, views, admin, template
- Add active boolean field in all models
- Get the pages based on the active status
- Minor code refactor in views
- Add app_name in urls
Diffstat (limited to 'cms/templates')
-rw-r--r-- | cms/templates/cms_base.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cms/templates/cms_base.html b/cms/templates/cms_base.html index 90d0e2b..4f43329 100644 --- a/cms/templates/cms_base.html +++ b/cms/templates/cms_base.html @@ -3,7 +3,7 @@ {% load static %} <head> <meta charset="UTF-8"> - <title>{{ page.title }}</title> + <title>{{ page.title|title }}</title> <link rel="stylesheet" href="{% static 'cms/css/bootstrap.min.css' %}"> <script src="{% static 'cms/js/jquery-3.4.1.slim.min.js' %}"></script> @@ -14,8 +14,8 @@ </head> <body> -<nav class=" navbar-custom navbar navbar-expand-lg bg-light"> - <a class="navbar-brand" href="/">FOSSEE Python Workshops</a> +<nav class=" navbar navbar-dark navbar navbar-expand-lg bg-dark fixed-top"> + <a class="navbar-brand" href="/">FOSSEE Workshops</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> @@ -52,6 +52,8 @@ </div> </div> </nav> +<div class="base-content"> {{ page.content | safe }} +</div> </body> </html>
\ No newline at end of file |