Compare commits

...

5 Commits

Author SHA1 Message Date
Danila Fedorin 66b602a603 Add more ignored files via gitignore.io 2019-03-17 12:38:35 -07:00
Danila Fedorin 6f2add1f43
Merge pull request #6 from aaronraimist/gitignore
Add basic .gitignore
2019-03-17 12:35:00 -07:00
Danila Fedorin 4961a955e1
Merge pull request #7 from aaronraimist/url-placeholder
Add placeholder for homeserver URL
2019-03-17 12:34:26 -07:00
Aaron Raimist 7aa4e11e31
Add basic .gitignore 2019-03-17 12:14:01 -05:00
Aaron Raimist df0be6a1ee
Add placeholder for homeserver URL
I forgot this one
2019-03-17 12:03:18 -05:00
2 changed files with 18 additions and 1 deletions

17
.gitignore vendored Normal file
View File

@ -0,0 +1,17 @@
/static/js/elm.js
/static/css/style.css
# Created by https://www.gitignore.io/api/elm,sass
# Edit at https://www.gitignore.io/?templates=elm,sass
### Elm ###
# elm-package generated files
elm-stuff
# elm-repl generated files
repl-temp-*
### Sass ###
.sass-cache/
*.css.map
*.sass.map
*.scss.map

View File

@ -133,7 +133,7 @@ loginView m = div [ class "login-wrapper" ]
[ h2 [] [ text "Log In" ]
, input [ type_ "text", placeholder "Username", value m.loginUsername, onInput ChangeLoginUsername] []
, input [ type_ "password", placeholder "Password", value m.loginPassword, onInput ChangeLoginPassword ] []
, input [ type_ "text", value m.apiUrl, onInput ChangeApiUrl ] []
, input [ type_ "text", placeholder "Homeserver URL", value m.apiUrl, onInput ChangeApiUrl ] []
, button [ onClick AttemptLogin ] [ text "Log In" ]
]