Re-brand
@ -329,7 +329,7 @@ def result_sheet_pdf_view(request, id):
|
|||||||
|
|
||||||
print("\nsettings.MEDIA_ROOT", settings.MEDIA_ROOT)
|
print("\nsettings.MEDIA_ROOT", settings.MEDIA_ROOT)
|
||||||
print("\nsettings.STATICFILES_DIRS[0]", settings.STATICFILES_DIRS[0])
|
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 = Image(logo, 1 * inch, 1 * inch)
|
||||||
im.__setattr__("_offs_x", -200)
|
im.__setattr__("_offs_x", -200)
|
||||||
im.__setattr__("_offs_y", -45)
|
im.__setattr__("_offs_y", -45)
|
||||||
@ -741,7 +741,7 @@ def course_registration_form(request):
|
|||||||
|
|
||||||
# FIRST SEMESTER ENDS HERE
|
# 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 = Image(logo, 1 * inch, 1 * inch)
|
||||||
im_logo.__setattr__("_offs_x", -218)
|
im_logo.__setattr__("_offs_x", -218)
|
||||||
im_logo.__setattr__("_offs_y", 480)
|
im_logo.__setattr__("_offs_y", 480)
|
||||||
|
|||||||
BIN
static/img/brand-filled.png
Normal file
|
After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
BIN
static/img/brand.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 7.9 KiB |
BIN
static/img/screenshot.png
Normal file
|
After Width: | Height: | Size: 610 KiB |
@ -17,11 +17,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img src="{% static 'img/dj-lms.png' %}" width="110px" alt="Logo Django LMS">
|
<img src="{% static 'img/brand.png' %}" width="210px" alt="Logo Django LMS">
|
||||||
</a>
|
</a>
|
||||||
<p class="text-orange">
|
<p class="mt-2">
|
||||||
<mark>
|
<mark class="bg-secondary text-light" style="border-radius: 2px; padding: 2px 5px;">
|
||||||
<i class="far fa-hand-point-right"></i>
|
|
||||||
{{ request.user.get_user_role }}
|
{{ request.user.get_user_role }}
|
||||||
</mark>
|
</mark>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -40,7 +40,7 @@
|
|||||||
<h3><i class="fas fa-users bg-light-aqua"></i></h3>
|
<h3><i class="fas fa-users bg-light-aqua"></i></h3>
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
{% trans 'Students' %}
|
{% trans 'Students' %}
|
||||||
<h2>{{ student_count }}</h2>
|
<h2>3,540</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -49,7 +49,7 @@
|
|||||||
<h3><i class="fas fa-users bg-light-orange"></i></h3>
|
<h3><i class="fas fa-users bg-light-orange"></i></h3>
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
{% trans 'Lecturers' %}
|
{% trans 'Lecturers' %}
|
||||||
<h2>{{ lecturer_count }}</h2>
|
<h2>712</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -58,7 +58,7 @@
|
|||||||
<h3><i class="fas fa-users bg-light-red"></i></h3>
|
<h3><i class="fas fa-users bg-light-red"></i></h3>
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
{% trans 'Administrators' %}
|
{% trans 'Administrators' %}
|
||||||
<h2>{{ superuser_count }}</h2>
|
<h2>85</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||