diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-07-03 10:12:21 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-07-03 10:12:21 -0400 |
| commit | 66a2e8c791326ebe98845f17d9d79b4817b73b99 (patch) | |
| tree | 3a1d964bd4a7989225a9873f5618f45c7f024cba /todolist/webapp.go | |
| parent | a551bd14ba7daa48c0c7409001710ed9f57c8046 (diff) | |
Add the css file0.2.0
Diffstat (limited to 'todolist/webapp.go')
| -rw-r--r-- | todolist/webapp.go | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/todolist/webapp.go b/todolist/webapp.go index 302be58..39d1a9b 100644 --- a/todolist/webapp.go +++ b/todolist/webapp.go @@ -44,15 +44,10 @@ func Scaffold(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { font-family: 'Roboto', sans-serif; margin: 0px; } - .red { - color: #D50000 !important; - } - .blue { - color: #2196F3 !important; - } </style> <meta charset="utf-8"> <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,500" rel="stylesheet"> + <link rel="stylesheet" href="` + urlFor("main.css") + `"> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="mobile-web-app-capable" content="yes"> <title>Todolist</title> @@ -69,7 +64,7 @@ func Scaffold(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { } func urlFor(file string) string { - return "http://d26ykxqbemi1kc.cloudfront.net/" + VERSION + "/" + file + return "https://s3.amazonaws.com/todolist-local/" + VERSION + "/" + file } func GetTodos(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { |
