Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bruno Chareyre
3sr-biblio
Commits
3b565d03
Commit
3b565d03
authored
Mar 23, 2021
by
Emmanuel Roubin
Browse files
add font
parent
2b7d2167
Changes
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
0 → 100644
View file @
3b565d03
FROM
python:3.9-buster
RUN
pip
install
requests
\ No newline at end of file
create_html.py
View file @
3b565d03
...
...
@@ -126,15 +126,16 @@ def get_biblio_idhal(idhal):
f
.
write
(
'
\t
<head>
\n
'
)
f
.
write
(
'
\t\t
<meta charset="UTF-8">
\n
'
)
f
.
write
(
'
\t\t
<style>
\n
'
)
f
.
write
(
'
\t\t\t
body {color: #4c5154; word-wrap: break-word; width: 650px;}
\n
'
)
f
.
write
(
'
\t\t\t
body {color: #4c5154; word-wrap: break-word; width: 650px;
font: normal 100%/1.5 "montserratregular";
}
\n
'
)
f
.
write
(
'
\t\t\t
a {color: #bf3a8d; text-decoration: none;}
\n
'
)
f
.
write
(
'
\t\t\t
a:hover {text-decoration: underline;}
\n
'
)
f
.
write
(
'
\t\t\t
h4 {lighter 1.063em "montserratregular"; margin: 1.176em 0 0.750em 0}
\n
'
)
f
.
write
(
'
\t\t
</style>
\n
'
)
f
.
write
(
'
\t
</head>
\n
'
)
f
.
write
(
'
\t
<body>
\n
'
)
f
.
write
(
'
\t\t
<div id="contenu-encadres">
\n
'
)
for
type
,
publis
in
publis_by_type
.
items
():
f
.
write
(
'
\t\t
<h
2
>{}</h
2
>
\n
'
.
format
(
type
))
f
.
write
(
'
\t\t
<h
4
>{}</h
4
>
\n
'
.
format
(
type
))
f
.
write
(
'
\t\t
<div><ul>
\n
'
)
for
publi
in
publis
:
f
.
write
(
'
\t\t\t
<li>{}</li>
\n
'
.
format
(
html_publi
(
publi
)))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment