update for version 1.0.1
This commit is contained in:
9
code/resources/views/auth/activate.blade.php
Normal file
9
code/resources/views/auth/activate.blade.php
Normal file
@@ -0,0 +1,9 @@
|
||||
Hello{{$username}}, <br><br>
|
||||
|
||||
please activate your account using the following link. <br><br>
|
||||
|
||||
-----<br>
|
||||
|
||||
{{$link}}
|
||||
|
||||
<br>
|
||||
52
code/resources/views/auth/login.blade.php
Normal file
52
code/resources/views/auth/login.blade.php
Normal file
@@ -0,0 +1,52 @@
|
||||
@extends('themes.default1.layouts.login')
|
||||
|
||||
@section('body')
|
||||
<h4 class="login-box-msg">Sign in 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>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('status')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('errors'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"> </i> <b> Alert! </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
</div>
|
||||
@endif
|
||||
<!-- form open -->
|
||||
{!! 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']) !!}
|
||||
{!! $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']) !!}
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<div class="checkbox icheck">
|
||||
<label>
|
||||
<input type="checkbox" name="remember"> Remember Me
|
||||
</label>
|
||||
</div>
|
||||
</div><!-- /.col -->
|
||||
<div class="col-xs-4">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">Sign In</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>
|
||||
<!-- /.login-page -->
|
||||
@stop
|
||||
33
code/resources/views/auth/password.blade.php
Normal file
33
code/resources/views/auth/password.blade.php
Normal file
@@ -0,0 +1,33 @@
|
||||
@extends('themes.default1.layouts.login')
|
||||
|
||||
@section('body')
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i> <b> Success </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('status')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('errors'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"> </i> <b> 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>
|
||||
<!-- 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>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<a href="{{url('auth/login')}}" class="text-center">I know my password</a>
|
||||
<!-- /.login-page -->
|
||||
@stop
|
||||
82
code/resources/views/auth/register.blade.php
Normal file
82
code/resources/views/auth/register.blade.php
Normal file
@@ -0,0 +1,82 @@
|
||||
@extends('themes.default1.layouts.login')
|
||||
@section('body')
|
||||
|
||||
<h4 class="login-box-msg">Registration</h4>
|
||||
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i> <b> Success </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('status')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('errors'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"> </i> <b> Alert! </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<!-- form open -->
|
||||
{!! Form::open(['action'=>'Auth\AuthController@postRegister', 'method'=>'post']) !!}
|
||||
|
||||
<!-- fullname -->
|
||||
<div class="form-group has-feedback {{ $errors->has('full_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::text('full_name',null,['placeholder'=>'Full Name','class' => 'form-control']) !!}
|
||||
{!! $errors->first('full_name', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-user form-control-feedback"></span>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Email -->
|
||||
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::text('email',null,['placeholder'=>'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']) !!}
|
||||
{!! $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']) !!}
|
||||
{!! $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>
|
||||
</label>
|
||||
</div>
|
||||
</div><!-- /.col -->
|
||||
<div class="col-xs-4">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">Register</button>
|
||||
</div><!-- /.col -->
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<a href="{{url('auth/login')}}" class="text-center">I already have a membership</a>
|
||||
{!! Form::close()!!}
|
||||
|
||||
|
||||
|
||||
@stop
|
||||
|
||||
|
||||
55
code/resources/views/auth/reset.blade.php
Normal file
55
code/resources/views/auth/reset.blade.php
Normal file
@@ -0,0 +1,55 @@
|
||||
@extends('themes.default1.layouts.login')
|
||||
|
||||
@section('body')
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i> <b> Success </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('status')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('errors'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"> </i> <b> Alert! </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
</div>
|
||||
@endif
|
||||
<p class="login-box-msg">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') }}">
|
||||
{!! $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">
|
||||
{!! $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">
|
||||
{!! $errors->first('password_confirmation', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
|
||||
</div>
|
||||
|
||||
<!-- Confirm password -->
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-3">
|
||||
<button type="submit" class="btn btn-primary btn-flat">
|
||||
Reset Password
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
Reference in New Issue
Block a user