Files
librenms-librenms/resources/views/auth/login-form.blade.php
Tony Murray 63de34e295 php artisan serve and dusk testing (#9422)
* php artisan serve and dusk testing

* Fix style

* move if into, in case we need to have different configs

* fix travis yml

* Add missing folders files

* Try to fixup Travis-ci

* revert variable, change check

* skip browser tests for phpunit runs
set up env correctly

* maybe bg is needed

* attempt to fix env

* install Chrome

* Update tests
fix migrations

* Move pylint to python2

* use testing .env

* Running chrome on port 9515 conflicts with the instance started by the tests.  It is probably not needed.

* suppress some artisan serve output

* remove the unused updater
2019-02-14 09:06:10 -06:00

54 lines
2.6 KiB
PHP

<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title center-block">
<img class="logon-logo img-responsive" src="{{ asset(\LibreNMS\Config::get('title_image', 'images/librenms_logo_light.svg')) }}">
</h3>
</div>
<div class="panel-body">
<div class="container-fluid">
<form class="form-horizontal" role="form" action="{{ url('login') }}" method="post" name="logonform">
{{ csrf_field() }}
<div class="form-group{{ $errors->has('username') ? ' has-error' : '' }}">
<div class="col-md-12">
<input type="text" name="username" id="username" value="{{ old('username') }}" class="form-control" placeholder="@lang('Username')" required autofocus />
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('username') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<div class="col-md-12">
<input type="password" name="password" id="password" class="form-control" placeholder="@lang('Password')" />
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<div class="checkbox">
<label>
<input type="checkbox" name="remember" id="remember" /> @lang('Remember Me')
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<button type="submit" id="login" class="btn btn-primary btn-block" name="submit" type="submit">
<i class="fa fa-btn fa-sign-in"></i> @lang('Login')
</button>
</div>
</div>
</form>
</div>
</div>
@config('login_message')
<div class="panel-footer">{{ \LibreNMS\Config::get('login_message') }}</div>
@endconfig
</div>