1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 01:11:34 +02:00
invoiceninja/resources/views/auth/reset.blade.php

133 lines
3.3 KiB
PHP
Raw Normal View History

2015-03-16 22:45:25 +01:00
@extends('master')
2016-08-22 15:45:34 +02:00
@section('head')
2015-03-16 22:45:25 +01:00
2016-08-22 15:45:34 +02:00
<link href="{{ asset('css/bootstrap.min.css') }}" rel="stylesheet" type="text/css"/>
<link href="{{ asset('css/built.public.min.css') }}" rel="stylesheet" type="text/css"/>
2015-03-16 22:45:25 +01:00
<style type="text/css">
body {
padding-top: 40px;
padding-bottom: 40px;
}
.modal-header {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
background-color: #337ab7;
color: #FFF;
2015-03-16 22:45:25 +01:00
}
.modal-header h4 {
margin:0;
}
.modal-header img {
2016-08-22 15:45:34 +02:00
float: left;
2015-03-16 22:45:25 +01:00
margin-right: 20px;
}
.form-signin {
max-width: 400px;
margin: 0 auto;
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;
}
.form-signin .checkbox {
font-weight: normal;
}
.form-signin .form-control {
margin-bottom: 17px !important;
}
.form-signin .form-control:focus {
z-index: 2;
}
.form-control {
display: block;
width: 100%;
height: 40px;
padding: 9px 12px;
font-size: 16px;
line-height: 1.42857143;
color: #000 !important;
background: #f9f9f9 !important;
background-image: none;
border: 1px solid #dfe0e1;
border-radius: 2px;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
2015-03-16 22:45:25 +01:00
</style>
@stop
@section('body')
<div class="container">
2015-03-30 17:20:53 +02:00
{!! Former::open('/password/reset')->addClass('form-signin')->rules(array(
'password' => 'required',
2016-08-22 15:45:34 +02:00
'password_confirmation' => 'required',
2015-03-30 17:20:53 +02:00
)) !!}
2015-03-16 22:45:25 +01:00
<div class="modal-header">
<img src="{{ asset('images/icon-login.png') }}" />
<h4>Invoice Ninja | {{ trans('texts.set_password') }}</h4></div>
<div class="inner">
<input type="hidden" name="token" value="{{{ $token }}}">
<p>
2016-08-22 15:45:34 +02:00
{!! Former::text('email')->placeholder(trans('texts.email'))->raw() !!}
{!! Former::password('password')->placeholder(trans('texts.password'))->raw() !!}
2015-03-30 17:20:53 +02:00
{!! Former::password('password_confirmation')->placeholder(trans('texts.confirm_password'))->raw() !!}
2015-03-16 22:45:25 +01:00
</p>
2015-03-31 20:50:58 +02:00
<p>{!! Button::success(trans('texts.save'))->large()->submit()->block() !!}</p>
2015-03-30 17:20:53 +02:00
@if (count($errors->all()))
<div class="alert alert-danger">
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</div>
@endif
2015-03-16 22:45:25 +01:00
<!-- if there are login errors, show them here -->
@if (Session::has('warning'))
<div class="alert alert-warning">{{ Session::get('warning') }}</div>
@endif
@if (Session::has('message'))
<div class="alert alert-info">{{ Session::get('message') }}</div>
@endif
@if (Session::has('error'))
<div class="alert alert-danger">{{ Session::get('error') }}</div>
@endif
2015-03-30 17:20:53 +02:00
{!! Former::close() !!}
2015-03-16 22:45:25 +01:00
</div>
</div>
2015-05-09 20:25:16 +02:00
<script type="text/javascript">
$(function() {
2016-08-22 15:45:34 +02:00
$('#email').focus();
2015-05-09 20:25:16 +02:00
})
</script>
2016-08-22 15:45:34 +02:00
@stop