update logos

This commit is contained in:
Emmanuel Viennet 2021-08-22 19:30:58 +02:00
parent 1a9862f472
commit 6d65626ce2
6 changed files with 14 additions and 5 deletions

View File

@ -447,18 +447,20 @@ class GenTable(object):
if caption:
H.append(caption)
if self.base_url:
H.append('<span class="gt_export_icons">')
if self.xls_link:
H.append(
' <a href="%s&format=xls">%s</a>'
% (self.base_url, scu.ICON_XLS)
)
if self.xls_link and self.pdf_link:
H.append("&nbsp;&nbsp;")
H.append("&nbsp;")
if self.pdf_link:
H.append(
' <a href="%s&format=pdf">%s</a>'
% (self.base_url, scu.ICON_PDF)
)
H.append("</span>")
H.append("</p>")
H.append(self.html_next_section)

View File

@ -158,12 +158,14 @@ def sidebar():
else:
pass # H.append("(pas d'étudiant en cours)")
# ---------
H.append("</div><br/>&nbsp;") # /etud-insidebar
H.append("</div>") # /etud-insidebar
# Logo
scologo_img = scu.icontag("scologo_img")
H.append('<div class="logo-insidebar"><div class="logo-logo">%s<br/>' % scologo_img)
H.append(
"""<a href="%(ScoURL)s/about" class="sidebar">A propos</a><br/>
'<div class="logo-insidebar"><div class="logo-logo">%s</div>' % scologo_img
)
H.append(
"""<div class="logo-logo"><a href="%(ScoURL)s/about" class="sidebar">A propos</a><br/>
<a href="%(SCO_USER_MANUAL)s" class="sidebar">Aide</a><br/>
</div></div>

View File

@ -811,7 +811,7 @@ def tab_absences_html(groups_infos, etat=None, REQUEST=None):
"<li>",
form_choix_jour_saisie_hebdo(groups_infos, REQUEST=REQUEST),
"</li>",
"""<li><a class="stdlink" href="Absences/EtatAbsencesGr?%s&debut=%s&fin=%s">Etat des absences du groupe</a></li>"""
"""<li><a class="stdlink" href="Absences/EtatAbsencesGr?%s&debut=%s&fin=%s">État des absences du groupe</a></li>"""
% (
groups_infos.groups_query_args,
groups_infos.formsemestre["date_debut"],

View File

@ -410,6 +410,11 @@ span.newstext {
font-style: normal;
}
span.gt_export_icons {
margin-left: 1.5em;
}
/* --- infos sur premiere page Sco --- */
div.scoinfos {
margin-top: 0.5em;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 384 B