Bootstrap4 :: Some pages UI updated
This commit is contained in:
@@ -4,30 +4,6 @@
|
||||
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 (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">
|
||||
@@ -36,155 +12,148 @@
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<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>
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<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
|
||||
@endif
|
||||
|
||||
@if(Session::has('error'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i> <b> {!! Lang::get('lang.alert') !!} </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('error')}}
|
||||
</div>
|
||||
@else
|
||||
@if(Session::has('error'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-check-circle"> </i> <b> {!! Lang::get('lang.alert') !!} </b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('error')}}
|
||||
</div>
|
||||
@else
|
||||
|
||||
@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
|
||||
@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
|
||||
@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>
|
||||
<div id="content" class="site-content col-md-12">
|
||||
|
||||
<div id="corewidgetbox" class="wid">
|
||||
|
||||
<div id="wbox" class="widgetrow text-center">
|
||||
|
||||
@if(Auth::user())
|
||||
@else
|
||||
<span onclick="javascript: window.location.href='{{url('auth/register')}}';">
|
||||
<a href="{{url('auth/register')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/register.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.register') !!}</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>
|
||||
<?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 class="col-md-6 offset-md-3 form-helper">
|
||||
|
||||
<div class="login-box" style=" width: 490px;" 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']) !!}
|
||||
|
||||
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
||||
{!! Form::text('email',null,['placeholder'=> Lang::get("lang.email") ,'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
|
||||
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
||||
|
||||
{!! Form::password('password',['placeholder'=>Lang::get("lang.password"),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get("lang.login") !!}</button>
|
||||
</div>
|
||||
|
||||
<div class="row mt-2">
|
||||
|
||||
<div class="col-sm-4">
|
||||
|
||||
<div>
|
||||
|
||||
<label>
|
||||
|
||||
<input type="checkbox" name="remember"> {!! Lang::get("lang.remember") !!}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6">
|
||||
|
||||
<a href="{{url('password/email')}}">{!! Lang::get("lang.iforgot") !!}</a><br>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-2">
|
||||
|
||||
<a href="{{url('auth/register')}}" class="text-center">{!! Lang::get("lang.register") !!}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@include('themes.default1.client.layout.social-login')
|
||||
</div>
|
||||
|
||||
{!! Form::close()!!}
|
||||
</div>
|
||||
</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>
|
||||
<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']) !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
|
||||
</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']) !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
|
||||
</div>
|
||||
</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-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-6">
|
||||
|
||||
<a href="{{url('password/email')}}">{!! Lang::get("lang.iforgot") !!}</a><br>
|
||||
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
|
||||
<a href="{{url('auth/register')}}" class="text-center">{!! Lang::get("lang.register") !!}</a>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
@include('themes.default1.client.layout.social-login')
|
||||
</div>
|
||||
|
||||
<!-- /.login-page -->
|
||||
</div><!-- /.col -->
|
||||
</div>
|
||||
|
||||
|
||||
{!! Form::close()!!}
|
||||
|
||||
@stop
|
||||
|
@@ -1,18 +1,7 @@
|
||||
@extends('themes.default1.client.layout.logclient')
|
||||
|
||||
|
||||
@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:// -->
|
||||
class = "nav-item active"
|
||||
@stop
|
||||
|
||||
@section('breadcrumb')
|
||||
@@ -23,32 +12,38 @@
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
@section('content')
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<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
|
||||
|
||||
@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('content')
|
||||
|
||||
@if(Session::has('status'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fas 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
|
||||
|
||||
@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">
|
||||
|
||||
<div id="corewidgetbox" class="wid">
|
||||
|
||||
<div id="wbox" 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') }})">
|
||||
<a href="{{url('auth/login')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/register.png') }})">
|
||||
<span class="widgetitemtitle">{!! Lang::get('lang.login') !!}</span>
|
||||
</a>
|
||||
</span>
|
||||
@@ -78,102 +73,110 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="login-box" style=" width: 500px;" valign = "center">
|
||||
<div class="form-border">
|
||||
|
||||
<div class="col-md-6 offset-md-3 form-helper">
|
||||
|
||||
<div class="login-box" style=" width: 490px;" 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>
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
<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']) !!}
|
||||
|
||||
<placeholder="Let’s set up your account in just a couple of steps.">
|
||||
</div>
|
||||
|
||||
<!-- fullname -->
|
||||
<div class="form-group has-feedback {{ $errors->has('full_name') ? 'has-error' : '' }}">
|
||||
<!-- form open -->
|
||||
{!! Form::open(['action'=>'Auth\AuthController@postRegister', 'method'=>'post']) !!}
|
||||
|
||||
<!-- fullname -->
|
||||
<div class="form-group has-feedback {{ $errors->has('full_name') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
||||
|
||||
{!! 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" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
|
||||
</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>
|
||||
</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>
|
||||
</div>
|
||||
@else
|
||||
{!! Form::hidden('email', null) !!}
|
||||
@endif
|
||||
@if($settings->status == '1' || $settings->status == 1)
|
||||
<div class='row'>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group {{ $errors->has('code') ? 'has-error' : '' }}">
|
||||
{!! Form::text('code',null,['placeholder'=>91,'class' => 'form-control']) !!}
|
||||
</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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
{!! Form::hidden('mobile', null) !!}
|
||||
{!! Form::hidden('code', null) !!}
|
||||
<!-- Email -->
|
||||
@if (($email_mandatory->status == 1 || $email_mandatory->status == '1'))
|
||||
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
||||
{!! Form::text('email',null,['placeholder'=>Lang::get('lang.email'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</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' : '' }}" style="display: -webkit-box;">
|
||||
{!! Form::text('email',null,['placeholder'=>Lang::get('lang.email'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
@else
|
||||
{!! Form::hidden('email', null) !!}
|
||||
@endif
|
||||
|
||||
@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>
|
||||
@if($settings->status == '1' || $settings->status == 1)
|
||||
<div class='row'>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group {{ $errors->has('code') ? 'has-error' : '' }}">
|
||||
{!! Form::text('code',null,['placeholder'=>91,'class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="form-group has-feedback {{ $errors->has('mobile') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
||||
{!! Form::text('mobile',null,['placeholder'=>Lang::get('lang.mobile'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-phone form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
{!! Form::hidden('mobile', null) !!}
|
||||
{!! Form::hidden('code', null) !!}
|
||||
|
||||
</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>
|
||||
@endif
|
||||
<!-- Password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
||||
|
||||
{!! Form::password('password',['placeholder'=>Lang::get('lang.password'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- Confirm password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
||||
|
||||
{!! Form::password('password_confirmation',['placeholder'=>Lang::get('lang.retype_password'),'class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-log-in form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div >
|
||||
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get('lang.register') !!}</button>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
Already got an account? <a href="{{url('auth/login')}}" class="text-center">{!! Lang::get('lang.login') !!}</a>
|
||||
</label>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@include('themes.default1.client.layout.social-login')
|
||||
<div>
|
||||
|
||||
<div class="checkbox icheck" align="center">
|
||||
<label class="mb-0">
|
||||
Already got an account? <a href="{{url('auth/login')}}" class="text-center">{!! Lang::get('lang.login') !!}</a>
|
||||
</label>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@include('themes.default1.client.layout.social-login')
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.col -->
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.col --> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close()!!}
|
||||
|
||||
|
@@ -18,199 +18,217 @@ class = "nav-item active"
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
@section('check')
|
||||
<div class="banner-wrapper clearfix">
|
||||
<h3 class="banner-title text-center text-info h4">{!! Lang::get('lang.have_a_ticket') !!}?</h3>
|
||||
@if(Session::has('check'))
|
||||
@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
|
||||
@endif
|
||||
<div class="banner-content text-center">
|
||||
{!! Form::open(['url' => 'checkmyticket' , 'method' => 'POST'] )!!}
|
||||
{!! Form::label('email',Lang::get('lang.email')) !!}<span class="text-red"> *</span>
|
||||
{!! Form::text('email_address',null,['class' => 'form-control']) !!}
|
||||
{!! Form::label('ticket_number',Lang::get('lang.ticket_number')) !!}<span class="text-red"> *</span>
|
||||
{!! Form::text('ticket_number',null,['class' => 'form-control']) !!}
|
||||
<br/><input type="submit" value="{!! Lang::get('lang.check_ticket_status') !!}" class="btn btn-info">
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sidebar" class="site-sidebar col-md-3">
|
||||
|
||||
<div id="form-border" class="comment-respond form-border" style="background : #fff">
|
||||
|
||||
<section id="section-categories" class="section">
|
||||
|
||||
<h2 class="section-title h4 clearfix">
|
||||
|
||||
<i class="line"></i>{!! Lang::get('lang.have_a_ticket') !!}?
|
||||
</h2>
|
||||
|
||||
@if(Session::has('check'))
|
||||
@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
|
||||
@endif
|
||||
|
||||
<div>
|
||||
{!! Form::open(['url' => 'checkmyticket' , 'method' => 'POST'] )!!}
|
||||
{!! Form::label('email',Lang::get('lang.email')) !!}<span class="text-red"> *</span>
|
||||
{!! Form::text('email_address',null,['class' => 'form-control']) !!}
|
||||
{!! Form::label('ticket_number',Lang::get('lang.ticket_number')) !!}<span class="text-red"> *</span>
|
||||
{!! Form::text('ticket_number',null,['class' => 'form-control']) !!}
|
||||
<br/><input type="submit" value="{!! Lang::get('lang.check_ticket_status') !!}" class="btn btn-info">
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div><!-- #sidebar -->
|
||||
@stop
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
<div id="content" class="site-content col-md-9">
|
||||
@if(Session::has('message'))
|
||||
<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('message') !!}
|
||||
</div>
|
||||
@endif
|
||||
@if (count($errors) > 0)
|
||||
@if(Session::has('check'))
|
||||
<?php goto a; ?>
|
||||
@endif
|
||||
@if(!Session::has('error'))
|
||||
<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>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
<?php a: ?>
|
||||
@endif
|
||||
<!-- open a form -->
|
||||
{{-- <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> --}}
|
||||
<script src="{{asset("lb-faveo/js/jquery2.0.2.min.js")}}" type="text/javascript"></script>
|
||||
<!--
|
||||
|====================================================
|
||||
| SELECT FROM
|
||||
|====================================================
|
||||
-->
|
||||
<?php
|
||||
$encrypter = app('Illuminate\Encryption\Encrypter');
|
||||
$encrypted_token = $encrypter->encrypt(csrf_token());
|
||||
?>
|
||||
<input id="token" type="hidden" value="{{$encrypted_token}}">
|
||||
{!! Form::open(['action'=>'Client\helpdesk\FormController@postedForm','method'=>'post', 'enctype'=>'multipart/form-data']) !!}
|
||||
<div>
|
||||
<div class="content-header">
|
||||
<h4>{!! Lang::get('lang.ticket') !!} </h4>
|
||||
|
||||
<div id="content" class="site-content col-md-9">
|
||||
|
||||
@if(Session::has('message'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fas fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{!! Session::get('message') !!}
|
||||
</div>
|
||||
<div class="row col-md-12">
|
||||
@endif
|
||||
@if (count($errors) > 0)
|
||||
@if(Session::has('check'))
|
||||
<?php goto a; ?>
|
||||
@endif
|
||||
@if(!Session::has('error'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fas fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
<?php a: ?>
|
||||
@endif
|
||||
|
||||
<?php
|
||||
$encrypter = app('Illuminate\Encryption\Encrypter');
|
||||
$encrypted_token = $encrypter->encrypt(csrf_token());
|
||||
?>
|
||||
<input id="token" type="hidden" value="{{$encrypted_token}}">
|
||||
{!! Form::open(['action'=>'Client\helpdesk\FormController@postedForm','method'=>'post', 'enctype'=>'multipart/form-data']) !!}
|
||||
|
||||
<article class="hentry">
|
||||
|
||||
<div id="form-border" class="comment-respond form-border" style="background : #fff">
|
||||
|
||||
<section id="section-categories">
|
||||
|
||||
@if(Auth::user())
|
||||
<h2 class="section-title h4 clearfix mb-0">
|
||||
|
||||
<i class="line"></i>{!! Lang::get('lang.submit_a_ticket') !!}
|
||||
</h2>
|
||||
|
||||
<div class="row mt-4">
|
||||
|
||||
@if(Auth::user())
|
||||
|
||||
{!! Form::hidden('Name',Auth::user()->user_name,['class' => 'form-control']) !!}
|
||||
|
||||
@else
|
||||
<div class="col-md-12 form-group {{ $errors->has('Name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Name',Lang::get('lang.name')) !!}<span class="text-red"> *</span>
|
||||
{!! Form::text('Name',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
@endif
|
||||
@else
|
||||
|
||||
<div class="col-md-12 form-group {{ $errors->has('Name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Name',Lang::get('lang.name')) !!}<span class="text-red"> *</span>
|
||||
{!! Form::text('Name',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
@if(Auth::user())
|
||||
@if(Auth::user())
|
||||
|
||||
{!! Form::hidden('Email',Auth::user()->email,['class' => 'form-control']) !!}
|
||||
|
||||
@else
|
||||
<div class="col-md-12 form-group {{ $errors->has('Email') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Email',Lang::get('lang.email')) !!}
|
||||
@if($email_mandatory->status == 1 || $email_mandatory->status == '1')
|
||||
<span class="text-red"> *</span>
|
||||
@else
|
||||
<div class="col-md-12 form-group {{ $errors->has('Email') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Email',Lang::get('lang.email')) !!}
|
||||
@if($email_mandatory->status == 1 || $email_mandatory->status == '1')
|
||||
<span class="text-red"> *</span>
|
||||
@endif
|
||||
{!! Form::email('Email',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
@endif
|
||||
{!! Form::email('Email',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
|
||||
@if(!Auth::user())
|
||||
@if(!Auth::user())
|
||||
|
||||
<div class="col-md-2 form-group {{ Session::has('country_code_error') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Code',Lang::get('lang.country-code')) !!}
|
||||
@if($email_mandatory->status == 0 || $email_mandatory->status == '0')
|
||||
<span class="text-red"> *</span>
|
||||
@endif
|
||||
<div class="col-md-2 form-group {{ Session::has('country_code_error') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Code',Lang::get('lang.country-code')) !!}
|
||||
@if($email_mandatory->status == 0 || $email_mandatory->status == '0')
|
||||
<span class="text-red"> *</span>
|
||||
@endif
|
||||
|
||||
{!! Form::text('Code',null,['class' => 'form-control', 'placeholder' => $phonecode, 'title' => Lang::get('lang.enter-country-phone-code')]) !!}
|
||||
</div>
|
||||
<div class="col-md-5 form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}
|
||||
@if($email_mandatory->status == 0 || $email_mandatory->status == '0')
|
||||
<span class="text-red"> *</span>
|
||||
@endif
|
||||
{!! Form::text('mobile',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="col-md-5 form-group {{ $errors->has('Phone') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Phone',Lang::get('lang.phone')) !!}
|
||||
{!! Form::text('Phone',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
@else
|
||||
{!! Form::hidden('mobile',Auth::user()->mobile,['class' => 'form-control']) !!}
|
||||
{!! Form::hidden('Code',Auth::user()->country_code,['class' => 'form-control']) !!}
|
||||
{!! Form::hidden('Phone',Auth::user()->phone_number,['class' => 'form-control']) !!}
|
||||
|
||||
@endif
|
||||
<div class="col-md-12 form-group {{ $errors->has('help_topic') ? 'has-error' : '' }}">
|
||||
{!! Form::label('help_topic', Lang::get('lang.choose_a_help_topic')) !!}
|
||||
{!! $errors->first('help_topic', '<spam class="help-block">:message</spam>') !!}
|
||||
<?php
|
||||
$forms = App\Model\helpdesk\Form\Forms::get();
|
||||
$helptopic = App\Model\helpdesk\Manage\Help_topic::where('status', '=', 1)->get();
|
||||
?>
|
||||
<select name="helptopic" class="form-control" id="selectid">
|
||||
|
||||
@foreach($helptopic as $topic)
|
||||
<option value="{!! $topic->id !!}">{!! $topic->topic !!}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- priority -->
|
||||
<?php
|
||||
$Priority = App\Model\helpdesk\Settings\CommonSettings::select('status')->where('option_name','=', 'user_priority')->first();
|
||||
$user_Priority=$Priority->status;
|
||||
?>
|
||||
{!! Form::text('Code',null,['class' => 'form-control', 'placeholder' => $phonecode, 'title' => Lang::get('lang.enter-country-phone-code')]) !!}
|
||||
</div>
|
||||
<div class="col-md-5 form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}
|
||||
@if($email_mandatory->status == 0 || $email_mandatory->status == '0')
|
||||
<span class="text-red"> *</span>
|
||||
@endif
|
||||
{!! Form::text('mobile',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="col-md-5 form-group {{ $errors->has('Phone') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Phone',Lang::get('lang.phone')) !!}
|
||||
{!! Form::text('Phone',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
@else
|
||||
{!! Form::hidden('mobile',Auth::user()->mobile,['class' => 'form-control']) !!}
|
||||
{!! Form::hidden('Code',Auth::user()->country_code,['class' => 'form-control']) !!}
|
||||
{!! Form::hidden('Phone',Auth::user()->phone_number,['class' => 'form-control']) !!}
|
||||
|
||||
@if(Auth::user())
|
||||
@endif
|
||||
<div class="col-md-12 form-group {{ $errors->has('help_topic') ? 'has-error' : '' }}">
|
||||
{!! Form::label('help_topic', Lang::get('lang.choose_a_help_topic')) !!}
|
||||
{!! $errors->first('help_topic', '<spam class="help-block">:message</spam>') !!}
|
||||
<?php
|
||||
$forms = App\Model\helpdesk\Form\Forms::get();
|
||||
$helptopic = App\Model\helpdesk\Manage\Help_topic::where('status', '=', 1)->get();
|
||||
?>
|
||||
<select name="helptopic" class="form-control" id="selectid">
|
||||
|
||||
@foreach($helptopic as $topic)
|
||||
<option value="{!! $topic->id !!}">{!! $topic->topic !!}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- priority -->
|
||||
<?php
|
||||
$Priority = App\Model\helpdesk\Settings\CommonSettings::select('status')->where('option_name','=', 'user_priority')->first();
|
||||
$user_Priority=$Priority->status;
|
||||
?>
|
||||
|
||||
@if(Auth::user())
|
||||
|
||||
@if(Auth::user()->active == 1)
|
||||
@if($user_Priority == 1)
|
||||
@if(Auth::user()->active == 1)
|
||||
@if($user_Priority == 1)
|
||||
|
||||
|
||||
<div class="col-md-12 form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
<label>{!! Lang::get('lang.priority') !!}:</label>
|
||||
<div class="col-md-12 form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
<label>{!! Lang::get('lang.priority') !!}:</label>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<?php $Priority = App\Model\helpdesk\Ticket\Ticket_Priority::where('status','=',1)->get(); ?>
|
||||
{!! Form::select('priority', ['Priority'=>$Priority->pluck('priority_desc','priority_id')->toArray()],null,['class' => 'form-control select']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
@endif
|
||||
<div class="col-md-12 form-group {{ $errors->has('Subject') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Subject',Lang::get('lang.subject')) !!}<span class="text-red"> *</span>
|
||||
{!! Form::text('Subject',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="col-md-12 form-group {{ $errors->has('Details') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Details',Lang::get('lang.message')) !!}<span class="text-red"> *</span>
|
||||
{!! Form::textarea('Details',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="col-md-12 form-group">
|
||||
<label>{!! Lang::get('lang.attachment') !!}</label>
|
||||
<input type="file" name="attachment[]" multiple/><br/>
|
||||
{!! Lang::get('lang.max') !!}. 10MB
|
||||
</div>
|
||||
{{-- Event fire --}}
|
||||
<?php Event::fire(new App\Events\ClientTicketForm()); ?>
|
||||
<div class="col-md-12" id="response"> </div>
|
||||
<div id="ss" class="xs-md-6 form-group {{ $errors->has('') ? 'has-error' : '' }}"> </div>
|
||||
<div class="col-md-12 form-group">
|
||||
{!! Form::submit(Lang::get('lang.submit'),['class'=>'btn btn-info float-right', 'onclick' => 'this.disabled=true;this.value="Sending, please wait...";this.form.submit();'])!!}
|
||||
</div>
|
||||
|
||||
<div class="col-md-12" id="response"> </div>
|
||||
<div id="ss" class="xs-md-6 form-group {{ $errors->has('') ? 'has-error' : '' }}"> </div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<?php $Priority = App\Model\helpdesk\Ticket\Ticket_Priority::where('status','=',1)->get(); ?>
|
||||
{!! Form::select('priority', ['Priority'=>$Priority->pluck('priority_desc','priority_id')->toArray()],null,['class' => 'form-control select']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
@endif
|
||||
<div class="col-md-12 form-group {{ $errors->has('Subject') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Subject',Lang::get('lang.subject')) !!}<span class="text-red"> *</span>
|
||||
{!! Form::text('Subject',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="col-md-12 form-group {{ $errors->has('Details') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Details',Lang::get('lang.message')) !!}<span class="text-red"> *</span>
|
||||
{!! Form::textarea('Details',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="col-md-12 form-group">
|
||||
<div class="btn btn-default btn-file"><i class="fa fa-paperclip"> </i> {!! Lang::get('lang.attachment') !!}<input type="file" name="attachment[]" multiple/></div><br/>
|
||||
{!! Lang::get('lang.max') !!}. 10MB
|
||||
</div>
|
||||
{{-- Event fire --}}
|
||||
<?php Event::fire(new App\Events\ClientTicketForm()); ?>
|
||||
<div class="col-md-12" id="response"> </div>
|
||||
<div id="ss" class="xs-md-6 form-group {{ $errors->has('') ? 'has-error' : '' }}"> </div>
|
||||
<div class="col-md-12 form-group">{!! Form::submit(Lang::get('lang.Send'),['class'=>'form-group btn btn-info pull-left', 'onclick' => 'this.disabled=true;this.value="Sending, please wait...";this.form.submit();'])!!}</div>
|
||||
</div>
|
||||
<div class="col-md-12" id="response"> </div>
|
||||
<div id="ss" class="xs-md-6 form-group {{ $errors->has('') ? 'has-error' : '' }}"> </div>
|
||||
</article>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
<!--
|
||||
|====================================================
|
||||
| SELECTED FORM STORED IN SCRIPT
|
||||
@@ -242,7 +260,18 @@ $(document).ready(function(){
|
||||
|
||||
$(function() {
|
||||
//Add text editor
|
||||
$("textarea").wysihtml5();
|
||||
$("textarea").summernote({
|
||||
height: 300,
|
||||
tabsize: 2,
|
||||
toolbar: [
|
||||
['style', ['bold', 'italic', 'underline', 'clear']],
|
||||
['font', ['strikethrough', 'superscript', 'subscript']],
|
||||
['fontsize', ['fontsize']],
|
||||
['color', ['color']],
|
||||
['para', ['ul', 'ol', 'paragraph']],
|
||||
['height', ['height']]
|
||||
]
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@stop
|
@@ -35,8 +35,8 @@
|
||||
</div>
|
||||
@endif
|
||||
<div id="content" class="site-content col-md-12">
|
||||
<div id="corewidgetbox">
|
||||
<div class="widgetrow text-center">
|
||||
<div id="corewidgetbox" class="wid">
|
||||
<div id="wbox" class="widgetrow text-center">
|
||||
@if(Auth::user())
|
||||
@else
|
||||
<span onclick="javascript: window.location.href='{{url('auth/register')}}';">
|
||||
|
@@ -9,45 +9,94 @@
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<div id="content" class="site-content col-md-9 archive-list archive-article">
|
||||
@foreach($article as $arti)
|
||||
<article class="hentry">
|
||||
<header class="entry-header">
|
||||
<i class="fa fa-list-alt fa-2x fa-fw pull-left text-muted"></i>
|
||||
<h2 class="entry-title h4"><a href="{{url('show/'.$arti->slug)}}" onclick="toggle_visibility('foo');">{{$arti->name}}</a></h2>
|
||||
</header><!-- .entry-header -->
|
||||
<?php $str = $arti->description; ?>
|
||||
<?php $excerpt = App\Http\Controllers\Client\kb\UserController::getExcerpt($str, $startPos = 0, $maxLength = 200); ?>
|
||||
<blockquote class="archive-description">
|
||||
<?php $content = trim(preg_replace("/<img[^>]+\>/i", "", $excerpt), " \t.") ?>
|
||||
{!! strip_tags($content) !!}
|
||||
<p><a class="readmore-link" href="{{url('show/'.$arti->slug)}}">{!! Lang::get('lang.read_more') !!}</a></p>
|
||||
</blockquote>
|
||||
<footer class="entry-footer">
|
||||
<div class="entry-meta text-muted">
|
||||
<span class="date"><i class="fa fa-clock-o fa-fw"></i> <time datetime="2013-10-22T20:01:58+00:00">{{$arti->created_at->format('l, d-m-Y')}}</time></span>
|
||||
</div><!-- .entry-meta -->
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- .hentry -->
|
||||
{{-- <hr> --}}
|
||||
@endforeach
|
||||
<div class="pagination">
|
||||
<?php echo $article->render(); ?>
|
||||
|
||||
<div id="content" class="site-content col-md-9">
|
||||
|
||||
<div class="archive-list archive-article" >
|
||||
|
||||
@foreach($article as $arti)
|
||||
<article class="hentry">
|
||||
|
||||
<header class="entry-header">
|
||||
|
||||
<i class="fa fa-list-alt fa-2x fa-fw float-left text-muted"></i>
|
||||
|
||||
<h2 class="entry-title h4">
|
||||
|
||||
<a href="{{url('show/'.$arti->slug)}}" onclick="toggle_visibility('foo');">{{$arti->name}}</a>
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<?php $str = $arti->description; ?>
|
||||
<?php $excerpt = App\Http\Controllers\Client\kb\UserController::getExcerpt($str, $startPos = 0, $maxLength = 200); ?>
|
||||
|
||||
<blockquote class="blockquote archive-description" id="block" style="margin-bottom: 10px; margin-top: 10px;">
|
||||
|
||||
<?php $content = trim(preg_replace("/<img[^>]+\>/i", "", $excerpt), " \t.") ?>
|
||||
{!! strip_tags($content) !!}
|
||||
|
||||
<p><a href="{{url('show/'.$arti->slug)}}">{!! Lang::get('lang.read_more') !!}</a></p>
|
||||
</blockquote>
|
||||
|
||||
<footer class="entry-footer">
|
||||
|
||||
<div class="entry-meta text-muted">
|
||||
|
||||
<span style="margin-right:0px;"><i class="far fa-clock fa-fw"></i>
|
||||
|
||||
<span>{{$arti->created_at->format('l, d-m-Y')}}</span>
|
||||
</span>
|
||||
</div>
|
||||
</footer>
|
||||
</article>
|
||||
@endforeach
|
||||
|
||||
<div class="pagination">
|
||||
<?php echo $article->render(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('category')
|
||||
<h2 class="section-title h4 clearfix">{!! Lang::get('lang.categories') !!}<small class="pull-right"><i class="fa fa-hdd-o fa-fw"></i></small></h2>
|
||||
<ul class="nav nav-pills nav-stacked nav-categories">
|
||||
|
||||
@foreach($categorys as $category)
|
||||
<?php
|
||||
$num = \App\Model\kb\Relationship::where('category_id','=', $category->id)->get();
|
||||
$article_id = $num->pluck('article_id');
|
||||
$numcount = count($article_id);
|
||||
?>
|
||||
<li><a href="{{url('category-list/'.$category->slug)}}"><span class="badge pull-right">{{$numcount}}</span>{{$category->name}}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<div id="sidebar" class="site-sidebar col-md-3">
|
||||
|
||||
<div class="col-sm-12">
|
||||
|
||||
<div class="widget-area">
|
||||
|
||||
<section id="section-categories" class="section">
|
||||
|
||||
<h2 class="section-title h4 clearfix">
|
||||
|
||||
<i class="line"></i>{!! Lang::get('lang.categories') !!}
|
||||
|
||||
<small class="float-right"><i class="far fa-hdd fa-fw"></i></small>
|
||||
</h2>
|
||||
|
||||
<ul class="nav nav-pills nav-stacked nav-categories">
|
||||
|
||||
@foreach($categorys as $category)
|
||||
<?php
|
||||
$num = \App\Model\kb\Relationship::where('category_id','=', $category->id)->get();
|
||||
$article_id = $num->pluck('article_id');
|
||||
$numcount = count($article_id);
|
||||
?>
|
||||
|
||||
<li class="d-flex justify-content-between align-items-center">
|
||||
|
||||
<a href="{{url('category-list/'.$category->slug)}}" class="list-group-item list-group-item-action" style="padding: 5px;">
|
||||
|
||||
<span class="badge badge-pill float-right" style="margin-top: 2px;">{{$numcount}}</span>
|
||||
|
||||
{{$category->name}}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
@@ -9,55 +9,69 @@ class = "nav-item active"
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
|
||||
<div id="content" class="site-content col-md-12">
|
||||
<!-- Start of Page Container -->
|
||||
<div class="row home-listing-area">
|
||||
<div class="span8">
|
||||
<h2>{!! Lang::get('lang.categories') !!}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row separator">
|
||||
|
||||
<div class="row">
|
||||
|
||||
@foreach($categorys as $category)
|
||||
<div class="col-xs-6">
|
||||
<div class="col-md-6">
|
||||
{{-- get the article_id where category_id == current category --}}
|
||||
<?php
|
||||
$all = App\Model\kb\Relationship::where('category_id', $category->id)->get();
|
||||
/* from whole attribute pick the article_id */
|
||||
$article_id = $all->pluck('article_id');
|
||||
?>
|
||||
<section class="articles-list">
|
||||
<h3><i class="fa fa-folder-open-o fa-fw text-muted"></i> <a href="{{url('category-list/'.$category->slug)}}">{{$category->name}}</a> <span>({{count($all)}})</span></h3>
|
||||
<ul class="articles">
|
||||
<hr>
|
||||
|
||||
<section class="box-categories">
|
||||
|
||||
<h1 class="section-title h4 clearfix">
|
||||
|
||||
<i class="line"></i>
|
||||
|
||||
<i class="far fa-folder-open fa-fw text-muted"></i>
|
||||
|
||||
<small class="float-right">
|
||||
|
||||
<a href="{{url('category-list/'.$category->slug)}}"><i class="far fa-hdd fa-fw"></i>({{count($all)}})</a>
|
||||
</small>
|
||||
|
||||
<a href="{{url('category-list/'.$category->slug)}}">{{$category->name}}</a>
|
||||
</h1>
|
||||
|
||||
<ul class="fa-ul" style="min-height: 150px;">
|
||||
<?php foreach ($article_id as $id) {
|
||||
?>
|
||||
<?php
|
||||
$article = App\Model\kb\Article::where('id', $id);
|
||||
if (!Auth::user() || Auth::user()->role == 'user') {
|
||||
$article = $article->where('status', 1);
|
||||
$article = $article->where('type', 1);
|
||||
}
|
||||
$article = $article->orderBy('publish_time', 'desc');
|
||||
$article = $article->get();
|
||||
//dd($article);
|
||||
?>
|
||||
@forelse($article as $arti)
|
||||
<li class="article-entry image" style="margin-left: 50px;">
|
||||
<h4><a href="{{url('show/'.$arti->slug)}}">{{$arti->name}}</a></h4>
|
||||
<span class="article-meta">{{$arti->created_at->format('l, d-m-Y')}}
|
||||
<?php $str = $arti->description ?>
|
||||
<?php $excerpt = App\Http\Controllers\Client\kb\UserController::getExcerpt($str, $startPos = 0, $maxLength = 55) ?>
|
||||
<p>{!!$excerpt!!} <a class="readmore-link" href="{{url('show/'.$arti->slug)}}">{!! Lang::get('lang.read_more') !!}</a></p>
|
||||
</li>
|
||||
@empty
|
||||
<li>No articles available</li>
|
||||
@endforelse
|
||||
<?php }
|
||||
?>
|
||||
<?php
|
||||
$article = App\Model\kb\Article::where('id', $id);
|
||||
if (!Auth::user() || Auth::user()->role == 'user') {
|
||||
$article = $article->where('status', 1);
|
||||
$article = $article->where('type', 1);
|
||||
}
|
||||
$article = $article->orderBy('publish_time', 'desc');
|
||||
$article = $article->get();
|
||||
//dd($article);
|
||||
?>
|
||||
@forelse($article as $arti)
|
||||
<li>
|
||||
|
||||
<h3 class="h5" style="text-align:left">
|
||||
|
||||
<i class="fa-li fa fa-list-alt fa-fw text-muted"></i>
|
||||
|
||||
<a href="{{url('show/'.$arti->slug)}}">{{$arti->name}}</a>
|
||||
|
||||
</h3>
|
||||
</li>
|
||||
@empty
|
||||
<p>{!! Lang::get('lang.no_article') !!}</p>
|
||||
@endforelse
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<p class="more-link text-center"><a href="{{url('category-list/'.$category->slug)}}" class="btn btn-custom btn-sm">{!! Lang::get('lang.view_all') !!}</a></p>
|
||||
</section>
|
||||
</div>
|
||||
@endforeach
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of page content -->
|
||||
|
@@ -4,14 +4,14 @@
|
||||
Knowledge Base -
|
||||
@stop
|
||||
|
||||
@section('knowledgebase')
|
||||
@section('kb')
|
||||
class = "nav-item active"
|
||||
@stop
|
||||
@section('content')
|
||||
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<i class="fas fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@@ -19,7 +19,7 @@ class = "nav-item active"
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<i class="fas fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!}!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
@@ -41,13 +41,24 @@ class = "nav-item active"
|
||||
$count = count($article_id);
|
||||
?>
|
||||
<div class="col-md-6">
|
||||
|
||||
<section class="box-categories">
|
||||
|
||||
<h1 class="section-title h4 clearfix">
|
||||
<i class="fa fa-folder-open-o fa-fw text-muted"></i>
|
||||
<small class="pull-right"><i class="fa fa-hdd-o fa-fw"></i></small>
|
||||
{{$category->name}}
|
||||
|
||||
<i class="line"></i>
|
||||
|
||||
<i class="far fa-folder-open fa-fw text-muted"></i>
|
||||
|
||||
<small class="float-right">
|
||||
|
||||
<a href="{{url('category-list/'.$category->slug)}}"><i class="far fa-hdd fa-fw"></i>({{count($all)}})</a>
|
||||
</small>
|
||||
|
||||
<a href="{{url('category-list/'.$category->slug)}}">{{$category->name}}</a>
|
||||
</h1>
|
||||
<ul class="fa-ul">
|
||||
|
||||
<ul class="fa-ul" style="min-height: 150px;">
|
||||
<?php
|
||||
foreach ($article_id as $id) {
|
||||
//$format = App\Model\helpdesk\Settings\System::where('id','1')->first()->date_time_format;
|
||||
@@ -70,33 +81,37 @@ class = "nav-item active"
|
||||
?>
|
||||
@forelse($article as $arti)
|
||||
<li>
|
||||
<i class="fa-li fa fa-list-alt fa-fw text-muted"></i>
|
||||
<h3 class="h5"><a href="#"><a href="{{url('show/'.$arti->slug)}}">{{$arti->name}}</a></h3>
|
||||
<span class="article-meta">{{$arti->created_at->format('l, d-m-Y')}}</span>
|
||||
<?php
|
||||
$str = $arti->description;
|
||||
$len = strlen($str);
|
||||
|
||||
<h3 class="h5" style="text-align:left">
|
||||
|
||||
<i class="fa-li fa fa-list-alt fa-fw text-muted"></i>
|
||||
|
||||
<a href="{{url('show/'.$arti->slug)}}">{{$arti->name}}</a>
|
||||
|
||||
$excerpt = App\Http\Controllers\Client\kb\UserController::getExcerpt($str, $startPos = 0, $maxLength = 20);
|
||||
?>
|
||||
{!! strip_tags($excerpt) !!} <br/><a class="more-link text-center" href="{{url('show/'.$arti->slug)}}" style="color: orange">{!! Lang::get('lang.read_more') !!}</a>
|
||||
</h3>
|
||||
</li>
|
||||
@empty
|
||||
<p>{!! Lang::get('lang.no_article') !!}</p>
|
||||
@endforelse
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<p class="more-link text-center"><a href="{{url('category-list/'.$category->slug)}}" class="btn btn-custom btn-xs">{!! Lang::get('lang.view_all') !!}</a></p>
|
||||
<p class="more-link text-center"><a href="{{url('category-list/'.$category->slug)}}" class="btn btn-custom btn-sm">{!! Lang::get('lang.view_all') !!}</a></p>
|
||||
</section>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<section class="section">
|
||||
<div class="banner-wrapper banner-horizontal clearfix">
|
||||
<h4 class="banner-title h4">{!! Lang::get('lang.need_more_support') !!}?</h4>
|
||||
|
||||
<div class="banner-wrapper banner-horizontal clearfix" style="background: none;">
|
||||
|
||||
<h4 style="font-size: 15px;" class="banner-title h3">{!! Lang::get('lang.need_more_support') !!}?</h4>
|
||||
|
||||
<div class="banner-content">
|
||||
|
||||
<p>{!! Lang::get('lang.if_you_did_not_find_an_answer_please_raise_a_ticket_describing_the_issue') !!}.</p>
|
||||
</div>
|
||||
|
||||
<p><a href="{!! URL::route('form') !!}" class="btn btn-custom">{!! Lang::get('lang.submit_a_ticket') !!}</a></p>
|
||||
</div>
|
||||
</section>
|
||||
@@ -104,15 +119,44 @@ class = "nav-item active"
|
||||
@stop
|
||||
|
||||
@section('category')
|
||||
<h2 class="section-title h4 clearfix">{!! Lang::get('lang.categories') !!}<small class="pull-right"><i class="fa fa-hdd-o fa-fw"></i></small></h2>
|
||||
<ul class="nav nav-pills nav-stacked nav-categories">
|
||||
@foreach($categorys as $category)
|
||||
<?php
|
||||
$num = \App\Model\kb\Relationship::where('category_id', '=', $category->id)->get();
|
||||
$article_id = $num->pluck('article_id');
|
||||
$numcount = count($article_id);
|
||||
?>
|
||||
<li><a href="{{url('category-list/'.$category->slug)}}"><span class="badge pull-right">{{$numcount}}</span>{{$category->name}}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
<div id="sidebar" class="site-sidebar col-md-3">
|
||||
|
||||
<div class="col-sm-12">
|
||||
|
||||
<div class="widget-area">
|
||||
|
||||
<section id="section-categories" class="section">
|
||||
|
||||
<h2 class="section-title h4 clearfix">
|
||||
|
||||
<i class="line"></i>{!! Lang::get('lang.categories') !!}
|
||||
|
||||
<small class="float-right"><i class="far fa-hdd fa-fw"></i></small>
|
||||
</h2>
|
||||
|
||||
<ul class="nav nav-pills nav-stacked nav-categories">
|
||||
|
||||
@foreach($categorys as $category)
|
||||
<?php
|
||||
$num = \App\Model\kb\Relationship::where('category_id', '=', $category->id)->get();
|
||||
$article_id = $num->pluck('article_id');
|
||||
$numcount = count($article_id);
|
||||
?>
|
||||
|
||||
<li class="d-flex justify-content-between align-items-center">
|
||||
|
||||
<a href="{{url('category-list/'.$category->slug)}}" class="list-group-item list-group-item-action" style="padding: 5px;">
|
||||
|
||||
<span class="badge badge-pill float-right" style="margin-top: 2px;">{{$numcount}}</span>
|
||||
|
||||
{{$category->name}}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
@@ -9,26 +9,20 @@ class = "nav-item active"
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
|
||||
<div id="content" class="site-content col-sm-12">
|
||||
|
||||
<article class="hentry">
|
||||
|
||||
<header class="entry-header">
|
||||
|
||||
<h1 class="entry-title">{{$page->name}}</h1>
|
||||
</header>
|
||||
|
||||
<!-- Start of Page Container -->
|
||||
<div class="col-md-12">
|
||||
<div class="row home-listing-area">
|
||||
<div class="span8">
|
||||
<h2>{{$page->name}}</h2>
|
||||
</div>
|
||||
<div class="entry-content clearfix">
|
||||
|
||||
{!! $page->description !!}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
<div class="row separator">
|
||||
|
||||
|
||||
<section>
|
||||
{!! $page->description !!}
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- end of page content -->
|
||||
</div>
|
||||
@stop
|
@@ -28,6 +28,8 @@
|
||||
|
||||
<link href="{{asset("lb-faveo/css/jquery.rating.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<link rel="stylesheet" href="lb-faveo/plugins/summernote/summernote-bs4.min.css">
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery-3.4.1.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
@yield('HeadInclude')
|
||||
@@ -35,53 +37,43 @@
|
||||
<body>
|
||||
|
||||
<style>
|
||||
#dropdown_content{
|
||||
padding-top: 1rem;
|
||||
margin: 0 !important;
|
||||
}
|
||||
#user_avatar{
|
||||
border-radius: 35px;
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
}
|
||||
#profile_dropdown {
|
||||
border: 1px solid transparent !important;
|
||||
}
|
||||
#profile_dropdown:hover{
|
||||
background: transparent !important;
|
||||
}
|
||||
.profile_btn{
|
||||
padding: 3px !important;
|
||||
}
|
||||
.text-white:hover{
|
||||
color: white !important;
|
||||
}
|
||||
.ellipsize_first_name {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
#dropdown_content{ padding-top: 1rem;margin: 0 !important;}
|
||||
|
||||
.lang_dropdown-menu {
|
||||
right : -1px !important;
|
||||
left : auto !important;
|
||||
}
|
||||
#lang_ul{
|
||||
width: max-content;
|
||||
font-size: unset !important;
|
||||
}
|
||||
#user_avatar{ border-radius: 35px;width: 70px;height: 70px;}
|
||||
|
||||
.lang{
|
||||
cursor: pointer;
|
||||
}
|
||||
#profile_dropdown {border: 1px solid transparent !important; }
|
||||
|
||||
.breadcrumb{
|
||||
background-color: transparent !important;
|
||||
padding: 0 !important;
|
||||
margin-top: 15px !important;
|
||||
margin-left: 17% !important;
|
||||
}
|
||||
#profile_dropdown:hover{background: transparent !important;}
|
||||
|
||||
.profile_btn{padding: 3px !important;}
|
||||
|
||||
.text-white:hover{color: white !important;}
|
||||
|
||||
.ellipsize_first_name {overflow: hidden;text-overflow: ellipsis;}
|
||||
|
||||
.lang_dropdown-menu {right : -1px !important;left : auto !important;}
|
||||
|
||||
#lang_ul{width: max-content;font-size: unset !important;}
|
||||
|
||||
.lang{cursor: pointer;}
|
||||
|
||||
.breadcrumb{background-color: transparent !important;padding: 0 !important;margin-top: 15px !important;margin-left: 17% !important;}
|
||||
|
||||
.text-small{font-size: 14px;}
|
||||
|
||||
.submit-btn { border: none;background: none;color: white; }
|
||||
|
||||
blockquote {font-size: 14px !important;}
|
||||
|
||||
.form-helper {margin-bottom: 50px;display: inline-block;}
|
||||
|
||||
.alert { width: 100% !important; }
|
||||
|
||||
.has-error .form-control { border-color : #dd4b39; }
|
||||
</style>
|
||||
<div id="page" class="hfeed site">
|
||||
|
||||
<div id="page" class="hfeed site text-small">
|
||||
|
||||
<header id="masthead" class="site-header" role="banner">
|
||||
|
||||
@@ -315,7 +307,7 @@
|
||||
<div id="main" class="site-main clearfix">
|
||||
<div class="container">
|
||||
<div class="content-area">
|
||||
<div class="row">
|
||||
<div>
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
@@ -343,17 +335,11 @@
|
||||
</div>
|
||||
<?php a: ?>
|
||||
@endif
|
||||
</div>
|
||||
<div class="row">
|
||||
@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 -->
|
||||
@yield('check')
|
||||
@yield('category')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -522,6 +508,8 @@
|
||||
<script src="{{asset("lb-faveo/js/languagechanger.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/languagechanger.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="lb-faveo/plugins/summernote/summernote-bs4.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
|
@@ -15,42 +15,80 @@
|
||||
<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" />
|
||||
|
||||
<link href="{{asset("lb-faveo/css/widgetbox.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Bootstrap 4.3.1 -->
|
||||
<link href="{{asset("lb-faveo/css/bootstrap4.min.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" />
|
||||
<link href="{{asset("lb-faveo/css/font-awesome-5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<link href="{{asset("lb-faveo/css/intlTelInput.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("lb-faveo/css/client.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<link href="{{asset("lb-faveo/css/jquery.rating.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<link rel="stylesheet" href="lb-faveo/plugins/summernote/summernote-bs4.min.css">
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery-3.4.1.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<!--[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">
|
||||
|
||||
<style>
|
||||
|
||||
#dropdown_content{ padding-top: 1rem;margin: 0 !important;}
|
||||
|
||||
#user_avatar{ border-radius: 35px;width: 70px;height: 70px;}
|
||||
|
||||
#profile_dropdown {border: 1px solid transparent !important; }
|
||||
|
||||
#profile_dropdown:hover{background: transparent !important;}
|
||||
|
||||
.profile_btn{padding: 3px !important;}
|
||||
|
||||
.text-white:hover{color: white !important;}
|
||||
|
||||
.ellipsize_first_name {overflow: hidden;text-overflow: ellipsis;}
|
||||
|
||||
.lang_dropdown-menu {right : -1px !important;left : auto !important;}
|
||||
|
||||
#lang_ul{width: max-content;font-size: unset !important;}
|
||||
|
||||
.lang{cursor: pointer;}
|
||||
|
||||
.breadcrumb{background-color: transparent !important;padding: 0 !important;margin-top: 15px !important;margin-left: 17% !important;}
|
||||
|
||||
.text-small{font-size: 14px;}
|
||||
|
||||
.submit-btn { border: none;background: none;color: white; }
|
||||
|
||||
blockquote {font-size: 14px !important;}
|
||||
|
||||
.form-helper {margin-bottom: 50px;display: inline-block;}
|
||||
|
||||
.alert { width: 100% !important; }
|
||||
|
||||
.has-error .form-control { border-color : #dd4b39; }
|
||||
</style>
|
||||
|
||||
<div id="page" class="hfeed site text-small">
|
||||
|
||||
<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">
|
||||
<div class="container">
|
||||
|
||||
<nav id="navbar" class="site-navigation navbar navbar-expand-lg navbar-light">
|
||||
|
||||
<div id="logo" class="navbar-brand brand 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
|
||||
@@ -64,74 +102,107 @@
|
||||
@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>
|
||||
</div>
|
||||
|
||||
<button class="navbar-toggler custom-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
|
||||
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button> <!-- collapse -->
|
||||
|
||||
<div class="collapse navbar-collapse links" id="navbarSupportedContent">
|
||||
|
||||
<ul class="navbar-nav navbar-menu site-navigate ml-auto">
|
||||
|
||||
<li @yield('home') class="nav-item"><a href="{{url('/')}}" class="nav-link">{!! 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>
|
||||
<li @yield('submit') class="nav-item">
|
||||
<a href="{{URL::route('form')}}" class="nav-link">{!! 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>
|
||||
|
||||
<li @yield('kb') class="nav-item dropdown">
|
||||
<a href="{!! url('knowledgebase') !!}" class="dropdown-toggle nav-link" id="navbarDropdown" role="button" data-toggle=""
|
||||
aria-haspopup="true" aria-expanded="false">{!! Lang::get('lang.knowledge_base') !!}
|
||||
</a>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
|
||||
<li><a href="{{route('category-list')}}" class="dropdown-item">{!! Lang::get('lang.categories') !!}</a></li>
|
||||
<li><a href="{{route('article-list')}}" class="dropdown-item">{!! 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>
|
||||
@if(count($pages))
|
||||
<li @yield('pages') class="nav-item dropdown">
|
||||
<a class="dropdown-toggle nav-link" id="navbarDropdown" role="button" data-toggle=""
|
||||
aria-haspopup="true" aria-expanded="false">{!! Lang::get('lang.pages') !!}
|
||||
</a>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
|
||||
@foreach($pages as $page)
|
||||
<li><a href="{{route('pages',$page->slug)}}" class="dropdown-item">{{$page->name}}</a></li>
|
||||
@endforeach
|
||||
</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 -->
|
||||
@endif
|
||||
|
||||
@if(Auth::user())
|
||||
|
||||
<li @yield('myticket') class="nav-item">
|
||||
<a href="{{url('mytickets')}}" class="nav-link">{!! Lang::get('lang.my_tickets') !!}</a>
|
||||
</li>
|
||||
|
||||
<li @yield('profile') class="nav-item dropdown">
|
||||
<a href="#" class="dropdown-toggle nav-link" id="navbarDropdown" role="button" data-toggle=""
|
||||
aria-haspopup="true" aria-expanded="false">{!! Lang::get('lang.my_profile') !!}
|
||||
</a>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
|
||||
<li>
|
||||
|
||||
<div class="banner-wrapper user-data text-center clearfix" id="profile_dropdown">
|
||||
|
||||
<img id="user_avatar" src="{{Auth::user()->profile_pic}}"class="avatar" alt="User Image" height="70" width="70"/>
|
||||
|
||||
<div><strong>Hello</strong></div>
|
||||
|
||||
<p class="banner-title ellipsize_first_name h4">{{Auth::user()->first_name." ".Auth::user()->last_name}}</p>
|
||||
|
||||
<div class="banner-content" id="dropdown_content">
|
||||
|
||||
<a href="{{url('auth/logout')}}" class="btn btn-custom btn-sm text-white profile_btn">{!! Lang::get('lang.log_out') !!}</a>
|
||||
|
||||
@if(Auth::user())
|
||||
@if(Auth::user()->role != 'user')
|
||||
<a href="{{url('dashboard')}}" class="btn btn-custom btn-sm text-white profile_btn">{!! Lang::get('lang.dashboard') !!}</a>
|
||||
@endif
|
||||
@endif
|
||||
@if(Auth::user())
|
||||
@if(Auth::user()->role == 'user')
|
||||
<a href="{{url('client-profile')}}" class="btn btn-custom btn-sm text-white profile_btn">{!! Lang::get('lang.profile') !!}</a>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div id="header-search" class="site-search clearfix"><!-- #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 class="form-group input-group" style="width: 88%;">
|
||||
<input type="text" name="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>
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-custom btn-md" style="margin-left: 8px;">{!! Lang::get('lang.search') !!}</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
@@ -147,8 +218,8 @@
|
||||
<div id="main" class="site-main clearfix">
|
||||
<div class="container">
|
||||
<div class="content-area">
|
||||
<div class="row">
|
||||
@if(Session::has('success'))
|
||||
<div>
|
||||
@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>
|
||||
@@ -175,17 +246,12 @@
|
||||
</div>
|
||||
<?php a: ?>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
@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 -->
|
||||
@yield('check')
|
||||
@yield('category')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -199,7 +265,7 @@
|
||||
?>
|
||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row col-md-12">
|
||||
<div class="row">
|
||||
@if($footer1->title == null)
|
||||
@else
|
||||
<div class="col-md-3">
|
||||
@@ -260,62 +326,77 @@
|
||||
<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">
|
||||
<?php $socials = App\Model\helpdesk\Theme\Widgets::all(); ?>
|
||||
<ul class="list-inline hidden-print" style="display: flex;float: right;">
|
||||
@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>
|
||||
<li><a href="{!! $social->value !!}" class="btn btn-social btn-facebook" target="_blank"><i class="fab 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>
|
||||
<li><a href="{{ $social->value }}" class="btn btn-social btn-twitter" target="_blank"><i class="fab 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>
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-google-plus" target="_blank"><i class="fab 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>
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-linkedin" target="_blank"><i class="fab 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>
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-vimeo" target="_blank"><i class="fab 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>
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-youtube" target="_blank"><i class="fab fa-youtube 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>
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-pinterest" target="_blank"><i class="fab 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>
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-dribbble" target="_blank"><i class="fab 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>
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-flickr" target="_blank"><i class="fab 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>
|
||||
<li><a href="{{$social->value }}" class="btn btn-social btn-instagram" target="_blank"><i class="fab 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>
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-rss" target="_blank"><i class="fas fa-rss fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "skype")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-twitter" target="_blank"><i class="fab fa-skype fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "stumble")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-google-plus" target="_blank"><i class="fab fa-stumbleupon fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@if($social->name == "deviantart")
|
||||
@if($social->value)
|
||||
<li><a href="{{$social->value}}" class="btn btn-social btn-success" target="_blank"><i class="fab fa-deviantart fa-fw"></i></a></li>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@@ -323,23 +404,24 @@
|
||||
</div>
|
||||
</div>
|
||||
</footer><!-- #colophon -->
|
||||
<!-- jQuery 2.1.1 -->
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery2.1.1.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/popper.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/js/bootstrap4.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/client.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/superfish.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/mobilemenu.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/plugins/iCheck/icheck.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/languagechanger.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/languagechanger.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="lb-faveo/plugins/summernote/summernote-bs4.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
|
@@ -7,31 +7,31 @@ $social = new \App\Model\helpdesk\Settings\SocialMedia();
|
||||
|
||||
@if($social->checkActive('twitter'))
|
||||
<a class="btn btn-block btn-social btn-twitter" href="{{ route('social.login', ['twitter']) }}" style="background-color: #55ACEE;color: white;">
|
||||
<span class="fa fa-twitter"></span> Sign in with Twitter
|
||||
<span class="fab fa-twitter fa-fw"></span> Sign in with Twitter
|
||||
</a>
|
||||
@endif
|
||||
@if($social->checkActive('facebook'))
|
||||
<a class="btn btn-block btn-social btn-facebook" href="{{ route('social.login', ['facebook']) }}" style="background-color: #3B5998;color: white;">
|
||||
<span class="fa fa-facebook"></span> Sign in with Facebook
|
||||
<span class="fab fa-facebook-f fa-fw"></span> Sign in with Facebook
|
||||
</a>
|
||||
@endif
|
||||
@if($social->checkActive('google'))
|
||||
<a class="btn btn-block btn-social btn-google-plus" href="{{ route('social.login', ['google']) }}" style="background-color: #DD4B39;color: white;">
|
||||
<span class="fa fa-google"></span> Sign in with Google
|
||||
<span class="fab fa-google-plus-g fa-fw"></span> Sign in with Google
|
||||
</a>
|
||||
@endif
|
||||
@if($social->checkActive('linkedin'))
|
||||
<a class="btn btn-block btn-social btn-linkedin" href="{{ route('social.login', ['linkedin']) }}" style="background-color: #007BB6;color: white;">
|
||||
<span class="fa fa-linkedin"></span> Sign in with Linkedin
|
||||
<span class="fab fa-linkedin-in fa-fw"></span> Sign in with Linkedin
|
||||
</a>
|
||||
@endif
|
||||
@if($social->checkActive('bitbucket'))
|
||||
<a class="btn btn-block btn-social btn-bitbucket" href="{{ route('social.login', ['bitbucket']) }}" style="background-color: blue;color: white;">
|
||||
<span class="fa fa-bitbucket"></span> Sign in with Bitbucket
|
||||
<span class="fab fa-bitbucket"></span> Sign in with Bitbucket
|
||||
</a>
|
||||
@endif
|
||||
@if($social->checkActive('github'))
|
||||
<a class="btn btn-block btn-social btn-github" href="{{ route('social.login', ['github']) }}" style="background-color: black;color: white;">
|
||||
<span class="fa fa-github"></span> Sign in with Github
|
||||
<span class="fab fa-github-alt fa-fw"></span> Sign in with Github
|
||||
</a>
|
||||
@endif
|
Reference in New Issue
Block a user