From b34d8e334c9b26f8e3f5ad535810c6925dc7e982 Mon Sep 17 00:00:00 2001 From: Suraj Date: Sat, 6 Feb 2016 12:25:50 +0530 Subject: [PATCH] formatted html --- templates/_head.html | 196 ++++++++++++++++++++------------------- templates/completed.html | 3 +- templates/deleted.html | 3 +- templates/home.html | 3 +- templates/search.html | 3 +- 5 files changed, 109 insertions(+), 99 deletions(-) diff --git a/templates/_head.html b/templates/_head.html index 0fc5d5f..e261fcc 100644 --- a/templates/_head.html +++ b/templates/_head.html @@ -4,125 +4,131 @@ - {{if eq .Navigation "pending"}} Tasks - {{ else if eq .Navigation "completed"}}Completed - {{ else if eq .Navigation "deleted"}}Deleted - {{ else if eq .Navigation "edit"}} Edit - {{else }} {{.Navigation}} - {{end}} - + {{if eq .Navigation "pending"}} Tasks {{ else if eq .Navigation "completed"}}Completed {{ else if eq .Navigation "deleted"}}Deleted + {{ else if eq .Navigation "edit"}} Edit {{else }} {{.Navigation}} {{end}} + - - + + - - - + + + - - - - - + + + + + - - - - - + + + + - - + + - - - - + + + + + - -

{{.Message}}

- - - \ No newline at end of file diff --git a/templates/completed.html b/templates/completed.html index 49e32a0..5bc5158 100644 --- a/templates/completed.html +++ b/templates/completed.html @@ -1,7 +1,8 @@ {{template "_head.html" .}}
- {{ if .Tasks}} {{range .Tasks}} + {{ if .Tasks}} + {{range .Tasks}}

{{.Title}}

{{.Content}} diff --git a/templates/deleted.html b/templates/deleted.html index 8bb1ce4..162034b 100644 --- a/templates/deleted.html +++ b/templates/deleted.html @@ -7,7 +7,8 @@ {{end}}
- {{ if .Tasks}} {{range .Tasks}} + {{ if .Tasks}} + {{range .Tasks}}

{{.Title}}

{{.Content}} diff --git a/templates/home.html b/templates/home.html index 3fe3bd1..9413d83 100644 --- a/templates/home.html +++ b/templates/home.html @@ -31,7 +31,8 @@ Category: diff --git a/templates/search.html b/templates/search.html index 35c8f9a..97fa1f1 100644 --- a/templates/search.html +++ b/templates/search.html @@ -1,6 +1,7 @@ {{template "_head.html" .}}
- {{ if .Tasks}} {{range .Tasks}} + {{ if .Tasks}} + {{range .Tasks}}

{{.Title}}

{{.Content}}