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

View File

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

View File

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