| 1 |
{{ define "feed_menu" }} |
| 2 |
<nav aria-label="{{ t "page.feeds.title" }} {{ t "menu.title" }}"><ul> |
| 3 |
<li> |
| 4 |
<a class="page-link" href="{{ routePath "/feeds" }}">{{ icon "feeds" }}{{ t "menu.feeds" }}</a> |
| 5 |
</li> |
| 6 |
<li> |
| 7 |
<a class="page-link" href="{{ routePath "/subscribe" }}">{{ icon "add-feed" }}{{ t "menu.add_feed" }}</a> |
| 8 |
</li> |
| 9 |
<li> |
| 10 |
<a class="page-link" href="{{ routePath "/export" }}">{{ icon "feed-export" }}{{ t "menu.export" }}</a> |
| 11 |
</li> |
| 12 |
<li> |
| 13 |
<a class="page-link" href="{{ routePath "/import" }}">{{ icon "feed-import" }}{{ t "menu.import" }}</a> |
| 14 |
</li> |
| 15 |
<li> |
| 16 |
<form action="{{ routePath "/feeds/refresh" }}" method="post" class="page-header-action-form"> |
| 17 |
<input type="hidden" name="csrf" value="{{ .csrf }}"> |
| 18 |
<button class="page-button" data-label-loading="{{ t "confirm.loading" }}"> |
| 19 |
{{ icon "refresh" }}{{ t "menu.refresh_all_feeds" }} |
| 20 |
</button> |
| 21 |
</form> |
| 22 |
</li> |
| 23 |
</ul></nav> |
| 24 |
{{ end }} |