diff --git a/result/views.py b/result/views.py index 8654046..2a2f5e1 100644 --- a/result/views.py +++ b/result/views.py @@ -329,7 +329,7 @@ def result_sheet_pdf_view(request, id): print("\nsettings.MEDIA_ROOT", settings.MEDIA_ROOT) print("\nsettings.STATICFILES_DIRS[0]", settings.STATICFILES_DIRS[0]) - logo = settings.STATICFILES_DIRS[0] + "/img/dj-lms.png" + logo = settings.STATICFILES_DIRS[0] + "/img/brand.png" im = Image(logo, 1 * inch, 1 * inch) im.__setattr__("_offs_x", -200) im.__setattr__("_offs_y", -45) @@ -741,7 +741,7 @@ def course_registration_form(request): # FIRST SEMESTER ENDS HERE - logo = settings.STATICFILES_DIRS[0] + "/img/dj-lms.png" + logo = settings.STATICFILES_DIRS[0] + "/img/brand.png" im_logo = Image(logo, 1 * inch, 1 * inch) im_logo.__setattr__("_offs_x", -218) im_logo.__setattr__("_offs_y", 480) diff --git a/static/img/brand-filled.png b/static/img/brand-filled.png new file mode 100644 index 0000000..f8ee223 Binary files /dev/null and b/static/img/brand-filled.png differ diff --git a/static/img/brand-white.png b/static/img/brand-white.png deleted file mode 100644 index c70eb18..0000000 Binary files a/static/img/brand-white.png and /dev/null differ diff --git a/static/img/brand.png b/static/img/brand.png new file mode 100644 index 0000000..5000aab Binary files /dev/null and b/static/img/brand.png differ diff --git a/static/img/dj-lms-dashboard.png b/static/img/dj-lms-dashboard.png deleted file mode 100644 index 8b577df..0000000 Binary files a/static/img/dj-lms-dashboard.png and /dev/null differ diff --git a/static/img/dj-lms.png b/static/img/dj-lms.png deleted file mode 100644 index 00eddcb..0000000 Binary files a/static/img/dj-lms.png and /dev/null differ diff --git a/static/img/favicon.png b/static/img/favicon.png index eb1ff54..07a194c 100644 Binary files a/static/img/favicon.png and b/static/img/favicon.png differ diff --git a/static/img/screenshot.png b/static/img/screenshot.png new file mode 100644 index 0000000..f0751fc Binary files /dev/null and b/static/img/screenshot.png differ diff --git a/templates/aside.html b/templates/aside.html index f216350..23739f8 100644 --- a/templates/aside.html +++ b/templates/aside.html @@ -17,11 +17,10 @@ - Logo Django LMS + Logo Django LMS -

- - +

+ {{ request.user.get_user_role }}

diff --git a/templates/core/dashboard.html b/templates/core/dashboard.html index 3ee08c3..f506c8f 100644 --- a/templates/core/dashboard.html +++ b/templates/core/dashboard.html @@ -40,7 +40,7 @@

{% trans 'Students' %} -

{{ student_count }}

+

3,540

@@ -49,7 +49,7 @@

{% trans 'Lecturers' %} -

{{ lecturer_count }}

+

712

@@ -58,7 +58,7 @@

{% trans 'Administrators' %} -

{{ superuser_count }}

+

85