Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
groupe-calcul
website
Commits
67753c5b
Commit
67753c5b
authored
Feb 11, 2020
by
Roland Denis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing style of meso cards
parent
262b5507
Pipeline
#6045
passed with stages
in 57 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
16 deletions
+22
-16
content/pages/meso-details.rst
content/pages/meso-details.rst
+0
-1
plugins/meso_list/templates/meso.tpl
plugins/meso_list/templates/meso.tpl
+12
-13
themes/calcul/static/css/style.css
themes/calcul/static/css/style.css
+10
-2
No files found.
content/pages/meso-details.rst
View file @
67753c5b
...
...
@@ -28,7 +28,6 @@ Les mésocentres en |_| France
- pérenniser les sources de financement
- échanger et partager les expériences
- organiser en commun des journées (formation, constructeurs ...)
- :json_url: https://plmbox.math.cnrs.fr/f/99387ff5e39a4efab634/
.. section:: Les mésocentres en France
:class: description
...
...
plugins/meso_list/templates/meso.tpl
View file @
67753c5b
...
...
@@ -10,53 +10,52 @@
</div>
<div
class=
"card-body"
>
{% if meso['contactname'] %}
<img
src=
"../theme/img/mail.png"
alt=
"Contact"
/>
<p>
<img
src=
"../theme/img/mail.png"
alt=
"Contact"
/>
{% if meso['contactaddress'] %}
<a
href=
"mailto:{{ meso['contactaddress'] }}"
>
{{ meso['contactname'] }}
</a>
{% else %}
{{ meso['contactname'] }}
{% endif %}
<
br
/>
</
p
>
{% endif %}
{% if meso['institutesname'] %}
<img
src=
"../theme/img/employer.png"
alt=
"Institutions"
/>
<p>
<img
src=
"../theme/img/employer.png"
alt=
"Institutions"
/>
{% for name in meso['institutesname'] -%}
{{ ' et ' if loop.last }}{{ ', ' if not loop.first and not loop.last }}{{ name }}
{%- endfor %}
<
br
/>
</
p
>
{% endif %}
{% if meso['financersname'] %}
<img
src=
"../theme/img/contract.png"
alt=
"Financeurs"
/>
<p>
<img
src=
"../theme/img/contract.png"
alt=
"Financeurs"
/>
{% for name in meso['financersname'] -%}
{{ ' et ' if loop.last }}{{ ', ' if not loop.first and not loop.last }}{{ name }}
{%- endfor %}
<
br
/>
</
p
>
{% endif %}
{% if meso['location'] %}
<img
src=
"../theme/img/position_full.png"
alt=
"Position"
/>
<p>
<img
src=
"../theme/img/position_full.png"
alt=
"Position"
/>
{% if meso['gpscoordinates'] %}
<a
href=
"https://www.openstreetmap.org/?mlat={
{
meso
[
'gpscoordinates'
][
0
]
}
}&mlon={
{
meso
[
'gpscoordinates'
][
1
]
}
}&zoom=16"
>
{{ meso['location'] }}
</a>
{% else %}
{{ meso['location'] }}
{% endif %}
<
br
/>
</
p
>
{% endif %}
{% if meso['totalcorenumber'] %}
<img
src=
"../theme/img/cpu.png"
alt=
"Nombre de cœurs"
>
<p>
<img
src=
"../theme/img/cpu.png"
alt=
"Nombre de cœurs"
/
>
{{ meso['totalcorenumber'] }} cœurs
<
br
/>
</
p
>
{% endif %}
{% if meso['totalstorage'] %}
<img
src=
"../theme/img/floppy.png"
alt=
"Stockage"
>
<p>
<img
src=
"../theme/img/floppy.png"
alt=
"Stockage"
/
>
{{ meso['totalstorage'] }} To
<
br
/>
</
p
>
{% endif %}
</div>
<div
class=
"card-footer p-0 d-flex align-items-center"
>
{% endif %}
{% if footer %}
</div>
</a>
</div>
</div>
{% endif %}
themes/calcul/static/css/style.css
View file @
67753c5b
...
...
@@ -1174,15 +1174,19 @@ a.year-toc {
}
.meso
.card-body
{
padding
:
3px
0px
3px
0px
;
padding
:
0px
;
font-size
:
14px
;
font-family
:
'Roboto'
,
serif
;
font-weight
:
700
;
line-height
:
17px
;
}
.meso
.card-body
img
{
height
:
15px
;
vertical-align
:
text-top
;
}
.meso
.card-body
p
{
margin-bottom
:
0px
;
}
.meso
.card-footer
{
...
...
@@ -1195,3 +1199,7 @@ a.year-toc {
border-bottom
:
10px
solid
black
;
height
:
57px
;
}
.region
h3
{
margin
:
3em
2em
1em
2em
;
}
Write
Preview
Markdown
is supported
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