From ae736c93f34bbddb368932cb50b4f61cd0cde473 Mon Sep 17 00:00:00 2001 From: Suraj Date: Sat, 6 Feb 2016 12:25:31 +0530 Subject: [PATCH] formatted html --- templates/_footer.html | 7 +-- templates/completed.html | 34 +++++------ templates/deleted.html | 66 ++++++++++---------- templates/edit.html | 70 ++++++++++----------- templates/home.html | 128 ++++++++++++++++++++------------------- templates/search.html | 48 +++++++-------- 6 files changed, 176 insertions(+), 177 deletions(-) diff --git a/templates/_footer.html b/templates/_footer.html index 0663162..f70efe9 100644 --- a/templates/_footer.html +++ b/templates/_footer.html @@ -1,4 +1,3 @@ - - + \ No newline at end of file diff --git a/templates/completed.html b/templates/completed.html index 716e502..49e32a0 100644 --- a/templates/completed.html +++ b/templates/completed.html @@ -1,22 +1,22 @@ {{template "_head.html" .}} -
+
{{ if .Tasks}} {{range .Tasks}}
-

{{.Title}}

- {{.Content}} - +

{{.Title}}

+ {{.Content}} + - + +
{{end}} {{else}}
-

No Tasks here

-

Go to home page here

+

No Tasks here

+

Go to home page here

{{end}} -
- {{template "_footer.html"}} +
+{{template "_footer.html"}} - + \ No newline at end of file diff --git a/templates/deleted.html b/templates/deleted.html index 1de539c..8bb1ce4 100644 --- a/templates/deleted.html +++ b/templates/deleted.html @@ -2,50 +2,50 @@ {{if .}} - + {{end}}
- {{ if .Tasks}} {{range .Tasks}} -
-

{{.Title}}

- {{.Content}} - + {{ if .Tasks}} {{range .Tasks}} +
+

{{.Title}}

+ {{.Content}} + - -
- {{end}} {{else}} -
-

No Tasks here

-

Go to home page here

+ +
  • + + Mask +
  • +
  • + + Edit +
  • !--> +
  • Priority: {{.Priority}}
  • +
  • + + +
  • +
  • + + +
  • + +
    - {{end}} + {{end}} {{else}} +
    +

    No Tasks here

    +

    Go to home page here

    +
    + {{end}}
    {{template "footer.html"}} - + \ No newline at end of file diff --git a/templates/edit.html b/templates/edit.html index 3633676..f3bb3e4 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -1,44 +1,40 @@ {{template "_head.html" .}} -
    +
    -
    - {{end}} - {{template "_footer.html"}} +
    +{{end}} {{template "_footer.html"}} - + \ No newline at end of file diff --git a/templates/home.html b/templates/home.html index 43d34f0..3fe3bd1 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,90 +1,94 @@ {{template "_head.html" .}} - - + + - -