Skip to content

Commit

Permalink
open data page
Browse files Browse the repository at this point in the history
  • Loading branch information
goulven authored and goulven committed Oct 28, 2024
1 parent 7ab84c2 commit fe1d98d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
8 changes: 4 additions & 4 deletions ui/src/main/resources/templates/inc/header-meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
<link rel="stylesheet" href="../../vendor/@glidejs/glide/dist/css/glide.theme.min.css">
-->

<th:block th:unless="${dev}">
<th:block th:if="${dev}">
<link type="text/css" href="../../css/pixel.css" rel="stylesheet">
<link type="text/css" href="../../css/custom.css" rel="stylesheet">
</th:block>


<th:block th:if="${dev}">
<link type="text/css" href="../../css/dev/pixel.css" rel="stylesheet">
<link type="text/css" href="../../css/dev/custom.css" rel="stylesheet">
<th:block th:unless="${dev}">
<link type="text/css" href="../../css/pixel.css" rel="stylesheet">
<link type="text/css" href="../../css/custom.css" rel="stylesheet">
</th:block>

<link rel="preconnect" href="https://fonts.googleapis.com">
Expand Down
11 changes: 9 additions & 2 deletions ui/src/main/resources/templates/opendata-gtin.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,18 @@ <h2 class="mb-3">Obtenir les données</h2>
</table>
</div>
<div class="col-12 col-md-6 mt-4 mt-md-0 text-center">
<a download href="/opendata/gtin-open-data.zip" style="width:95%" class="btn btn-primary">
<a href="https://www.data.gouv.fr/fr/organizations/open4good/" style="width:95%" class="btn btn-primary">
<span class="me-1">
<span class="fas fa-download"></span>
</span>
Télécharger
Télécharger (data.gouv.fr, rapide)
</a>

<a href="/opendata/gtin-open-data.zip" style="width:95%" class="mt-3 btn btn-tertiary">
<span class="me-1">
<span class="fas fa-download"></span>
</span>
Télécharger (lent)
</a>
</div>
</div>
Expand Down
11 changes: 9 additions & 2 deletions ui/src/main/resources/templates/opendata-isbn.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,18 @@ <h2 class="mb-3">Obtenir les données</h2>
</table>
</div>
<div class="col-12 col-md-6 mt-4 mt-md-0 text-center">
<a download href="/opendata/isbn-open-data.zip" style="width:95%" class="btn btn-primary">
<a href="https://www.data.gouv.fr/fr/organizations/open4good/" style="width:95%" class="btn btn-primary">
<span class="me-1">
<span class="fas fa-download"></span>
</span>
Télécharger
Télécharger (data.gouv.fr, rapide)
</a>

<a href="/opendata/isbn-open-data.zip" style="width:95%" class="mt-3 btn btn-tertiary">
<span class="me-1">
<span class="fas fa-download"></span>
</span>
Télécharger (lent)
</a>
</div>
</div>
Expand Down

0 comments on commit fe1d98d

Please sign in to comment.