Skip to content

Instantly share code, notes, and snippets.

@NandoKstroNet
Created September 22, 2020 13:52
Show Gist options
  • Select an option

  • Save NandoKstroNet/05fef9b8521d867545ff26305d82deb9 to your computer and use it in GitHub Desktop.

Select an option

Save NandoKstroNet/05fef9b8521d867545ff26305d82deb9 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Jekyll v4.1.1">
<title>Acessar Gerenciador Loja</title>
{{ encore_entry_link_tags('app') }}
<link rel="canonical" href="{{ path('app_login') }}">
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
html,
body {
height: 100%;
}
body {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
padding-top: 40px;
padding-bottom: 40px;
background-color: #f5f5f5;
}
.form-signin {
width: 100%;
max-width: 330px;
padding: 15px;
margin: auto;
}
.form-signin .checkbox {
font-weight: 400;
}
.form-signin .form-control {
position: relative;
box-sizing: border-box;
height: auto;
padding: 10px;
font-size: 16px;
}
.form-signin .form-control:focus {
z-index: 2;
}
.form-signin input[type="email"] {
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
</style>
</head>
<body class="text-center">
<form class="form-signin" method="post" >
{% if error %}
<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
<h1 class="h3 mb-3 font-weight-normal">Acessar Painel</h1>
<label for="inputEmail" class="sr-only">Email address</label>
<input type="email" id="inputEmail" class="form-control" value="{{ last_username }}" placeholder="Email" name="_username" required autofocus>
<label for="inputPassword" class="sr-only">Senha</label>
<input type="password" id="inputPassword" class="form-control" placeholder="Password" name="_password" required>
<div class="checkbox mb-3">
<input type="hidden" name="_csrf_token"
value="{{ csrf_token('authenticate') }}"
>
<label>
<input type="checkbox" name="_remember_me"> Remember me
</label>
</div>
<button class="btn btn-lg btn-primary btn-block" type="submit">Acessar</button>
<p class="mt-5 mb-3 text-muted">&copy; {{ "now"|date('Y') }}</p>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment