update for version 1.0.2
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
@extends('themes.default1.layouts.login')
|
||||
|
||||
@section('body')
|
||||
<h4 class="login-box-msg">Sign in to start your session</h4>
|
||||
<h4 class="login-box-msg">{!! Lang::get('lang.Login_to_start_your_session') !!}</h4>
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i> <b> Success </b>
|
||||
<i class="fa fa-check-circle"> </i> <b> {!! Lang::get('lang.success') !!} </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('status')}}
|
||||
</div>
|
||||
@@ -12,7 +12,7 @@
|
||||
<!-- failure message -->
|
||||
@if(Session::has('errors'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"> </i> <b> Alert! </b>
|
||||
<i class="fa fa-ban"> </i> <b> {!! Lang::get('lang.alert') !!}! </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
</div>
|
||||
@endif
|
||||
@@ -20,14 +20,14 @@
|
||||
{!! Form::open(['action'=>'Auth\AuthController@postLogin', 'method'=>'post']) !!}
|
||||
<!-- Email -->
|
||||
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! Form::text('email',null,['placeholder'=>'Email','class' => 'form-control']) !!}
|
||||
{!! Form::text('email',null,['placeholder'=> Lang::get("lang.email") ,'class' => 'form-control']) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
</div>
|
||||
|
||||
<!-- Password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
{!! Form::password('password',['placeholder'=>'Password','class' => 'form-control']) !!}
|
||||
{!! Form::password('password',['placeholder'=>Lang::get("lang.password"),'class' => 'form-control']) !!}
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
</div>
|
||||
@@ -35,18 +35,17 @@
|
||||
<div class="col-xs-8">
|
||||
<div class="checkbox icheck">
|
||||
<label>
|
||||
<input type="checkbox" name="remember"> Remember Me
|
||||
<input type="checkbox" name="remember">{!! Lang::get("lang.remember") !!}
|
||||
</label>
|
||||
</div>
|
||||
</div><!-- /.col -->
|
||||
<div class="col-xs-4">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">Sign In</button>
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get("lang.login") !!}</button>
|
||||
</div><!-- /.col -->
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<a href="{{url('password/email')}}">I forgot my password</a><br>
|
||||
<a href="{{url('auth/register')}}" class="text-center">Register a new membership</a>
|
||||
<a href="{{url('password/email')}}">{!! Lang::get("lang.iforgot") !!}</a><br>
|
||||
<a href="{{url('auth/register')}}" class="text-center">{!! Lang::get("lang.reg_new_member") !!}</a>
|
||||
<!-- /.login-page -->
|
||||
@stop
|
||||
|
@@ -3,7 +3,7 @@
|
||||
@section('body')
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i> <b> Success </b>
|
||||
<i class="fa fa-check-circle"> </i> <b> {!! Lang::get('lang.success') !!} </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('status')}}
|
||||
</div>
|
||||
@@ -11,23 +11,23 @@
|
||||
<!-- failure message -->
|
||||
@if(Session::has('errors'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"> </i> <b> Alert! </b>
|
||||
<i class="fa fa-ban"> </i> <b> {!! Lang::get('lang.alert') !!}! </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{!! $errors->first('email') !!}
|
||||
</div>
|
||||
@endif
|
||||
<p class="login-box-msg">Enter E-mail to reset password</p>
|
||||
<p class="login-box-msg">{!! Lang::get('lang.enter_email_to_reset_password') !!}</p>
|
||||
<!-- form open -->
|
||||
<form role="form" method="POST" action="{{ url('/password/email') }}">
|
||||
<!-- Email -->
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<!-- Email -->
|
||||
<div class="input-group margin">
|
||||
<input type="email" class="form-control" name="email" placeholder="E-mail" value="{{ old('email') }}">
|
||||
<span class="input-group-btn"><button type="submit" class="btn btn-primary btn-block btn-flat">Send</button></span>
|
||||
<input type="email" class="form-control" name="email" placeholder="{!! Lang::get('lang.email') !!}" value="{{ old('email') }}">
|
||||
<span class="input-group-btn"><button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get('lang.send') !!}</button></span>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<a href="{{url('auth/login')}}" class="text-center">I know my password</a>
|
||||
<a href="{{url('auth/login')}}" class="text-center">{!! Lang::get('lang.i_know_my_password') !!}</a>
|
||||
<!-- /.login-page -->
|
||||
@stop
|
||||
@stop
|
@@ -1,11 +1,11 @@
|
||||
@extends('themes.default1.layouts.login')
|
||||
@section('body')
|
||||
|
||||
<h4 class="login-box-msg">Registration</h4>
|
||||
<h4 class="login-box-msg">{!! Lang::get('lang.registration') !!}</h4>
|
||||
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i> <b> Success </b>
|
||||
<i class="fa fa-check-circle"> </i> <b> {!! Lang::get('lang.success') !!} </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('status')}}
|
||||
</div>
|
||||
@@ -13,7 +13,7 @@
|
||||
<!-- failure message -->
|
||||
@if(Session::has('errors'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"> </i> <b> Alert! </b>
|
||||
<i class="fa fa-ban"> </i> <b> {!! Lang::get('lang.alert') !!}! </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
</div>
|
||||
@endif
|
||||
@@ -25,7 +25,7 @@
|
||||
<!-- fullname -->
|
||||
<div class="form-group has-feedback {{ $errors->has('full_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::text('full_name',null,['placeholder'=>'Full Name','class' => 'form-control']) !!}
|
||||
{!! Form::text('full_name',null,['placeholder'=>Lang::get('lang.full_name'),'class' => 'form-control']) !!}
|
||||
{!! $errors->first('full_name', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-user form-control-feedback"></span>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<!-- Email -->
|
||||
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::text('email',null,['placeholder'=>'Email','class' => 'form-control']) !!}
|
||||
{!! Form::text('email',null,['placeholder'=>Lang::get('lang.email'),'class' => 'form-control']) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
|
||||
@@ -42,41 +42,34 @@
|
||||
|
||||
<!-- Password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
{!! Form::password('password',['placeholder'=>'Password','class' => 'form-control']) !!}
|
||||
{!! Form::password('password',['placeholder'=>Lang::get('lang.password'),'class' => 'form-control']) !!}
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
</div>
|
||||
|
||||
<!-- Confirm password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
|
||||
{!! Form::password('password_confirmation',['placeholder'=>'Retype Password','class' => 'form-control']) !!}
|
||||
{!! Form::password('password_confirmation',['placeholder'=>Lang::get('lang.retype_password'),'class' => 'form-control']) !!}
|
||||
{!! $errors->first('password_confirmation', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<div class="checkbox icheck">
|
||||
<label>
|
||||
<input type="checkbox"> I agree to the <a href="#">terms</a>
|
||||
<input type="checkbox">{!! Lang::get('lang.i_agree_to_the') !!} <a href="#">{!! Lang::get('lang.terms') !!}</a>
|
||||
</label>
|
||||
</div>
|
||||
</div><!-- /.col -->
|
||||
<div class="col-xs-4">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">Register</button>
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get('lang.register') !!}</button>
|
||||
</div><!-- /.col -->
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<a href="{{url('auth/login')}}" class="text-center">I already have a membership</a>
|
||||
<a href="{{url('auth/login')}}" class="text-center">{!! Lang::get('lang.i_already_have_a_membership') !!}</a>
|
||||
{!! Form::close()!!}
|
||||
|
||||
|
||||
|
||||
@stop
|
||||
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
@section('body')
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i> <b> Success </b>
|
||||
<i class="fa fa-check-circle"> </i> <b> {!! Lang::get('lang.success') !!} </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('status')}}
|
||||
</div>
|
||||
@@ -11,30 +11,30 @@
|
||||
<!-- failure message -->
|
||||
@if(Session::has('errors'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"> </i> <b> Alert! </b>
|
||||
<i class="fa fa-ban"> </i> <b> {!! Lang::get('lang.alert') !!}! </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
</div>
|
||||
@endif
|
||||
<p class="login-box-msg">Reset Password</p>
|
||||
<p class="login-box-msg">{!! Lang::get('lang.reset_password') !!}</p>
|
||||
<div class="panel-body">
|
||||
<form class="form-horizontal" role="form" method="POST" action="{{ url('/password/reset') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
<!-- Email -->
|
||||
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
<input type="email" class="form-control" name="email" placeholder="E-mail" value="{{ old('email') }}">
|
||||
<input type="email" class="form-control" name="email" placeholder="{!! Lang::get('lang.e-mail') !!}" value="{{ old('email') }}">
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
</div>
|
||||
<!-- password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
<input type="password" class="form-control" name="password" placeholder="Password">
|
||||
<input type="password" class="form-control" name="password" placeholder="Lang::get('lang.password')">
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
</div>
|
||||
<!-- confirm password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
|
||||
<input type="password" class="form-control" name="password_confirmation" placeholder="Confirm Password">
|
||||
<input type="password" class="form-control" name="password_confirmation" placeholder="Lang::get('lang.confirm_password')">
|
||||
{!! $errors->first('password_confirmation', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
|
||||
</div>
|
||||
@@ -45,7 +45,7 @@
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-3">
|
||||
<button type="submit" class="btn btn-primary btn-flat">
|
||||
Reset Password
|
||||
{!! Lang::get('lang.reset_password') !!}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user