Commit Graph

28 Commits

Author SHA1 Message Date
stuart nelson
76e5443cb1 Convert silence view to use list buttons 2017-01-04 22:12:04 -05:00
stuart nelson
7bc5edd970 Rename labelHeader->labelButton 2017-01-04 21:50:22 -05:00
stuart nelson
1d1f95f535 A lot of styling changes to alerts page 2017-01-04 21:38:36 -05:00
stuart nelson
7987e9d5df Update format to find all .elm files 2017-01-04 18:02:49 -05:00
stuart nelson
a055108cdf Update date util func 2017-01-04 18:02:38 -05:00
stuart nelson
cfeebbf560 Add font-awesome and loading spinner 2017-01-04 17:28:22 -05:00
stuart nelson
4d06bb6060 make format 2016-12-12 10:47:57 +01:00
stuart nelson
c22599858a Decode routeOpts from block 2016-12-12 10:47:22 +01:00
stuart nelson
3b166e89e7 Button style things 2016-12-12 10:47:10 +01:00
stuart nelson
7fb8e6b9fa Redirect to alerts page from top level 2016-12-12 10:46:18 +01:00
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