mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
Ask for confirmation before clicking on mark all as read
This commit is contained in:
parent
ac3693562b
commit
a634839678
19 changed files with 39 additions and 66 deletions
2
ui/ui.go
2
ui/ui.go
|
@ -38,7 +38,7 @@ func Serve(router *mux.Router, store *storage.Storage, pool *worker.Pool, feedHa
|
|||
uiRouter.HandleFunc("/bookmarklet", handler.bookmarklet).Name("bookmarklet").Methods("GET")
|
||||
|
||||
// Unread page.
|
||||
uiRouter.HandleFunc("/mark-all-as-read", handler.markAllAsRead).Name("markAllAsRead").Methods("GET")
|
||||
uiRouter.HandleFunc("/mark-all-as-read", handler.markAllAsRead).Name("markAllAsRead").Methods("POST")
|
||||
uiRouter.HandleFunc("/unread", handler.showUnreadPage).Name("unread").Methods("GET")
|
||||
uiRouter.HandleFunc("/unread/entry/{entryID}", handler.showUnreadEntryPage).Name("unreadEntry").Methods("GET")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue