1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-23 18:01:35 +02:00
invoiceninja/app/views/users/login.blade.php

91 lines
2.3 KiB
PHP
Raw Normal View History

2013-12-07 21:33:07 +01:00
@extends('master')
2013-12-07 19:45:00 +01:00
2013-12-07 21:33:07 +01:00
@section('head')
2013-12-07 19:45:00 +01:00
2014-02-01 21:26:45 +01:00
<link href="{{ asset('vendor/bootstrap/dist/css/bootstrap.min.css') }}" rel="stylesheet" type="text/css"/>
2014-03-31 15:40:19 +02:00
<link href="{{ asset('css/style.css') }}" rel="stylesheet" type="text/css"/>
2014-02-01 21:26:45 +01:00
<style type="text/css">
2013-12-07 19:45:00 +01:00
body {
padding-top: 40px;
padding-bottom: 40px;
}
2014-03-31 15:40:19 +02:00
.modal-header {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.modal-header h4 {
margin:0;
}
.modal-header img {
float: left;
margin-right: 20px;
}
.form-signin {
max-width: 400px;
2013-12-07 19:45:00 +01:00
margin: 0 auto;
2014-03-31 15:40:19 +02:00
background: #fff;
}
p.link a {
font-size: 11px;
}
.form-signin .inner {
padding: 20px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
2013-12-07 19:45:00 +01:00
}
.form-signin .checkbox {
font-weight: normal;
}
.form-signin .form-control {
2014-03-31 15:40:19 +02:00
margin-bottom: 17px !important;
2013-12-07 19:45:00 +01:00
}
.form-signin .form-control:focus {
z-index: 2;
}
2014-03-31 15:40:19 +02:00
2014-02-01 21:26:45 +01:00
</style>
2013-12-07 19:45:00 +01:00
2013-12-07 21:33:07 +01:00
@stop
2013-12-07 19:45:00 +01:00
2013-12-07 21:33:07 +01:00
@section('body')
2013-12-07 19:45:00 +01:00
<div class="container">
2013-12-07 21:33:07 +01:00
{{ Former::open('login')->addClass('form-signin') }}
2014-03-31 15:40:19 +02:00
<div class="modal-header">
<img src="{{ asset('images/icon-login.png') }}" />
<h4>Invoice Ninja Account Login</h4></div>
<div class="inner">
2013-12-07 19:45:00 +01:00
<p>
2014-01-12 19:55:33 +01:00
{{ $errors->first('login_email') }}
{{ $errors->first('login_password') }}
2013-12-07 19:45:00 +01:00
</p>
<p>
2014-01-12 19:55:33 +01:00
{{ Form::text('login_email', Input::old('login_email'), array('placeholder' => 'Email address')) }}
{{ Form::password('login_password', array('placeholder' => 'Password')) }}
2013-12-07 19:45:00 +01:00
</p>
2014-03-31 15:40:19 +02:00
<p>{{ Button::success_submit('Lets go', array('class' => 'btn-lg'))->block() }}</p>
<p class="link">
{{ link_to('forgot_password', 'Forgot your password?') }}
</p>
2013-12-07 21:33:07 +01:00
2013-12-07 19:45:00 +01:00
<!-- if there are login errors, show them here -->
@if ( Session::get('error') )
<div class="alert alert-error">{{{ Session::get('error') }}}</div>
@endif
@if ( Session::get('notice') )
<div class="alert">{{{ Session::get('notice') }}}</div>
@endif
2014-03-31 15:40:19 +02:00
</div>
2013-12-07 19:45:00 +01:00
2013-12-07 21:33:07 +01:00
{{ Former::close() }}
2013-12-07 19:45:00 +01:00
</div>
2013-12-07 21:33:07 +01:00
@stop