From 6d65626ce211d20fb25a96656a2930270cf4e2eb Mon Sep 17 00:00:00 2001
From: Emmanuel Viennet
Date: Sun, 22 Aug 2021 19:30:58 +0200
Subject: [PATCH] update logos
---
app/scodoc/gen_tables.py | 4 +++-
app/scodoc/html_sidebar.py | 8 +++++---
app/scodoc/sco_groups_view.py | 2 +-
app/static/css/scodoc.css | 5 +++++
app/static/icons/scologo_img.png | Bin 28219 -> 17276 bytes
app/static/icons/xlsicon_img.png | Bin 2861 -> 384 bytes
6 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/app/scodoc/gen_tables.py b/app/scodoc/gen_tables.py
index d1817d3645..5a0ba97068 100644
--- a/app/scodoc/gen_tables.py
+++ b/app/scodoc/gen_tables.py
@@ -447,18 +447,20 @@ class GenTable(object):
if caption:
H.append(caption)
if self.base_url:
+ H.append('')
if self.xls_link:
H.append(
' %s'
% (self.base_url, scu.ICON_XLS)
)
if self.xls_link and self.pdf_link:
- H.append(" ")
+ H.append(" ")
if self.pdf_link:
H.append(
' %s'
% (self.base_url, scu.ICON_PDF)
)
+ H.append("")
H.append("
")
H.append(self.html_next_section)
diff --git a/app/scodoc/html_sidebar.py b/app/scodoc/html_sidebar.py
index 3f71ad57cf..4dabbfe8db 100644
--- a/app/scodoc/html_sidebar.py
+++ b/app/scodoc/html_sidebar.py
@@ -158,12 +158,14 @@ def sidebar():
else:
pass # H.append("(pas d'étudiant en cours)")
# ---------
- H.append("
") # /etud-insidebar
+ H.append("") # /etud-insidebar
# Logo
scologo_img = scu.icontag("scologo_img")
- H.append('