Commit Graph

18 Commits

Author SHA1 Message Date
stuart nelson
1d1945933b Use field instead of Json.at for top level key 2016-12-12 10:45:40 +01:00
stuart nelson
0edb08fb30 Remove Maybe on Decode for blocks 2016-12-11 19:57:58 +01:00
stuart nelson
cb9e95bacb Parse silenced and silence id
Show buttons for each
2016-12-11 18:59:29 +01:00
stuart nelson
e823a66d53 Format date to something readable 2016-12-09 19:51:24 +01:00
stuart nelson
8f4f4d8e71 Separate alerts into html 2016-12-09 19:17:58 +01:00
stuart nelson
58f552c79d Parse alerts in alert groups, add silence edit/new 2016-12-04 19:47:31 +01:00
stuart nelson
6faa1e75c3 Parse alerts from api 2016-12-03 16:32:25 +01:00
stuart nelson
e1e64f4415 Simplify code and remove infinite redirect 2016-11-23 09:45:24 +01:00
stuart nelson
8a82068b2b Upgrade to elm 0.18
That took a while to fix. Some things are still
broken, and it seems like there's an infinite loop
or something that kills the site when going to the
non-existent alerts route. Something with the
redirect is funny, too.

- Fix redirect (top level with no hash should go
to alerts)
2016-11-22 23:45:31 +01:00
stuart nelson
4329fdb671 WIP on redesign 2016-11-20 17:42:21 +01:00
stuart nelson
0fac7c8a5b Formatting 2016-11-06 22:03:38 +01:00
stuart nelson
809fa55bca Remove unused function 2016-11-06 22:03:03 +01:00
stuart nelson
1c33f864ce load Silence from api 2016-11-06 22:02:50 +01:00
stuart nelson
e4d7663cb8 Add format make target 2016-11-06 21:07:17 +01:00
stuart nelson
06922464e8 Enable format-on-save
use elm-format on save
2016-11-06 18:37:05 +01:00
stuart nelson
72573451dd Fix elm errors
Rendering alerts
2016-11-06 15:22:18 +01:00
stuart nelson
54251af063 Update API
- Return static silences json
- use http.ServeFile
2016-11-06 15:21:36 +01:00
stuart nelson
160a549150 initial commit 2016-11-03 19:50:48 +01:00