From 3113502041fb1f7200b9afd444a236bfff5ac46e Mon Sep 17 00:00:00 2001 From: Suraj Date: Wed, 3 Feb 2016 22:16:00 +0530 Subject: [PATCH] moved templates folder out of public folder --- {public/templates => templates}/_footer.html | 0 {public/templates => templates}/_head.html | 0 .../templates => templates}/completed.html | 0 {public/templates => templates}/deleted.html | 0 {public/templates => templates}/edit.html | 0 {public/templates => templates}/home.html | 0 {public/templates => templates}/search.html | 0 views/cover.out | 129 ++++++++++++++++++ views/otherViews.go | 2 +- 9 files changed, 130 insertions(+), 1 deletion(-) rename {public/templates => templates}/_footer.html (100%) rename {public/templates => templates}/_head.html (100%) rename {public/templates => templates}/completed.html (100%) rename {public/templates => templates}/deleted.html (100%) rename {public/templates => templates}/edit.html (100%) rename {public/templates => templates}/home.html (100%) rename {public/templates => templates}/search.html (100%) create mode 100644 views/cover.out diff --git a/public/templates/_footer.html b/templates/_footer.html similarity index 100% rename from public/templates/_footer.html rename to templates/_footer.html diff --git a/public/templates/_head.html b/templates/_head.html similarity index 100% rename from public/templates/_head.html rename to templates/_head.html diff --git a/public/templates/completed.html b/templates/completed.html similarity index 100% rename from public/templates/completed.html rename to templates/completed.html diff --git a/public/templates/deleted.html b/templates/deleted.html similarity index 100% rename from public/templates/deleted.html rename to templates/deleted.html diff --git a/public/templates/edit.html b/templates/edit.html similarity index 100% rename from public/templates/edit.html rename to templates/edit.html diff --git a/public/templates/home.html b/templates/home.html similarity index 100% rename from public/templates/home.html rename to templates/home.html diff --git a/public/templates/search.html b/templates/search.html similarity index 100% rename from public/templates/search.html rename to templates/search.html diff --git a/views/cover.out b/views/cover.out new file mode 100644 index 0000000..89ca766 --- /dev/null +++ b/views/cover.out @@ -0,0 +1,129 @@ +mode: set +github.com/thewhitetulip/Tasks/views/addViews.go:21.66,22.23 1 1 +github.com/thewhitetulip/Tasks/views/addViews.go:22.23,30.3 3 1 +github.com/thewhitetulip/Tasks/views/addViews.go:34.58,35.24 1 0 +github.com/thewhitetulip/Tasks/views/addViews.go:35.24,38.35 3 0 +github.com/thewhitetulip/Tasks/views/addViews.go:45.3,47.25 2 0 +github.com/thewhitetulip/Tasks/views/addViews.go:52.3,54.41 3 0 +github.com/thewhitetulip/Tasks/views/addViews.go:61.3,61.13 1 0 +github.com/thewhitetulip/Tasks/views/addViews.go:65.3,71.32 6 0 +github.com/thewhitetulip/Tasks/views/addViews.go:38.35,43.4 3 0 +github.com/thewhitetulip/Tasks/views/addViews.go:47.25,51.4 3 0 +github.com/thewhitetulip/Tasks/views/addViews.go:54.41,55.32 1 0 +github.com/thewhitetulip/Tasks/views/addViews.go:55.32,57.5 1 0 +github.com/thewhitetulip/Tasks/views/addViews.go:61.13,63.4 1 0 +github.com/thewhitetulip/Tasks/views/addViews.go:71.32,72.22 1 0 +github.com/thewhitetulip/Tasks/views/addViews.go:98.4,100.24 2 0 +github.com/thewhitetulip/Tasks/views/addViews.go:72.22,81.19 8 0 +github.com/thewhitetulip/Tasks/views/addViews.go:85.5,92.25 6 0 +github.com/thewhitetulip/Tasks/views/addViews.go:81.19,84.6 2 0 +github.com/thewhitetulip/Tasks/views/addViews.go:92.25,95.6 2 0 +github.com/thewhitetulip/Tasks/views/addViews.go:100.24,104.5 3 0 +github.com/thewhitetulip/Tasks/views/addViews.go:104.5,108.5 3 0 +github.com/thewhitetulip/Tasks/views/addViews.go:109.4,113.4 3 0 +github.com/thewhitetulip/Tasks/views/addViews.go:115.3,118.3 2 0 +github.com/thewhitetulip/Tasks/views/addViews.go:122.62,125.20 3 0 +github.com/thewhitetulip/Tasks/views/addViews.go:125.20,127.17 2 0 +github.com/thewhitetulip/Tasks/views/addViews.go:127.17,130.4 2 0 +github.com/thewhitetulip/Tasks/views/addViews.go:130.4,133.4 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:17.60,23.24 4 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:29.2,29.23 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:23.24,25.3 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:25.3,27.3 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:29.23,31.17 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:31.17,34.4 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:34.4,36.18 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:41.4,41.54 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:36.18,38.5 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:38.5,40.5 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:43.3,46.3 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:50.62,51.23 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:51.23,53.17 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:53.17,56.4 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:56.4,58.18 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:63.4,63.54 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:58.18,60.5 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:60.5,62.5 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:65.3,68.3 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:72.59,73.23 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:73.23,75.17 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:75.17,78.4 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:78.4,80.18 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:83.4,83.33 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:80.18,82.5 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:85.3,88.3 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:92.61,93.23 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:93.23,95.18 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:95.18,97.18 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:101.4,101.46 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:97.18,100.5 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:102.4,104.18 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:104.18,107.5 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:107.5,109.19 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:114.5,114.54 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:109.19,111.6 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:111.6,113.6 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:117.3,120.3 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:124.70,125.23 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:125.23,127.17 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:127.17,130.4 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:130.4,132.18 2 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:137.4,137.55 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:132.18,134.5 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:134.5,136.5 1 0 +github.com/thewhitetulip/Tasks/views/deleteViews.go:139.3,142.3 2 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:21.26,25.16 4 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:29.2,29.29 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:36.2,36.16 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:40.2,41.16 2 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:45.2,50.56 5 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:25.16,28.3 2 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:29.29,31.43 2 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:31.43,33.4 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:36.16,39.3 2 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:41.16,44.3 2 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:55.63,56.23 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:56.23,58.17 2 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:58.17,60.4 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:60.4,62.18 2 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:67.4,67.46 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:62.18,64.5 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:64.5,66.5 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:69.3,72.3 2 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:76.61,77.24 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:77.24,82.3 4 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:82.3,85.3 2 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:89.61,90.24 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:90.24,93.17 3 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:96.3,99.17 4 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:104.3,104.45 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:93.17,95.4 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:99.17,101.4 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:101.4,103.4 1 0 +github.com/thewhitetulip/Tasks/views/otherViews.go:106.3,109.3 2 0 +github.com/thewhitetulip/Tasks/views/views.go:24.63,25.23 1 0 +github.com/thewhitetulip/Tasks/views/views.go:25.23,28.17 3 0 +github.com/thewhitetulip/Tasks/views/views.go:31.3,31.20 1 0 +github.com/thewhitetulip/Tasks/views/views.go:34.3,40.35 7 0 +github.com/thewhitetulip/Tasks/views/views.go:28.17,30.4 1 0 +github.com/thewhitetulip/Tasks/views/views.go:31.20,33.4 1 0 +github.com/thewhitetulip/Tasks/views/views.go:41.3,44.3 2 0 +github.com/thewhitetulip/Tasks/views/views.go:48.64,49.23 1 0 +github.com/thewhitetulip/Tasks/views/views.go:49.23,51.17 2 0 +github.com/thewhitetulip/Tasks/views/views.go:54.3,54.20 1 0 +github.com/thewhitetulip/Tasks/views/views.go:58.3,58.38 1 0 +github.com/thewhitetulip/Tasks/views/views.go:51.17,53.4 1 0 +github.com/thewhitetulip/Tasks/views/views.go:54.20,57.4 2 0 +github.com/thewhitetulip/Tasks/views/views.go:59.3,62.3 2 0 +github.com/thewhitetulip/Tasks/views/views.go:66.68,67.23 1 0 +github.com/thewhitetulip/Tasks/views/views.go:67.23,69.17 2 0 +github.com/thewhitetulip/Tasks/views/views.go:72.3,72.40 1 0 +github.com/thewhitetulip/Tasks/views/views.go:69.17,71.4 1 0 +github.com/thewhitetulip/Tasks/views/views.go:73.3,76.3 2 0 +github.com/thewhitetulip/Tasks/views/views.go:81.63,82.23 1 0 +github.com/thewhitetulip/Tasks/views/views.go:82.23,87.17 4 0 +github.com/thewhitetulip/Tasks/views/views.go:90.3,90.20 1 0 +github.com/thewhitetulip/Tasks/views/views.go:93.3,99.35 7 0 +github.com/thewhitetulip/Tasks/views/views.go:87.17,89.4 1 0 +github.com/thewhitetulip/Tasks/views/views.go:90.20,92.4 1 0 +github.com/thewhitetulip/Tasks/views/views.go:100.3,103.3 2 0 diff --git a/views/otherViews.go b/views/otherViews.go index 4719de5..ec5226b 100644 --- a/views/otherViews.go +++ b/views/otherViews.go @@ -20,7 +20,7 @@ import ( //the templates folder func PopulateTemplates() { var allFiles []string - templatesDir := "./public/templates/" + templatesDir := "./templates/" files, err := ioutil.ReadDir(templatesDir) if err != nil { log.Println(err)