From 5341bbcbe27fd8a9e73f4eeb18319daf5421dcb4 Mon Sep 17 00:00:00 2001 From: Dave Z Date: Tue, 28 Aug 2018 23:44:34 -0400 Subject: [PATCH] Add toggle status button to entry page --- template/html/entry.html | 11 ++++++++++- template/views.go | 13 +++++++++++-- ui/entry_bookmark.go | 2 ++ ui/entry_category.go | 2 ++ ui/entry_feed.go | 2 ++ ui/entry_search.go | 2 ++ ui/entry_unread.go | 1 + ui/static/js.go | 13 +++++++------ ui/static/js/bootstrap.js | 6 +++++- ui/static/js/entry_handler.js | 30 ++++++++++-------------------- ui/static/js/nav_handler.js | 5 +++++ 11 files changed, 57 insertions(+), 30 deletions(-) diff --git a/template/html/entry.html b/template/html/entry.html index 81598746..a368e24c 100644 --- a/template/html/entry.html +++ b/template/html/entry.html @@ -1,13 +1,22 @@ {{ define "title"}}{{ .entry.Title }}{{ end }} {{ define "content"}} -
+

{{ .entry.Title }}