grocy/views/login.blade.php
Zack Arnett 4629df17b4
Cosmetic Update (#753)
* UI changes

* New (header) style was missing on some pages

* Added/changed new localization strings

* Unify page titles / apply .title class everywhere

* Reduce spacing below page title

Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2020-04-19 14:51:02 +02:00

37 lines
1.1 KiB
PHP

@extends('layout.default')
@section('title', $__t('Login'))
@section('viewJsName', 'login')
@section('content')
<div class="row">
<div class="col-lg-6 offset-lg-3 col-xs-12">
<h2 class="text-center">@yield('title')</h2>
<hr>
<form method="post" action="{{ $U('/login') }}" id="login-form" novalidate>
<div class="form-group">
<label for="name">{{ $__t('Username') }}</label>
<input type="text" class="form-control" required id="username" name="username">
</div>
<div class="form-group">
<label for="name">{{ $__t('Password') }}</label>
<input type="password" class="form-control" required id="password" name="password">
<div id="login-error" class="form-text text-danger d-none"></div>
</div>
<div class="checkbox">
<label for="stay_logged_in">
<input type="checkbox" id="stay_logged_in" name="stay_logged_in"> {{ $__t('Stay logged in permanently') }}
<p class="form-text text-muted small my-0">{{ $__t('When not set, you will get logged out at latest after 30 days') }}</p>
</label>
</div>
<button id="login-button" class="btn btn-success">{{ $__t('OK') }}</button>
</form>
</div>
</div>
@stop