client-update
changes changes1 page-changes lock color changes-2 footer page toggle-remove display-dropdown changes card-changes card changes-button chnages-article pages page-404-fix breadcrumbs-fix remove drop-down Apply fixes from StyleCI buttons fixes existing-fix changes-3 Apply fixes from StyleCI changes-4
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
@if (isset($breadcrumbs))
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
@foreach($breadcrumbs as $breadcrumb)
|
||||
@if (!$breadcrumb->last)
|
||||
@@ -8,5 +9,6 @@
|
||||
<li class="breadcrumb-item active">{{ str_replace(" ", "", $breadcrumb->title) }}</li>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
</ol>
|
||||
@endif
|
50
resources/views/auth/login.blade.php
Normal file → Executable file
50
resources/views/auth/login.blade.php
Normal file → Executable file
@@ -5,10 +5,9 @@
|
||||
@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 class="breadcrumb float-sm-right ">
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a href="{!! URL::route('post.login') !!}">{!! Lang::get('lang.login') !!}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
@@ -65,7 +64,7 @@
|
||||
@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>
|
||||
<div style="font-size: 13px" class="widgetitemtitle">{!! Lang::get('lang.submit_a_ticket') !!}</div>
|
||||
</a>
|
||||
</span>
|
||||
@endif
|
||||
@@ -87,21 +86,21 @@
|
||||
<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="d-flex justify-content-center">
|
||||
|
||||
<div class="login-box" style=" width: 490px;">
|
||||
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<h4 class="box-title" align="center">{{Lang::get('lang.login_to_start_your_session')}}</h4>
|
||||
</div>
|
||||
|
||||
@@ -110,39 +109,38 @@
|
||||
|
||||
<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>
|
||||
<span class="far fa-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>
|
||||
<span class=" fa fa-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>
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat" STYLE="width: 100%; color: white">{!! Lang::get("lang.login") !!}</button> </div>
|
||||
|
||||
<div class="row mt-2">
|
||||
|
||||
<div class="col-sm-4">
|
||||
<div class="col-sm-5">
|
||||
|
||||
<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 class="col-sm-5">
|
||||
|
||||
<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>
|
||||
@@ -151,7 +149,7 @@
|
||||
@include('themes.default1.client.layout.social-login')
|
||||
</div>
|
||||
|
||||
{!! Form::close()!!}
|
||||
{!! Form::close()!!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -5,12 +5,10 @@
|
||||
@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 class="breadcrumb float-sm-right ">
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.forgot_password') !!}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
@@ -69,10 +67,9 @@
|
||||
<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="d-flex justify-content-center">
|
||||
|
||||
<div class="login-box" style=" width: 490px;" valign = "center">
|
||||
<div class="login-box" style=" width: 490px;" >
|
||||
|
||||
<div class="form-border">
|
||||
|
||||
@@ -98,21 +95,20 @@
|
||||
|
||||
<input type="email" class="form-control" name="email" placeholder="{!! Lang::get('lang.email') !!}" value="{{ old('email') }}">
|
||||
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
<span class="far fa-envelope text-muted form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-sm-8">
|
||||
<div class="col-sm-6">
|
||||
|
||||
<a href="{{url('auth/login')}}" class="text-center">{!! Lang::get('lang.i_know_my_password') !!}</a>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4">
|
||||
|
||||
<span class="input-group-btn">
|
||||
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get('lang.send') !!}</button>
|
||||
<div class="col-sm-6">
|
||||
|
||||
<span class="input-group-btn" style="width: 65% ;margin-left: 35%">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat" style="width: 100%; color: white">{!! Lang::get('lang.send') !!}</button>
|
||||
</span>
|
||||
<br/>
|
||||
</div>
|
||||
|
@@ -5,16 +5,23 @@
|
||||
@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>
|
||||
{{-- <div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
|
||||
<li><a href="{!! URL::route('post.register') !!}">{!! Lang::get('lang.register') !!}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
{{-- </div>--}}
|
||||
@stop
|
||||
{{-- <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>--}}
|
||||
|
||||
@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>
|
||||
@@ -73,27 +80,26 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 offset-md-3 form-helper">
|
||||
|
||||
<div class="login-box" style=" width: 490px;" valign = "center">
|
||||
|
||||
<div class="d-flex justify-content-center">
|
||||
<div class="login-box" style=" width: 490px;">
|
||||
|
||||
<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 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 class="text-center">
|
||||
<h3 class="box-title" >{{Lang::get('lang.registration')}}</h3>
|
||||
</div> </div>
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<placeholder ="Let’s set up your account in just a couple of steps.">
|
||||
</div>
|
||||
|
||||
@@ -104,19 +110,19 @@
|
||||
<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" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
<span class="fas fa-user form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
|
||||
<!-- 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>
|
||||
<span class="far fa-envelope text-muted 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>
|
||||
<span class="far fa-envelope text-muted form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
@else
|
||||
{!! Form::hidden('email', null) !!}
|
||||
@@ -132,7 +138,7 @@
|
||||
<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>
|
||||
<span class="fas fa-phone form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -145,20 +151,20 @@
|
||||
<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>
|
||||
<span class="fa fa-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
|
||||
</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>
|
||||
<span class="fas fa-sign-in-alt 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>
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat" style="width: 100%; hov: #00c0ef; color: #fff">{!! Lang::get('lang.register') !!}</button>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
@@ -79,7 +79,7 @@
|
||||
|
||||
<input type="email" class="form-control" name="email" placeholder="{!! Lang::get('lang.e-mail') !!}" value="{{ $email }}" readonly>
|
||||
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
<span class="far fa-envelope text-muted form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
|
||||
<!-- password -->
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
<input type="password" class="form-control" name="password" placeholder="{!! Lang::get('lang.password') !!}">
|
||||
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
<span class="fa fa-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
|
||||
<!-- confirm password -->
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
<input type="password" class="form-control" name="password_confirmation" placeholder="{!! Lang::get('lang.confirm_password') !!}">
|
||||
|
||||
<span class="glyphicon glyphicon-log-in form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
<span class="fas fa-sign-in-alt form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
</div>
|
||||
<!-- Confirm password -->
|
||||
<div class="form-group">
|
||||
|
@@ -1,5 +1,17 @@
|
||||
@extends('themes.default1.client.layout.client')
|
||||
@section('content')
|
||||
@section('breadcrumb')
|
||||
{{--<div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<style>
|
||||
.words {
|
||||
margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
|
||||
}
|
||||
</style>
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a class="words" href="{{url('/')}}">{!! Lang::get('lang.home') !!}</a></li>
|
||||
|
||||
@stop
|
||||
@section('content')
|
||||
<div id="page" class="hfeed site">
|
||||
<article class="hentry error404 text-center">
|
||||
<h1 class="error-title mb-0">4<i class="fas fa-frown text-info"></i><span class="visible-print text-danger" style="display: none">0</span>4</h1>
|
||||
|
@@ -1,4 +1,15 @@
|
||||
@extends('themes.default1.client.layout.client')
|
||||
@section('breadcrumb')
|
||||
{{--<div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<style>
|
||||
.words {
|
||||
margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
|
||||
}
|
||||
</style>
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a class="words" href="{{url('/')}}">{!! Lang::get('lang.home') !!}</a></li>
|
||||
@stop
|
||||
@section('content')
|
||||
<div id="page" class="hfeed site">
|
||||
<article class="hentry error404 text-center" style="margin-left: 300px;">
|
||||
|
@@ -6,12 +6,12 @@
|
||||
<div class="form-group has-feedback">
|
||||
<!-- email -->
|
||||
<input type="text" class="form-control" placeholder="Email"/>
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
<span class="fas fa-envelope text-muted form-control-feedback"></span>
|
||||
</div>
|
||||
<div class="form-group has-feedback">
|
||||
<!-- password -->
|
||||
<input type="password" class="form-control" placeholder="Password"/>
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
<span class="fa fa-lock form-control-feedback"></span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
|
@@ -42,6 +42,9 @@
|
||||
<link href="{{asset("lb-faveo/plugins/colorpicker/bootstrap-colorpicker.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery-3.6.3.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery-migrate.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/js/jquery.ui.3.2.0.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/js/popper.min.js")}}" type="text/javascript"></script>
|
||||
@@ -114,7 +117,7 @@
|
||||
|
||||
<div class="wrapper">
|
||||
|
||||
<nav class="main-header navbar navbar-expand navbar-dark navbar-orange">
|
||||
<nav class="main-header navbar navbar-expand navbar-light">
|
||||
|
||||
<!-- Sidebar toggle button-->
|
||||
<ul class="navbar-nav">
|
||||
@@ -333,7 +336,7 @@
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar elevation-4 sidebar-dark-orange">
|
||||
|
||||
<a href="http://www.faveohelpdesk.com" class="brand-link navbar-orange" style="text-align: center;">
|
||||
<a href="http://www.faveohelpdesk.com" class="brand-link navbar-dark" style="text-align: center;">
|
||||
<img src="{{ asset('lb-faveo/media/images/logo.png')}}" class="brand-image" alt="Company Log0">
|
||||
</a>
|
||||
|
||||
|
@@ -58,10 +58,14 @@ class="nav-link active"
|
||||
<th width="100px">{{Lang::get('lang.name')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
@if($Canneds->isEmpty())
|
||||
<td colspan="4" class="dataTables_empty">No data available in table</td>
|
||||
@endif
|
||||
|
||||
@foreach($Canneds as $Canned)
|
||||
<tr>
|
||||
<td>{{$Canned->title }}</td>
|
||||
<td>
|
||||
<td>
|
||||
{!! Form::open(['route'=>['canned.destroy', $Canned->id],'method'=>'DELETE']) !!}
|
||||
<a data-toggle="modal" data-target="#view{!! $Canned->id !!}" href="#" class="btn btn-info btn-xs" onClick="updateModelTitle('{{$Canned->title}}')">{!! Lang::get('lang.view') !!}</a>
|
||||
<a href="{!! URL::route('canned.edit',$Canned->id) !!}" class="btn btn-primary btn-xs">{!! Lang::get('lang.edit') !!}</a>
|
||||
@@ -81,7 +85,7 @@ class="nav-link active"
|
||||
|
||||
<h4 class="modal-title"></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p><pre>{!! $Canned->message !!}</pre></p>
|
||||
|
@@ -44,6 +44,9 @@
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/bootstrap-datetimepicker4.7.14.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<link href="{{asset("lb-faveo/plugins/summernote/summernote-bs5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||
|
||||
<link href="{{asset("lb-faveo/css/jquery.ui.css")}}" rel="stylesheet" type="text/css" />
|
||||
<script src="{{asset("lb-faveo/js/jquery-3.6.3.min.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/js/jquery-migrate.js")}}" type="text/javascript"></script>
|
||||
@@ -119,7 +122,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<nav class="main-header navbar navbar-expand navbar-dark navbar-lightblue">
|
||||
<nav class="main-header navbar navbar-expand navbar-light">
|
||||
|
||||
<!-- Sidebar toggle button-->
|
||||
<ul class="navbar-nav">
|
||||
@@ -365,9 +368,9 @@
|
||||
</nav>
|
||||
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar elevation-4 sidebar-dark-lightblue">
|
||||
<aside class="main-sidebar elevation-4 sidebar-dark-black">
|
||||
|
||||
<a href="http://www.faveohelpdesk.com" class="brand-link navbar-lightblue" style="text-align: center;">
|
||||
<a href="http://www.faveohelpdesk.com" class="brand-link " style="text-align: center;">
|
||||
<img src="{{ asset('lb-faveo/media/images/logo.png')}}" class="brand-image" alt="Company Log0">
|
||||
</a>
|
||||
|
||||
@@ -509,7 +512,7 @@
|
||||
@if($replacetop==0)
|
||||
<div @yield('user') class="tab-pane" id="tab_user">
|
||||
|
||||
<nav class="navbar navbar-expand navbar-dark navbar-lightblue">
|
||||
<nav class="navbar navbar-expand navbar-light">
|
||||
|
||||
<ul class="navbar-nav">
|
||||
|
||||
@@ -526,7 +529,7 @@
|
||||
|
||||
<div @yield('ticket') class="tab-pane" id="tab_ticket">
|
||||
|
||||
<nav class="navbar navbar-expand navbar-dark navbar-lightblue">
|
||||
<nav class="navbar navbar-expand navbar-light">
|
||||
|
||||
<ul class="navbar-nav">
|
||||
|
||||
@@ -557,7 +560,7 @@
|
||||
|
||||
<div @yield('tool') class="tab-pane" id="tab_tools">
|
||||
|
||||
<nav class="navbar navbar-expand navbar-dark navbar-lightblue">
|
||||
<nav class="navbar navbar-expand navbar-light">
|
||||
|
||||
<ul class="navbar-nav">
|
||||
|
||||
|
@@ -1,5 +1,20 @@
|
||||
@extends('themes.default1.client.layout.client')
|
||||
@section('content')
|
||||
@section('breadcrumb')
|
||||
<style>
|
||||
.words {
|
||||
margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
|
||||
}
|
||||
</style>
|
||||
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<li class="breadcrumb-item "> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a class="words" href="{!! URL::route('ticket') !!}">{!! Lang::get('lang.my_tickets') !!}</a></li>
|
||||
<li class="words"> > </li>
|
||||
<li><a class="words" href="{{url('#')}}">{!! Lang::get('lang.check_ticket') !!}</a></li>
|
||||
</ol>
|
||||
|
||||
@stop
|
||||
@section('content')
|
||||
<?php
|
||||
$tickets = App\Model\helpdesk\Ticket\Tickets::where('id', '=', \Crypt::decrypt($id))->first();
|
||||
$thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Crypt::decrypt($id))->first();
|
||||
@@ -40,15 +55,15 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
</style>
|
||||
|
||||
<div id="content" class="site-content col-sm-12">
|
||||
|
||||
|
||||
<article class="hentry">
|
||||
|
||||
|
||||
<header class="entry-header">
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-sm-9">
|
||||
|
||||
|
||||
<h3 class="entry-title"><i class="fas fa-ticket-alt"> </i> {{$thread->title}}
|
||||
|
||||
<small> ( {{$tickets->ticket_number}} ) </small>
|
||||
@@ -56,14 +71,14 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
</div>
|
||||
|
||||
<div class="col-sm-3 text-right">
|
||||
|
||||
@if( $common_setting->status == '1')
|
||||
|
||||
<div>
|
||||
|
||||
<button type="button" class="btn btn-light dropdown-toggle" data-toggle="dropdown">
|
||||
|
||||
<i class="fas fa-exchange-alt" style="color:teal;"> </i>
|
||||
@if( $common_setting->status == '1')
|
||||
|
||||
<div>
|
||||
|
||||
<button class="btn btn-light dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false" style="background-color: whitesmoke">
|
||||
|
||||
<i class="fas fa-exchange-alt" style="color:teal;"> </i>
|
||||
|
||||
{!! Lang::get('lang.change_status') !!}
|
||||
|
||||
@@ -93,18 +108,18 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-md-12 mb-1">
|
||||
|
||||
|
||||
<div class="ticketratings float-right">
|
||||
|
||||
|
||||
<table>
|
||||
|
||||
<tbody>
|
||||
<?php $ratings = App\Model\helpdesk\Ratings\Rating::orderby('display_order')->get(); ?>
|
||||
<form id="foo">
|
||||
{!! csrf_field() !!}
|
||||
@foreach($ratings as $rating)
|
||||
@foreach($ratings as $rating)
|
||||
|
||||
@if($rating->rating_area == 'Helpdesk Area')
|
||||
<?php
|
||||
@@ -117,21 +132,21 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
?>
|
||||
|
||||
<tr>
|
||||
|
||||
|
||||
<th><div class="ticketratingtitle">{!! $rating->name !!} </div></th> 
|
||||
|
||||
<td>
|
||||
|
||||
|
||||
<?php for ($i = 1; $i <= $rating->rating_scale; $i++) { ?>
|
||||
<input type="radio" class="star" id="star5" name="{!! $rating->name !!}" value="{!! $i !!}"<?php echo ($ratingval == $i) ? 'checked' : '' ?> />
|
||||
<?php } ?>
|
||||
</td>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -140,29 +155,29 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
<div class="entry-content clearfix">
|
||||
|
||||
<div class="col-md-12 offset-md-5" id="loader" style="display:none;">
|
||||
|
||||
|
||||
<img src="{{asset("lb-faveo/media/images/gifloader.gif")}}"><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
||||
</div>
|
||||
|
||||
<div id="refresh">
|
||||
<div>
|
||||
<div>
|
||||
<?php
|
||||
$priority = App\Model\helpdesk\Ticket\Ticket_Priority::where('priority_id', '=', $tickets->priority_id)->first();
|
||||
?>
|
||||
<div class="alert alert-secondary">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-3">
|
||||
<?php
|
||||
$sla = $tickets->sla;
|
||||
$SlaPlan = App\Model\helpdesk\Manage\Sla_plan::where('id', '=', $sla)->first();
|
||||
?>
|
||||
<b>{!! Lang::get('lang.sla_plan') !!}: {{$SlaPlan->grace_period}} </b>
|
||||
<b>{!! Lang::get('lang.sla_plan') !!}: {{$SlaPlan->grace_period}} </b>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-3">
|
||||
<b>{!! Lang::get('lang.created_date') !!}: </b> {{ UTC::usertimezone($tickets->created_at) }}
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<b>{!! Lang::get('lang.due_date') !!}: </b>
|
||||
<div class="col-md-3">
|
||||
<b>{!! Lang::get('lang.due_date') !!}: </b>
|
||||
<?php
|
||||
$time = $tickets->created_at;
|
||||
$time = date_create($time);
|
||||
@@ -175,34 +190,34 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
@foreach($response as $last)
|
||||
<?php $ResponseDate = $last->created_at; ?>
|
||||
@endforeach
|
||||
<b>{!! Lang::get('lang.last_response') !!}: </b> {{ UTC::usertimezone($ResponseDate)}}
|
||||
<b>{!! Lang::get('lang.last_response') !!}: </b> {{ UTC::usertimezone($ResponseDate)}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
<table class="table">
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td><b>{!! Lang::get('lang.status') !!}:</b></td>
|
||||
|
||||
|
||||
<td><b>{!! Lang::get('lang.status') !!}:</b></td>
|
||||
|
||||
<?php $status = App\Model\helpdesk\Ticket\Ticket_Status::where('id', '=', $tickets->status)->first(); ?>
|
||||
|
||||
@if($status->id == 1)
|
||||
|
||||
|
||||
<td title="{{$status->properties}}" style="color:orange">{{$status->name}}</td>
|
||||
|
||||
@elseif($status->id == 2)
|
||||
|
||||
|
||||
<td title="{{$status->properties}}" style="color:green">{{$status->name}}</td>
|
||||
|
||||
|
||||
@elseif($status->id == 3)
|
||||
|
||||
|
||||
<td title="{{$status->properties}}" style="color:green">{{$status->name}}</td>
|
||||
|
||||
@endif
|
||||
@@ -210,28 +225,28 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
|
||||
<tr>
|
||||
|
||||
<td><b>{!! Lang::get('lang.priority') !!}:</b></td>
|
||||
<td><b>{!! Lang::get('lang.priority') !!}:</b></td>
|
||||
|
||||
<?php $priority = App\Model\helpdesk\Ticket\Ticket_Priority::where('priority_id', '=', $tickets->priority_id)->first(); ?>
|
||||
|
||||
@if($priority->priority_id == 1)
|
||||
|
||||
|
||||
<td title="{{$priority->priority_desc}}" style="color:green">{{$priority->priority_desc}}</td>
|
||||
|
||||
|
||||
@elseif($priority->priority_id == 2)
|
||||
|
||||
|
||||
<td title="{{$priority->priority_desc}}" style="color:orange">{{$priority->priority_desc}}</td>
|
||||
|
||||
|
||||
@elseif($priority->priority_id == 3)
|
||||
|
||||
|
||||
<td title="{{$priority->priority_desc}}" style="color:red">{{$priority->priority_desc}}</td>
|
||||
|
||||
|
||||
@endif
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td><b>{!! Lang::get('lang.department') !!}:</b></td>
|
||||
<td><b>{!! Lang::get('lang.department') !!}:</b></td>
|
||||
<?php
|
||||
$help_topic = App\Model\helpdesk\Manage\Help_topic::where('id', '=', $tickets->help_topic_id)->first();
|
||||
$department = App\Model\helpdesk\Agent\Department::where('id', '=', $help_topic->department)->first();
|
||||
@@ -241,22 +256,22 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
<table class="table">
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td><b>{!! Lang::get('lang.help_topic') !!}:</b></td>
|
||||
<td><b>{!! Lang::get('lang.help_topic') !!}:</b></td>
|
||||
|
||||
<?php $help_topic = App\Model\helpdesk\Manage\Help_topic::where('id', '=', $tickets->help_topic_id)->first(); ?>
|
||||
|
||||
<td title="{{$help_topic->topic}}">{{$help_topic->topic}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td><b>{!! Lang::get('lang.last_message') !!}:</b></td>
|
||||
<td><b>{!! Lang::get('lang.last_message') !!}:</b></td>
|
||||
|
||||
<td>{{ucwords($last->poster)}}</td>
|
||||
</tr>
|
||||
@@ -265,7 +280,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
</div>
|
||||
</div>
|
||||
<div class="comments-area mb-0" id="comments">
|
||||
|
||||
|
||||
<?php
|
||||
$conversations = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $tickets->id)->where('is_internal', '=', 0)->paginate(10);
|
||||
$ij = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $tickets->id)->first();
|
||||
@@ -276,30 +291,30 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
?>
|
||||
|
||||
<ol class="comment-list" >
|
||||
|
||||
|
||||
<li class="comment">
|
||||
|
||||
|
||||
<article class="comment-body">
|
||||
|
||||
|
||||
<footer class="comment-meta"
|
||||
<?php if ($role->role == "user") { ?> style="background-color: hsla(100, 100%, 51%, 0.15)" <?php } else { ?> style="background-color:#FFFCB3" <?php } ?>
|
||||
>
|
||||
<?php if ($role->role == "user") { ?> style="background-color: hsla(100, 100%, 51%, 0.15)" <?php } else { ?> style="background-color:#FFFCB3" <?php } ?>
|
||||
>
|
||||
<div class="comment-author">
|
||||
|
||||
<img src="{{$role->profile_pic}}"alt="" height="50" width="50" class="avatar"
|
||||
<?php if ($role->role == "user") { ?>style="box-shadow: 0 1px 3px #00FF26;" <?php } else { ?> style="box-shadow: 0 1px 3px #FFEC00;" <?php } ?>
|
||||
<img src="{{$role->profile_pic}}"alt="" height="50" width="50" class="avatar"
|
||||
<?php if ($role->role == "user") { ?>style="box-shadow: 0 1px 3px #00FF26;" <?php } else { ?> style="box-shadow: 0 1px 3px #FFEC00;" <?php } ?>
|
||||
>
|
||||
@if($role->role == "user")
|
||||
<b class="fn"><a href="#" rel="external" class="url">{{$role->user_name}}</a></b>
|
||||
@else
|
||||
<b class="fn"><a href="#" rel="external" class="url">{{$role->first_name." ".$role->last_name}}</a></b>
|
||||
|
||||
<div class="ticketratings float-right" style="margin-top: -12px;">
|
||||
|
||||
|
||||
<div class="ticketratings float-right" style="margin-top: -12px;">
|
||||
|
||||
<table>
|
||||
|
||||
<tbody>
|
||||
@foreach($ratings as $rating)
|
||||
@foreach($ratings as $rating)
|
||||
@if($rating->rating_area == 'Comment Area')
|
||||
<?php
|
||||
$rating_value = App\Model\helpdesk\Ratings\RatingRef::where('rating_id', '=', $rating->id)->where('thread_id', '=', $conversation->id)->first();
|
||||
@@ -318,7 +333,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
<?php for ($i = 1; $i <= $rating->rating_scale; $i++) { ?>
|
||||
<input type="radio" class="star" id="star5" name="{!! $rating->name !!},{!! $conversation->id !!}" value="{!! $i !!}"<?php echo ($ratingval == $i) ? 'checked' : '' ?> />
|
||||
<?php } ?>
|
||||
</td>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@endif
|
||||
@@ -328,49 +343,51 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
</div>
|
||||
@endif
|
||||
</div><!-- .comment-author -->
|
||||
|
||||
|
||||
<div class="comment-metadata">
|
||||
|
||||
|
||||
<small class="date text-muted">
|
||||
|
||||
|
||||
<time datetime="2013-10-23T01:50:50+00:00"><i class="fa fa-clock-o"> </i> {{ UTC::usertimezone($conversation->created_at) }}</time>
|
||||
</small>
|
||||
</div><!-- .comment-metadata -->
|
||||
</footer><!-- .comment-meta -->
|
||||
|
||||
|
||||
<div class="comment-content">
|
||||
|
||||
|
||||
@if($conversation->firstContent()=='yes')
|
||||
<div class="embed-responsive{{$conversation->id}} embed-responsive-16by9 "></div>
|
||||
<script>
|
||||
setTimeout(function(){
|
||||
var $iframe="Id{{$conversation->id}}";
|
||||
$('<iframe src="about:blank" id='+$iframe+' class="iframe" frameborder="0" scrolling="no" width="100%" style="height:1px"></iframe>').appendTo(".embed-responsive{{$conversation->id}}");
|
||||
setTimeout(function(){
|
||||
$('#'+$iframe).contents().find('body').append('<body><style>body{display:inline-block;}</style>{!!$conversation->purify(true)!!}<body>');
|
||||
},100)
|
||||
setTimeout(function(){
|
||||
var frameid=document.getElementById($iframe);
|
||||
if(parseInt($("#"+$iframe).contents().find('img').css('width'))>700){
|
||||
$("#"+$iframe).contents().find('img').css('width','96%');
|
||||
}
|
||||
frameid.contentWindow.document.body.style.width="100%";
|
||||
var iframe_height=frameid.contentWindow.document.body.scrollHeight;
|
||||
frameid.style.height=iframe_height+"px";
|
||||
}, 1000);
|
||||
}, 0);
|
||||
</script>
|
||||
@else
|
||||
{!! $conversation->body !!}
|
||||
<div class="embed-responsive{{$conversation->id}} embed-responsive-16by9">
|
||||
<div class="reply">{!! $conversation->purify(true) !!}</div>
|
||||
</div>
|
||||
<script>
|
||||
setTimeout(function(){
|
||||
var $iframe = "Id{{$conversation->id}}";
|
||||
$('<iframe src="about:blank" id='+$iframe+' class="iframe" frameborder="0" scrolling="no" width="100%" style="height:1px"></iframe>').appendTo(".embed-responsive{{$conversation->id}}");
|
||||
setTimeout(function(){
|
||||
$('#'+$iframe).contents().find('body').append('<style>body{display:inline-block;}</style>');
|
||||
}, 100);
|
||||
setTimeout(function(){
|
||||
var frameid = document.getElementById($iframe);
|
||||
if(parseInt($("#"+$iframe).contents().find('img').css('width'))>700){
|
||||
$("#"+$iframe).contents().find('img').css('width','96%');
|
||||
}
|
||||
frameid.contentWindow.document.body.style.width="100%";
|
||||
var iframe_height = frameid.contentWindow.document.body.scrollHeight;
|
||||
frameid.style.height = iframe_height + "px";
|
||||
}, 1000);
|
||||
}, 0);
|
||||
</script>
|
||||
@else
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
@if($conversation->id == $ij->id)
|
||||
<?php $ticket_form_datas = App\Model\helpdesk\Ticket\Ticket_Form_Data::where('ticket_id', '=', $tickets->id)->get(); ?>
|
||||
@if(isset($ticket_form_datas))
|
||||
|
||||
<br/>
|
||||
<table class="table">
|
||||
|
||||
|
||||
<tbody>
|
||||
@foreach($ticket_form_datas as $ticket_form_data)
|
||||
<tr>
|
||||
@@ -384,7 +401,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
@endif
|
||||
</div><!-- .comment-content -->
|
||||
<br/><br/>
|
||||
|
||||
|
||||
<div class="timeline-footer">
|
||||
|
||||
@if(!$conversation->is_internal)
|
||||
@@ -430,7 +447,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
</ul>
|
||||
</div>
|
||||
</article><!-- .comment-body -->
|
||||
</li><!-- .comment -->
|
||||
</li><!-- .comment -->
|
||||
</ol>
|
||||
<?php
|
||||
?>
|
||||
@@ -438,7 +455,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
<?php }
|
||||
?>
|
||||
|
||||
<div class="float-right" style="margin-top:-30px;margin-bottom:-30px">
|
||||
<div class="float-right" style="margin-top:-25px;margin-bottom:-30px">
|
||||
<?php echo $conversations->setPath(route('check_ticket', ['id' => $id]))->render(); ?>
|
||||
</div>
|
||||
<br/><br/>
|
||||
@@ -460,28 +477,28 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
{{Session::get('fails1')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<?php $id2 = Crypt::decrypt($id); ?>
|
||||
|
||||
|
||||
<div id="respond" class="comment-respond form-border">
|
||||
|
||||
|
||||
<h3 id="reply-title" class="comment-reply-title section-title"><i class="line"></i>{!! Lang::get('lang.leave_a_reply') !!}</h3>
|
||||
@if(Auth::user())
|
||||
@if(Auth::user())
|
||||
{!! Form::open(['url'=>'post/reply/'.$id2.'#formabc']) !!}
|
||||
@else
|
||||
{!! Form::open(['url'=>'post-ticket-reply/'.$id.'#formabc']) !!}
|
||||
@endif
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group ">
|
||||
<textarea class="form-control" id="reply-input" name="comment" cols="30" rows="8"></textarea>
|
||||
<div class="form-group " style="background-color: white">
|
||||
<textarea class="form-control" id="reply-input" name="comment" cols="30" rows="8" ></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="text-right">
|
||||
|
||||
<button type="submit" onClick="return checkFunction();" class="btn btn-custom btn-lg">{!! Lang::get('lang.post_comment') !!}</button>
|
||||
|
||||
<button type="submit" onClick="return checkFunction();" class="btn btn-custom btn-lg" style="background-color: #009aba; hov: #00c0ef; color: #fff">{!! Lang::get('lang.post_comment') !!}</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
@@ -573,7 +590,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
event.preventDefault();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
$(function() {
|
||||
//Add text editor
|
||||
$("textarea").summernote({
|
||||
@@ -617,7 +634,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
|
||||
// link.click();
|
||||
// }
|
||||
// }, 500);
|
||||
// },2000);
|
||||
// },2000);
|
||||
}
|
||||
})
|
||||
return false;
|
||||
|
@@ -1,22 +1,22 @@
|
||||
@extends('themes.default1.client.layout.client')
|
||||
|
||||
@section('HeadInclude')
|
||||
|
||||
|
||||
@stop
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="site-hero clearfix">
|
||||
<ol class="breadcrumb breadcrumb-custom">
|
||||
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li>
|
||||
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a href="#">{!! Lang::get('lang.home') !!}</a></li>
|
||||
<li class="active">{!! Lang::get('lang.ticket_status') !!}</li>
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<?php
|
||||
$tickets = App\Model\helpdesk\Ticket\Tickets::where('id','=',\Crypt::decrypt($id))->first();
|
||||
@section('content')
|
||||
<?php
|
||||
$tickets = App\Model\helpdesk\Ticket\Tickets::where('id','=',\Crypt::decrypt($id))->first();
|
||||
$thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id','=',\Crypt::decrypt($id))->first();
|
||||
//$user = App\User::where('id','=',$id1)->first();?>
|
||||
|
||||
@@ -27,14 +27,14 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id','=',\Crypt:
|
||||
<div class="col-md-9">
|
||||
<section class="content-header"><h3 class="box-title"><i class="fa fa-user"> </i> {{$thread->title}} </h3> ( {{$tickets->ticket_number}} )
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="pull-right">
|
||||
<!-- <button type="button" class="btn btn-default"><i class="fa fa-edit" style="color:green;"> </i> Edit</button> -->
|
||||
<!-- <button type="button" class="btn btn-default"><i class="fa fa-edit" style="color:green;"> </i> Edit</button> -->
|
||||
{{-- <button type="button" class="btn btn-default"><i class="fa fa-print" style="color:blue;"> </i> {!! link_to_route('ticket.print','Print',[$tickets->id]) !!}</button> --}}
|
||||
<!-- </div> -->
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-exchange" style="color:teal;"> </i>
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-exchange" style="color:teal; background-color: white"> </i>
|
||||
{!! Lang::get('lang.change_status') !!} <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
@@ -49,7 +49,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id','=',\Crypt:
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="ticketratings pull-right">
|
||||
<div class="ticketratings pull-right">
|
||||
<table><tbody>
|
||||
<form id="foo">
|
||||
<tr>
|
||||
@@ -60,14 +60,14 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id','=',\Crypt:
|
||||
<input type="radio" class="star" id="star3" name="rating" value="3"<?php echo ($tickets->rating=='3')?'checked':'' ?>/>
|
||||
<input type="radio" class="star" id="star2" name="rating" value="4"<?php echo ($tickets->rating=='4')?'checked':'' ?>/>
|
||||
<input type="radio" class="star" id="star1" name="rating" value="5"<?php echo ($tickets->rating=='5')?'checked':'' ?> />
|
||||
</td>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</tbody> </table>
|
||||
</tbody> </table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="box-body" style="margin-bottom:-10px">
|
||||
<div class="row">
|
||||
@@ -81,24 +81,24 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id','=',\Crypt:
|
||||
</div>
|
||||
</div>
|
||||
<section class="content" id="refresh" style="margin-bottom:-10px;margin-top:-10px">
|
||||
<div class="col-md-12">
|
||||
<?php
|
||||
<div class="col-md-12">
|
||||
<?php
|
||||
$priority = App\Model\helpdesk\Ticket\Ticket_Priority::where('priority_id','=',$tickets->priority_id)->first();
|
||||
?>
|
||||
<div class="callout callout-default ">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-3">
|
||||
<?php
|
||||
$sla = $tickets->sla;
|
||||
$SlaPlan = App\Model\helpdesk\Manage\Sla_plan::where('id','=',1)->first();?>
|
||||
<b>{!! Lang::get('lang.sla_plan') !!}: {{$SlaPlan->grace_period}} </b>
|
||||
<b>{!! Lang::get('lang.sla_plan') !!}: {{$SlaPlan->grace_period}} </b>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-3">
|
||||
<b>{!! Lang::get('lang.created_date') !!}: </b> {{ UTC::usertimezone($tickets->created_at) }}
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<b>{!! Lang::get('lang.due_date') !!}: </b>
|
||||
<?php
|
||||
<div class="col-md-3">
|
||||
<b>{!! Lang::get('lang.due_date') !!}: </b>
|
||||
<?php
|
||||
$time = $tickets->created_at;
|
||||
$time = date_create($time);
|
||||
date_add($time, date_interval_create_from_date_string($SlaPlan->grace_period));
|
||||
@@ -110,12 +110,12 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id','=',\Crypt:
|
||||
@foreach($response as $last)
|
||||
<?php $ResponseDate = $last->created_at; ?>
|
||||
@endforeach
|
||||
<b>{!! Lang::get('lang.last_response') !!}: </b> {{ UTC::usertimezone($ResponseDate)}}
|
||||
<b>{!! Lang::get('lang.last_response') !!}: </b> {{ UTC::usertimezone($ResponseDate)}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<table class="table table-hover">
|
||||
<!-- <tr><th></th><th></th></tr> -->
|
||||
<tr><td><b>{!! Lang::get('lang.status') !!}:</b></td> <?php $status = App\Model\helpdesk\Ticket\Ticket_Status::where('id','=',$tickets->status)->first();?>
|
||||
@@ -139,8 +139,8 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id','=',\Crypt:
|
||||
@endif
|
||||
|
||||
</tr>
|
||||
<tr><td><b>{!! Lang::get('lang.department') !!}:</b></td>
|
||||
<?php
|
||||
<tr><td><b>{!! Lang::get('lang.department') !!}:</b></td>
|
||||
<?php
|
||||
$help_topic = App\Model\helpdesk\Manage\Help_topic::where('id','=',$tickets->help_topic_id)->first();
|
||||
$department = App\Model\helpdesk\Agent\Department::where('id', '=', $help_topic->department)->first();
|
||||
?>
|
||||
@@ -148,7 +148,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id','=',\Crypt:
|
||||
</table>
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-6">
|
||||
<!-- <div class="callout callout-success"> -->
|
||||
<table class="table table-hover">
|
||||
<!-- <tr><th></th><th></th></tr> -->
|
||||
@@ -157,7 +157,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id','=',\Crypt:
|
||||
</table>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
</section>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -186,11 +186,11 @@ foreach ($conversations as $conversation) {
|
||||
foreach($attachments as $attachment)
|
||||
{
|
||||
if($attachment->type == 'pdf') {
|
||||
|
||||
|
||||
} elseif($attachment->type == 'docx') {
|
||||
|
||||
|
||||
} else {
|
||||
$image = @imagecreatefromstring($attachment->file);
|
||||
$image = @imagecreatefromstring($attachment->file);
|
||||
ob_start();
|
||||
imagejpeg($image, null, 80);
|
||||
$data = ob_get_contents();
|
||||
@@ -198,7 +198,7 @@ foreach ($conversations as $conversation) {
|
||||
$var = '<img src="data:image/jpg;base64,' . base64_encode($data) . '" />';
|
||||
$body = str_replace($attachment->name, "data:image/jpg;base64," . base64_encode($data), $body);
|
||||
|
||||
$string = $body;
|
||||
$string = $body;
|
||||
$start = "<head>";
|
||||
$end = "</head>";
|
||||
if(strpos($string,$start) == false || strpos($string,$start) == false)
|
||||
@@ -216,9 +216,9 @@ foreach ($conversations as $conversation) {
|
||||
}
|
||||
}
|
||||
}
|
||||
$string = $body;
|
||||
$string = $body;
|
||||
$start = "<head>";
|
||||
$end = "</head>";
|
||||
$end = "</head>";
|
||||
if(strpos($string,$start) == false || strpos($string,$start) == false)
|
||||
{
|
||||
}
|
||||
@@ -235,7 +235,7 @@ foreach ($conversations as $conversation) {
|
||||
<ol class="comment-list" >
|
||||
<li class="comment">
|
||||
<article class="comment-body">
|
||||
<footer class="comment-meta"<?php if($role->role == "user") { ?> style="background-color: hsla(100, 100%, 51%, 0.15)" <?php } else { ?> style="background-color:#FFFCB3" <?php } ?> >
|
||||
<footer class="comment-meta"<?php if($role->role == "user") { ?> style="background-color: hsla(100, 100%, 51%, 0.15)" <?php } else { ?> style="background-color:#FFFCB3" <?php } ?> >
|
||||
<div class="comment-author">
|
||||
@if($role->profile_pic)
|
||||
<img src="{{asset('uploads/profilepic')}}{{'/'}}{{$role->profile_pic}}"alt="" height="50" width="50" class="avatar" <?php if($role->role == "user") { ?>style="box-shadow: 0 1px 3px #00FF26;" <?php } else { ?> style="box-shadow: 0 1px 3px #FFEC00;" <?php } ?> >
|
||||
@@ -250,14 +250,14 @@ foreach ($conversations as $conversation) {
|
||||
<form id="foo2">
|
||||
<tr>
|
||||
<th> <div class="ticketratingtitle">Reply rating </div></th> 
|
||||
<td>
|
||||
<td>
|
||||
<input type="radio" class="star" id="star5" name="rating2" value="1"<?php echo ($conversation->reply_rating=='1')?'checked':'' ?> />
|
||||
<input type="radio" class="star" id="star4" name="rating2" value="2"<?php echo ($conversation->reply_rating=='2')?'checked':'' ?> />
|
||||
<input type="radio" class="star" id="star3" name="rating2" value="3"<?php echo ($conversation->reply_rating=='3')?'checked':'' ?> />
|
||||
<input type="radio" class="star" id="star2" name="rating2" value="4"<?php echo ($conversation->reply_rating=='4')?'checked':'' ?> />
|
||||
<input type="radio" class="star" id="star1" name="rating2" value="5"<?php echo ($conversation->reply_rating=='5')?'checked':'' ?> />
|
||||
</td></tr></form></tbody></table></div>
|
||||
|
||||
|
||||
@endif
|
||||
</div><!-- .comment-author -->
|
||||
<div class="comment-metadata">
|
||||
@@ -270,13 +270,13 @@ foreach ($conversations as $conversation) {
|
||||
<p>{!! $body !!}</p>
|
||||
</div><!-- .comment-content -->
|
||||
<div class="timeline-footer" style="margin-bottom:-5px">
|
||||
<?php
|
||||
<?php
|
||||
$attachments = App\Model\helpdesk\Ticket\Ticket_attachments::where('thread_id','=',$conversation->id)->get();
|
||||
$i = 0;
|
||||
foreach($attachments as $attachment) {
|
||||
if($attachment->poster == 'ATTACHMENT') {
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
if($i>0)
|
||||
{
|
||||
@@ -293,12 +293,12 @@ foreach ($conversations as $conversation) {
|
||||
$power = $size > 0 ? floor(log($size, 1024)) : 0;
|
||||
$value = number_format($size / pow(1024, $power), 2, '.', ',') . ' ' . $units[$power];
|
||||
|
||||
|
||||
|
||||
if($attachment->poster == 'ATTACHMENT')
|
||||
{
|
||||
if($attachment->type == 'jpg'||$attachment->type == 'JPG'||$attachment->type == 'jpeg'||$attachment->type == 'JPEG'||$attachment->type == 'png'||$attachment->type == 'PNG'||$attachment->type == 'gif'||$attachment->type == 'GIF')
|
||||
{
|
||||
$image = @imagecreatefromstring($attachment->file);
|
||||
$image = @imagecreatefromstring($attachment->file);
|
||||
ob_start();
|
||||
imagejpeg($image, null, 80);
|
||||
$data = ob_get_contents();
|
||||
@@ -311,22 +311,22 @@ foreach ($conversations as $conversation) {
|
||||
else
|
||||
{
|
||||
$var = '<a style="max-width:200px;height:133px;color:#666;" href="'.URL::route('image', ['image_id' => $attachment->id]).'" target="_blank"><span class="mailbox-attachment-icon" style="background-color:#fff;">'.strtoupper($attachment->type).'</span><div class="mailbox-attachment-info"><span ><b style="word-wrap: break-word;">'.$attachment->name.'</b><br/><p>'.$value.'</p></span></div></a>';
|
||||
echo '<li style="background-color:#f4f4f4;">'.$var.'</li>';
|
||||
}
|
||||
echo '<li style="background-color:#f4f4f4;">'.$var.'</li>';
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</article><!-- .comment-body -->
|
||||
</li><!-- .comment -->
|
||||
</li><!-- .comment -->
|
||||
</ol>
|
||||
|
||||
<?php
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?php }
|
||||
?>
|
||||
<div class="pull-right" style="margin-top:-30px;margin-bottom:-30px">
|
||||
@@ -353,7 +353,7 @@ foreach ($conversations as $conversation) {
|
||||
<?php $id2 = Crypt::decrypt($id); ?>
|
||||
<div id="respond" class="comment-respond form-border">
|
||||
<h3 id="reply-title" class="comment-reply-title section-title"><i class="line"></i>{!! Lang::get('lang.leave_a_reply') !!}</h3>
|
||||
@if(Auth::user())
|
||||
@if(Auth::user())
|
||||
{!! Form::open(['url'=>'post/reply/'.$id2.'#formabc']) !!}
|
||||
@else
|
||||
{!! Form::open(['url'=>'post-ticket-reply/'.$id.'#formabc']) !!}
|
||||
@@ -364,7 +364,7 @@ foreach ($conversations as $conversation) {
|
||||
<div class="form-group ">
|
||||
<textarea class="form-control" name="comment" cols="30" rows="8"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
@@ -375,19 +375,19 @@ foreach ($conversations as $conversation) {
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var Data = $('input[name="rating"]:checked').val();
|
||||
var Data2 = $('input[name="rating2"]:checked').val();
|
||||
if (Data) {
|
||||
$('input[name=rating]').rating('readOnly');
|
||||
jQuery('.star').attr('disabled', true);
|
||||
|
||||
|
||||
}
|
||||
$('input[name=rating]').change(function() {
|
||||
$('input[name=rating]').change(function() {
|
||||
$('#foo').submit();
|
||||
});
|
||||
$('input[name=rating2]').change(function() {
|
||||
$('input[name=rating2]').change(function() {
|
||||
$('#foo2').submit();
|
||||
});
|
||||
// process the form
|
||||
@@ -396,7 +396,7 @@ $('#foo2').submit();
|
||||
// get the form data
|
||||
// there are many ways to get this data using jQuery (you can use the class or id also)
|
||||
var formData = $('input[name="rating"]:checked').val();
|
||||
|
||||
|
||||
//$('#foo').serialize();
|
||||
// process the form
|
||||
$.ajax({
|
||||
@@ -404,14 +404,14 @@ $('#foo2').submit();
|
||||
url : '../rating/'+<?php echo $tickets->id ?>+'/'+formData, // the url where we want to POST
|
||||
data : formData, // our data object
|
||||
dataType : 'json', // what type of data do we expect back from the server
|
||||
|
||||
success : function() {
|
||||
|
||||
|
||||
success : function() {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// using the done promise callback
|
||||
|
||||
|
||||
// stop the form from submitting the normal way and refreshing the page
|
||||
event.preventDefault();
|
||||
});
|
||||
@@ -428,14 +428,14 @@ $('#foo2').submit();
|
||||
url : '../rating2/'+<?php echo $thread->id ?>+'/'+formData, // the url where we want to POST
|
||||
data : formData, // our data object
|
||||
dataType : 'json', // what type of data do we expect back from the server
|
||||
|
||||
success : function() {
|
||||
|
||||
|
||||
success : function() {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// using the done promise callback
|
||||
|
||||
|
||||
// stop the form from submitting the normal way and refreshing the page
|
||||
event.preventDefault();
|
||||
});
|
||||
@@ -473,7 +473,7 @@ $('#foo2').submit();
|
||||
// link.click();
|
||||
// }
|
||||
// }, 500);
|
||||
// },2000);
|
||||
// },2000);
|
||||
}
|
||||
})
|
||||
return false;
|
||||
@@ -503,7 +503,7 @@ $('#foo2').submit();
|
||||
link.click();
|
||||
}
|
||||
}, 500);
|
||||
},2000);
|
||||
},2000);
|
||||
}
|
||||
})
|
||||
return false;
|
||||
@@ -526,7 +526,7 @@ $('#foo2').submit();
|
||||
var message = "Success! Your Ticket have been Opened";
|
||||
$("#alert11").show();
|
||||
$('#message-success1').html(message);
|
||||
setInterval(function(){$("#alert11").hide(); },4000);
|
||||
setInterval(function(){$("#alert11").hide(); },4000);
|
||||
|
||||
}
|
||||
})
|
||||
@@ -543,8 +543,7 @@ $('#foo2').submit();
|
||||
|
||||
@stop
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -9,9 +9,17 @@ class = "nav-item active"
|
||||
@stop
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumb')
|
||||
<div class="site-hero clearfix">
|
||||
<ol class="breadcrumb breadcrumb-custom">
|
||||
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li>
|
||||
{{--<div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<style>
|
||||
.words {
|
||||
margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
|
||||
}
|
||||
</style>
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a class="words" href="{{url('/')}}">{!! Lang::get('lang.home') !!}</a></li>
|
||||
<li class="words" style="margin-right: 10px">></li>
|
||||
|
||||
<li><a href="{!! URL::route('form') !!}">{!! Lang::get('lang.submit_a_ticket') !!}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -46,10 +54,12 @@ class = "nav-item active"
|
||||
<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::text('email_address',null,['class' => 'form-control form-group']) !!}
|
||||
{!! 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::text('ticket_number',null,['class' => 'form-control form-group']) !!}
|
||||
<button type="submit" class="btn btn-info" style=" background-color: #337ab7 !important; border-color: #337ab7 !important; color: white">
|
||||
<i class="fas fa-save"></i> {!! Lang::get('lang.check_ticket_status') !!}
|
||||
</button>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</section>
|
||||
@@ -97,32 +107,32 @@ class = "nav-item active"
|
||||
<article class="hentry">
|
||||
|
||||
<div id="form-border" class="comment-respond form-border" style="background : #fff">
|
||||
|
||||
|
||||
<section id="section-categories">
|
||||
|
||||
|
||||
<h2 class="section-title h4 clearfix mb-0">
|
||||
|
||||
<i class="line"></i>{!! Lang::get('lang.submit_a_ticket') !!}
|
||||
<i class="line" style="border-color: rgb(0, 154, 186);"></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
|
||||
|
||||
|
||||
@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')) !!}
|
||||
@@ -134,7 +144,7 @@ class = "nav-item active"
|
||||
@endif
|
||||
|
||||
@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')
|
||||
@@ -154,37 +164,37 @@ class = "nav-item active"
|
||||
{!! Form::label('Phone',Lang::get('lang.phone')) !!}
|
||||
{!! Form::text('Phone',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
@else
|
||||
@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')) !!}
|
||||
{!! 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();
|
||||
<?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)
|
||||
|
||||
|
||||
<div class="col-md-12 form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
@@ -215,14 +225,13 @@ class = "nav-item active"
|
||||
<?php \Illuminate\Support\Facades\Event::dispatch(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 class="col-md-12 form-group">
|
||||
{!! Form::button('<i class="fas fa-save"></i> ' . Lang::get('lang.submit'), ['type'=>'submit', 'class'=>'btn btn-info float-right', 'style'=>'background-color: #337ab7 !important; border-color: #337ab7 !important; color: white;', 'onclick' => 'this.disabled=true;this.innerHTML="Sending, please wait...";this.form.submit();', 'data-v-fce8d630']) !!}
|
||||
</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() !!}
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
@@ -16,19 +16,19 @@
|
||||
<h3 class="banner-title text-info h4">Have a Ticket?</h3>
|
||||
<div class="banner-content">
|
||||
{!! Form::open(['url' => 'checkmyticket' , 'method' => 'POST'] )!!}
|
||||
|
||||
|
||||
{!! Form::label('email',Lang::get('lang.email')) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('email',null,['class' => 'form-control']) !!}
|
||||
|
||||
|
||||
{!! Form::label('ticket_number',Lang::get('lang.ticket_number'),['style' => 'display: block']) !!}
|
||||
{!! $errors->first('ticket_number', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('ticket_number',null,['class' => 'form-control']) !!}
|
||||
<br/><input type="submit" value="Check Ticket Status" class="btn btn-info">
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
@@ -77,20 +77,20 @@
|
||||
@endif
|
||||
|
||||
<div class="form-group {{ $errors->has('help_topic') ? 'has-error' : '' }}">
|
||||
{!! Form::label('help_topic', 'Choose a Help Topic') !!}
|
||||
{!! $errors->first('help_topic', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::label('help_topic', 'Choose a Help Topic') !!}
|
||||
{!! $errors->first('help_topic', '<spam class="help-block">:message</spam>') !!}
|
||||
<select name="help_topic" class="form-control" id="selectid">
|
||||
<option>--Select--</option>
|
||||
<option value="1">Default Help Topic</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- <label>data</label> -->
|
||||
<!-- <input name="stack" id="stack"/> -->
|
||||
|
||||
<div id="ss" class="xs-md-6 form-group {{ $errors->has('') ? 'has-error' : '' }}">
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -103,9 +103,9 @@
|
||||
-->
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function() {
|
||||
|
||||
|
||||
$('select').on('change', function (e) {
|
||||
|
||||
|
||||
var value = $('#selectid').val();
|
||||
var select = $('#selectid');
|
||||
var $_token = $('#token').val();
|
||||
@@ -113,12 +113,12 @@ jQuery(document).ready(function() {
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
headers : { 'X-XSRF-TOKEN' : $_token },
|
||||
url : "postform/"+ value,
|
||||
url : "postform/"+ value,
|
||||
dataType : 'html',
|
||||
data : ({data2:data1}) ,
|
||||
|
||||
|
||||
success : function(response) {
|
||||
|
||||
|
||||
var data = response;
|
||||
var splited = data.split(',').slice(1);
|
||||
$.each(splited, function (index, value)
|
||||
@@ -134,15 +134,15 @@ jQuery(document).ready(function() {
|
||||
+"<textarea id="+sli[1]+" class="+
|
||||
'form-control'+" name="+sli[1]+"/></textarea>"+"</div>");
|
||||
var wysihtml5Editor = $('textarea').wysihtml5().data("wysihtml5").editor;
|
||||
} else {
|
||||
} else {
|
||||
$("#ss").append(sli[1]+"<div class="+'"form-group"'+">"
|
||||
+"<input type="+sli[0]+" id="+sli[1]+" class="+
|
||||
'form-control'+" name="+sli[1]+">"+"</div>");
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
return false;
|
||||
});
|
||||
|
@@ -14,12 +14,13 @@
|
||||
<!-- 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>
|
||||
{{-- <div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
|
||||
<li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.home') !!}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
{{-- </div>--}}
|
||||
@stop
|
||||
@section('content')
|
||||
@if(!Session::has('error') && count($errors)>0)
|
||||
@@ -34,6 +35,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div id="content" class="site-content col-md-12">
|
||||
<div id="corewidgetbox" class="wid">
|
||||
<div id="wbox" class="widgetrow text-center">
|
||||
|
@@ -7,7 +7,14 @@ My Tickets -
|
||||
@section('myticket')
|
||||
class="nav-item active"
|
||||
@stop
|
||||
@section('breadcrumb')
|
||||
{{--<div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a href="{!! URL::route('ticket') !!}">{!! Lang::get('lang.my_tickets') !!}</a></li>
|
||||
</ol>
|
||||
|
||||
@stop
|
||||
@section('content')
|
||||
<style type="text/css">
|
||||
.table th {
|
||||
@@ -20,21 +27,21 @@ class="nav-item active"
|
||||
$open = App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', Auth::user()->id)
|
||||
->where('status', '=', 1)
|
||||
->orderBy('id', 'DESC')
|
||||
->paginate(20);
|
||||
->paginate(10);
|
||||
?>
|
||||
<?php
|
||||
$close = App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', Auth::user()->id)
|
||||
->whereIn('status', [2, 3])
|
||||
->orderBy('id', 'DESC')
|
||||
->paginate(20);
|
||||
->paginate(10);
|
||||
?>
|
||||
<div class="nav-tabs-custom">
|
||||
|
||||
<ul class="nav nav-tabs">
|
||||
|
||||
<li class="nav-item">
|
||||
|
||||
<a style="cursor: pointer;" class="nav-link text-dark active" href="#tab_1" data-toggle="tab">
|
||||
|
||||
<a style="cursor: pointer;" class="nav-link text-dark active" id="tab_1-tab" data-bs-toggle="pill" href="#tab_1">
|
||||
|
||||
<b>{!! Lang::get('lang.opened') !!}</b>
|
||||
|
||||
@@ -44,8 +51,8 @@ class="nav-item active"
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
|
||||
<a style="cursor: pointer;" class="nav-link text-dark" href="#tab_2" data-toggle="tab">
|
||||
|
||||
<a class="nav-link" id="tab_2-tab" data-bs-toggle="pill" href="#tab_2" style="color: #343a40!important">
|
||||
|
||||
<b>{!! Lang::get('lang.closed') !!}</b>
|
||||
|
||||
@@ -60,9 +67,9 @@ class="nav-item active"
|
||||
{!! Form::open(['route'=>'select_all','method'=>'post']) !!}
|
||||
<div class="mailbox-controls mt-3">
|
||||
<!-- Check all button -->
|
||||
<a class="btn btn-light btn-sm checkbox-toggle"><i class="far fa-square"></i></a>
|
||||
<a class="btn btn-light btn-sm" id="click1"><i class="fas fa-sync"></i></a>
|
||||
<input type="submit" class="btn btn-light text-warning btn-sm" name="submit" value="{!! Lang::get('lang.close') !!}">
|
||||
<a class="btn btn-light btn-sm checkbox-toggle" style="background-color: whitesmoke"><i class="far fa-square"></i></a>
|
||||
<a class="btn btn-light btn-sm" id="click1" style="background-color: whitesmoke"><i class="fas fa-sync"></i></a>
|
||||
<input type="submit" class="btn btn-light text-warning btn-sm" name="submit" value="{!! Lang::get('lang.close') !!}"style="color: #F39C12;background-color: whitesmoke">
|
||||
<div class="float-right" id="refresh21">
|
||||
{!! $open->count().'-'.$open->total(); !!}
|
||||
</div>
|
||||
@@ -149,9 +156,9 @@ class="nav-item active"
|
||||
{!! Form::open(['route'=>'select_all','method'=>'post']) !!}
|
||||
<div class="mailbox-controls mt-3">
|
||||
<!-- Check all button -->
|
||||
<a class="btn btn-light btn-sm checkbox-toggle"><i class="far fa-square"></i></a>
|
||||
<a class="btn btn-light btn-sm" id="click2"><i class="fas fa-sync"></i></a>
|
||||
<input type="submit" class="btn btn-light text-primary btn-sm" name="submit" value="{!! Lang::get('lang.open') !!}">
|
||||
<a class="btn btn-light btn-sm checkbox-toggle" style="background-color: whitesmoke"><i class="far fa-square" ></i></a>
|
||||
<a class="btn btn-light btn-sm" id="click2" style="background-color: whitesmoke"><i class="fas fa-sync"></i></a>
|
||||
<input type="submit" class="btn btn-light text-primary btn-sm" name="submit" value="{!! Lang::get('lang.open') !!}" style="background-color: whitesmoke">
|
||||
<div class="float-right" id="refresh22">
|
||||
{!! $close->count().'-'.$close->total(); !!}
|
||||
</div>
|
||||
|
@@ -3,7 +3,14 @@
|
||||
@section('profile')
|
||||
class="nav-item active"
|
||||
@stop
|
||||
@section('breadcrumb')
|
||||
{{--<div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a href="{!! URL::route('client.profile') !!}">{!! Lang::get('lang.my_profile') !!}</a></li>
|
||||
</ol>
|
||||
|
||||
@stop
|
||||
@section('content')
|
||||
|
||||
<div id="content" class="site-content col-md-12">
|
||||
@@ -11,12 +18,12 @@ class="nav-item active"
|
||||
<article class="henry">
|
||||
|
||||
<header class="entry-header">
|
||||
|
||||
|
||||
<h2 class="entry-title">{!! Lang::get('lang.profile_settings') !!}</h2>
|
||||
</header>
|
||||
|
||||
<div class="entry-content clearfix">
|
||||
|
||||
|
||||
@if(Session::has('success1'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
@@ -62,32 +69,32 @@ class="nav-item active"
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
|
||||
{!! Form::model($user,['url'=>'client-profile-edit', 'id' => 'client-profile', 'method' => 'PATCH','files'=>true]) !!}
|
||||
|
||||
<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.profile') !!}
|
||||
<i class="line" style="border-color: rgb(0, 154, 186);"></i>{!! Lang::get('lang.profile') !!}
|
||||
</h2>
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<div class="form-group {{ $errors->has('first_name') ? 'has-error' : '' }}">
|
||||
<!-- first name -->
|
||||
{!! Form::label('first_name',Lang::get('lang.first_name')) !!}<span class="text-red"> *</span>
|
||||
|
||||
|
||||
{!! Form::text('first_name',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('last_name') ? 'has-error' : '' }}">
|
||||
<!-- last name -->
|
||||
{!! Form::label('last_name',Lang::get('lang.last_name')) !!}
|
||||
|
||||
|
||||
{!! Form::text('last_name',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@@ -112,7 +119,7 @@ class="nav-item active"
|
||||
<div class="form-group {{ $errors->has('company') ? 'has-error' : '' }}">
|
||||
<!-- company -->
|
||||
{!! Form::label('company',Lang::get('lang.company')) !!}
|
||||
|
||||
|
||||
{!! Form::text('company',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -121,30 +128,30 @@ class="nav-item active"
|
||||
{!! Form::label('country_code',Lang::get('lang.country-code')) !!}
|
||||
{!! Form::text('country_code',null,['class' => 'form-control', 'placeholder' => $phonecode, 'title' => Lang::get('lang.enter-country-phone-code'), 'id' => 'code']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2 form-group {{ $errors->has('ext') ? 'has-error' : '' }}">
|
||||
<!-- phone extensionn -->
|
||||
{!! Form::label('ext',Lang::get('lang.ext')) !!}
|
||||
|
||||
|
||||
{!! Form::text('ext',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="col-sm-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']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
<!-- mobile -->
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}
|
||||
|
||||
|
||||
{!! Form::input('number', 'mobile',null,['class' => 'form-control', 'id' => 'mobile']) !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('profile_pic') ? 'has-error' : '' }}">
|
||||
<!-- profile pic -->
|
||||
{!! Form::label('profile_pic',Lang::get('lang.profile_pic')) !!}
|
||||
|
||||
|
||||
{!! Form::file('profile_pic') !!}
|
||||
</div>
|
||||
|
||||
@@ -152,22 +159,24 @@ class="nav-item active"
|
||||
{!! Form::close() !!}
|
||||
|
||||
<div class="form-group" style="padding-bottom: 10px;">
|
||||
|
||||
{!! Form::submit(Lang::get('lang.update'),['class'=>'btn btn-primary float-right'])!!}
|
||||
</div>
|
||||
|
||||
|
||||
<button type="submit" class="btn btn-primary float-right" style="background-color: #337ab7 !important; border-color: #337ab7 !important; color: white;">
|
||||
<i class="fas fa-sync"></i> {{ Lang::get('lang.update') }}
|
||||
</button> </div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
|
||||
{!! Form::model($user,['url'=>'client-profile-password' , 'method' => 'PATCH']) !!}
|
||||
|
||||
<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.change_password') !!}
|
||||
@@ -177,26 +186,28 @@ class="nav-item active"
|
||||
{!! Form::label('old_password',Lang::get('lang.old_password')) !!}<span class="text-red"> *</span>
|
||||
<div class="form-group has-feedback {{ $errors->has('old_password') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
||||
{!! Form::password('old_password',['class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
<span class="fa fa-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d !important;"></span> <!--change the "glyphicon glyphicon-lock form-control-feedback" to "fa fa-lock form-control-feedback" bcoz bs5 has removed the Glyphicons icon font that was included in earlier versions of Bootstrap-->
|
||||
</div>
|
||||
<!-- new password -->
|
||||
{!! Form::label('new_password',Lang::get('lang.new_password')) !!}<span class="text-red"> *</span>
|
||||
<div class="form-group has-feedback {{ $errors->has('new_password') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
||||
{!! Form::password('new_password',['class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
<span class="fa fa-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d !important;"></span>
|
||||
</div>
|
||||
<!-- cofirm password -->
|
||||
{!! Form::label('confirm_password',Lang::get('lang.confirm_password')) !!}<span class="text-red"> *</span>
|
||||
<div class="form-group has-feedback {{ $errors->has('confirm_password') ? 'has-error' : '' }}" style="display: -webkit-box;">
|
||||
{!! Form::password('confirm_password',['class' => 'form-control']) !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
|
||||
<span class="fa fa-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d !important;"></span>
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
<div class="form-group" style="padding-bottom: 10px;">
|
||||
|
||||
{!! Form::submit(Lang::get('lang.update'),['class'=>'btn btn-primary float-right'])!!}
|
||||
|
||||
<button type="submit" class="btn btn-primary float-right" style="background-color: #337ab7 !important; border-color: #337ab7 !important; color: white;">
|
||||
<i class="fas fa-sync"></i> {{ Lang::get('lang.update') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -212,7 +223,7 @@ class="nav-item active"
|
||||
<div class="col-md-12" style="height:40%">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<span style="font-size:1.2em">{{Lang::get('lang.verify-number')}}</span>
|
||||
<span style="font-size:1.2em">{{Lang::get('lang.verify-number')}}</span>
|
||||
<button type="button" class="close closemodal" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@@ -270,8 +281,8 @@ class="nav-item active"
|
||||
if (mobile !== old_mobile) {
|
||||
e.preventDefault();
|
||||
$('#last-modal').css('display', 'block');
|
||||
$.ajax({
|
||||
url: '{{URL::route("client-verify-number")}}',
|
||||
$.ajax({
|
||||
url: '{{URL::route("client-verify-number")}}',
|
||||
type: 'POST', // performing a POST request
|
||||
data : {
|
||||
mobile : mobile,
|
||||
@@ -279,7 +290,7 @@ class="nav-item active"
|
||||
email: email,
|
||||
code: code// will be accessible in $_POST['data1']
|
||||
},
|
||||
dataType: 'json',
|
||||
dataType: 'json',
|
||||
beforeSend: function() {
|
||||
$('#loader2').css('display', 'block');
|
||||
$('#verify-number-form').css('display', 'none');
|
||||
|
@@ -356,7 +356,7 @@ foreach ($conversations as $conversation) {
|
||||
@endif
|
||||
<?php $id2 = $tickets->id; ?>
|
||||
<div id="respond" class="comment-respond form-border">
|
||||
<h3 id="reply-title" class="comment-reply-title section-title"><i class="line"></i>{!! Lang::get('lang.leave_a_reply') !!}</h3>
|
||||
<h3 id="reply-title" class="comment-reply-title section-title"><i class="line" style="border-color: rgb(0, 154, 186);"></i>{!! Lang::get('lang.leave_a_reply') !!}</h3>
|
||||
{!! Form::open(['url'=>'post-ticket-reply/'.$tickets->id.'#formabc']) !!}
|
||||
<div class="row">
|
||||
<div class="form-group">
|
||||
|
58
resources/views/themes/default1/client/kb/article-list/articles.blade.php
Normal file → Executable file
58
resources/views/themes/default1/client/kb/article-list/articles.blade.php
Normal file → Executable file
@@ -7,47 +7,61 @@
|
||||
@section('kb')
|
||||
class = "nav-item active"
|
||||
@stop
|
||||
@section('breadcrumb')
|
||||
{{--<div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<style>
|
||||
.words {
|
||||
margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
|
||||
}
|
||||
</style>
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a class="words" href="{!! URL::route('home') !!}">{!! Lang::get('lang.knowledge_base') !!}</a></li>
|
||||
<li class="words">></li>
|
||||
<li><a href="{!! URL::route('article-list') !!}">{!! Lang::get('lang.article_list') !!}</a></li>
|
||||
</ol>
|
||||
|
||||
@stop
|
||||
@section('content')
|
||||
|
||||
<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>
|
||||
</header>
|
||||
|
||||
<?php $str = $arti->description; ?>
|
||||
<?php $excerpt = App\Http\Controllers\Client\kb\UserController::getExcerpt($str, $startPos = 0, $maxLength = 200); ?>
|
||||
|
||||
<?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>
|
||||
</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 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>
|
||||
</footer>
|
||||
</article>
|
||||
@endforeach
|
||||
|
||||
@@ -63,20 +77,20 @@
|
||||
<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') !!}
|
||||
|
||||
<b> <i class="line" style="border-color: rgb(0, 154, 186);"></i>{!! Lang::get('lang.categories') !!}</b>
|
||||
|
||||
<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();
|
||||
@@ -85,9 +99,9 @@
|
||||
?>
|
||||
|
||||
<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}}
|
||||
|
@@ -8,6 +8,24 @@
|
||||
@section('kb')
|
||||
class = "nav-item active"
|
||||
@stop
|
||||
@section('breadcrumb')
|
||||
{{-- <div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<style>
|
||||
.words {
|
||||
margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
|
||||
}
|
||||
</style>
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a class="words" href="{!! URL::route('home') !!}">{!! Lang::get('lang.knowledge_base') !!}</a></li>
|
||||
<li class="words">></li>
|
||||
<li><a class="words" href="{!! URL::route('category-list') !!}">{!! Lang::get('lang.category') !!}</a></li>
|
||||
<li class="words">></li>
|
||||
<li><a class="words"href="{!! URL::route('category-list') !!}">{!! Lang::get('lang.category_list') !!}</a></li>
|
||||
|
||||
</ol>
|
||||
{{-- </div>--}}
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<div id="content" class="site-content col-md-9">
|
||||
@@ -30,11 +48,11 @@ class = "nav-item active"
|
||||
@forelse($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>
|
||||
@@ -45,7 +63,7 @@ class = "nav-item active"
|
||||
<?php $excerpt = App\Http\Controllers\Client\kb\UserController::getExcerpt($str, $startPos = 0, $maxLength = 400); ?>
|
||||
|
||||
<blockquote class="blockquote archive-description" id="block" style="margin-bottom: 10px; margin-top: 10px;">
|
||||
|
||||
|
||||
<?php $content = trim(preg_replace("/<img[^>]+\>/i", "", $excerpt), " \t.") ?>
|
||||
<p>{!! strip_tags($content) !!}</p>
|
||||
|
||||
@@ -53,15 +71,15 @@ class = "nav-item active"
|
||||
</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 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>
|
||||
</footer>
|
||||
</article>
|
||||
@empty
|
||||
<p>No articles available</p>
|
||||
@@ -91,20 +109,18 @@ class = "nav-item active"
|
||||
<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') !!}
|
||||
|
||||
<b> <i class="line" style="border-color: rgb(0, 154, 186);"></i>{!! Lang::get('lang.categories') !!}</b>
|
||||
<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();
|
||||
@@ -113,9 +129,9 @@ class = "nav-item active"
|
||||
?>
|
||||
|
||||
<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}}
|
||||
|
@@ -8,10 +8,25 @@ Category List -
|
||||
class = "nav-item active"
|
||||
@stop
|
||||
|
||||
@section('breadcrumb')
|
||||
{{-- <div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<style>
|
||||
.words {
|
||||
margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
|
||||
}
|
||||
</style>
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a class="words" href="{!! URL::route('home') !!}">{!! Lang::get('lang.knowledge_base') !!}</a></li>
|
||||
<li class="words">></li>
|
||||
<li><a href="{!! URL::route('category-list') !!}">{!! Lang::get('lang.category') !!}</a></li>
|
||||
</ol>
|
||||
{{-- </div>--}}
|
||||
@stop
|
||||
@section('content')
|
||||
|
||||
<div id="content" class="site-content col-md-12">
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
@foreach($categorys as $category)
|
||||
@@ -24,18 +39,17 @@ class = "nav-item active"
|
||||
?>
|
||||
|
||||
<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>
|
||||
|
||||
@@ -54,25 +68,26 @@ class = "nav-item active"
|
||||
?>
|
||||
@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>
|
||||
{{-- <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>
|
||||
<p class="more-link text-center"><a href="{{url('category-list/'.$category->slug)}}" class="btn btn-custom btn-sm" style="background-color: #009aba; hov: #00c0ef; color: #fff ">{!! Lang::get('lang.view_all') !!}</a></p>
|
||||
</section>
|
||||
</div>
|
||||
@endforeach
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- end of page content -->
|
||||
@stop
|
||||
|
59
resources/views/themes/default1/client/kb/article-list/home.blade.php
Normal file → Executable file
59
resources/views/themes/default1/client/kb/article-list/home.blade.php
Normal file → Executable file
@@ -3,7 +3,14 @@
|
||||
@section('title')
|
||||
Knowledge Base -
|
||||
@stop
|
||||
@section('breadcrumb')
|
||||
{{--<div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a href="{!! URL::route('home') !!}">{!! Lang::get('lang.knowledge_base') !!}</a></li>
|
||||
</ol>
|
||||
|
||||
@stop
|
||||
@section('kb')
|
||||
class = "nav-item active"
|
||||
@stop
|
||||
@@ -43,18 +50,18 @@ class = "nav-item active"
|
||||
<div class="col-md-6">
|
||||
|
||||
<section class="box-categories">
|
||||
|
||||
|
||||
<h1 class="section-title h4 clearfix">
|
||||
|
||||
<i class="line"></i>
|
||||
|
||||
<i class="line" style="border-color: rgb(0, 154, 186);"></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>
|
||||
|
||||
@@ -81,38 +88,38 @@ class = "nav-item active"
|
||||
?>
|
||||
@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>
|
||||
{{-- <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>
|
||||
<p class="more-link text-center"><a href="{{url('category-list/'.$category->slug)}}" class="btn btn-custom btn-sm" style="background-color: #009aba; hov: #00c0ef; color: #fff ">{!! Lang::get('lang.view_all') !!}</a></p>
|
||||
</section>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<section class="section">
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
<p><a style="background-color: #009aba; hov: #00c0ef; color: #fff " href="{!! URL::route('form') !!}" class="btn btn-custom">{!! Lang::get('lang.submit_a_ticket') !!}</a></p>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -123,20 +130,20 @@ class = "nav-item active"
|
||||
<div id="sidebar" class="site-sidebar col-md-3">
|
||||
|
||||
<div class="col-sm-12">
|
||||
|
||||
|
||||
<div class="widget-area">
|
||||
|
||||
<section id="section-categories" class="section">
|
||||
|
||||
|
||||
<section id="section-categories" class="categories">
|
||||
|
||||
<h2 class="section-title h4 clearfix">
|
||||
|
||||
<i class="line"></i>{!! Lang::get('lang.categories') !!}
|
||||
|
||||
<b> <i class="line"></i>{!! Lang::get('lang.categories') !!}</b>
|
||||
|
||||
<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();
|
||||
@@ -145,9 +152,9 @@ class = "nav-item active"
|
||||
?>
|
||||
|
||||
<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}}
|
||||
|
@@ -3,25 +3,42 @@
|
||||
@section('title')
|
||||
Pages List -
|
||||
@stop
|
||||
@section('breadcrumb')
|
||||
{{--<div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<style>
|
||||
.words {
|
||||
margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
|
||||
}
|
||||
</style>
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<li><a class="words" href="{!! URL::route('home') !!}">{!! Lang::get('lang.knowledge_base') !!}</a></li>
|
||||
<li class="words">></li>
|
||||
<li><a class="words" href="{{url('pages/'.$page->slug)}}">{!! Lang::get('lang.pages') !!}</a></li>
|
||||
<li class="words" style="margin-right: 10px">></li>
|
||||
<li> {{$page->name}}</li>
|
||||
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
@section('pages')
|
||||
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>
|
||||
|
||||
<div class="entry-content clearfix">
|
||||
|
||||
{!! $page->description !!}
|
||||
|
||||
{!! $page->description !!}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
|
@@ -1,62 +1,89 @@
|
||||
@extends('themes.default1.client.layout.client')
|
||||
@section('breadcrumb')
|
||||
<div class="site-hero">
|
||||
<ol class="breadcrumb breadcrumb-custom">
|
||||
<li class="text">You are here: </li>
|
||||
<li>Home</li>
|
||||
<li class="active">Search Results</li>
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<style>
|
||||
.words {
|
||||
margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
|
||||
}
|
||||
</style>
|
||||
<li class="breadcrumb-item">
|
||||
<i class="fas fa-home"></i> {!! Lang::get('lang.you_are_here') !!} :
|
||||
</li>
|
||||
<li>
|
||||
<a class="words" href="{!! URL::route('/') !!}">{!! Lang::get('lang.home') !!}</a>
|
||||
</li>
|
||||
<li class="words">></li>
|
||||
<li>
|
||||
<a href="{!! URL::route('client.search') !!}">{!! Lang::get('lang.search_result') !!}</a>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<div id="content" class="site-content col-md-9">
|
||||
@forelse($result as $arti)
|
||||
<article class="format-standard type-post hentry clearfix">
|
||||
<div id="content" class="site-content col-md-9">
|
||||
@if ($result->isEmpty() || $result->every(function($arti) { return $arti->type == 0; }))
|
||||
<p>
|
||||
<h3><b>Sorry!</b></h3> No results found.
|
||||
</p>
|
||||
@else
|
||||
@foreach($result as $arti)
|
||||
@if ($arti->type != 0)
|
||||
<article class="format-standard type-post hentry clearfix">
|
||||
<header class="clearfix">
|
||||
<h3 class="post-title">
|
||||
<small><i class="fa fa-list-alt fa-2x fa-fw pull-left text-muted"></i></small>
|
||||
<a href="{{url('show/'.$arti->slug)}}">{{$arti->name}}</a>
|
||||
</h3>
|
||||
</header>
|
||||
<?php $str = $arti->description ?>
|
||||
<?php $excerpt = App\Http\Controllers\Client\kb\UserController::getExcerpt($str, $startPos = 0, $maxLength = 200) ?>
|
||||
<blockquote class="archive-description">
|
||||
<p>{!! strip_tags($excerpt) !!} </p>
|
||||
<a class="readmore-link" href="{{url('show/'.$arti->slug)}}">Read more</a>
|
||||
</blockquote>
|
||||
<div class="post-meta clearfix">
|
||||
<span class="date"><i class="fa fa-clock-o fa-fw"></i> {{$arti->created_at->format('l, d-m-Y')}}</span>
|
||||
</div><!-- end of post meta -->
|
||||
<hr>
|
||||
</article>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
<header class="clearfix">
|
||||
<h3 class="post-title">
|
||||
<small><i class="fa fa-list-alt fa-2x fa-fw pull-left text-muted"></i></small>
|
||||
<a href="{{url('show/'.$arti->slug)}}">{{$arti->name}}</a>
|
||||
</h3>
|
||||
|
||||
</header>
|
||||
<?php $str = $arti->description ?>
|
||||
<?php $excerpt = App\Http\Controllers\Client\kb\UserController::getExcerpt($str, $startPos = 0, $maxLength = 200) ?>
|
||||
<blockquote class="archive-description">
|
||||
<p>{!! strip_tags($excerpt) !!} </p>
|
||||
<a class="readmore-link" href="{{url('show/'.$arti->slug)}}">Read more</a>
|
||||
</blockquote>
|
||||
|
||||
<div class="post-meta clearfix">
|
||||
<span class="date"><i class="fa fa-clock-o fa-fw"></i> {{$arti->created_at->format('l, d-m-Y')}}</span>
|
||||
</div><!-- end of post meta -->
|
||||
<hr>
|
||||
@empty
|
||||
<p><h3><b>Sorry!</b></h3> No result has found.</p>
|
||||
@endforelse
|
||||
|
||||
</article>
|
||||
<!-- end of page content -->
|
||||
<div class="pagination">
|
||||
<?php echo $result->render(); ?>
|
||||
<div class="pagination">
|
||||
<?php echo $result->render(); ?>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
</div>
|
||||
{{--@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">--}}
|
||||
|
||||
@stop
|
||||
{{-- @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>--}}
|
||||
{{--@stop--}}
|
||||
</div>
|
||||
|
||||
|
||||
@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">
|
||||
{{--@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>
|
||||
@stop
|
||||
{{-- @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>--}}
|
||||
{{--@stop--}}
|
@@ -19,18 +19,25 @@ $all = App\Model\kb\Relationship::where('article_id','=', $arti->id)->get();
|
||||
/* from whole attribute pick the article_id */
|
||||
$category_id = $all->pluck('category_id')->toArray();
|
||||
?>
|
||||
|
||||
<div class="site-hero clearfix">
|
||||
<ol class="breadcrumb breadcrumb-custom">
|
||||
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li>
|
||||
@section('breadcrumb')
|
||||
{{--<div class="site-hero clearfix">--}}
|
||||
<ol class="breadcrumb float-sm-right ">
|
||||
<style>
|
||||
.words {
|
||||
margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
|
||||
}
|
||||
</style>
|
||||
<li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : </li>
|
||||
<?php $category = App\Model\kb\Category::where('id', $category_id)->first(); ?>
|
||||
<li><a href="{{url('/')}}">{!! Lang::get('lang.home') !!}</a></li>
|
||||
<li><a href="{{url('/knowledgebase')}}">{!! Lang::get('lang.knowledge_base') !!}</a></li>
|
||||
<li><a href="{{url('category-list/'.$category->slug)}}">{{$category->name}}</a></li>
|
||||
<li class="active">{{$arti->name}}</li>
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
<li><a class="words" href="{!! URL::route('home') !!}">{!! Lang::get('lang.knowledge_base') !!}</a></li>
|
||||
<li class="words">></li>
|
||||
|
||||
<li><a class="words" href="{{url('article-list')}}">{!! Lang::get('lang.article_list') !!}</a></li>
|
||||
<li class="words">></li>
|
||||
<li><a class="words" href="{{url('category-list/'.$category->slug)}}">{{$category->name}}</a></li>
|
||||
<li class="words"> > </li>
|
||||
<li class="active">{{$arti->name}}</li> </ol>
|
||||
@stop
|
||||
@section('title')
|
||||
{!! $arti->name !!} -
|
||||
@stop
|
||||
@@ -66,7 +73,19 @@ $category_id = $all->pluck('category_id')->toArray();
|
||||
|
||||
</article><!-- .hentry -->
|
||||
|
||||
<?php $comments = App\Model\kb\Comment::where('article_id', $arti->id)->where('status', '1')->get(); ?>
|
||||
<?php
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
|
||||
|
||||
$comments = App\Model\kb\Comment::where('article_id', $arti->id)
|
||||
->where('status', '1')
|
||||
->orWhere(function ($query) {
|
||||
$query->where('article_id', Auth::id()); // Add this line to include the authenticated user's comment
|
||||
})
|
||||
->get();
|
||||
|
||||
?>
|
||||
|
||||
<div id="comments" class="comments-area">
|
||||
@foreach($comments as $comment)
|
||||
@@ -99,46 +118,194 @@ $category_id = $all->pluck('category_id')->toArray();
|
||||
</ol><!-- .comment-list -->
|
||||
@endforeach
|
||||
|
||||
<div id="respond" class="comment-respond form-border">
|
||||
{{-- <div id="respond" class="comment-respond form-border">--}}
|
||||
|
||||
{{-- <h3 id="reply-title" class="comment-reply-title section-title">--}}
|
||||
{{-- <i class="line" style="border-color: rgb(0, 154, 186);"<></i>{!! Lang::get('lang.leave_a_reply') !!}--}}
|
||||
{{-- </h3>--}}
|
||||
|
||||
{!! Form::open(['method'=>'post','url'=>'postcomment/'.$arti->slug,'id'=>'comment-form']) !!}
|
||||
{!! csrf_field() !!}
|
||||
|
||||
<div id="respond" class="comment-respond form-border">
|
||||
<h3 id="reply-title" class="comment-reply-title section-title">
|
||||
<i class="line" style="border-color: rgb(0, 154, 186);"></i>{!! Lang::get('lang.leave_a_reply') !!}
|
||||
</h3>
|
||||
|
||||
@if(Auth::check())
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-4" style="border:#f4f4f4;">
|
||||
<div data-v-43e70d45="" class="banner-wrapper user-data text-center clearfix" id="ban_ner" style="border-width: 5px 1px 1px; border-style: solid; border-color: rgb(0, 154, 186); border-image: initial; width: 90%" >
|
||||
<img id="user_avatar" src="{{Auth::user()->profile_pic}}" class="avatar" alt="User Image" style="margin-left: 5% ">
|
||||
<div STYLE="margin-left:5%"><strong>Hello</strong></div>
|
||||
<p class="banner-title ellipsize_first_name h4" STYLE="margin-left: 5%">{{Auth::user()->first_name." ".Auth::user()->last_name}}</p>
|
||||
<div class="banner-content" id="dropdown_content">
|
||||
<p data-v-43e70d45="">If you are not? </p>
|
||||
<a href="{{url('auth/logout')}}" class="btn btn-custom btn-sm text-white profile_btn" STYLE="width: 50%;height: 200%;margin-left: 7%; background-color: #009aba; hov: #00c0ef; color: #fff">{!! Lang::get('lang.log_out') !!}</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-10" style="width: 65%">
|
||||
<div class="form-group {{ $errors->has('comment') ? 'has-error' : '' }}">
|
||||
{!! Form::label('comment',Lang::get('lang.message'),['class' => 'label']) !!}
|
||||
{!! Form::textarea('comment',null,['class' => 'form-control','size' => '30x8','id'=>'comment']) !!}
|
||||
{!! $errors->first('comment', '<spam class="help-block">:message</spam>') !!}
|
||||
</div>
|
||||
<button type="submit" class="btn btn-custom btn-lg float-right" style="background-color: #009aba; hov: #00c0ef; color: #fff">
|
||||
{{ Lang::get('lang.post_message') }}
|
||||
</button>
|
||||
</div>
|
||||
</div><script>
|
||||
function submitComment(userId, comment) {
|
||||
// Prepare the form data
|
||||
var formData = new FormData();
|
||||
formData.append('user_id', userId);
|
||||
formData.append('comment', comment);
|
||||
|
||||
// If the user is not authenticated, include the name and email fields
|
||||
if (!userId) {
|
||||
var name = $("#name").val();
|
||||
var email = $("#email").val();
|
||||
formData.append('name', name);
|
||||
formData.append('email', email);
|
||||
}
|
||||
|
||||
// Perform the AJAX request to submit the comment
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "{{ url('postcomment/'.$arti->slug) }}",
|
||||
data: formData,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
success: function(response) {
|
||||
// Handle the success response
|
||||
if (response.success) {
|
||||
alert("Comment posted successfully!");
|
||||
// You can redirect the user to a specific page or perform any other necessary action here
|
||||
} else {
|
||||
alert("An error occurred while processing your request. Please try again.");
|
||||
}
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
// Handle the error response
|
||||
alert("An error occurred while processing your request. Please try again.");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Remove the error styling and message when the user types in the comment field
|
||||
$("#comment").on("input", function() {
|
||||
$(this).removeClass("has-error");
|
||||
$(this).next(".help-block").remove();
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
</script></div>
|
||||
{!! Form::close() !!}
|
||||
@else
|
||||
{!! Form::open(['method'=>'post','url'=>'postcomment/'.$arti->slug,'id'=>'comment-form']) !!}
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('name', Lang::get('lang.name'), ['class' => 'label']) !!}
|
||||
{!! Form::text('name', null, ['class' => 'form-control', 'id' => 'comment-name']) !!}
|
||||
{!! $errors->first('name', '<span class="help-block">:message</span>') !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! Form::label('email', Lang::get('lang.email'), ['class' => 'label']) !!}
|
||||
{!! Form::text('email', null, ['class' => 'form-control', 'id' => 'comment-email']) !!}
|
||||
{!! $errors->first('email', '<span class="help-block">:message</span>') !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('website') ? 'has-error' : '' }}">
|
||||
{!! Form::label('website', Lang::get('lang.website'), ['class' => 'label']) !!}
|
||||
{!! Form::text('website', null, ['class' => 'form-control']) !!}
|
||||
{!! $errors->first('website', '<span class="help-block">:message</span>') !!}
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-custom btn-lg" style="background-color: #009aba; hov: #00c0ef; color: #fff">{!! Lang::get('lang.post_message') !!}</button>
|
||||
</div>
|
||||
|
||||
<div class="col-md-8">
|
||||
<div class="form-group {{ $errors->has('comment') ? 'has-error' : '' }}">
|
||||
{!! Form::label('comment', Lang::get('lang.message'), ['class' => 'label']) !!}
|
||||
{!! Form::textarea('comment', null, ['class' => 'form-control', 'size' => '30x8', 'id' => 'comment-comment']) !!}
|
||||
{!! $errors->first('comment', '<span class="help-block">:message</span>') !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 id="reply-title" class="comment-reply-title section-title">
|
||||
<i class="line"></i>{!! Lang::get('lang.leave_a_reply') !!}
|
||||
</h3>
|
||||
|
||||
{!! Form::open(['method'=>'post','url'=>'postcomment/'.$arti->slug]) !!}
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! Form::text('name',null,['class' => 'form-control']) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block" style="red">:message</spam>') !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! Form::label('email',Lang::get('lang.email')) !!}
|
||||
{!! Form::text('email',null,['class' => 'form-control']) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#comment-form").submit(function(event) {
|
||||
event.preventDefault(); // Prevent the form from submitting
|
||||
|
||||
// Remove any existing error messages and reset label colors
|
||||
$(".help-block").remove();
|
||||
$(".form-group").removeClass("has-error");
|
||||
|
||||
// Perform your custom validation here
|
||||
var name = $("#comment-name").val().trim();
|
||||
var email = $("#comment-email").val().trim();
|
||||
var comment = $("#comment-comment").val().trim();
|
||||
|
||||
// Flag to track if there are any errors
|
||||
var hasErrors = false;
|
||||
|
||||
// Check if the name field is empty
|
||||
if (name === "") {
|
||||
$("#comment-name").parent().addClass("has-error");
|
||||
$("#comment-name").after('<span class="help-block">The name field is required.</span>');
|
||||
|
||||
hasErrors = true;
|
||||
}
|
||||
|
||||
// Check if the email field is empty or invalid
|
||||
if (email === "") {
|
||||
$("#comment-email").parent().addClass("has-error");
|
||||
$("#comment-email").after('<span class="help-block">The email field is required.</span>');
|
||||
|
||||
hasErrors = true;
|
||||
}
|
||||
|
||||
// Check if the comment field is empty
|
||||
if (comment === "") {
|
||||
$("#comment-comment").parent().addClass("has-error");
|
||||
$("#comment-comment").after('<span class="help-block">The comment field is required.</span>');
|
||||
hasErrors = true;
|
||||
}
|
||||
|
||||
// If there are no errors, submit the form
|
||||
if (!hasErrors) {
|
||||
$("#comment-form")[0].submit();
|
||||
}
|
||||
});
|
||||
|
||||
// Remove the error styling and message when the user types in a field
|
||||
$(".form-control").on("input", function() {
|
||||
$(this).parent().removeClass("has-error");
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('website') ? 'has-error' : '' }}">
|
||||
{!! Form::label('website',Lang::get('lang.website')) !!}
|
||||
{!! Form::text('website',null,['class' => 'form-control']) !!}
|
||||
{!! $errors->first('website', '<spam class="help-block">:message</spam>') !!}
|
||||
</div>
|
||||
<button type="submit" class="btn btn-custom btn-lg">{!! Lang::get('lang.post_message') !!}</button>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="form-group {{ $errors->has('comment') ? 'has- error' : '' }}">
|
||||
{!! Form::label('comment',Lang::get('lang.message')) !!}
|
||||
{!! Form::textarea('comment',null,['class' => 'form-control','size' => '30x8','id'=>'comment']) !!}
|
||||
{!! $errors->first('comment', '<spam class="help-block">:message</spam>') !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div><!-- #respond -->
|
||||
{!! Form::close() !!}
|
||||
</div><!-- #respond -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
|
||||
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('category')
|
||||
|
||||
@@ -152,8 +319,8 @@ $category_id = $all->pluck('category_id')->toArray();
|
||||
|
||||
<h2 class="section-title h4 clearfix">
|
||||
|
||||
<i class="line"></i>{!! Lang::get('lang.categories') !!}
|
||||
|
||||
<b> <i class="line" style="border-color: rgb(0, 154, 186);"></i>{!! Lang::get('lang.categories') !!}</b>
|
||||
|
||||
<small class="float-right"><i class="far fa-hdd fa-fw"></i></small>
|
||||
</h2>
|
||||
|
||||
|
@@ -16,28 +16,46 @@
|
||||
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
|
||||
<link href="{{asset("lb-faveo/css/widgetbox.min.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" />
|
||||
<link href="{{asset("lb-faveo/css/bootstrap5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
<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/client.min.css")}}" rel="stylesheet" type="text/css" />--}}
|
||||
|
||||
<link href="{{asset("lb-faveo/css/app.3.0.css")}}" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="{{asset("lb-faveo/css/custom.css")}}" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="{{asset("lb-faveo/css/edit.css")}}" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="{{asset("lb-faveo/css/jquery.rating.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<link href="{{asset("lb-faveo/plugins/summernote/summernote-bs4.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/plugins/summernote/summernote-lite.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery-3.4.1.min.js")}}" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery-3.6.3.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
@yield('HeadInclude')
|
||||
|
||||
<style>
|
||||
.note-editor .dropdown-toggle::after {
|
||||
all: unset;
|
||||
}
|
||||
|
||||
.note-editor .note-dropdown-menu, .note-editor .note-modal-footer {
|
||||
box-sizing: content-box;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<style>
|
||||
|
||||
|
||||
#dropdown_content{ padding-top: 1rem;margin: 0 !important;}
|
||||
|
||||
#user_avatar{ border-radius: 35px;width: 70px;height: 70px;}
|
||||
@@ -84,9 +102,9 @@
|
||||
</style>
|
||||
|
||||
<div id="page" class="hfeed site text-small">
|
||||
|
||||
|
||||
<header id="masthead" class="site-header" role="banner">
|
||||
|
||||
|
||||
<div class="container">
|
||||
|
||||
<nav id="navbar" class="site-navigation navbar navbar-expand-lg navbar-light">
|
||||
@@ -114,16 +132,16 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<button class="navbar-toggler custom-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
|
||||
<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">
|
||||
|
||||
<div class="collapse navbar-collapse links justify-content-end" 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)
|
||||
@@ -133,7 +151,7 @@
|
||||
@endif
|
||||
|
||||
<li @yield('kb') class="nav-item dropdown">
|
||||
<a href="{!! url('knowledgebase') !!}" class="dropdown-toggle nav-link" id="navbarDropdown" role="button" data-toggle=""
|
||||
<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">
|
||||
@@ -146,7 +164,7 @@
|
||||
?>
|
||||
@if(count($pages))
|
||||
<li @yield('pages') class="nav-item dropdown">
|
||||
<a class="dropdown-toggle nav-link" id="navbarDropdown" role="button" data-toggle=""
|
||||
<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">
|
||||
@@ -163,7 +181,7 @@
|
||||
</li>
|
||||
|
||||
<li @yield('profile') class="nav-item dropdown">
|
||||
<a href="#" class="dropdown-toggle nav-link" id="navbarDropdown" role="button" data-toggle=""
|
||||
<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">
|
||||
@@ -174,57 +192,49 @@
|
||||
<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>
|
||||
<a href="{{url('auth/logout')}}" class="btn btn-custom btn-sm text-white profile_btn" style="background-color: #009aba; hov: #00c0ef; color: #fff "">{!! 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>
|
||||
<a href="{{url('dashboard')}}" class="btn btn-custom btn-sm text-white profile_btn" style="background-color: #009aba; hov: #00c0ef; color: #fff ">{!! 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>
|
||||
<a href="{{url('client-profile')}}" class="btn btn-custom btn-sm text-white profile_btn" style="background-color: #009aba; hov: #00c0ef; color: #fff ">{!! Lang::get('lang.profile') !!}</a>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</li>
|
||||
@else
|
||||
@if(isset($errors))
|
||||
<li class="nav-item"
|
||||
<?php
|
||||
if (is_object($errors)) {
|
||||
if ($errors->first('email') || $errors->first('password')) {
|
||||
?> class="sfHover"
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
><a href="#" data-toggle="collapse" class="nav-link"
|
||||
<?php
|
||||
if (is_object($errors)) {
|
||||
if ($errors->first('email') || $errors->first('password')) {
|
||||
|
||||
} else {
|
||||
?> class="collapsed"
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
data-target="#login-form">{!! Lang::get('lang.login') !!} <i class="sub-indicator fa fa-chevron-circle-down fa-fw text-muted"></i></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<?php if (is_object($errors) && ($errors->first('email') || $errors->first('password'))) : ?>
|
||||
<a href="#" class="nav-link sfHover" data-bs-toggle="collapse" data-bs-target="#login-form">
|
||||
{!! Lang::get('lang.login') !!}
|
||||
{{-- <i class="sub-indicator fa fa-chevron-circle-down fa-fw text-muted"></i>--}}
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<a href="#" class="nav-link collapsed" data-bs-toggle="collapse" data-bs-target="#login-form">
|
||||
{!! Lang::get('lang.login') !!}
|
||||
{{-- <i class="sub-indicator fa fa-chevron-circle-down fa-fw text-muted"></i>--}}
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
|
||||
@endif
|
||||
@endif
|
||||
<li class="nav-item dropdown">
|
||||
<?php $src = Lang::getLocale().'.png'; ?>
|
||||
<a href="#" class="dropdown-toggle nav-link" id="navbarDropdown" role="button" data-toggle="" aria-haspopup="true"
|
||||
<a href="#" class="dropdown-toggle nav-link" id="navbarDropdown" role="button" data-toggle="" aria-haspopup="true"
|
||||
aria-expanded="false">
|
||||
<img src="{{asset("lb-faveo/flags/$src")}}"></img>
|
||||
</a>
|
||||
@@ -237,11 +247,15 @@
|
||||
‏
|
||||
@endif
|
||||
({{$value[1]}})</a></li>
|
||||
@endforeach
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<?php
|
||||
{{-- <span class="switcher-toggle desk_none" onclick="myFunction()">--}}
|
||||
{{-- <span class="icon"></span>--}}
|
||||
{{-- </span>--}}
|
||||
|
||||
<?php
|
||||
$loginFormClass = "login-form collapse fade clearfix";
|
||||
if(isset($errors) && ($errors->first('email') || $errors->first('password')))
|
||||
{
|
||||
@@ -258,9 +272,9 @@
|
||||
@endif
|
||||
@if(Session::has('error'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
|
||||
|
||||
{!! Session::get('error') !!}
|
||||
|
||||
|
||||
</div>
|
||||
@endif
|
||||
<?php b: ?>
|
||||
@@ -278,10 +292,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12 text-center">
|
||||
<button type="submit" class="btn btn-custom">{!! Lang::get('lang.login') !!}</button>
|
||||
<button type="submit" class="btn btn-custom" style="background-color: #009aba; hov: #00c0ef; color: #fff ">{!! Lang::get('lang.login') !!}</button>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-12 text-center">
|
||||
{{Lang::get('lang.or')}}
|
||||
<ul class="list-unstyled">
|
||||
@@ -295,17 +309,23 @@
|
||||
</div><!-- #login-form -->
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div id="header-search" class="site-search clearfix"><!-- #header-search -->
|
||||
|
||||
<div id="header-search" class="site-search clearfix" style="margin-right: 20%; width: 100%"><!-- #header-search -->
|
||||
{!!Form::open(['route' => 'client.search','class'=>'search-form clearfix'])!!}
|
||||
<div class="form-border" style="z-index: 0;width: 80%;">
|
||||
<div class="form-border" style="z-index: 0;width: 85%;">
|
||||
<div class="form-inline ">
|
||||
<div class="form-group input-group">
|
||||
<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 class="form-group input-group " style="width: 98% ">
|
||||
<input type="text" name="s" class="search-field form-control" title="Enter search term" placeholder="Have a question? Type your search term here..." required="" style="width: 80%">
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-custom btn-md " style="margin-left: 20% ;background-color: #009aba; hov: #00c0ef; color: #fff ">Search</button>
|
||||
</span>
|
||||
</div>
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-custom btn-md" style="margin-left: 2px;">{!! Lang::get('lang.search') !!}</button>
|
||||
</span>
|
||||
|
||||
<style>
|
||||
.search-field {
|
||||
border-radius: 10px; /* You can adjust the value to your desired radius */
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
@@ -313,53 +333,60 @@
|
||||
</div>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
|
||||
<div class="site-hero clearfix">
|
||||
|
||||
|
||||
{!! Breadcrumbs::render() !!}
|
||||
<div class="site-hero clearfix">
|
||||
{{-- {!! \DaveJamesMiller\Breadcrumbs\Facades\Breadcrumbs::render() !!}--}}
|
||||
@yield('breadcrumb')
|
||||
</div>
|
||||
<!-- Main content -->
|
||||
|
||||
|
||||
|
||||
<div id="main" class="site-main clearfix">
|
||||
<div class="container">
|
||||
<div class="content-area">
|
||||
<div>
|
||||
<!-- Success message -->
|
||||
@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>
|
||||
<div class="alert alert-success alert-dismissable" style="padding-right:20px">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{ Session::get('success') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- Warning message -->
|
||||
@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>
|
||||
<div class="alert alert-warning alert-dismissable" style="padding-right:20px">
|
||||
<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 -->
|
||||
|
||||
<!-- 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: ?>
|
||||
@if(Session::has('check'))
|
||||
<?php goto a; ?>
|
||||
@endif
|
||||
<div class="alert alert-danger alert-dismissable" style="padding-right:20px">
|
||||
<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
|
||||
</div>
|
||||
<div class="row">
|
||||
@yield('content')
|
||||
@yield('check')
|
||||
@yield('category')
|
||||
@yield('check')
|
||||
@yield('category')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Rest of the code... -->
|
||||
|
||||
<!-- /.content-wrapper -->
|
||||
<?php
|
||||
$footer1 = App\Model\helpdesk\Theme\Widgets::where('name', '=', 'footer1')->first();
|
||||
@@ -427,7 +454,7 @@
|
||||
<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>
|
||||
<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="https://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(); ?>
|
||||
@@ -506,18 +533,22 @@
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div></div>
|
||||
</footer><!-- #colophon -->
|
||||
|
||||
|
||||
<script src="{{asset("lb-faveo/js/popper.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<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/bootstrap5.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/client.min.js")}}" type="text/javascript"></script>--}}
|
||||
|
||||
<script src="{{asset("lb-faveo/js/mobilemenu.min.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/js/autocomplete.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/superfish.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/app.js")}}" type="text/javascript"></script>-
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery.mobilemenu.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery.rating.pack.js")}}" type="text/javascript"></script>
|
||||
|
||||
@@ -527,8 +558,14 @@
|
||||
|
||||
<script src="{{asset("lb-faveo/js/languagechanger.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/plugins/summernote/summernote-bs4.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/custom.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/html5shiv.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/respond.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/plugins/summernote/summernote-lite.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
//Enable check and uncheck all functionality
|
||||
@@ -562,6 +599,8 @@ $(function () {
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -15,22 +15,28 @@
|
||||
<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'>
|
||||
|
||||
|
||||
<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" />
|
||||
<link href="{{asset("lb-faveo/css/bootstrap5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
<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/client.min.css")}}" rel="stylesheet" type="text/css" />--}}
|
||||
|
||||
<link href="{{asset("lb-faveo/css/app.3.0.css")}}" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="{{asset("lb-faveo/css/custom.css")}}" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="{{asset("lb-faveo/css/edit.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">
|
||||
<link href="{{asset("lb-faveo/plugins/summernote/summernote-lite.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery-3.4.1.min.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/js/jquery-3.6.3.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
@yield('HeadInclude')
|
||||
</head>
|
||||
@@ -118,7 +124,7 @@
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button> <!-- collapse -->
|
||||
|
||||
<div class="collapse navbar-collapse links" id="navbarSupportedContent">
|
||||
<div class="collapse navbar-collapse links justify-content-end" id="navbarSupportedContent">
|
||||
|
||||
<ul class="navbar-nav navbar-menu site-navigate ml-auto">
|
||||
|
||||
@@ -200,28 +206,35 @@
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div id="header-search" class="site-search clearfix"><!-- #header-search -->
|
||||
{!!Form::open(['route'=>'client.search','class'=>'search-form clearfix'])!!}
|
||||
<div class="form-border" style="z-index: 0;">
|
||||
<div class="form-inline ">
|
||||
<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>
|
||||
|
||||
<div id="header-search" class="site-search clearfix" style="margin-right: 20%; width: 100%"><!-- #header-search -->
|
||||
{!!Form::open(['route' => 'client.search','class'=>'search-form clearfix'])!!}
|
||||
<div class="form-border" style="z-index: 0;width: 85%;">
|
||||
<div class="form-inline ">
|
||||
<div class="form-group input-group " style="width: 98% ">
|
||||
<input type="text" name="s" class="search-field form-control" title="Enter search term" placeholder="Have a question? Type your search term here..." required="" style="width: 80%">
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-custom btn-md" style="margin-left: 8px;">{!! Lang::get('lang.search') !!}</button>
|
||||
</span>
|
||||
<button type="submit" class="btn btn-custom btn-md " style="margin-left: 20% ;background-color: #009aba; hov: #00c0ef; color: #fff ">Search</button>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.search-field {
|
||||
border-radius: 10px; /* You can adjust the value to your desired radius */
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
</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 class="site-hero clearfix" >
|
||||
@yield('breadcrumb')
|
||||
</div>
|
||||
|
||||
<!-- Main content -->
|
||||
<div id="main" class="site-main clearfix">
|
||||
<div class="container">
|
||||
@@ -412,16 +425,22 @@
|
||||
</div>
|
||||
</div>
|
||||
</footer><!-- #colophon -->
|
||||
|
||||
|
||||
<script src="{{asset("lb-faveo/js/popper.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<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/bootstrap5.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/autocomplete.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/js/app.js")}}" type="text/javascript"></script>-
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery.mobilemenu.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/iCheck/icheck.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
@@ -429,8 +448,14 @@
|
||||
|
||||
<script src="{{asset("lb-faveo/js/languagechanger.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="lb-faveo/plugins/summernote/summernote-bs4.min.js"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/custom.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/html5shiv.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/respond.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/plugins/summernote/summernote-lite.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
//Enable check and uncheck all functionality
|
||||
|
@@ -2,7 +2,7 @@
|
||||
$social = new \App\Model\helpdesk\Settings\SocialMedia();
|
||||
?>
|
||||
@if($social->checkActive('twitter') || $social->checkActive('facebook') || $social->checkActive('google') || $social->checkActive('linkedin') || $social->checkActive('bitbucket') || $social->checkActive('github'))
|
||||
<center>{{Lang::get('lang.or')}}</center>
|
||||
<br>
|
||||
@endif
|
||||
|
||||
@if($social->checkActive('twitter'))
|
||||
@@ -11,7 +11,7 @@ $social = new \App\Model\helpdesk\Settings\SocialMedia();
|
||||
</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;">
|
||||
<a class="btn btn-block btn-social btn-facebook" href="{{ route('social.login', ['facebook']) }}" style="background-color: #3B5998;color: white; --bs-btn-font-size:none">
|
||||
<span class="fab fa-facebook-f fa-fw"></span> Sign in with Facebook
|
||||
</a>
|
||||
@endif
|
||||
|
@@ -175,7 +175,7 @@ $footer4 = App\Model\helpdesk\Theme\Footer4::whereId('1')->first();
|
||||
<div class="col-md-3">
|
||||
<div class="widget-area">
|
||||
<section id="section-about" class="section">
|
||||
<h2 class="section-title h4 clearfix">{!!$footer->title!!}</h2>
|
||||
<h2 class="section-line h4 clearfix">{!!$footer->title!!}</h2>
|
||||
<div class="textwidget">
|
||||
<p>{!!$footer->footer!!}</p>
|
||||
</div>
|
||||
|
@@ -13,14 +13,14 @@
|
||||
|
||||
{!! Form::text('email',null,['placeholder'=>'Email','class' => 'form-control']) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
<span class="far fa-envelope text-muted form-control-feedback"></span>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
{!! Form::password('password',['placeholder'=>'Password','class' => 'form-control']) !!}
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
<span class="fa fa-lock text-muted form-control-feedback"></span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
|
@@ -25,7 +25,7 @@
|
||||
|
||||
{!! Form::text('email',null,['placeholder'=>'Email','class' => 'form-control']) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
<span class="far fa-envelope text-muted form-control-feedback"></span>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -33,13 +33,13 @@
|
||||
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
{!! Form::password('password',['placeholder'=>'Password','class' => 'form-control']) !!}
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
<span class="fa fa-lock form-control-feedback"></span>
|
||||
</div>
|
||||
|
||||
<div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
|
||||
{!! Form::password('password_confirmation',['placeholder'=>'Retype Password','class' => 'form-control']) !!}
|
||||
{!! $errors->first('password_confirmation', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
|
||||
<span class="fas fa-sign-in-alt form-control-feedback"></span>
|
||||
</div>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user