forked from data.coop/website
Adds a very bad and minimal representation of icons
This commit is contained in:
parent
c21dcbd199
commit
0f778e4c0c
|
@ -204,6 +204,10 @@ aside > footer img:hover {
|
||||||
opacity : 1;
|
opacity : 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.badge-icon {
|
||||||
|
width: 30px;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
dl.dl-services {
|
dl.dl-services {
|
||||||
display : grid;
|
display : grid;
|
||||||
|
|
|
@ -1,26 +1,22 @@
|
||||||
<h2>{{ i18n "badges_headline" }}</h2>
|
<h2>{{ i18n "badges_headline" }}</h2>
|
||||||
|
|
||||||
<dl class="dl-badges">
|
|
||||||
|
|
||||||
{{ range $badge_key, $badge := $.Site.Data.badges.da.badges.badges }}
|
{{ range $badge_key, $badge := $.Site.Data.badges.da.badges.badges }}
|
||||||
|
|
||||||
<dt>{{ title .name }}</dt>
|
<h3>
|
||||||
|
{{ title .name }}
|
||||||
|
<img src="{{ "/static/img" | absURL }}/badges/{{ .icon }}" class="badge-icon">
|
||||||
|
</h3>
|
||||||
|
|
||||||
<dd>{{ markdownify .description }}</dd>
|
{{ markdownify .description }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<h2>{{ i18n "status_headline" }}</h2>
|
<h2>{{ i18n "status_headline" }}</h2>
|
||||||
|
|
||||||
<dl class="dl-status">
|
|
||||||
{{ range $.Site.Data.badges.da.status.status }}
|
{{ range $.Site.Data.badges.da.status.status }}
|
||||||
|
|
||||||
<dt>{{ title .name }}</dt>
|
<h3>{{ title .name }}</h3>
|
||||||
|
|
||||||
<dd>{{ markdownify .description }}</dd>
|
{{ markdownify .description }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</dl>
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue