From 84def84f559473f5d5e7d07f470096dcc5d4883b Mon Sep 17 00:00:00 2001 From: Suraj Arun Patil Date: Mon, 18 Jan 2016 06:32:37 +0530 Subject: [PATCH] csrf token & collapsible note content --- public/templates/completed.html | 7 +++---- public/templates/deleted.html | 7 +++---- public/templates/home.html | 11 ++++++----- public/templates/search.html | 9 ++++----- 4 files changed, 16 insertions(+), 18 deletions(-) diff --git a/public/templates/completed.html b/public/templates/completed.html index 41baea6..5c3a016 100644 --- a/public/templates/completed.html +++ b/public/templates/completed.html @@ -3,18 +3,17 @@
{{ if .Tasks}} {{range .Tasks}}
-

{{.Title}}

-
+

{{.Title}}

{{.Content}}

diff --git a/public/templates/home.html b/public/templates/home.html index 4c5bdba..ec19bef 100644 --- a/public/templates/home.html +++ b/public/templates/home.html @@ -16,6 +16,7 @@
+
@@ -43,18 +44,18 @@ {{.Created}}
  • - Mask
  • +
  • - Trash +
  • - Complete +
  • - Edit +
  • @@ -67,7 +68,7 @@
    {{end}}
    - {{template "footer.gtpl"}} + {{template "_footer.html" .}} diff --git a/public/templates/search.html b/public/templates/search.html index 9031d11..764f80b 100644 --- a/public/templates/search.html +++ b/public/templates/search.html @@ -2,8 +2,7 @@
    {{ if .Tasks}} {{range .Tasks}}
    -

    {{.Title}}

    -
    +

    {{.Title}}

    {{.Content}}