Skip to content

Commit

Permalink
css updates: "loading" text, online status
Browse files Browse the repository at this point in the history
  • Loading branch information
alicebob committed Mar 1, 2018
1 parent 894264b commit d8f974d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docroot/s/siren.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ nav .status {
nav .status::before {
background-color: #37BF4A;
width: 20px;
display: inline-block;
border-radius: 20px;
content: " ";
min-height: 20px;
margin-right: 8px;
float: left;
}
nav .status.offline::before {
background-color: #BF3745;
Expand Down
4 changes: 2 additions & 2 deletions elm/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ viewPane p current =
, div [ Attr.class "main" ] <|
case es.entries of
Nothing ->
[ text "loading..." ]
[ div [] [ text "Loading..." ] ]

Just es_ ->
viewBody es_
Expand All @@ -574,7 +574,7 @@ viewPane p current =
[ div [ Attr.class "main" ] <|
case pb.body of
Nothing ->
[ text "loading..." ]
[ text "Loading..." ]

Just b ->
b
Expand Down
2 changes: 1 addition & 1 deletion siren/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"sync"
"time"

"github.com/gorilla/websocket"
"github.com/go-edn/edn"
"github.com/gorilla/websocket"
)

var upgrader = websocket.Upgrader{
Expand Down

0 comments on commit d8f974d

Please sign in to comment.