Albirew/nyaa-pantsu
Albirew
/
nyaa-pantsu
Archivé
1
0
Bifurcation 0

update login.jet.html (#1364)

* Add icon-user to nyacon font

* forgot to update font file versions

Some people will still get the old font files without the icon-user added to it

* update login.jet.html
Cette révision appartient à :
Golumpa 2017-08-08 10:29:39 +01:00 révisé par akuma06
Parent ab9e3906e2
révision 88bea245f1
2 fichiers modifiés avec 115 ajouts et 17 suppressions

88
public/css/api.css Fichier normal
Voir le fichier

@ -0,0 +1,88 @@
body {
background-color: #EFF5F7;
font-size: 16px;
font-family: 'Lato', sans-serif;
font-weight: 300;
margin: 0;
color: #666;
}
.logo {
max-width: 50%;
display: block;
margin: 0 auto;
padding-top: 7%
}
/* Typography */
h2 {
color: white;
font-weight: 400;
letter-spacing: 1px;
font-size: 1.4em;
line-height: 2.8em;
}
/* Layout */
.container {
margin: 0;
}
.login-box {
background-color: white;
max-width: 340px;
margin: 0 auto;
position: relative;
top: 50px;
padding-bottom: 30px;
border-radius: 5px;
box-shadow: 0 5px 50px rgba(0, 0, 0, 0.4);
text-align: center;
}
.login-box .box-header {
background-color: #9E87B1;
margin-top: 0;
border-radius: 5px 5px 0 0;
}
.login-box label {
font-weight: 700;
font-size: .8em;
color: #888;
letter-spacing: 1px;
text-transform: uppercase;
line-height: 2em;
}
.textarea {
margin-bottom: 20px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 2px;
font-size: .9em;
color: #888;
}
.textarea:focus {
outline: none;
border-color: #9E87B1;
transition: 0.5s;
color: #9E87B1;
}
.submit {
margin-top: 0px;
border: 0;
border-radius: 2px;
color: white;
padding: 10px;
text-transform: uppercase;
font-weight: 400;
font-size: 0.7em;
letter-spacing: 1px;
background-color: #9E87B1;
cursor: pointer;
outline: none;
}
.submit:hover {
opacity: 0.7;
transition: 0.5s;
}
.submit:hover {
opacity: 0.7;
transition: 0.5s;
}

Voir le fichier

@ -2,21 +2,31 @@
{{import "layouts/partials/helpers/csrf"}}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login Page - Nyaa Pantsu Authentification API</title>
</head>
<body>
<div>
<h1>Page authentification</h1>
<p>Please provide your login credentials before continuing</p>
{{ yield errors() }}
<form action="" method="POST">
<input type="text" name="username" /><br>
<input type="password" name="password" /><br>
{{ yield csrf_field()}}
<input type="submit">
</form>
</div>
</body>
<head>
<meta charset="UTF-8">
<title>Login Page - Nyaa Pantsu Authentification API</title>
<link rel="stylesheet" type="text/css" href="/css/api.css">
</head>
<body>
<div class="container">
<img src="/img/logo.png" class="logo">
<div class="login-box">
<div class="box-header">
<h2>Page Authentification</h2>
</div>
<p>Please provide your login credentials before continuing</p>
{{ yield errors() }}
<label for="username">Username</label>
<br/>
<input class="textarea" type="text" name="username" placeholder="Username" />
<br/>
<label for="password">Password</label>
<br/>
<input class="textarea" type="password" name="password" placeholder="Password" /><br>
<br/>
{{ yield csrf_field() }}
<input class="submit" type="submit" />
</div>
</div>
</body>
</html>