diff options
| author | William Hergès <william@herges.fr> | 2025-10-03 18:46:13 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-10-03 18:46:13 +0200 |
| commit | 3ba8390e4bc08f5bf6f674c308cecb72466b1140 (patch) | |
| tree | 67a8308a3e592a071b7212926e32f44c7ab116ff /backend/templates | |
| parent | 0de89e6bc6a467b2cc4261ae65464f40119cc0ff (diff) | |
feat(frontend): scroll to body top instead of body top
Diffstat (limited to 'backend/templates')
| -rw-r--r-- | backend/templates/components.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/templates/components.html b/backend/templates/components.html index adafacf..ec59158 100644 --- a/backend/templates/components.html +++ b/backend/templates/components.html @@ -14,11 +14,11 @@ {{ end }} {{ if ne .PagesNumber 1 }} <div class="pagination"> - <div> + <nav> {{ if ne .CurrentPage 1 }}<a href="?page={{ before .CurrentPage }}">Précédent</a>{{else}}<p></p>{{end}} <p>{{ .CurrentPage }}/{{ .PagesNumber }}</p> {{ if ne .CurrentPage .PagesNumber }}<a href="?page={{ next .CurrentPage }}">Suivant</a>{{else}}<p></p>{{end}} - </div> + </nav> </div> {{ end }} </article> |
