fix and pretty

This commit is contained in:
Cadey Ratio 2020-01-16 00:33:44 +00:00
parent aac4592c53
commit 4233054b6c
3 changed files with 11 additions and 8 deletions

View File

@ -1,8 +1,8 @@
module Page exposing (..) module Page exposing (..)
import Browser exposing (Document) import Browser exposing (Document)
import Html exposing (Html, a, div, input, node, p, text) import Html exposing (Html, a, div, input, node, p, span, text)
import Html.Attributes exposing (href, placeholder, type_, value) import Html.Attributes exposing (class, href, placeholder, style, type_, value)
import Html.Events exposing (onInput) import Html.Events exposing (onInput)
@ -28,8 +28,9 @@ navBar =
[ viewLink "/" "Mi" [ viewLink "/" "Mi"
, text " - " , text " - "
, viewLink "/switch" "Switch tracker" , viewLink "/switch" "Switch tracker"
, text " - " , span
, viewLink "/logout" "Logout" [ class "right" ]
[ viewLink "/logout" "Logout" ]
] ]
] ]

View File

@ -29,14 +29,12 @@ type Data
| Error String | Error String
init : ( Model, Cmd Msg ) init : Model
init = init =
( Model Model
0 0
40 40
Init Init
, NeedData
)
type Msg type Msg

View File

@ -26,6 +26,10 @@ pre {
border: 0; border: 0;
} }
.right {
float: right;
}
a, a:active, a:visited { a, a:active, a:visited {
color: #b16286; color: #b16286;
background-color: #1d2021; background-color: #1d2021;