Compare commits

...

2 commits

Author SHA1 Message Date
bad
872d53db5f Merge pull request 'Add login pug file' (#1) from bad/Carbon:princess into princess
Reviewed-on: #1
2020-10-19 08:23:07 +00:00
Bad
a1e15f3deb Add login pug file 2020-10-19 10:16:16 +02:00
3 changed files with 28 additions and 1 deletions

3
.gitignore vendored
View file

@ -1,9 +1,10 @@
# Generated files
node_modules
build
# Editor artifacts
.vscode
*~
\#*#
.#*
._*
._*

View file

@ -108,5 +108,10 @@ module.exports = [
type: "pug",
source: "/home.pug",
target: "/index.html"
},
{
type: "pug",
source: "/login.pug",
target: "/login.html"
}
]

21
src/login.pug Normal file
View file

@ -0,0 +1,21 @@
doctype html
html
head
meta(charset="utf-8")
link(rel="stylesheet" type="text/css" href=getStatic("/sass/main.sass"))
title Carbon
body
main.main
form
div
label(for="login") Username
input(type="text" name="login" autocomplete="username" placeholder="example:matrix.org" required)#login
div
label(for="password") Password
input(type="text" name="password" autocomplete="current-password" required)#password
div
label(for="homeserver") Homeserver
input(type="text" name="homeserver" value="matrix.org" required)#homeserver
div
input(type="submit" value="Login")