diff --git a/app/scodoc/html_sco_header.py b/app/scodoc/html_sco_header.py
index 4944f6e40..c204e7403 100644
--- a/app/scodoc/html_sco_header.py
+++ b/app/scodoc/html_sco_header.py
@@ -87,10 +87,6 @@ Problème de connexion (identifiant, mot de passe): contacter votre responsa
)
-_TOP_LEVEL_CSS = """
- """
-
_HTML_BEGIN = """
@@ -105,31 +101,30 @@ _HTML_BEGIN = """
-
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
+
-
-
+
+
"""
def scodoc_top_html_header(page_title="ScoDoc: bienvenue"):
H = [
_HTML_BEGIN % {"page_title": page_title, "encoding": scu.SCO_ENCODING},
- _TOP_LEVEL_CSS,
"""""",
scu.CUSTOM_HTML_HEADER_CNX,
]
@@ -185,13 +180,10 @@ def sco_header(
init_jquery = True
H = [
- """
-
-
+ """
+
%(page_title)s
-
-
@@ -206,9 +198,7 @@ def sco_header(
)
if init_google_maps:
# It may be necessary to add an API key:
- H.append(
- ''
- )
+ H.append('')
# Feuilles de style additionnelles:
for cssstyle in cssstyles:
@@ -223,9 +213,9 @@ def sco_header(
-
-
-
+
+
+ """
"""
)
- H.append(
- ''
- )
+ H.append('')
# qTip
if init_qtip:
H.append(
- ''
+ ''
)
H.append(
''
@@ -253,32 +241,25 @@ def sco_header(
if init_jquery_ui:
H.append(
- ''
- )
- # H.append('')
- H.append(
- ''
+ ''
)
+ # H.append('')
+ H.append('')
if init_google_maps:
H.append(
- ''
+ ''
)
if init_datatables:
H.append(
''
)
- H.append(
- ''
- )
+ H.append('')
# JS additionels
for js in javascripts:
- H.append(
- """\n"""
- % js
- )
+ H.append("""\n""" % js)
H.append(
- """