From 6916e41cfc9b4fd4babeb3c2271109c267506b36 Mon Sep 17 00:00:00 2001 From: gmemstr Date: Wed, 6 Sep 2017 20:02:59 -0700 Subject: [PATCH] Small comments and syntax changes --- Makefile | 6 +++++- assets/index.html | 3 ++- assets/static/custom.css | 6 +++++- assets/static/styles.css | 3 +++ 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c273527..be9fb0f 100644 --- a/Makefile +++ b/Makefile @@ -14,4 +14,8 @@ install: go get github.com/gorilla/mux docker: - docker build . \ No newline at end of file + docker build . + +and run: + go build src/webserver.go src/admin.go src/generate_rss.go + ./webserver.exe \ No newline at end of file diff --git a/assets/index.html b/assets/index.html index b367bed..3b9ad94 100644 --- a/assets/index.html +++ b/assets/index.html @@ -4,6 +4,7 @@ CMS Loading + @@ -32,7 +33,7 @@ get("/json", function(data){ var div = document.createElement('div'); div.className = 'podcast'; - // Hacky date workaround - convert our Go date outpus to unix timestamp, + // Hacky date workaround - convert our Go date output to unix timestamp, // then convert that into a string date = new Date(Date.parse(json.items[i].date_published)) month = date.getMonth()+1; diff --git a/assets/static/custom.css b/assets/static/custom.css index c35638f..70944a2 100644 --- a/assets/static/custom.css +++ b/assets/static/custom.css @@ -1,3 +1,7 @@ body { -background-color:red; + background-color: lightgrey; +} + +.podcast { + background-color: red; } \ No newline at end of file diff --git a/assets/static/styles.css b/assets/static/styles.css index a481180..2121f2c 100644 --- a/assets/static/styles.css +++ b/assets/static/styles.css @@ -22,3 +22,6 @@ label { .admin { text-align: center; } +hr { + max-width: 40%; +} \ No newline at end of file