Merge branch 'Kyfront' into 'master'
Kyfront See merge request LETU/LETU!1
This commit is contained in:
commit
326db06121
8 changed files with 798 additions and 634 deletions
|
@ -1,10 +1,26 @@
|
||||||
{
|
{
|
||||||
"database": {
|
"development": {
|
||||||
"username": "root",
|
"username": "root",
|
||||||
"password": null,
|
"password": null,
|
||||||
"database": "database_test",
|
"database": "database_test",
|
||||||
"host": "127.0.0.1",
|
"host": "127.0.0.1",
|
||||||
"dialect": "postgres",
|
"dialect": "postgres",
|
||||||
"operatorsAliases": false
|
"operatorsAliases": false
|
||||||
|
},
|
||||||
|
"test": {
|
||||||
|
"username": "letu",
|
||||||
|
"password": "letu",
|
||||||
|
"database": "letu",
|
||||||
|
"host": "postgres",
|
||||||
|
"dialect": "postgres",
|
||||||
|
"operatorsAliases": false
|
||||||
|
},
|
||||||
|
"production": {
|
||||||
|
"username": "root",
|
||||||
|
"password": null,
|
||||||
|
"database": "database_production",
|
||||||
|
"host": "127.0.0.1",
|
||||||
|
"dialect": "postgres",
|
||||||
|
"operatorsAliases": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1250
package-lock.json
generated
1250
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,8 +1,50 @@
|
||||||
body {
|
body {
|
||||||
padding: 50px;
|
padding: 50px;
|
||||||
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; }
|
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
|
||||||
|
color: white;
|
||||||
|
background-color: #101010;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0; }
|
||||||
|
|
||||||
a {
|
h2 {
|
||||||
color: #00B7FF; }
|
color: #e0e0e0;
|
||||||
|
margin-top: 0;
|
||||||
|
text-align: center; }
|
||||||
|
|
||||||
|
#signin, #signup, #forgotPsw {
|
||||||
|
padding: 4vw; }
|
||||||
|
|
||||||
|
.signinup {
|
||||||
|
margin-top: 15vh;
|
||||||
|
background-color: #2a2a2a;
|
||||||
|
border-radius: 2vw; }
|
||||||
|
.signinup img {
|
||||||
|
width: 20%;
|
||||||
|
display: block;
|
||||||
|
margin: auto; }
|
||||||
|
.signinup form input {
|
||||||
|
color: #e0e0e0;
|
||||||
|
margin-bottom: 4vh;
|
||||||
|
font-size: 25px; }
|
||||||
|
.signinup form input[type="submit"] {
|
||||||
|
padding: 1vw;
|
||||||
|
border-radius: 2vw;
|
||||||
|
background-color: #0099ff;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
width: 40%;
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
font-size: 35px;
|
||||||
|
border: 2px solid #2C3531;
|
||||||
|
cursor: pointer;
|
||||||
|
transition-duration: 0.3s; }
|
||||||
|
.signinup form input[type="submit"]:hover {
|
||||||
|
color: #0099ff;
|
||||||
|
background-color: #101010;
|
||||||
|
border: 2px solid #0099ff; }
|
||||||
|
|
||||||
|
i {
|
||||||
|
color: #00c0ff; }
|
||||||
|
|
||||||
/*# sourceMappingURL=style.css.map */
|
/*# sourceMappingURL=style.css.map */
|
|
@ -5,5 +5,5 @@
|
||||||
"style.sass"
|
"style.sass"
|
||||||
],
|
],
|
||||||
"names": [],
|
"names": [],
|
||||||
"mappings": "AAAA,AAAA,IAAI,CAAC;EACH,OAAO,EAAE,IAAI;EACb,IAAI,EAAE,kDAAkD,GAAG;;AAE7D,AAAA,CAAC,CAAC;EACA,KAAK,EAAE,OAAO,GAAG"
|
"mappings": "AAQA,AAAA,IAAI,CAAC;EACH,OAAO,EAAE,IAAI;EACb,IAAI,EAAE,kDAAkD;EACxD,KAAK,EAAE,KAAK;EACZ,gBAAgB,EAVV,OAAO;EAWb,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC,GAAG;;AAGf,AAAA,EAAE,CAAC;EACD,KAAK,EAdC,OAAO;EAeb,UAAU,EAAE,CAAC;EACb,UAAU,EAAE,MAAM,GAAG;;AAEvB,AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,CAAC;EAC3B,OAAO,EAAE,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|
body
|
||||||
padding: 50px
|
padding: 50px
|
||||||
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif
|
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif
|
||||||
|
color: white;
|
||||||
|
background-color: $dark1;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
a
|
|
||||||
color: #00B7FF
|
h2
|
||||||
|
color: $light;
|
||||||
|
margin-top: 0;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
#signin, #signup, #forgotPsw
|
||||||
|
padding: 4vw;
|
||||||
|
|
||||||
|
.signinup
|
||||||
|
margin-top: 15vh;
|
||||||
|
background-color: $dark2;
|
||||||
|
border-radius: 2vw;
|
||||||
|
img
|
||||||
|
width: 20%;
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
|
||||||
|
form
|
||||||
|
input
|
||||||
|
color: $light;
|
||||||
|
margin-bottom: 4vh;
|
||||||
|
font-size: 25px;
|
||||||
|
input[type="submit"]
|
||||||
|
padding: 1vw;
|
||||||
|
border-radius: 2vw;
|
||||||
|
background-color: $secondary;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
width: 40%;
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
font-size: 35px;
|
||||||
|
border: 2px solid #2C3531;
|
||||||
|
cursor: pointer;
|
||||||
|
transition-duration: 0.3s
|
||||||
|
input[type="submit"]:hover
|
||||||
|
color: $secondary;
|
||||||
|
background-color: $dark1;
|
||||||
|
border: 2px solid $secondary;
|
||||||
|
|
||||||
|
i
|
||||||
|
color: $primary;
|
||||||
|
|
|
@ -1,5 +1,52 @@
|
||||||
extends layout
|
extends layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
h1= title
|
div(class='row main-form')
|
||||||
p Welcome to #{title}
|
div(class='col s12 m8 offset-m2 signinup z-depth-5' id="signin")
|
||||||
|
h2 Welcome back
|
||||||
|
form
|
||||||
|
div(class="input-field col s12")
|
||||||
|
i(class="material-icons prefix") mail
|
||||||
|
input(type="text" id="mail-input" class="autocomplete")
|
||||||
|
label(for="mail-input") Email
|
||||||
|
|
||||||
|
div(class="input-field col s12")
|
||||||
|
i(class="material-icons prefix") lock
|
||||||
|
input(type="password" id="password-input" class="autocomplete")
|
||||||
|
label(for="password-input") Password
|
||||||
|
|
||||||
|
input(type='submit' value='Login')
|
||||||
|
|
||||||
|
div(class='col s12 m8 offset-m2 signinup z-depth-5' id="signup")
|
||||||
|
h2 Welcome
|
||||||
|
form
|
||||||
|
div(class="input-field col s6")
|
||||||
|
i(class="material-icons prefix") portrait
|
||||||
|
input(type="text" id="firstname-input" class="autocomplete")
|
||||||
|
label(for="firstname-input") First Name
|
||||||
|
|
||||||
|
div(class="input-field col s6")
|
||||||
|
input(type="text" id="lastname-input" class="autocomplete")
|
||||||
|
label(for="lastname-input") Last Name
|
||||||
|
|
||||||
|
div(class="input-field col s12")
|
||||||
|
i(class="material-icons prefix") mail
|
||||||
|
input(type="text" id="mailreg-input" class="autocomplete")
|
||||||
|
label(for="mailreg-input") Email
|
||||||
|
|
||||||
|
div(class="input-field col s12")
|
||||||
|
i(class="material-icons prefix") lock
|
||||||
|
input(type="password" id="passwordreg-input" class="autocomplete")
|
||||||
|
label(for="passwordreg-input") Password
|
||||||
|
|
||||||
|
input(type='submit' value='Register')
|
||||||
|
|
||||||
|
div(class='col s12 m8 offset-m2 signinup z-depth-5' id="forgotPsw")
|
||||||
|
h2 Forgot password
|
||||||
|
form
|
||||||
|
div(class="input-field col s12")
|
||||||
|
i(class="material-icons prefix") mail
|
||||||
|
input(type="text" id="mailforgot-input" class="autocomplete")
|
||||||
|
label(for="mailforgot-input") Email
|
||||||
|
|
||||||
|
input(type='submit' value='Send email')
|
|
@ -2,6 +2,9 @@ doctype html
|
||||||
html
|
html
|
||||||
head
|
head
|
||||||
title= title
|
title= title
|
||||||
|
link(href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet")
|
||||||
|
link(rel="stylesheet", href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css")
|
||||||
link(rel="stylesheet", href="/stylesheets/style.css")
|
link(rel="stylesheet", href="/stylesheets/style.css")
|
||||||
body
|
body
|
||||||
block content
|
block content
|
||||||
|
script(src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js")
|
3
views/signinup.pug
Normal file
3
views/signinup.pug
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
extends layout
|
||||||
|
|
||||||
|
block content
|
Reference in a new issue