Add login pug file
This commit is contained in:
parent
6b97b226e6
commit
a1e15f3deb
3 changed files with 28 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
||||||
# Generated files
|
# Generated files
|
||||||
node_modules
|
node_modules
|
||||||
|
build
|
||||||
|
|
||||||
# Editor artifacts
|
# Editor artifacts
|
||||||
.vscode
|
.vscode
|
||||||
|
|
5
spec.js
5
spec.js
|
@ -108,5 +108,10 @@ module.exports = [
|
||||||
type: "pug",
|
type: "pug",
|
||||||
source: "/home.pug",
|
source: "/home.pug",
|
||||||
target: "/index.html"
|
target: "/index.html"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "pug",
|
||||||
|
source: "/login.pug",
|
||||||
|
target: "/login.html"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
21
src/login.pug
Normal file
21
src/login.pug
Normal 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")
|
Loading…
Reference in a new issue