mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
feat(ui): add "back to top" link
This commit is contained in:
parent
eb22d90b56
commit
4eff9129ab
25 changed files with 48 additions and 0 deletions
|
@ -474,6 +474,7 @@
|
||||||
"page.feeds.next_check": "Nächste Aktualisierung:",
|
"page.feeds.next_check": "Nächste Aktualisierung:",
|
||||||
"page.feeds.read_counter": "Anzahl der gelesenen Artikel",
|
"page.feeds.read_counter": "Anzahl der gelesenen Artikel",
|
||||||
"page.feeds.title": "Abonnements",
|
"page.feeds.title": "Abonnements",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Verlauf",
|
"page.history.title": "Verlauf",
|
||||||
"page.import.title": "Importieren",
|
"page.import.title": "Importieren",
|
||||||
"page.integration.bookmarklet": "Bookmarklet",
|
"page.integration.bookmarklet": "Bookmarklet",
|
||||||
|
|
|
@ -474,6 +474,7 @@
|
||||||
"page.feeds.next_check": "Επόμενος έλεγχος:",
|
"page.feeds.next_check": "Επόμενος έλεγχος:",
|
||||||
"page.feeds.read_counter": "Αριθμός αναγνωσμένων καταχωρήσεων",
|
"page.feeds.read_counter": "Αριθμός αναγνωσμένων καταχωρήσεων",
|
||||||
"page.feeds.title": "Ροές",
|
"page.feeds.title": "Ροές",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Ιστορικό",
|
"page.history.title": "Ιστορικό",
|
||||||
"page.import.title": "Εισαγωγή",
|
"page.import.title": "Εισαγωγή",
|
||||||
"page.integration.bookmarklet": "Bookmarklet",
|
"page.integration.bookmarklet": "Bookmarklet",
|
||||||
|
|
|
@ -474,6 +474,7 @@
|
||||||
"page.feeds.next_check": "Next check:",
|
"page.feeds.next_check": "Next check:",
|
||||||
"page.feeds.read_counter": "Number of read entries",
|
"page.feeds.read_counter": "Number of read entries",
|
||||||
"page.feeds.title": "Feeds",
|
"page.feeds.title": "Feeds",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "History",
|
"page.history.title": "History",
|
||||||
"page.import.title": "Import",
|
"page.import.title": "Import",
|
||||||
"page.integration.bookmarklet": "Bookmarklet",
|
"page.integration.bookmarklet": "Bookmarklet",
|
||||||
|
|
|
@ -474,6 +474,7 @@
|
||||||
"page.feeds.next_check": "Próxima verificación:",
|
"page.feeds.next_check": "Próxima verificación:",
|
||||||
"page.feeds.read_counter": "Número de artículos leídos",
|
"page.feeds.read_counter": "Número de artículos leídos",
|
||||||
"page.feeds.title": "Fuentes",
|
"page.feeds.title": "Fuentes",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Historial",
|
"page.history.title": "Historial",
|
||||||
"page.import.title": "Importar",
|
"page.import.title": "Importar",
|
||||||
"page.integration.bookmarklet": "Marcapáginas",
|
"page.integration.bookmarklet": "Marcapáginas",
|
||||||
|
|
|
@ -474,6 +474,7 @@
|
||||||
"page.feeds.next_check": "Next check:",
|
"page.feeds.next_check": "Next check:",
|
||||||
"page.feeds.read_counter": "Luettujen artikkeleiden määrä",
|
"page.feeds.read_counter": "Luettujen artikkeleiden määrä",
|
||||||
"page.feeds.title": "Syötteet",
|
"page.feeds.title": "Syötteet",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Historia",
|
"page.history.title": "Historia",
|
||||||
"page.import.title": "Tuo",
|
"page.import.title": "Tuo",
|
||||||
"page.integration.bookmarklet": "Sovelluskirjanmerkki",
|
"page.integration.bookmarklet": "Sovelluskirjanmerkki",
|
||||||
|
|
|
@ -474,6 +474,7 @@
|
||||||
"page.feeds.next_check": "Prochaine vérification :",
|
"page.feeds.next_check": "Prochaine vérification :",
|
||||||
"page.feeds.read_counter": "Nombre d'entrées lues",
|
"page.feeds.read_counter": "Nombre d'entrées lues",
|
||||||
"page.feeds.title": "Abonnements",
|
"page.feeds.title": "Abonnements",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Historique",
|
"page.history.title": "Historique",
|
||||||
"page.import.title": "Importation",
|
"page.import.title": "Importation",
|
||||||
"page.integration.bookmarklet": "Bookmarklet",
|
"page.integration.bookmarklet": "Bookmarklet",
|
||||||
|
|
|
@ -474,6 +474,7 @@
|
||||||
"page.feeds.next_check": "Next check:",
|
"page.feeds.next_check": "Next check:",
|
||||||
"page.feeds.read_counter": "पड़े हुए विषयवस्तुया",
|
"page.feeds.read_counter": "पड़े हुए विषयवस्तुया",
|
||||||
"page.feeds.title": "फ़ीड",
|
"page.feeds.title": "फ़ीड",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "इतिहास",
|
"page.history.title": "इतिहास",
|
||||||
"page.import.title": "आयात",
|
"page.import.title": "आयात",
|
||||||
"page.integration.bookmarklet": "बुकमार्कलेट",
|
"page.integration.bookmarklet": "बुकमार्कलेट",
|
||||||
|
|
|
@ -468,6 +468,7 @@
|
||||||
"page.feeds.next_check": "Akan diperiksa kembali:",
|
"page.feeds.next_check": "Akan diperiksa kembali:",
|
||||||
"page.feeds.read_counter": "Jumlah entri yang telah dibaca",
|
"page.feeds.read_counter": "Jumlah entri yang telah dibaca",
|
||||||
"page.feeds.title": "Umpan",
|
"page.feeds.title": "Umpan",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Riwayat",
|
"page.history.title": "Riwayat",
|
||||||
"page.import.title": "Impor",
|
"page.import.title": "Impor",
|
||||||
"page.integration.bookmarklet": "Bookmarklet",
|
"page.integration.bookmarklet": "Bookmarklet",
|
||||||
|
|
|
@ -474,6 +474,7 @@
|
||||||
"page.feeds.next_check": "Next check:",
|
"page.feeds.next_check": "Next check:",
|
||||||
"page.feeds.read_counter": "Numero di voci lette",
|
"page.feeds.read_counter": "Numero di voci lette",
|
||||||
"page.feeds.title": "Feed",
|
"page.feeds.title": "Feed",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Cronologia",
|
"page.history.title": "Cronologia",
|
||||||
"page.import.title": "Importa",
|
"page.import.title": "Importa",
|
||||||
"page.integration.bookmarklet": "Segnalibro",
|
"page.integration.bookmarklet": "Segnalibro",
|
||||||
|
|
|
@ -468,6 +468,7 @@
|
||||||
"page.feeds.next_check": "Next check:",
|
"page.feeds.next_check": "Next check:",
|
||||||
"page.feeds.read_counter": "既読記事の数",
|
"page.feeds.read_counter": "既読記事の数",
|
||||||
"page.feeds.title": "フィード一覧",
|
"page.feeds.title": "フィード一覧",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "履歴",
|
"page.history.title": "履歴",
|
||||||
"page.import.title": "インポート",
|
"page.import.title": "インポート",
|
||||||
"page.integration.bookmarklet": "ブックマークレット",
|
"page.integration.bookmarklet": "ブックマークレット",
|
||||||
|
|
|
@ -468,6 +468,7 @@
|
||||||
"page.feeds.next_check": "Āu-pái kiám-cha sî-kan:",
|
"page.feeds.next_check": "Āu-pái kiám-cha sî-kan:",
|
||||||
"page.feeds.read_counter": "Tha̍k kè--ê siau-sit sò͘",
|
"page.feeds.read_counter": "Tha̍k kè--ê siau-sit sò͘",
|
||||||
"page.feeds.title": "Siau-sit lâi-goân",
|
"page.feeds.title": "Siau-sit lâi-goân",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Kì-lo̍k",
|
"page.history.title": "Kì-lo̍k",
|
||||||
"page.import.title": "Hōe-li̍p",
|
"page.import.title": "Hōe-li̍p",
|
||||||
"page.integration.bookmarklet": "Chheh-chhiam ke-si",
|
"page.integration.bookmarklet": "Chheh-chhiam ke-si",
|
||||||
|
|
|
@ -474,6 +474,7 @@
|
||||||
"page.feeds.next_check": "Volgende controle:",
|
"page.feeds.next_check": "Volgende controle:",
|
||||||
"page.feeds.read_counter": "Aantal gelezen artikelen",
|
"page.feeds.read_counter": "Aantal gelezen artikelen",
|
||||||
"page.feeds.title": "Feeds",
|
"page.feeds.title": "Feeds",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Geschiedenis",
|
"page.history.title": "Geschiedenis",
|
||||||
"page.import.title": "Importeren",
|
"page.import.title": "Importeren",
|
||||||
"page.integration.bookmarklet": "Bookmarklet",
|
"page.integration.bookmarklet": "Bookmarklet",
|
||||||
|
|
|
@ -480,6 +480,7 @@
|
||||||
"page.feeds.next_check": "Następna aktualizacja:",
|
"page.feeds.next_check": "Następna aktualizacja:",
|
||||||
"page.feeds.read_counter": "Liczba przeczytanych wpisów",
|
"page.feeds.read_counter": "Liczba przeczytanych wpisów",
|
||||||
"page.feeds.title": "Kanały",
|
"page.feeds.title": "Kanały",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Historia",
|
"page.history.title": "Historia",
|
||||||
"page.import.title": "Importuj",
|
"page.import.title": "Importuj",
|
||||||
"page.integration.bookmarklet": "Skryptozakładka",
|
"page.integration.bookmarklet": "Skryptozakładka",
|
||||||
|
|
|
@ -474,6 +474,7 @@
|
||||||
"page.feeds.next_check": "Próxima verificação:",
|
"page.feeds.next_check": "Próxima verificação:",
|
||||||
"page.feeds.read_counter": "Número de itens lidos",
|
"page.feeds.read_counter": "Número de itens lidos",
|
||||||
"page.feeds.title": "Fontes",
|
"page.feeds.title": "Fontes",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Histórico",
|
"page.history.title": "Histórico",
|
||||||
"page.import.title": "Importar",
|
"page.import.title": "Importar",
|
||||||
"page.integration.bookmarklet": "Bookmarklet",
|
"page.integration.bookmarklet": "Bookmarklet",
|
||||||
|
|
|
@ -480,6 +480,7 @@
|
||||||
"page.feeds.next_check": "Următoarea verificare:",
|
"page.feeds.next_check": "Următoarea verificare:",
|
||||||
"page.feeds.read_counter": "Numărul de intrări citite",
|
"page.feeds.read_counter": "Numărul de intrări citite",
|
||||||
"page.feeds.title": "Fluxuri",
|
"page.feeds.title": "Fluxuri",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Istoric",
|
"page.history.title": "Istoric",
|
||||||
"page.import.title": "Import",
|
"page.import.title": "Import",
|
||||||
"page.integration.bookmarklet": "Marcaje",
|
"page.integration.bookmarklet": "Marcaje",
|
||||||
|
|
|
@ -480,6 +480,7 @@
|
||||||
"page.feeds.next_check": "Следующее обновление:",
|
"page.feeds.next_check": "Следующее обновление:",
|
||||||
"page.feeds.read_counter": "Количество прочитанных статей",
|
"page.feeds.read_counter": "Количество прочитанных статей",
|
||||||
"page.feeds.title": "Подписки",
|
"page.feeds.title": "Подписки",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "История",
|
"page.history.title": "История",
|
||||||
"page.import.title": "Импорт",
|
"page.import.title": "Импорт",
|
||||||
"page.integration.bookmarklet": "Букмарклет",
|
"page.integration.bookmarklet": "Букмарклет",
|
||||||
|
|
|
@ -474,6 +474,7 @@
|
||||||
"page.feeds.next_check": "Sonraki kontrol:",
|
"page.feeds.next_check": "Sonraki kontrol:",
|
||||||
"page.feeds.read_counter": "Okunmuş makalelerin sayısı",
|
"page.feeds.read_counter": "Okunmuş makalelerin sayısı",
|
||||||
"page.feeds.title": "Beslemeler",
|
"page.feeds.title": "Beslemeler",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Geçmiş",
|
"page.history.title": "Geçmiş",
|
||||||
"page.import.title": "İçeri Aktar",
|
"page.import.title": "İçeri Aktar",
|
||||||
"page.integration.bookmarklet": "Bookmarklet",
|
"page.integration.bookmarklet": "Bookmarklet",
|
||||||
|
|
|
@ -480,6 +480,7 @@
|
||||||
"page.feeds.next_check": "Наступна перевірка:",
|
"page.feeds.next_check": "Наступна перевірка:",
|
||||||
"page.feeds.read_counter": "Кількість прочитаних записів",
|
"page.feeds.read_counter": "Кількість прочитаних записів",
|
||||||
"page.feeds.title": "Стрічки",
|
"page.feeds.title": "Стрічки",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "Історія",
|
"page.history.title": "Історія",
|
||||||
"page.import.title": "Імпорт",
|
"page.import.title": "Імпорт",
|
||||||
"page.integration.bookmarklet": "Букмарклет",
|
"page.integration.bookmarklet": "Букмарклет",
|
||||||
|
|
|
@ -468,6 +468,7 @@
|
||||||
"page.feeds.next_check": "下次检查:",
|
"page.feeds.next_check": "下次检查:",
|
||||||
"page.feeds.read_counter": "已读条目数",
|
"page.feeds.read_counter": "已读条目数",
|
||||||
"page.feeds.title": "订阅源",
|
"page.feeds.title": "订阅源",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "历史记录",
|
"page.history.title": "历史记录",
|
||||||
"page.import.title": "导入",
|
"page.import.title": "导入",
|
||||||
"page.integration.bookmarklet": "书签小应用",
|
"page.integration.bookmarklet": "书签小应用",
|
||||||
|
|
|
@ -468,6 +468,7 @@
|
||||||
"page.feeds.next_check": "下次檢查時間:",
|
"page.feeds.next_check": "下次檢查時間:",
|
||||||
"page.feeds.read_counter": "已讀文章數",
|
"page.feeds.read_counter": "已讀文章數",
|
||||||
"page.feeds.title": "Feeds",
|
"page.feeds.title": "Feeds",
|
||||||
|
"page.footer.elevator": "Back to top",
|
||||||
"page.history.title": "歷史",
|
"page.history.title": "歷史",
|
||||||
"page.import.title": "匯入",
|
"page.import.title": "匯入",
|
||||||
"page.integration.bookmarklet": "書籤小工具",
|
"page.integration.bookmarklet": "書籤小工具",
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a href="#" class="elevator">{{ icon "up" }}{{ t "page.footer.elevator" }}</a>
|
||||||
|
|
||||||
<div class="pagination-forward">
|
<div class="pagination-forward">
|
||||||
<div class="pagination-next {{ if not .ShowNext }}disabled{{end}}">
|
<div class="pagination-next {{ if not .ShowNext }}disabled{{end}}">
|
||||||
{{ if .ShowNext }}
|
{{ if .ShowNext }}
|
||||||
|
|
|
@ -82,6 +82,10 @@
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<a href="#" class="elevator">{{ icon "up" }}{{ t "page.footer.elevator" }}</a>
|
||||||
|
</footer>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a href="#" class="elevator">{{ icon "up" }}{{ t "page.footer.elevator" }}</a>
|
||||||
|
|
||||||
<div class="pagination-next {{ if not .nextEntry }}disabled{{end}}">
|
<div class="pagination-next {{ if not .nextEntry }}disabled{{end}}">
|
||||||
{{ if .nextEntry }}
|
{{ if .nextEntry }}
|
||||||
<a href="{{ .nextEntryRoute }}{{ if .searchQuery }}?q={{ .searchQuery }}{{ end }}" title="{{ .nextEntry.Title }}" data-page="next" rel="next">{{ t "pagination.next" }}</a>
|
<a href="{{ .nextEntryRoute }}{{ if .searchQuery }}?q={{ .searchQuery }}{{ end }}" title="{{ .nextEntry.Title }}" data-page="next" rel="next">{{ t "pagination.next" }}</a>
|
||||||
|
|
|
@ -197,4 +197,9 @@ Source: https://github.com/tabler/tabler-icons
|
||||||
<path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" />
|
<path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" />
|
||||||
<path d="M21 21l-6 -6" />
|
<path d="M21 21l-6 -6" />
|
||||||
</symbol>
|
</symbol>
|
||||||
|
<symbol id="icon-up" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<line x1="12" y1="4" x2="12" y2="20"/>
|
||||||
|
<line x1="12" y1="4" x2="20" y2="12"/>
|
||||||
|
<line x1="12" y1="4" x2="4" y2="12"/>
|
||||||
|
</symbol>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
@ -1327,3 +1327,18 @@ audio, video {
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
margin: 1em auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer .elevator {
|
||||||
|
display: block;
|
||||||
|
width: fit-content;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination-top .elevator,
|
||||||
|
.pagination-entry-top .elevator {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue