Merge pull request #325 from ladybirdweb/arindam-community
Alphabets in phone number,Page design change
This commit is contained in:
@@ -20,6 +20,42 @@ Route::group(['middleware' => ['web']], function () {
|
||||
Route::get('social/login/{provider}', ['as' => 'social.login.callback', 'uses' => 'Auth\AuthController@handleProviderCallback']);
|
||||
Route::get('social-sync', ['as' => 'social.sync', 'uses' => 'Client\helpdesk\GuestController@sync']);
|
||||
});
|
||||
|
||||
/*
|
||||
|-------------------------------------------------------------------------------
|
||||
| @Arindam
|
||||
|-------------------------------------------------------------------------------
|
||||
| Here is defining entire routes for the Admin Panel
|
||||
|
|
||||
*/
|
||||
Route::get('password/email/{one?}/{two?}/{three?}/{four?}/{five?}',['as' => 'password.email', 'uses' => 'Auth\PasswordController@getEmail']);
|
||||
Breadcrumbs::register('password.email', function ($breadcrumbs) {
|
||||
$breadcrumbs->parent('/');
|
||||
$breadcrumbs->push('Login', url('auth/login'));
|
||||
$breadcrumbs->push('Forgot Password', url('password/email'));
|
||||
});
|
||||
|
||||
|
||||
// register page
|
||||
Route::get('auth/register/{one?}/{two?}/{three?}/{four?}/{five?}',['as' => 'auth.register', 'uses' => 'Auth\AuthController@getRegister']);
|
||||
Breadcrumbs::register('auth.register', function ($breadcrumbs) {
|
||||
$breadcrumbs->parent('/');
|
||||
$breadcrumbs->push('Login', url('auth/login'));
|
||||
$breadcrumbs->push('Create Account', url('auth/register'));
|
||||
});
|
||||
|
||||
|
||||
// Auth login
|
||||
Route::get('auth/login/{one?}/{two?}/{three?}/{four?}/{five?}',['as' => 'auth.login', 'uses' => 'Auth\AuthController@getLogin']);
|
||||
Breadcrumbs::register('auth.login', function ($breadcrumbs) {
|
||||
$breadcrumbs->parent('/');
|
||||
$breadcrumbs->push('Create Account', url('auth/register'));
|
||||
$breadcrumbs->push('Login', url('auth/login'));
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
Route::get('account/activate/{token}', ['as' => 'account.activate', 'uses' => 'Auth\AuthController@accountActivate']);
|
||||
Route::get('getmail/{token}', 'Auth\AuthController@getMail');
|
||||
Route::get('verify-otp', ['as' => 'otp-verification', 'uses' => 'Auth\AuthController@getVerifyOTP']);
|
||||
|
@@ -1546,5 +1546,7 @@ return [
|
||||
'agent_delete_successfully' => 'Agent deleted successfully',
|
||||
'select_another_agent' => 'Select another agent',
|
||||
'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent deleted successfully and ticket assigned to another agent',
|
||||
//login,registration
|
||||
'enter_your_email_here'=>'Enter your email here',
|
||||
|
||||
];
|
||||
|
@@ -1,78 +1,174 @@
|
||||
@extends('themes.default1.layouts.login')
|
||||
@extends('themes.default1.client.layout.logclient')
|
||||
|
||||
@section('body')
|
||||
<h4 class="login-box-msg">
|
||||
@if (Session::has('login_require'))
|
||||
{!! Session::get('login_require') !!}
|
||||
@else
|
||||
{!! Lang::get('lang.Login_to_start_your_session') !!}
|
||||
@endif
|
||||
</h4>
|
||||
@section('home')
|
||||
class = "active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/css/widgetbox.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/plugins/iCheck/flat/blue.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
{{-- <link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css"> --}}
|
||||
<link href="{{asset("lb-faveo/css/jquerysctipttop.css")}}" rel="stylesheet" type="text/css">
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
@stop
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i>
|
||||
<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>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('errors'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"> </i> <b> {!! Lang::get('lang.alert') !!}! </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
@if(Session::has('error'))
|
||||
<li>{!! Session::get('error') !!}</li>
|
||||
@else
|
||||
<li>{!! Lang::get('lang.please_fill_all_required_feilds') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"> </i> <b> {!! Lang::get('lang.alert') !!}! </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<li>{!! Session::get('fails') !!}</li>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<!-- @if (count($errors) > 0)
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif -->
|
||||
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="site-hero clearfix">
|
||||
<ol class="breadcrumb breadcrumb-custom">
|
||||
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li>
|
||||
<li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.home') !!}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
@section('content')
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
<div id="content" class="site-content col-md-12">
|
||||
<div id="corewidgetbox">
|
||||
<div class="widgetrow text-center">
|
||||
@if(Auth::user())
|
||||
@else
|
||||
<span onclick="javascript: window.location.href='{{url('auth/register')}}';">
|
||||
<a href="{{url('auth/register')}}" style="background-image:url({{ URL::asset('lb-faveo/media/images/register.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.register') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
@endif
|
||||
<?php $system = App\Model\helpdesk\Settings\System::where('id', '=', '1')->first();
|
||||
?>
|
||||
@if($system != null)
|
||||
@if($system->status)
|
||||
@if($system->status == 1)
|
||||
<span onclick="javascript: window.location.href='{!! URL::route('form') !!}';">
|
||||
<a href="{!! URL::route('form') !!}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/submitticket.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.submit_a_ticket') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
@endif
|
||||
<span onclick="javascript: window.location.href='{{url('mytickets')}}';">
|
||||
<a href="{{url('mytickets')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/news.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.my_tickets') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span onclick="javascript: window.location.href='{{url('/knowledgebase')}}';">
|
||||
<a href="{{url('/knowledgebase')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/knowledgebase.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.knowledge_base') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript"> $(function(){ $('.dialogerror, .dialoginfo, .dialogalert').fadeIn('slow');$("form").bind("submit", function(e){$(this).find("input:submit").attr("disabled", "disabled");});});</script>
|
||||
<script type="text/javascript" >try {if (top.location.hostname != self.location.hostname) { throw 1; }} catch (e) { top.location.href = self.location.href; }</script>
|
||||
</div></div>
|
||||
<div class="login-box" style=" width: 500px;
|
||||
height: 150px;" valign = "center">
|
||||
<div class="form-border">
|
||||
|
||||
<div align="center">
|
||||
<h4 style="background-color: #0084b4;"> <a href="http://www.faveohelpdesk.com" class="logo"><img src="{{ asset('lb-faveo/media/images/logo.png')}}" width="100px;"></a>
|
||||
</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h4 class="box-title" align="center">{{Lang::get('lang.login_to_start_your_session')}}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- form open -->
|
||||
{!! Form::open(['action'=>'Auth\AuthController@postLogin', 'method'=>'post']) !!}
|
||||
<!-- Email -->
|
||||
<div class="col-xs-12">
|
||||
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! 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>
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
|
||||
<!-- Password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
{!! Form::password('password',['placeholder'=>Lang::get("lang.password"),'class' => 'form-control']) !!}
|
||||
<!-- {!! $errors->first('password', '<spam class="help-block">:message</spam>') !!} -->
|
||||
|
||||
{!! Form::password('password',['placeholder'=>Lang::get("lang.password"),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
|
||||
</div>
|
||||
@if (Session::has('referer'))
|
||||
<input type='hidden' name="referer" value="{!! Session::get('referer') !!}">
|
||||
@elseif(Session::has('errors'))
|
||||
<input type='hidden' name="referer" value="form">
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-xs-12">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get("lang.login") !!}</button>
|
||||
</div><!-- /.col -->
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<div class="checkbox icheck">
|
||||
<div class="col-xs-12">
|
||||
|
||||
<div class="col-xs-4">
|
||||
|
||||
<div>
|
||||
<label>
|
||||
<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">{!! Lang::get("lang.login") !!}</button>
|
||||
</div><!-- /.col -->
|
||||
</div> </div>
|
||||
<!-- /.col -->
|
||||
|
||||
<div class="col-xs-6">
|
||||
|
||||
<a href="{{url('password/email')}}">{!! Lang::get("lang.iforgot") !!}</a><br>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<a href="{{url('password/email')}}">{!! Lang::get("lang.iforgot") !!}</a><br>
|
||||
<div class="col-xs-2">
|
||||
|
||||
<a href="{{url('auth/register')}}" class="text-center">{!! Lang::get("lang.register") !!}</a>
|
||||
<!-- /.login-page -->
|
||||
|
||||
@include('themes.default1.client.layout.social-login')
|
||||
|
||||
</div>
|
||||
<!-- /.login-page -->
|
||||
</div><!-- /.col -->
|
||||
</div>
|
||||
|
||||
|
||||
{!! Form::close()!!}
|
||||
|
||||
@stop
|
||||
|
@@ -1,6 +1,42 @@
|
||||
@extends('themes.default1.layouts.login')
|
||||
@extends('themes.default1.client.layout.logclient')
|
||||
|
||||
@section('home')
|
||||
class = "active"
|
||||
@stop
|
||||
|
||||
|
||||
|
||||
<!-- @if (count($errors) > 0)
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif -->
|
||||
|
||||
@section('HeadInclude')
|
||||
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/css/widgetbox.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/plugins/iCheck/flat/blue.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
{{-- <link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css"> --}}
|
||||
<link href="{{asset("lb-faveo/css/jquerysctipttop.css")}}" rel="stylesheet" type="text/css">
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
@stop
|
||||
@section('breadcrumb')
|
||||
<div class="site-hero clearfix">
|
||||
<ol class="breadcrumb breadcrumb-custom">
|
||||
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li>
|
||||
<li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.home') !!}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
|
||||
@section('body')
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i> <b> {!! Lang::get('lang.success') !!} </b>
|
||||
@@ -18,15 +54,62 @@
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<li>{{Session::get('fails')}}</li>
|
||||
</div>
|
||||
@endif
|
||||
<p class="login-box-msg">{!! Lang::get('lang.enter_email_to_reset_password') !!}</p>
|
||||
<div id="content" class="site-content col-md-12">
|
||||
<div id="corewidgetbox">
|
||||
<div class="widgetrow text-center">
|
||||
@if(Auth::user())
|
||||
@else
|
||||
<span onclick="javascript: window.location.href='{{url('auth/register')}}';">
|
||||
<a href="{{url('auth/register')}}" style="background-image:url({{ URL::asset('lb-faveo/media/images/register.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.register') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
@endif
|
||||
<?php $system = App\Model\helpdesk\Settings\System::where('id', '=', '1')->first();
|
||||
?>
|
||||
@if($system != null)
|
||||
@if($system->status)
|
||||
@if($system->status == 1)
|
||||
<span onclick="javascript: window.location.href='{!! URL::route('form') !!}';">
|
||||
<a href="{!! URL::route('form') !!}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/submitticket.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.submit_a_ticket') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
@endif
|
||||
<span onclick="javascript: window.location.href='{{url('mytickets')}}';">
|
||||
<a href="{{url('mytickets')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/news.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.my_tickets') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span onclick="javascript: window.location.href='{{url('/knowledgebase')}}';">
|
||||
<a href="{{url('/knowledgebase')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/knowledgebase.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.knowledge_base') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript"> $(function(){ $('.dialogerror, .dialoginfo, .dialogalert').fadeIn('slow');$("form").bind("submit", function(e){$(this).find("input:submit").attr("disabled", "disabled");});});</script>
|
||||
<script type="text/javascript" >try {if (top.location.hostname != self.location.hostname) { throw 1; }} catch (e) { top.location.href = self.location.href; }</script>
|
||||
</div>
|
||||
<div class="login-box" style=" width: 500px;" valign = "center">
|
||||
<div class="form-border">
|
||||
|
||||
<div align="center">
|
||||
<h4 style="background-color: #0084b4;"> <a href="http://www.faveohelpdesk.com" class="logo"><img src="{{ asset('lb-faveo/media/images/logo.png')}}" width="100px;"></a>
|
||||
</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h3 class="box-title" align="center">Forgot your password</h3>
|
||||
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<!-- form open -->
|
||||
<form role="form" method="POST" action="{{ url('/password/email') }}">
|
||||
<!-- Email -->
|
||||
@@ -34,7 +117,9 @@
|
||||
<!-- Email -->
|
||||
<!-- <div class="input-group margin"> -->
|
||||
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
<input type="text" class="form-control" name="email" placeholder="{!! Lang::get('lang.email_or_mobile') !!}" value="{{ old('email') }}">
|
||||
{!! Form::label('password',Lang::get('lang.enter_your_email_here')) !!}
|
||||
|
||||
<input type="email" class="form-control" name="email" placeholder="{!! Lang::get('lang.email') !!}" value="{{ old('email') }}">
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
</div>
|
||||
|
||||
@@ -48,7 +133,9 @@
|
||||
<span class="input-group-btn"><button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get('lang.send') !!}</button></span>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
</form>
|
||||
|
||||
|
@@ -1,8 +1,19 @@
|
||||
@extends('themes.default1.layouts.login')
|
||||
@section('body')
|
||||
@extends('themes.default1.client.layout.logclient')
|
||||
|
||||
<h4 class="login-box-msg">{!! Lang::get('lang.registration') !!}</h4>
|
||||
|
||||
@section('home')
|
||||
class = "active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/css/widgetbox.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/plugins/iCheck/flat/blue.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
{{-- <link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css"> --}}
|
||||
<link href="{{asset("lb-faveo/css/jquerysctipttop.css")}}" rel="stylesheet" type="text/css">
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
@stop
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i> <b> {!! Lang::get('lang.success') !!} </b>
|
||||
@@ -11,6 +22,29 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!--
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif -->
|
||||
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="site-hero clearfix">
|
||||
<ol class="breadcrumb breadcrumb-custom">
|
||||
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li>
|
||||
<li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.home') !!}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
@section('content')
|
||||
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
@@ -21,25 +55,83 @@
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
<div id="content" class="site-content col-md-12">
|
||||
<div id="corewidgetbox">
|
||||
<div class="widgetrow text-center">
|
||||
@if(Auth::user())
|
||||
@else
|
||||
<span onclick="javascript: window.location.href='{{url('auth/login')}}';">
|
||||
<a href="{{url('auth/login')}}" style="background-image:url({{ URL::asset('lb-faveo/media/images/register.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.login') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
@endif
|
||||
<?php $system = App\Model\helpdesk\Settings\System::where('id', '=', '1')->first();
|
||||
?>
|
||||
@if($system != null)
|
||||
@if($system->status)
|
||||
@if($system->status == 1)
|
||||
<span onclick="javascript: window.location.href='{!! URL::route('form') !!}';">
|
||||
<a href="{!! URL::route('form') !!}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/submitticket.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.submit_a_ticket') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
@endif
|
||||
<span onclick="javascript: window.location.href='{{url('mytickets')}}';">
|
||||
<a href="{{url('mytickets')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/news.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.my_tickets') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span onclick="javascript: window.location.href='{{url('/knowledgebase')}}';">
|
||||
<a href="{{url('/knowledgebase')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/knowledgebase.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.knowledge_base') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- form open -->
|
||||
<div class="login-box" style=" width: 500px;" valign = "center">
|
||||
<div class="form-border">
|
||||
|
||||
<div align="center">
|
||||
<h4 style="background-color: #0084b4;"> <a href="http://www.faveohelpdesk.com" class="logo"><img src="{{ asset('lb-faveo/media/images/logo.png')}}" width="100px;"></a>
|
||||
</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h3 class="box-title" align="center">{{Lang::get('lang.registration')}}</h3>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<placeholder="Let’s set up your account in just a couple of steps.">
|
||||
|
||||
</div>
|
||||
<!-- 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'=>Lang::get('lang.full_name'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-user form-control-feedback"></span>
|
||||
|
||||
{!! Form::text('full_name',null,['placeholder'=>Lang::get('lang.full_name'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-user form-control-feedback"></span>
|
||||
{!! $errors->first('full_name', '<spam class="help-block">:message</spam>') !!}
|
||||
|
||||
</div>
|
||||
<!-- Email -->
|
||||
@if (($email_mandatory->status == 1 || $email_mandatory->status == '1'))
|
||||
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! Form::text('email',null,['placeholder'=>Lang::get('lang.email'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
</div>
|
||||
@elseif (($settings->status == 0 || $settings->status == '0') && ($email_mandatory->status == 0 || $email_mandatory->status == '0'))
|
||||
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! Form::text('email',null,['placeholder'=>Lang::get('lang.email'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
</div>
|
||||
@else
|
||||
{!! Form::hidden('email', null) !!}
|
||||
@@ -49,12 +141,14 @@
|
||||
<div class="col-md-3">
|
||||
<div class="form-group {{ $errors->has('code') ? 'has-error' : '' }}">
|
||||
{!! Form::text('code',null,['placeholder'=>91,'class' => 'form-control']) !!}
|
||||
{!! $errors->first('code', '<spam class="help-block">:message</spam>') !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="form-group has-feedback {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
{!! Form::text('mobile',null,['placeholder'=>Lang::get('lang.mobile'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-phone form-control-feedback"></span>
|
||||
{!! $errors->first('mobile', '<spam class="help-block">:message</spam>') !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -65,25 +159,37 @@
|
||||
@endif
|
||||
<!-- Password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::password('password',['placeholder'=>Lang::get('lang.password'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
|
||||
</div>
|
||||
<!-- Confirm password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::password('password_confirmation',['placeholder'=>Lang::get('lang.retype_password'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
|
||||
{!! $errors->first('password_confirmation', '<spam class="help-block">:message</spam>') !!}
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<div class="checkbox icheck">
|
||||
|
||||
|
||||
|
||||
|
||||
<div >
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get('lang.register') !!}</button>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="checkbox icheck" align="center">
|
||||
<label>
|
||||
<a href="{{url('auth/login')}}" class="text-center">{!! Lang::get('lang.login') !!}</a>
|
||||
Already got an account? <a href="{{url('auth/login')}}" class="text-center">{!! Lang::get('lang.login') !!}</a>
|
||||
</label>
|
||||
</div>
|
||||
</div><!-- /.col -->
|
||||
<div class="col-xs-4">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get('lang.register') !!}</button>
|
||||
</div><!-- /.col -->
|
||||
</div><!-- /.col --> </div>
|
||||
</div>
|
||||
{!! Form::close()!!}
|
||||
@stop
|
||||
</div>
|
||||
{!! Form::close()!!}
|
||||
|
||||
@stop
|
||||
|
@@ -132,12 +132,14 @@ class="active"
|
||||
<!-- phone -->
|
||||
<div class="col-xs-3 form-group {{ $errors->has('phone_number') ? 'has-error' : '' }}">
|
||||
{!! Form::label('phone_number',Lang::get('lang.phone')) !!}
|
||||
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}
|
||||
<!-- {!! Form::text('phone_number',null,['class' => 'form-control']) !!} -->
|
||||
{!! Form::input('number','phone_number',null,['class' => 'form-control', 'id' => 'phone_number']) !!}
|
||||
</div>
|
||||
<!-- Mobile -->
|
||||
<div class="col-xs-3 form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}@if($send_otp->status ==1)<span class="text-red"> *</span>@endif
|
||||
{!! Form::text('mobile',null,['class' => 'form-control']) !!}
|
||||
<!-- {!! Form::text('mobile',null,['class' => 'form-control']) !!} -->
|
||||
{!! Form::input('number','mobile',null,['class' => 'form-control', 'id' => 'mobile']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
@@ -155,7 +155,8 @@ class="active"
|
||||
|
||||
{!! Form::label('phone_number',Lang::get('lang.phone')) !!}
|
||||
|
||||
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}
|
||||
<!-- {!! Form::text('phone_number',null,['class' => 'form-control']) !!} -->
|
||||
{!! Form::input('number','phone_number',null,['class' => 'form-control', 'id' => 'phone_number']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -163,8 +164,9 @@ class="active"
|
||||
<div class="col-xs-3 form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}
|
||||
{!! Form::input('number','mobile',null,['class' => 'form-control', 'id' => 'mobile']) !!}
|
||||
|
||||
{!! Form::text('mobile',null,['class' => 'form-control']) !!}
|
||||
<!-- {!! Form::text('mobile',null,['class' => 'form-control']) !!} -->
|
||||
|
||||
</div>
|
||||
|
||||
|
@@ -121,7 +121,8 @@ class="active"
|
||||
@if ($email_mandatory->status == 0 || $settings->status == 1)
|
||||
<span class="text-red"> *</span>
|
||||
@endif
|
||||
{!! Form::text('mobile',null,['class' => 'form-control']) !!}
|
||||
{!! Form::input('number','mobile',null,['class' => 'form-control', 'id' => 'mobile']) !!}
|
||||
<!-- {!! Form::text('mobile',null,['class' => 'form-control']) !!} -->
|
||||
</div>
|
||||
<div class="col-xs-1 form-group {{ $errors->has('ext') ? 'has-error' : '' }}">
|
||||
<label for="ext">{!! Lang::get('lang.ext') !!}</label>
|
||||
@@ -129,7 +130,8 @@ class="active"
|
||||
</div>
|
||||
<div class="col-xs-3 form-group {{ $errors->has('phone_number') ? 'has-error' : '' }}">
|
||||
<label for="phone_number">{!! Lang::get('lang.phone') !!}</label>
|
||||
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}
|
||||
{!! Form::input('number','phone_number',null,['class' => 'form-control', 'id' => 'phone_number']) !!}
|
||||
<!-- {!! Form::text('phone_number',null,['class' => 'form-control']) !!} -->
|
||||
</div>
|
||||
<div class="col-md-3 form-group {{ $errors->has('active') ? 'has-error' : '' }}">
|
||||
{!! Form::label('active',Lang::get('lang.status')) !!}
|
||||
|
@@ -108,7 +108,8 @@ class="active"
|
||||
<!-- mobile Number : Text : -->
|
||||
<div class="col-md-3 form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile')) !!}
|
||||
{!! Form::text('mobile',null,['class' => 'form-control']) !!}
|
||||
{!! Form::input('number','mobile',null,['class' => 'form-control', 'id' => 'mobile']) !!}
|
||||
<!-- {!! Form::text('mobile',null,['class' => 'form-control']) !!} -->
|
||||
</div>
|
||||
<div class="col-xs-1 form-group {{ $errors->has('ext') ? 'has-error' : '' }}">
|
||||
<label for="ext">{!! Lang::get('lang.ext') !!}</label>
|
||||
@@ -116,7 +117,8 @@ class="active"
|
||||
</div>
|
||||
<div class="col-xs-3 form-group {{ $errors->has('phone_number') ? 'has-error' : '' }}">
|
||||
<label for="phone_number">{!! Lang::get('lang.phone') !!}</label>
|
||||
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}
|
||||
<!-- {!! Form::text('phone_number',null,['class' => 'form-control']) !!} -->
|
||||
{!! Form::input('number','phone_number',null,['class' => 'form-control', 'id' => 'phone_number']) !!}
|
||||
</div>
|
||||
<div class="col-xs-2 form-group {{ $errors->has('active') ? 'has-error' : '' }}">
|
||||
{!! Form::label('active',Lang::get('lang.status')) !!}
|
||||
|
@@ -78,14 +78,14 @@ class="active"
|
||||
@if($users->user_name)
|
||||
<div class="box-footer">
|
||||
<b>{{Lang::get('lang.user_name')}}</b>
|
||||
<a class="pull-right" href="{{route('user.show', $users->id)}}">
|
||||
<a class="pull-right" href="{{route('user.show', $users->id)}}" title="{{$users->user_name}}">
|
||||
{{str_limit($users->user_name,10) }}
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
<div class="box-footer">
|
||||
<b>{{Lang::get('lang.email')}}</b>
|
||||
<a class="pull-right" href="{{route('user.show', $users->id)}}">
|
||||
<a class="pull-right" href="{{route('user.show', $users->id)}}" title="{{$users->email}}">
|
||||
{{str_limit($users->email,10) }}
|
||||
</a>
|
||||
</div>
|
||||
|
@@ -100,15 +100,15 @@ class="active"
|
||||
<div class="col-xs-8 form-group {{ $errors->has('phone_number') ? 'has-error' : '' }}">
|
||||
<!-- phone number -->
|
||||
{!! Form::label('phone_number',Lang::get('lang.phone')) !!}
|
||||
|
||||
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}
|
||||
{!! Form::input('number','phone_number',null,['class' => 'form-control', 'id' => 'phone_number']) !!}
|
||||
<!-- {!! Form::text('phone_number',null,['class' => 'form-control']) !!} -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
<!-- mobile -->
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}
|
||||
|
||||
{!! Form::text('mobile',null,['class' => 'form-control', 'id' => 'mobile']) !!}
|
||||
{!! Form::input('number','mobile',null,['class' => 'form-control', 'id' => 'mobile']) !!}
|
||||
<!-- {!! Form::text('mobile',null,['class' => 'form-control', 'id' => 'mobile']) !!} -->
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('profile_pic') ? 'has-error' : '' }}">
|
||||
<!-- profile pic -->
|
||||
|
@@ -199,8 +199,10 @@
|
||||
</div>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<!-- Right side column. Contains the navbar and content of the page -->
|
||||
<div class="site-hero clearfix">
|
||||
|
||||
<div class="site-hero clearfix">
|
||||
|
||||
|
||||
{!! Breadcrumbs::render() !!}
|
||||
</div>
|
||||
<!-- Main content -->
|
||||
|
@@ -0,0 +1,381 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<?php
|
||||
$title = App\Model\helpdesk\Settings\System::where('id', '=', '1')->first();
|
||||
if (isset($title->name)) {
|
||||
$title_name = $title->name;
|
||||
} else {
|
||||
$title_name = "SUPPORT CENTER";
|
||||
}
|
||||
?>
|
||||
<title> @yield('title') {!! strip_tags($title_name) !!} </title>
|
||||
<!-- faveo favicon -->
|
||||
<link href="{{asset("lb-faveo/media/images/favicon.ico")}}" rel="shortcut icon" >
|
||||
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="{{asset("lb-faveo/css/bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Admin LTE CSS -->
|
||||
<link href="{{asset("lb-faveo/css/AdminLTEsemi.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
<link href="{{asset("lb-faveo/css/font-awesome.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Ionicons -->
|
||||
<link href="{{asset("lb-faveo/css/ionicons.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- fullCalendar 2.2.5-->
|
||||
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("lb-faveo/css/jquery.rating.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<link href="{{asset("lb-faveo/css/app.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<script src="{{asset("lb-faveo/js/jquery2.1.1.min.js")}}" type="text/javascript"></script>
|
||||
@yield('HeadInclude')
|
||||
</head>
|
||||
<body>
|
||||
<div id="page" class="hfeed site">
|
||||
<header id="masthead" class="site-header" role="banner">
|
||||
|
||||
<div class="container" style="">
|
||||
<div id="logo" class="site-logo text-center" style="font-size: 30px;">
|
||||
<?php
|
||||
$company = App\Model\helpdesk\Settings\Company::where('id', '=', '1')->first();
|
||||
$system = App\Model\helpdesk\Settings\System::where('id', '=', '1')->first();
|
||||
?>
|
||||
@if($system->url)
|
||||
<a href="{!! $system->url !!}" rel="home">
|
||||
@else
|
||||
<a href="{{url('/')}}" rel="home">
|
||||
@endif
|
||||
@if($company->use_logo == 1)
|
||||
<img src="{{asset('uploads/company')}}{{'/'}}{{$company->logo}}" alt="User Image" width="200px" height="200px"/>
|
||||
@else
|
||||
@if($system->name)
|
||||
{!! $system->name !!}
|
||||
@else
|
||||
<b>SUPPORT</b> CENTER
|
||||
@endif
|
||||
@endif
|
||||
</a>
|
||||
</div><!-- #logo -->
|
||||
<div id="navbar" class="navbar-wrapper text-center">
|
||||
<nav class="navbar navbar-default site-navigation" role="navigation">
|
||||
<ul class="nav navbar-nav navbar-menu">
|
||||
<li @yield('home')><a href="{{url('/')}}">{!! Lang::get('lang.home') !!}</a></li>
|
||||
@if($system->first()->status == 1)
|
||||
<li @yield('submit')><a href="{{URL::route('form')}}">{!! Lang::get('lang.submit_a_ticket') !!}</a></li>
|
||||
@endif
|
||||
<li @yield('kb')><a href="{!! url('knowledgebase') !!}">{!! Lang::get('lang.knowledge_base') !!}</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="{{route('category-list')}}">{!! Lang::get('lang.categories') !!}</a></li>
|
||||
<li><a href="{{route('article-list')}}">{!! Lang::get('lang.articles') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php $pages = App\Model\kb\Page::where('status', '1')->where('visibility', '1')->get();
|
||||
?>
|
||||
@foreach($pages as $page)
|
||||
<li><a href="{{route('pages',$page->slug)}}">{{$page->name}}</a></li>
|
||||
@endforeach
|
||||
@if(Auth::user())
|
||||
<li @yield('myticket')><a href="{{url('mytickets')}}">{!! Lang::get('lang.my_tickets') !!}</a></li>
|
||||
|
||||
{{-- <li @yield('contact')><a href="{{route('contact')}}">Contact us</a></li> --}}
|
||||
<li @yield('profile')><a href="#" >{!! Lang::get('lang.my_profile') !!}</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<div class="banner-wrapper user-menu text-center clearfix">
|
||||
<img src="{{Auth::user()->profile_pic}}"class="img-circle" alt="User Image" height="80" width="80"/>
|
||||
<h3 class="banner-title text-info h4">{{Auth::user()->first_name." ".Auth::user()->last_name}}</h3>
|
||||
<div class="banner-content">
|
||||
{{-- <a href="{{url('kb/client-profile')}}" class="btn btn-custom btn-xs">{!! Lang::get('lang.edit_profile') !!}</a> --}} <a href="{{url('auth/logout')}}" class="btn btn-custom btn-xs">{!! Lang::get('lang.log_out') !!}</a>
|
||||
</div>
|
||||
@if(Auth::user())
|
||||
@if(Auth::user()->role != 'user')
|
||||
<div class="banner-content">
|
||||
<a href="{{url('dashboard')}}" class="btn btn-custom btn-xs">{!! Lang::get('lang.dashboard') !!}</a>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
@if(Auth::user())
|
||||
@if(Auth::user()->role == 'user')
|
||||
<div class="banner-content">
|
||||
<a href="{{url('client-profile')}}" class="btn btn-custom btn-xs">{!! Lang::get('lang.profile') !!}</a>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul><!-- .navbar-user -->
|
||||
@else
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endif
|
||||
</nav><!-- #site-navigation -->
|
||||
</div><!-- #navbar -->
|
||||
<div id="header-search" class="site-search clearfix" style="padding-bottom:5px"><!-- #header-search -->
|
||||
{!!Form::open(['method'=>'get','action'=>'Client\kb\UserController@search','class'=>'search-form clearfix'])!!}
|
||||
<div class="form-border">
|
||||
<div class="form-inline ">
|
||||
<div class="form-group">
|
||||
<input type="text" name="s" id="s" class="search-field form-control input-lg" title="Enter search term" placeholder="{!! Lang::get('lang.have_a_question?_type_your_search_term_here') !!}" required />
|
||||
</div>
|
||||
<button type="submit" class="search-submit btn btn-custom btn-lg pull-right check-s">{!! Lang::get('lang.search') !!}</button>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<!-- Right side column. Contains the navbar and content of the page -->
|
||||
|
||||
<div class="site-hero clearfix">
|
||||
|
||||
{!! Breadcrumbs::render() !!}
|
||||
</div>
|
||||
<!-- Main content -->
|
||||
<div id="main" class="site-main clearfix">
|
||||
<div class="container">
|
||||
<div class="content-area">
|
||||
<div class="row">
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('warning'))
|
||||
<div class="alert alert-warning alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{!! Session::get('warning') !!}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
@if(Session::has('check'))
|
||||
<?php goto a; ?>
|
||||
@endif
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
<?php a: ?>
|
||||
@endif
|
||||
@yield('content')
|
||||
<div id="sidebar" class="site-sidebar col-md-3">
|
||||
<div class="widget-area">
|
||||
<section id="section-banner" class="section">
|
||||
@yield('check')
|
||||
</section><!-- #section-banner -->
|
||||
<section id="section-categories" class="section">
|
||||
@yield('category')
|
||||
</section><!-- #section-categories -->
|
||||
</div>
|
||||
</div><!-- #sidebar -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<?php
|
||||
$footer1 = App\Model\helpdesk\Theme\Widgets::where('name', '=', 'footer1')->first();
|
||||
$footer2 = App\Model\helpdesk\Theme\Widgets::where('name', '=', 'footer2')->first();
|
||||
$footer3 = App\Model\helpdesk\Theme\Widgets::where('name', '=', 'footer3')->first();
|
||||
$footer4 = App\Model\helpdesk\Theme\Widgets::where('name', '=', 'footer4')->first();
|
||||
?>
|
||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row col-md-12">
|
||||
@if($footer1->title == null)
|
||||
@else
|
||||
<div class="col-md-3">
|
||||
<div class="widget-area">
|
||||
<section id="section-about" class="section">
|
||||
<h2 class="section-title h4 clearfix">{!!$footer1->title!!}</h2>
|
||||
<div class="textwidget">
|
||||
<p>{!!$footer1->value!!}</p>
|
||||
</div>
|
||||
</section><!-- #section-about -->
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@if($footer2->title == null)
|
||||
@else
|
||||
<div class="col-md-3">
|
||||
<div class="widget-area">
|
||||
<section id="section-latest-news" class="section">
|
||||
<h2 class="section-title h4 clearfix">{!!$footer2->title!!}</h2>
|
||||
<div class="textwidget">
|
||||
<p>{!! $footer2->value !!}</p>
|
||||
</div>
|
||||
</section><!-- #section-latest-news -->
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@if($footer3->title == null)
|
||||
@else
|
||||
<div class="col-md-3">
|
||||
<div class="widget-area">
|
||||
<section id="section-newsletter" class="section">
|
||||
<h2 class="section-title h4 clearfix">{!!$footer3->title!!}</h2>
|
||||
<div class="textwidget">
|
||||
<p>{!! $footer3->value !!}</p>
|
||||
</div>
|
||||
</section><!-- #section-newsletter -->
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@if($footer4->title == null)
|
||||
@else
|
||||
<div class="col-md-3">
|
||||
<div class="widget-area">
|
||||
<section id="section-newsletter" class="section">
|
||||
<h2 class="section-title h4 clearfix">{{$footer4->title}}</h2>
|
||||
<div class="textwidget">
|
||||
<p>{!! $footer4->value !!}</p>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<hr style="color:#E5E5E5"/>
|
||||
<div class="row">
|
||||
<div class="site-info col-md-6">
|
||||
<p class="text-muted">{!! Lang::get('lang.copyright') !!} © {!! date('Y') !!} <a href="{!! $company->website !!}" target="_blank">{!! $company->company_name !!}</a>. {!! Lang::get('lang.all_rights_reserved') !!}. {!! Lang::get('lang.powered_by') !!} <a href="http://www.faveohelpdesk.com/" target="_blank">Faveo</a></p>
|
||||
</div>
|
||||
<div class="site-social text-right col-md-6">
|
||||
<?php $socials = App\Model\helpdesk\Theme\Widgets::all(); ?>
|
||||
<ul class="list-inline hidden-print">
|
||||
@foreach($socials as $social)
|
||||
@if($social->name == 'facebook')
|
||||
@if($social->value)
|
||||
<li><a href="{!! $social->value !!}" class="btn btn-social btn-facebook" target="_blank"><i class="fa fa-facebook fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "twitter")
|
||||
@if($social->value)
|
||||
<li><a href="{{ $social->value }}" class="btn btn-social btn-twitter" target="_blank"><i class="fa fa-twitter fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "google")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-google-plus" target="_blank"><i class="fa fa-google-plus fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "linkedin")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-linkedin" target="_blank"><i class="fa fa-linkedin fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "vimeo")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-vimeo" target="_blank"><i class="fa fa-vimeo-square fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "youtube")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-youtube" target="_blank"><i class="fa fa-youtube-play fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "pinterest")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-pinterest" target="_blank"><i class="fa fa-pinterest fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "dribbble")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-dribbble" target="_blank"><i class="fa fa-dribbble fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "flickr")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-flickr" target="_blank"><i class="fa fa-flickr fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "instagram")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value }}" class="btn btn-social btn-instagram" target="_blank"><i class="fa fa-instagram fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "rss")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-rss" target="_blank"><i class="fa fa-rss fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</footer><!-- #colophon -->
|
||||
<!-- jQuery 2.1.1 -->
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery2.1.1.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<script src="{{asset("lb-faveo/js/bootstrap.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="{{asset("lb-faveo/js/superfish.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/mobilemenu.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/know.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery.rating.pack.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/plugins/iCheck/icheck.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
//Enable check and uncheck all functionality
|
||||
$(".checkbox-toggle").click(function () {
|
||||
var clicks = $(this).data('clicks');
|
||||
if (clicks) {
|
||||
//Uncheck all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("uncheck");
|
||||
} else {
|
||||
//Check all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("check");
|
||||
}
|
||||
$(this).data("clicks", !clicks);
|
||||
});
|
||||
//Handle starring for glyphicon and font awesome
|
||||
$(".mailbox-star").click(function (e) {
|
||||
e.preventDefault();
|
||||
//detect type
|
||||
var $this = $(this).find("a > i");
|
||||
var glyph = $this.hasClass("glyphicon");
|
||||
var fa = $this.hasClass("fa");
|
||||
//Switch states
|
||||
if (glyph) {
|
||||
$this.toggleClass("glyphicon-star");
|
||||
$this.toggleClass("glyphicon-star-empty");
|
||||
}
|
||||
if (fa) {
|
||||
$this.toggleClass("fa-star");
|
||||
$this.toggleClass("fa-star-o");
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user