AdminUI: Add application name to login page
This commit is contained in:
1 parent
7f8c591f75
commit
e78d8208fa
1 file changed
+5
-5
@@ -64,29 +64,29 @@ let root model dispatch =
|
||||
figure [ ClassName "avatar" ] [
|
||||
img [ Src sparkImg ]
|
||||
]
|
||||
h1 [ ClassName "is-size-1" ] [str "Spark"]
|
||||
h1 [ Style [ Float "right"; FontSize "1.2rem"; Margin "1.6rem .5rem 0 -1rem"; Transform "rotate(90deg)"] ] [ str "beta" ]
|
||||
h1 [ ClassName "is-size-1" ] [ span [] [str "Spark AdminUI"]]
|
||||
]
|
||||
|
||||
form [ OnSubmit (fun e ->
|
||||
e.preventDefault()
|
||||
dispatch Submit) ] [
|
||||
div [ ClassName "field" ] [
|
||||
div [ ClassName "control" ] [
|
||||
input [ ClassName "input is-large login-input"
|
||||
input [ ClassName "input login-input"
|
||||
Type "text"
|
||||
OnChange (handler Username)
|
||||
AutoFocus true
|
||||
Placeholder "Username" ] ] ]
|
||||
div [ ClassName "field" ] [
|
||||
div [ ClassName "control" ] [
|
||||
input [ ClassName "input is-large login-input"
|
||||
input [ ClassName "input login-input"
|
||||
Type "password"
|
||||
OnChange (handler Password)
|
||||
Placeholder "Password" ] ] ]
|
||||
div [ Style [Color "red"] ] [str model.error]
|
||||
br []
|
||||
button [OnClick (fun _ -> dispatch Submit)
|
||||
ClassName "button is-block is-primary is-large is-fullwidth" ] [
|
||||
ClassName "button is-block is-primary is-fullwidth" ] [
|
||||
str "Login" ] ] ]
|
||||
] ] ] ]
|
||||
|
||||
|
||||
Reference in new issue
Block a user