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:
noor
2023-04-13 15:32:30 +05:30
committed by RafficMohammed
parent c5b317db7e
commit 92d0f9cd48
62 changed files with 4820 additions and 749 deletions

View File

@@ -1,5 +1,6 @@
<?php <?php
use DaveJamesMiller\Breadcrumbs\Facades\Breadcrumbs;
use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Route;
Breadcrumbs::register('logs', function ($breadcrumbs) { Breadcrumbs::register('logs', function ($breadcrumbs) {

View File

@@ -1,5 +1,7 @@
<?php <?php
use DaveJamesMiller\Breadcrumbs\Facades\Breadcrumbs;
Breadcrumbs::register('storage', function ($breadcrumbs) { Breadcrumbs::register('storage', function ($breadcrumbs) {
$breadcrumbs->parent('setting'); $breadcrumbs->parent('setting');
$breadcrumbs->push('Storage', route('storage')); $breadcrumbs->push('Storage', route('storage'));

View File

@@ -447,8 +447,8 @@ class FormController extends Controller
} }
return '<script> return '<script>
$("#'.Str::slug($value).'").on("change", function () { $(".'.Str::slug($fieldname).'-'.Str::slug($value).'").on("change", function () {
var valueid = $("#'.Str::slug($value).'").val(); var valueid = $(this).val();
var fieldid = $("#'.$fieldid.Str::slug($value).'").val(); var fieldid = $("#'.$fieldid.Str::slug($value).'").val();
send'.$fieldid.Str::slug($value).'(valueid,fieldid); send'.$fieldid.Str::slug($value).'(valueid,fieldid);
}); });
@@ -541,7 +541,7 @@ class FormController extends Controller
public static function selectForm($field_type, $field, $required, $required_class) public static function selectForm($field_type, $field, $required, $required_class)
{ {
$session = self::getSession(); $session = self::getSession();
$script = self::jqueryScript($field_value = '', $field->id, $field->name, $field_type); $script = self::jqueryScript($field->id, $field->name, $field_type);
$form_hidden = Form::hidden('fieldid[]', $field->id, ['id' => 'hidden'.$session.$field->id]).Form::label($field->label, $field->label, ['class' => $required_class]); $form_hidden = Form::hidden('fieldid[]', $field->id, ['id' => 'hidden'.$session.$field->id]).Form::label($field->label, $field->label, ['class' => $required_class]);
$select = Form::$field_type($field->name, ['' => 'Select', 'Selects' => self::removeUnderscoreFromDB($field->values()->pluck('field_value', 'field_value')->toArray())], null, ['class' => "form-control $session$field->id", 'id' => $session.$field->id, 'required' => $required]).'</br>'; $select = Form::$field_type($field->name, ['' => 'Select', 'Selects' => self::removeUnderscoreFromDB($field->values()->pluck('field_value', 'field_value')->toArray())], null, ['class' => "form-control $session$field->id", 'id' => $session.$field->id, 'required' => $required]).'</br>';
$html = $script.$form_hidden.$select; $html = $script.$form_hidden.$select;
@@ -578,7 +578,7 @@ class FormController extends Controller
foreach ($values as $field_value) { foreach ($values as $field_value) {
$script = self::jqueryScript($field_value, $field->id, $field->name, $field_type, $i); $script = self::jqueryScript($field_value, $field->id, $field->name, $field_type, $i);
$checkbox .= Form::hidden('fieldid[]', $field->id, ['id' => 'f'.$session.$i]); $checkbox .= Form::hidden('fieldid[]', $field->id, ['id' => 'f'.$session.$i]);
$checkbox .= Form::$field_type($field->name, $field_value, null, ['class' => "$field->id", 'id' => $session.$i, 'required' => $required]); $checkbox .= Form::$field_type($field->name, $field_value, null, ['class' => "$field->id", 'id' => $session.$field->id.'_'.$i, 'required' => $required]);
$checkbox .= '<span> '.removeUnderscore($field_value).'</span>'; $checkbox .= '<span> '.removeUnderscore($field_value).'</span>';
//$checkbox .="</br>"; //$checkbox .="</br>";
$checkbox .= '<div>'.$script.'<div id=div'.$session.$field_value.'></div></div>'; $checkbox .= '<div>'.$script.'<div id=div'.$session.$field_value.'></div></div>';

View File

@@ -15,6 +15,7 @@ use App\Model\helpdesk\Ticket\Ticket_source;
use App\Model\helpdesk\Ticket\Ticket_Thread; use App\Model\helpdesk\Ticket\Ticket_Thread;
use App\Model\helpdesk\Ticket\Tickets; use App\Model\helpdesk\Ticket\Tickets;
// classes // classes
use Illuminate\Http\Request;
use Illuminate\Support\Str; use Illuminate\Support\Str;
/** /**
@@ -351,8 +352,9 @@ class MailController extends Controller
* *
* @return type file * @return type file
*/ */
public function get_data($id) public function get_data(Request $request)
{ {
$id = $request->input('image_id');
$attachment = \App\Model\helpdesk\Ticket\Ticket_attachments::where('id', '=', $id)->first(); $attachment = \App\Model\helpdesk\Ticket\Ticket_attachments::where('id', '=', $id)->first();
if (mime($attachment->type) == true) { if (mime($attachment->type) == true) {
echo "<img src=data:$attachment->type;base64,".$attachment->file.'>'; echo "<img src=data:$attachment->type;base64,".$attachment->file.'>';

View File

@@ -250,7 +250,7 @@ class FormController extends Controller
// } // }
} }
// dd($result); // dd($result);
return Redirect::back()->with('success', Lang::get('lang.Ticket-has-been-created-successfully-your-ticket-number-is').' '.$result[0].'. '.Lang::get('lang.Please-save-this-for-future-reference')); return Redirect::back()->with('success', Lang::get('lang.Ticket-has-been-created-successfully-your-ticket-number-is').' '.$result[0].'. ');
} else { } else {
return Redirect::back()->withInput($request->except('password'))->with('fails', Lang::get('lang.failed-to-create-user-tcket-as-mobile-has-been-taken')); return Redirect::back()->withInput($request->except('password'))->with('fails', Lang::get('lang.failed-to-create-user-tcket-as-mobile-has-been-taken'));
} }

View File

@@ -18,6 +18,7 @@ use App\User;
use Hash; use Hash;
// classes // classes
use Illuminate\Http\Request; use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Lang; use Lang;
use Session; use Session;
@@ -336,7 +337,7 @@ class UnAuthController extends Controller
// { // {
// return Cache::get('language'); // return Cache::get('language');
// } else return 'false'; // } else return 'false';
// Cache::put('language',$) // Cache::put('language',$);
$path = base_path('lang'); // Path to check available language packages $path = base_path('lang'); // Path to check available language packages
if (array_key_exists($lang, \Config::get('languages')) && in_array($lang, scandir($path))) { if (array_key_exists($lang, \Config::get('languages')) && in_array($lang, scandir($path))) {
// dd(array_key_exists($lang, Config::get('languages'))); // dd(array_key_exists($lang, Config::get('languages')));
@@ -433,8 +434,8 @@ class UnAuthController extends Controller
{ {
$path = base_path('lang'); // Path to check available language packages $path = base_path('lang'); // Path to check available language packages
if (array_key_exists($lang, \Config::get('languages')) && in_array($lang, scandir($path))) { if (array_key_exists($lang, \Config::get('languages')) && in_array($lang, scandir($path))) {
if (\Auth::check()) { if (Auth::check()) {
$id = \Auth::user()->id; $id = Auth::user()->id;
$user = User::find($id); $user = User::find($id);
$user->user_language = $lang; $user->user_language = $lang;
$user->save(); $user->save();

View File

@@ -3,7 +3,6 @@
namespace App\Http\Controllers\Client\kb; namespace App\Http\Controllers\Client\kb;
use App\Http\Controllers\Controller; use App\Http\Controllers\Controller;
use App\Http\Requests\kb\CommentRequest;
use App\Http\Requests\kb\ContactRequest; use App\Http\Requests\kb\ContactRequest;
use App\Http\Requests\kb\SearchRequest; use App\Http\Requests\kb\SearchRequest;
use App\Model\kb\Article; use App\Model\kb\Article;
@@ -232,14 +231,31 @@ class UserController extends Controller
* *
* @return type response * @return type response
*/ */
public function postComment($slug, Article $article, CommentRequest $request, Comment $comment) public function postComment($slug, Article $article, Request $request, Comment $comment)
{ {
$request->validate([
'comment' => 'required',
]);
$article = $article->where('slug', $slug)->first(); $article = $article->where('slug', $slug)->first();
if (!$article) { if (!$article) {
return Redirect::back()->with('fails', Lang::get('lang.sorry_not_processed')); return response()->json(['success' => false, 'message' => Lang::get('lang.sorry_not_processed')]);
} }
$id = $article->id;
$comment->article_id = $id; $comment->article_id = $article->id;
if (Auth::check()) {
// Associate the comment with the authenticated user
$comment->article_id = Auth::id();
$comment->name = Auth::user()->first_name.' '.Auth::user()->last_name;
} else {
// Set default values for non-authenticated user
$comment->name = $request->input('name');
$comment->email = $request->input('email');
$comment->website = $request->input('website');
}
if ($comment->fill($request->input())->save()) { if ($comment->fill($request->input())->save()) {
return Redirect::back()->with('success', Lang::get('lang.your_comment_posted')); return Redirect::back()->with('success', Lang::get('lang.your_comment_posted'));
} else { } else {

View File

@@ -903,6 +903,8 @@ return [
| customize your views to better match your application. | customize your views to better match your application.
| |
*/ */
'article_list' => 'Artikel liste',
'category' => 'Kategorie',
'home' => 'Home', 'home' => 'Home',
'submit_a_ticket' => 'Ein Ticket erstellen', 'submit_a_ticket' => 'Ein Ticket erstellen',
'my_profile' => 'Mein Profil', 'my_profile' => 'Mein Profil',

View File

@@ -1283,7 +1283,7 @@ return [
|------------------------------------------------ |------------------------------------------------
| Error Pages | Error Pages
|------------------------------------------------ |------------------------------------------------
*/ */'knowledge_base' => 'knowledge base',
'not_found' => 'Not found', 'not_found' => 'Not found',
'oops_page_not_found' => 'Oops! Page not found', 'oops_page_not_found' => 'Oops! Page not found',
'we_could_not_find_the_page_you_were_looking_for' => 'We could not find the page you were looking for', 'we_could_not_find_the_page_you_were_looking_for' => 'We could not find the page you were looking for',
@@ -1353,6 +1353,8 @@ return [
| customize your views to better match your application. | customize your views to better match your application.
| |
*/ */
'forget_password' => 'forget password',
'article_list' => 'Article list',
'home' => 'Home', 'home' => 'Home',
'submit_a_ticket' => 'Submit a ticket', 'submit_a_ticket' => 'Submit a ticket',
'my_profile' => 'My profile', 'my_profile' => 'My profile',
@@ -1361,7 +1363,7 @@ return [
'create_account' => 'Create account', 'create_account' => 'Create account',
'you_are_here' => 'You are here', 'you_are_here' => 'You are here',
'have_a_ticket' => 'Have a ticket', 'have_a_ticket' => 'Have a ticket',
'check_ticket_status' => 'Check ticket status', 'check_ticket_status' => 'Submit',
'choose_a_help_topic' => 'Choose a help topic', 'choose_a_help_topic' => 'Choose a help topic',
'ticket_status' => 'Ticket status', 'ticket_status' => 'Ticket status',
'post_comment' => 'Post comment', 'post_comment' => 'Post comment',
@@ -1655,4 +1657,7 @@ return [
'clean-forever' => 'delete permanently', 'clean-forever' => 'delete permanently',
'mail-sent-to-job-for-process' => 'Mail has been sent to job for process, it will appear in your mailbox once it gets processed by your selected queue service. If you don\'t recieve the mail check logs for errors or warnings.', 'mail-sent-to-job-for-process' => 'Mail has been sent to job for process, it will appear in your mailbox once it gets processed by your selected queue service. If you don\'t recieve the mail check logs for errors or warnings.',
'click-here-to-see-more-details' => 'Click here to see more details', 'click-here-to-see-more-details' => 'Click here to see more details',
'category_list' => 'Category list',
'check_ticket' => 'Check ticket',
'search_result' => 'Search Results',
]; ];

1696
public/lb-faveo/css/app.3.0.css vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -421,6 +421,7 @@ ol.with-line-border > li {
font-weight: 700; font-weight: 700;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
position: relative; position: relative;
color: #fff !important;
} }
.section-title > i.line { .section-title > i.line {
float: left; float: left;
@@ -720,7 +721,7 @@ ol.with-line-border > li {
} }
.site-search .search-field, .site-search .search-field,
.site-search .search-submit { .site-search .search-submit {
border-radius: 4px; border-radius: 10px;
} }
.site-search .search-field.loading { .site-search .search-field.loading {
background: url(../img/loader.gif) 99% center no-repeat; background: url(../img/loader.gif) 99% center no-repeat;

6
public/lb-faveo/css/bootstrap5.min.css vendored Executable file

File diff suppressed because one or more lines are too long

285
public/lb-faveo/css/custom.css vendored Executable file
View File

@@ -0,0 +1,285 @@
i.site-content .fa-ul > li a,
footer ul.media-list a,
.site-info.col-md-6 a,
.navbar .navbar-nav>li>a,
#tweets-list a, div#login-form a,
.accordion .accordion-toggle,
.breadcrumb-custom > li a, .archive-article .hentry a,
header.entry-header a, .media-body a, a {
text-decoration: none;
}
.small, small {
font-size: 80%;
font-weight: 400;
}
.list-group-item {
position: relative;
display: block;
padding: 0.75rem 1.25rem;
margin-bottom: -1px;
background-color: #fff;
border: 1px solid rgba(0,0,0,.125);
}
.list-group-item-action {
width: 100%;
color: #495057;
text-align: inherit;
}
.list-group-item-action:focus, .list-group-item-action:hover {
z-index: 1;
color: #495057;
text-decoration: none;
background-color: #f8f9fa;
}
.section-title > i.line {
left: 0;
}
.mr-3, .mx-3 {
margin-right: 1rem!important;
}
footer ul.media-list {
list-style-type: none;
}
.navbar-brand {
display: inline-block;
padding-top: 0.3125rem;
padding-bottom: 0.3125rem;
margin-right: 1rem;
font-size: 1.25rem;
line-height: inherit;
white-space: nowrap;
}
.twitterbar .tweets-control {
margin-bottom: 0;
position: absolute;
right: 0;
top: 40px;
}
.twitterbar .tweets-control li {
display: inline-block;
width: 28px;
height: 30px;
position: relative;
}
.twitterbar .tweets-control a {
display: block;
width: 100%;
}
.twitterbar .tweets-control a {
border-color: #ddd;
background-color: #fff;
opacity: 1;
border: 1px solid;
}
.twitterbar .tweets-control a:hover {
color: #999;
-webkit-box-shadow: 0 1px 3px rgb(0 0 0 / 5%);
box-shadow: 0 1px 3px rgb(0 0 0 / 5%);
}
.switcher-toggle {
width: 100px;
background-color: #fff;
height: 40px;
border-radius: 20px;
margin-left: 20px;
border: 1px solid #ddd;
padding: 4px;
position: relative;
cursor: pointer;
}
.switcher-toggle span.icon {
height: 30px;
width: 30px;
display: block;
background-color: #000;
border-radius: 22px;
position: absolute;
left: 4px;
right: auto;
}
.dark-mode, .dark-mode .site,
.dark-mode .site-header, .dark-mode .site-footer {
background: #000 !important;
}
.dark-mode .navbar, .dark-mode .site-main .content-area{
background-color: #000 !important;
}
.dark-mode .switcher-toggle span.icon {
left: auto;
right: 4px;
}
.dark-mode .navbar .navbar-nav>li>a,
.dark-mode .navbar i.sub-indicator.fa {
/* color: #fff;*/
}
.dark-mode .note-icon-caret,
.dark-mode .note-current-fontsize,
.dark-mode .far .fa-square::before
{
color: #000b16; !important;
}
.dark-mode .note-icon-caret,
.dark-mode .note-current-fontsize,
.dark-mode .widgetitemtitle
{
color: #337ab7 !important;
}
.dark-mode .text-red{
color: red !important;
}
.dark-mode span, .dark-mode p,
.dark-mode .ticket-table,
.dark-mode .table,
.dark-mode.reply, .dark-mode .ticketratingtitle,
.dark-mode .comment-reply-title,
.dark-mode .note-editable,
.dark-mode .label,
.dark-mode .float-right,
.dark-mode .box-categories .section-title,
.dark-mode .site-content .fa-ul > li a,
.dark-mode .banner-horizontal .banner-title,
.dark-mode .banner-horizontal .banner-content p,
.dark-mode #section-banner .banner-content p,
.dark-mode .section-title,
.dark-mode footer p,
.dark-mode .box-categories .fa-ul > li > *,
.dark-mode .fa-regular,
.dark-mode footer small.text-muted,
.dark-mode .site-content .section .fa-ul > li > .meta > *,
.dark-mode header.entry-header h1,
.dark-mode .entry-content,
.dark-mode h4.panel-title.h4 a,
.dark-mode h1.archive-title,
.dark-mode .archive-list .entry-footer span,
.dark-mode .archive-article .entry-header > .fa-fw,
.dark-mode header.entry-header span,
.dark-mode .comment-content,
.dark-mode .comment-author .fn,
.dark-mode .comment-author .fn a,
.dark-mode .entry-attribute strong,
.dark-mode footer.entry-footer small,
.dark-mode .entry-summary,
.dark-mode form#commentform label,
.dark-mode .fa-ul i,
.dark-mode .error404 .error-title,
.dark-mode .error404 ,
.dark-mode .h2,
.dark-mode .entry-title,
.dark-mode.section-title .text-muted.text-info.nav-item {
color: #fff !important;
}
.dark-mode div#respond, .dark-mode form.contact-form{
background-color: #0000;
}
div#respond .form-group {
margin-bottom: 1rem;
}
/*.addrotate {*/
/*!* transform: rotate(180deg);*!*/
/*!*}*!*/
#login-form .form-group, form.contact-form .form-group {
margin-bottom: 1rem;
}
.dark-mode button.navbar-toggler.custom-toggler {
background-color: #fff;
border-color: #fff;
}
.m-none {
display: none;
}
.desk_none{
display: block;
}
#respond .media {
display: -ms-flexbox;
display: flex;
-ms-flex-align: start;
align-items: flex-start;
}
form#commentform label, form.contact-form label {
display: inline-block;
margin-bottom: 0.5rem;
}
.custom_alert .close {
position: absolute;
line-height: 20px;
right: 21px;
}
.custom_alert .fa {
float: left;
margin-left: -26px;
font-size: 3em;
}
.error404 .search-form .form-group {
margin: auto;
justify-content: center;
}
ul.dropdown-menu a.dropdown-item.active{
background: none !important;
color: #b00 !important;
}
.share-links .text-muted.mr-2 {
margin-right: 0.5rem;
}
.rate-post li .btn-social {
color: #666 !important;
background: #eee !important;
border-color: transparent !important;
border-radius: 0 !important;
}
@media (min-width: 576px){
.form-inline .form-group {
display: -ms-flexbox;
display: flex;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
-ms-flex-align: center;
align-items: center;
margin-bottom: 0;
}
.form-inline .form-control {
display: inline-block;
width: auto;
vertical-align: middle;
}
.site-navigation .dropdown-menu {
margin-left: -6px !important;
}
}
@media(max-width: 992px){
.navbar .login-form {
top: 24px;
}
.switcher-toggle span.icon {
height: 24px;
width: 24px;
top: 3px;
left: 4px;
right: auto;
}
.switcher-toggle {
float: right;
width: 80px;
height: 32px;
margin-top: 10px;
}
.m-none {
display: block;
}
.desk_none{
display: none;
}
}

157
public/lb-faveo/css/edit.css vendored Normal file
View File

@@ -0,0 +1,157 @@
p {
font-size: .8rem
;
}
/* navbar edit */
.navbar .navbar-nav>li>a{
color: #777 ;
}
.dropdown a.dropdown-item{
color: #777 ;
}
select option:last-of-type {
display: inherit;
}
ul.navbar-login li,
ul.navbar-login li:hover{
border: none;
}
.navbar {
width: 100% !important;
padding-bottom: 40px;
padding-top: 0 !important;
}
.dropdown-menu {
position: absolute !important;
top: 90%;
width: 200px
}
.navbar-nav li{
border-right: 1px solid #eee;
border-top: 3px solid transparent;
padding: 0 5px;
}
.navbar-nav li:hover {
border-top: 3px solid #ddd;
}
.navbar-nav .active {
border-top: 3px solid #ddd;
}
.navbar-nav .dropdown-menu .active,
.navbar-nav .dropdown-menu li:hover {
border-top: 3px solid transparent;
}
.dropdown-toggle::after {
display: none;
}
.navbar .nav-item a {
padding: 15px;
}
.navbar .nav-item:hover a{
text-decoration: none;
}
.navbar {
background-color: #f8f8f8;
border-color: #e7e7e7;
padding: 30px 0;
font-size: 15px;
}
.navbar .btn-custom {
font-size: 15px;
}
.navbar .login-form {
top: 65%;
}
#section-banner .banner-content p {
font-size: 12px
}
.banner-content .btn{
text-shadow: none;
}
.btn-sm.btn-custom{
font-size: 10px;
border-radius: 2px;
}
.nav-categories li,
.nav-categories li a{
width: 100%;
border-radius: 0 !important;
}
/*--------------------------------------*/
.breadcrumb-custom li::after {
display: inherit;
}
.breadcrumb-custom li i {
font-size: 10px;
padding: 0 5px;
}
.blockquote {
padding: 10px 15px;
border-left: 4px solid #ddd;
}
.blockquote p {
margin: 0;
}
/* --------------------------------- */
.alert-custom {
padding: 0 20px;
}
.alert-custom .warning {
font-size: 40px;
padding-right: 15px
}
.alert-custom .media-body {
padding: 11px 0 0;
}
.text-danger {
color: #a94442 !important;
}
.site-search .search-form .btn-custom {
}
.site-search .search-form .input-lg {
width: 55% !important;
border-radius: 5px !important;
}
.accordion .accordion-toggle {
color: #4d3333 !important;
font-size: 1.1rem;
}
.site-footer {
padding-bottom: 0;
}
.bord {
border-top: 1px solid #ddd;
padding: 20px 0 0;
}
.share-links {
margin-top: .5rem
}
.rate-post {
margin-top: .5rem;
}
.breadcrumb-custom {
margin: 0;
padding: 1rem 0;
}
.tagcloud a{
font-size: 12px !important;
}
.pagination .page-item a:focus,
.pagination .page-item:focus {
outline: none;
box-shadow: none;
}
@media only screen and (max-width: 600px) {
.site-navigation .dropdown-menu {
margin-left: -6px !important;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

80
public/lb-faveo/js/app.js vendored Normal file
View File

@@ -0,0 +1,80 @@
/*global $*/
$(function ($) {
"use strict";
/*-----------------------------------------------------------------------------------*/
/* Site Navigation */
/* ----------------------------------------------------------------------------------- */
// $('#navbar .navbar-menu').mobileMenu({className: 'form-control'})
$('#navbar .navbar-menu li').each(function () {
$(this).filter('.active').parents('li').addClass('active');
if ($('ul', this).length > 0) {
$(this).children('a').append('<i class="sub-indicator fa fa-angle-down fa-fw text-muted"></i>');
}
});
$('#navbar .navbar-menu, #navbar .navbar-user').superfish({
animation: {opacity: 'show', height: 'show'},
delay: 100,
speed: "slow"
});
$('#navbar .navbar-user > li > a').on('click', function () {
$(this).parent().toggleClass('opened');
});
/*-----------------------------------------------------------------------------------*/
/* Main Search */
/*-----------------------------------------------------------------------------------*/
$.ajax({
url: 'search-terms.php',
dataType: 'json'
}).done(function (data) {
$('#header-search .search-field').autocomplete({
lookup: data,
appendTo: '#header-search .form-inline .form-group',
onSearchStart: function () {
$(this).addClass('loading');
},
onSearchComplete: function () {
$(this).removeClass('loading');
}
});
});
$('#header-search .search-field').on('focus', function () {
$('#header-search .search-advance-button').fadeIn();
$('#header-search .search-advance').slideDown();
});
$('#header-search .search-advance-button').on('click', function (e) {
e.preventDefault();
$(this).fadeOut(100);
$('#header-search .search-advance').slideUp(100);
});
/*-----------------------------------------------------------------------------------*/
/* Tooltip */
/*-----------------------------------------------------------------------------------*/
$('[data-toggle="tooltip"]').tooltip();
/*-----------------------------------------------------------------------------------*/
/* Accordion */
/*-----------------------------------------------------------------------------------*/
$('.accordion .accordion-toggle').prepend('<i class="fa fa-caret-down fa-fw pull-left text-danger"></i>');
/*-----------------------------------------------------------------------------------*/
/* Section */
/*-----------------------------------------------------------------------------------*/
$('.section-title').prepend('<i class="line"></i>');
/*-----------------------------------------------------------------------------------*/
/* Tweets List */
/*-----------------------------------------------------------------------------------*/
$('#tweets-list').carousel();
$('.dropdown a').hover(function () {
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(500);
}, function () {
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut(500);
});
});

1004
public/lb-faveo/js/autocomplete.js vendored Normal file

File diff suppressed because it is too large Load Diff

7
public/lb-faveo/js/bootstrap5.min.js vendored Normal file

File diff suppressed because one or more lines are too long

11
public/lb-faveo/js/custom.js vendored Normal file
View File

@@ -0,0 +1,11 @@
function myFunction() {
var element = document.body;
element.classList.toggle("dark-mode");
}
$(document).ready(function(){
$('.navbar-login i').click(function(){
$('#login-form').toggleClass('show');
$(this).toggleClass('addrotate');
});
});

4
public/lb-faveo/js/html5shiv.min.js vendored Normal file
View File

@@ -0,0 +1,4 @@
/**
* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
*/
!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.3",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b),"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:this,document);

78
public/lb-faveo/js/jquery.mobilemenu.js vendored Normal file
View File

@@ -0,0 +1,78 @@
/**
* jQuery Mobile Menu
* Turn unordered list menu into dropdown select menu
* version 1.1(27-JULY-2013)
*
* Built on top of the jQuery library
* http://jquery.com
*
* Documentation
* http://github.com/mambows/mobilemenu
*/
(function($){
$.fn.mobileMenu = function(options) {
var defaults = {
defaultText: 'Navigate to...',
className: 'select-menu',
subMenuClass: 'sub-menu',
subMenuDash: '&ndash;'
},
settings = $.extend( defaults, options ),
el = $(this);
this.each(function(){
var $el = $(this),
$select_menu;
// ad class to submenu list
$el.find('ul').addClass(settings.subMenuClass);
// Create base menu
var $select_menu = $('<select />',{
'class' : settings.className + ' ' + el.get(0).className
}).insertAfter( $el );
// Create default option
$('<option />', {
"value" : '#',
"text" : settings.defaultText
}).appendTo( $select_menu );
// Create select option from menu
$el.find('a').each(function(){
var $this = $(this),
optText = '&nbsp;' + $this.text(),
optSub = $this.parents( '.' + settings.subMenuClass ),
len = optSub.length,
dash;
// if menu has sub menu
if( $this.parents('ul').hasClass( settings.subMenuClass ) ) {
dash = Array( len+1 ).join( settings.subMenuDash );
optText = dash + optText;
}
// Now build menu and append it
$('<option />', {
"value" : this.href,
"html" : optText,
"selected" : (this.href == window.location.href)
}).appendTo( $select_menu );
}); // End el.find('a').each
// Change event on select element
$select_menu.change(function(){
var locations = $(this).val();
if( locations !== '#' ) {
window.location.href = $(this).val();
};
});
}); // End this.each
return this;
};
})(jQuery);

6
public/lb-faveo/js/popper.3.0.min.js vendored Normal file

File diff suppressed because one or more lines are too long

6
public/lb-faveo/js/respond.min.js vendored Normal file
View File

@@ -0,0 +1,6 @@
/*! Respond.js v1.4.2: min/max-width media query polyfill
* Copyright 2014 Scott Jehl
* Licensed under MIT
* https://j.mp/respondjs */
!function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='&shy;<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){v(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},g=function(a){return a.replace(c.regex.minmaxwh,"").match(c.regex.other)};if(c.ajax=f,c.queue=d,c.unsupportedmq=g,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var h,i,j,k=a.document,l=k.documentElement,m=[],n=[],o=[],p={},q=30,r=k.getElementsByTagName("head")[0]||l,s=k.getElementsByTagName("base")[0],t=r.getElementsByTagName("link"),u=function(){var a,b=k.createElement("div"),c=k.body,d=l.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=k.createElement("body"),c.style.background="none"),l.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&l.insertBefore(c,l.firstChild),a=b.offsetWidth,f?l.removeChild(c):c.removeChild(b),l.style.fontSize=d,e&&(c.style.fontSize=e),a=j=parseFloat(a)},v=function(b){var c="clientWidth",d=l[c],e="CSS1Compat"===k.compatMode&&d||k.body[c]||d,f={},g=t[t.length-1],p=(new Date).getTime();if(b&&h&&q>p-h)return a.clearTimeout(i),i=a.setTimeout(v,q),void 0;h=p;for(var s in m)if(m.hasOwnProperty(s)){var w=m[s],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?j||u():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?j||u():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(n[w.rules]))}for(var C in o)o.hasOwnProperty(C)&&o[C]&&o[C].parentNode===r&&r.removeChild(o[C]);o.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=k.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,r.insertBefore(E,g.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(k.createTextNode(F)),o.push(E)}},w=function(a,b,d){var e=a.replace(c.regex.comments,"").replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},i=!f&&d;b.length&&(b+="/"),i&&(f=1);for(var j=0;f>j;j++){var k,l,o,p;i?(k=d,n.push(h(a))):(k=e[j].match(c.regex.findStyles)&&RegExp.$1,n.push(RegExp.$2&&h(RegExp.$2))),o=k.split(","),p=o.length;for(var q=0;p>q;q++)l=o[q],g(l)||m.push({media:l.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:n.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}v()},x=function(){if(d.length){var b=d.shift();f(b.href,function(c){w(c,b.href,b.media),p[b.href]=!0,a.setTimeout(function(){x()},0)})}},y=function(){for(var b=0;b<t.length;b++){var c=t[b],e=c.href,f=c.media,g=c.rel&&"stylesheet"===c.rel.toLowerCase();e&&g&&!p[e]&&(c.styleSheet&&c.styleSheet.rawCssText?(w(c.styleSheet.rawCssText,e,f),p[e]=!0):(!/^([a-zA-Z:]*\/\/)/.test(e)&&!s||e.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&("//"===e.substring(0,2)&&(e=a.location.protocol+e),d.push({href:e,media:f})))}x()};y(),c.update=y,c.getEmValue=u,a.addEventListener?a.addEventListener("resize",b,!1):a.attachEvent&&a.attachEvent("onresize",b)}}(this);

278
public/lb-faveo/js/superfish.3.0.js vendored Normal file
View File

@@ -0,0 +1,278 @@
/*
* jQuery Superfish Menu Plugin
* Copyright (c) 2013 Joel Birch
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*/
(function ($, w) {
"use strict";
var methods = (function () {
// private properties and methods go here
var c = {
bcClass: 'sf-breadcrumb',
menuClass: 'sf-js-enabled',
anchorClass: 'sf-with-ul',
menuArrowClass: 'sf-arrows'
},
ios = (function () {
var ios = /^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent);
if (ios) {
// tap anywhere on iOS to unfocus a submenu
$('html').css('cursor', 'pointer').on('click', $.noop);
}
return ios;
})(),
wp7 = (function () {
var style = document.documentElement.style;
return ('behavior' in style && 'fill' in style && /iemobile/i.test(navigator.userAgent));
})(),
unprefixedPointerEvents = (function () {
return (!!w.PointerEvent);
})(),
toggleMenuClasses = function ($menu, o, add) {
var classes = c.menuClass,
method;
if (o.cssArrows) {
classes += ' ' + c.menuArrowClass;
}
method = (add) ? 'addClass' : 'removeClass';
$menu[method](classes);
},
setPathToCurrent = function ($menu, o) {
return $menu.find('li.' + o.pathClass).slice(0, o.pathLevels)
.addClass(o.hoverClass + ' ' + c.bcClass)
.filter(function () {
return ($(this).children(o.popUpSelector).hide().show().length);
}).removeClass(o.pathClass);
},
toggleAnchorClass = function ($li, add) {
var method = (add) ? 'addClass' : 'removeClass';
$li.children('a')[method](c.anchorClass);
},
toggleTouchAction = function ($menu) {
var msTouchAction = $menu.css('ms-touch-action');
var touchAction = $menu.css('touch-action');
touchAction = touchAction || msTouchAction;
touchAction = (touchAction === 'pan-y') ? 'auto' : 'pan-y';
$menu.css({
'ms-touch-action': touchAction,
'touch-action': touchAction
});
},
getMenu = function ($el) {
return $el.closest('.' + c.menuClass);
},
getOptions = function ($el) {
return getMenu($el).data('sfOptions');
},
over = function () {
var $this = $(this),
o = getOptions($this);
clearTimeout(o.sfTimer);
$this.siblings().superfish('hide').end().superfish('show');
},
close = function (o) {
o.retainPath = ($.inArray(this[0], o.$path) > -1);
this.superfish('hide');
if (!this.parents('.' + o.hoverClass).length) {
o.onIdle.call(getMenu(this));
if (o.$path.length) {
$.proxy(over, o.$path)();
}
}
},
out = function () {
var $this = $(this),
o = getOptions($this);
if (ios) {
$.proxy(close, $this, o)();
}
else {
clearTimeout(o.sfTimer);
o.sfTimer = setTimeout($.proxy(close, $this, o), o.delay);
}
},
touchHandler = function (e) {
var $this = $(this),
o = getOptions($this),
$ul = $this.siblings(e.data.popUpSelector);
if (o.onHandleTouch.call($ul) === false) {
return this;
}
if ($ul.length > 0 && $ul.is(':hidden')) {
$this.one('click.superfish', false);
if (e.type === 'MSPointerDown' || e.type === 'pointerdown') {
$this.trigger('focus');
} else {
$.proxy(over, $this.parent('li'))();
}
}
},
applyHandlers = function ($menu, o) {
var targets = 'li:has(' + o.popUpSelector + ')';
if ($.fn.hoverIntent && !o.disableHI) {
$menu.hoverIntent(over, out, targets);
}
else {
$menu
.on('mouseenter.superfish', targets, over)
.on('mouseleave.superfish', targets, out);
}
var touchevent = 'MSPointerDown.superfish';
if (unprefixedPointerEvents) {
touchevent = 'pointerdown.superfish';
}
if (!ios) {
touchevent += ' touchend.superfish';
}
if (wp7) {
touchevent += ' mousedown.superfish';
}
$menu
.on('focusin.superfish', 'li', over)
.on('focusout.superfish', 'li', out)
.on(touchevent, 'a', o, touchHandler);
};
return {
// public methods
hide: function (instant) {
if (this.length) {
var $this = this,
o = getOptions($this);
if (!o) {
return this;
}
var not = (o.retainPath === true) ? o.$path : '',
$ul = $this.find('li.' + o.hoverClass).add(this).not(not).removeClass(o.hoverClass).children(o.popUpSelector),
speed = o.speedOut;
if (instant) {
$ul.show();
speed = 0;
}
o.retainPath = false;
if (o.onBeforeHide.call($ul) === false) {
return this;
}
$ul.stop(true, true).animate(o.animationOut, speed, function () {
var $this = $(this);
o.onHide.call($this);
});
}
return this;
},
show: function () {
var o = getOptions(this);
if (!o) {
return this;
}
var $this = this.addClass(o.hoverClass),
$ul = $this.children(o.popUpSelector);
if (o.onBeforeShow.call($ul) === false) {
return this;
}
$ul.stop(true, true).animate(o.animation, o.speed, function () {
o.onShow.call($ul);
});
return this;
},
destroy: function () {
return this.each(function () {
var $this = $(this),
o = $this.data('sfOptions'),
$hasPopUp;
if (!o) {
return false;
}
$hasPopUp = $this.find(o.popUpSelector).parent('li');
clearTimeout(o.sfTimer);
toggleMenuClasses($this, o);
toggleAnchorClass($hasPopUp);
toggleTouchAction($this);
// remove event handlers
$this.off('.superfish').off('.hoverIntent');
// clear animation's inline display style
$hasPopUp.children(o.popUpSelector).attr('style', function (i, style) {
if (typeof style !== 'undefined') {
return style.replace(/display[^;]+;?/g, '');
}
});
// reset 'current' path classes
o.$path.removeClass(o.hoverClass + ' ' + c.bcClass).addClass(o.pathClass);
$this.find('.' + o.hoverClass).removeClass(o.hoverClass);
o.onDestroy.call($this);
$this.removeData('sfOptions');
});
},
init: function (op) {
return this.each(function () {
var $this = $(this);
if ($this.data('sfOptions')) {
return false;
}
var o = $.extend({}, $.fn.superfish.defaults, op),
$hasPopUp = $this.find(o.popUpSelector).parent('li');
o.$path = setPathToCurrent($this, o);
$this.data('sfOptions', o);
toggleMenuClasses($this, o, true);
toggleAnchorClass($hasPopUp, true);
toggleTouchAction($this);
applyHandlers($this, o);
$hasPopUp.not('.' + c.bcClass).superfish('hide', true);
o.onInit.call(this);
});
}
};
})();
$.fn.superfish = function (method, args) {
if (methods[method]) {
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
}
else if (typeof method === 'object' || ! method) {
return methods.init.apply(this, arguments);
}
else {
return $.error('Method ' + method + ' does not exist on jQuery.fn.superfish');
}
};
$.fn.superfish.defaults = {
popUpSelector: 'ul,.sf-mega', // within menu context
hoverClass: 'sfHover',
pathClass: 'overrideThisToUse',
pathLevels: 1,
delay: 800,
animation: {opacity: 'show'},
animationOut: {opacity: 'hide'},
speed: 'normal',
speedOut: 'fast',
cssArrows: true,
disableHI: false,
onInit: $.noop,
onBeforeShow: $.noop,
onShow: $.noop,
onBeforeHide: $.noop,
onHide: $.noop,
onIdle: $.noop,
onDestroy: $.noop,
onHandleTouch: $.noop
};
})(jQuery, window);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,5 @@
@if (isset($breadcrumbs)) @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') !!} : &nbsp;</li> <li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : &nbsp;</li>
@foreach($breadcrumbs as $breadcrumb) @foreach($breadcrumbs as $breadcrumb)
@@ -8,5 +9,6 @@
<li class="breadcrumb-item active">{{ str_replace("&nbsp;", "", $breadcrumb->title) }}</li> <li class="breadcrumb-item active">{{ str_replace("&nbsp;", "", $breadcrumb->title) }}</li>
@endif @endif
@endforeach @endforeach
</ol> </ol>
@endif @endif

24
resources/views/auth/login.blade.php Normal file → Executable file
View File

@@ -5,10 +5,9 @@
@stop @stop
@section('breadcrumb') @section('breadcrumb')
<div class="site-hero clearfix"> <ol class="breadcrumb float-sm-right ">
<ol class="breadcrumb breadcrumb-custom"> <li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : &nbsp;</li>
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li> <li><a href="{!! URL::route('post.login') !!}">{!! Lang::get('lang.login') !!}</a></li>
<li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.home') !!}</a></li>
</ol> </ol>
</div> </div>
@stop @stop
@@ -65,7 +64,7 @@
@if($system->status == 1) @if($system->status == 1)
<span onclick="javascript: window.location.href='{!! URL::route('form') !!}';"> <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') }})"> <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> </a>
</span> </span>
@endif @endif
@@ -87,9 +86,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"> $(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> <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"> <div class="form-border">
@@ -110,22 +109,21 @@
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}" style="display: -webkit-box;"> <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']) !!} {!! 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>
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}" style="display: -webkit-box;"> <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']) !!} {!! 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>
<div> <div>
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get("lang.login") !!}</button> <button type="submit" class="btn btn-primary btn-block btn-flat" STYLE="width: 100%; color: white">{!! Lang::get("lang.login") !!}</button> </div>
</div>
<div class="row mt-2"> <div class="row mt-2">
<div class="col-sm-4"> <div class="col-sm-5">
<div> <div>
@@ -136,7 +134,7 @@
</div> </div>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-5">
<a href="{{url('password/email')}}">{!! Lang::get("lang.iforgot") !!}</a><br> <a href="{{url('password/email')}}">{!! Lang::get("lang.iforgot") !!}</a><br>
</div> </div>

View File

@@ -5,12 +5,10 @@
@stop @stop
@section('breadcrumb') @section('breadcrumb')
<div class="site-hero clearfix"> <ol class="breadcrumb float-sm-right ">
<ol class="breadcrumb breadcrumb-custom"> <li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} :&nbsp; </li>
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li> <li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.forgot_password') !!}</a></li>
<li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.home') !!}</a></li>
</ol> </ol>
</div>
@stop @stop
@section('content') @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"> $(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 type="text/javascript" >try {if (top.location.hostname != self.location.hostname) { throw 1; }} catch (e) { top.location.href = self.location.href; }
</script> </script>
<div class="d-flex justify-content-center">
<div class="col-md-6 offset-md-3 form-helper"> <div class="login-box" style=" width: 490px;" >
<div class="login-box" style=" width: 490px;" valign = "center">
<div class="form-border"> <div class="form-border">
@@ -98,21 +95,20 @@
<input type="email" class="form-control" name="email" placeholder="{!! Lang::get('lang.email') !!}" value="{{ old('email') }}"> <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>
<div class="row"> <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> <a href="{{url('auth/login')}}" class="text-center">{!! Lang::get('lang.i_know_my_password') !!}</a>
</div> </div>
<div class="col-sm-4"> <div class="col-sm-6">
<span class="input-group-btn"> <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>
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get('lang.send') !!}</button>
</span> </span>
<br/> <br/>
</div> </div>

View File

@@ -5,13 +5,20 @@
@stop @stop
@section('breadcrumb') @section('breadcrumb')
<div class="site-hero clearfix"> {{-- <div class="site-hero clearfix">--}}
<ol class="breadcrumb breadcrumb-custom"> <ol class="breadcrumb float-sm-right ">
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li> <li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : &nbsp;</li>
<li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.home') !!}</a></li>
<li><a href="{!! URL::route('post.register') !!}">{!! Lang::get('lang.register') !!}</a></li>
</ol> </ol>
</div> {{-- </div>--}}
@stop @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') @section('content')
@@ -74,9 +81,8 @@
</div> </div>
</div> </div>
<div class="col-md-6 offset-md-3 form-helper"> <div class="d-flex justify-content-center">
<div class="login-box" style=" width: 490px;">
<div class="login-box" style=" width: 490px;" valign = "center">
<div class="form-border"> <div class="form-border">
@@ -88,9 +94,9 @@
</div> </div>
<div> <div>
<div class="text-center">
<h3 class="box-title" align="center">{{Lang::get('lang.registration')}}</h3> <h3 class="box-title" >{{Lang::get('lang.registration')}}</h3>
</div> </div> </div>
<div> <div>
@@ -104,19 +110,19 @@
<div class="form-group has-feedback {{ $errors->has('full_name') ? 'has-error' : '' }}" style="display: -webkit-box;"> <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']) !!} {!! 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> </div>
<!-- Email --> <!-- Email -->
@if (($email_mandatory->status == 1 || $email_mandatory->status == '1')) @if (($email_mandatory->status == 1 || $email_mandatory->status == '1'))
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}" style="display: -webkit-box;"> <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']) !!} {!! 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> </div>
@elseif (($settings->status == 0 || $settings->status == '0') && ($email_mandatory->status == 0 || $email_mandatory->status == '0')) @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;"> <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']) !!} {!! 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> </div>
@else @else
{!! Form::hidden('email', null) !!} {!! Form::hidden('email', null) !!}
@@ -132,7 +138,7 @@
<div class="col-md-9"> <div class="col-md-9">
<div class="form-group has-feedback {{ $errors->has('mobile') ? 'has-error' : '' }}" style="display: -webkit-box;"> <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']) !!} {!! 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> </div>
</div> </div>
@@ -145,20 +151,20 @@
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}" style="display: -webkit-box;"> <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']) !!} {!! 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>
<!-- Confirm password --> <!-- Confirm password -->
<div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}" style="display: -webkit-box;"> <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']) !!} {!! 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>
<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>
<div> <div>

View File

@@ -79,7 +79,7 @@
<input type="email" class="form-control" name="email" placeholder="{!! Lang::get('lang.e-mail') !!}" value="{{ $email }}" readonly> <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> </div>
<!-- password --> <!-- password -->
@@ -87,7 +87,7 @@
<input type="password" class="form-control" name="password" placeholder="{!! Lang::get('lang.password') !!}"> <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> </div>
<!-- confirm password --> <!-- confirm password -->
@@ -95,7 +95,7 @@
<input type="password" class="form-control" name="password_confirmation" placeholder="{!! Lang::get('lang.confirm_password') !!}"> <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> </div>
<!-- Confirm password --> <!-- Confirm password -->
<div class="form-group"> <div class="form-group">

View File

@@ -1,4 +1,16 @@
@extends('themes.default1.client.layout.client') @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') !!} : &nbsp;</li>
<li><a class="words" href="{{url('/')}}">{!! Lang::get('lang.home') !!}</a></li>
@stop
@section('content') @section('content')
<div id="page" class="hfeed site"> <div id="page" class="hfeed site">
<article class="hentry error404 text-center"> <article class="hentry error404 text-center">

View File

@@ -1,4 +1,15 @@
@extends('themes.default1.client.layout.client') @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') !!} : &nbsp;</li>
<li><a class="words" href="{{url('/')}}">{!! Lang::get('lang.home') !!}</a></li>
@stop
@section('content') @section('content')
<div id="page" class="hfeed site"> <div id="page" class="hfeed site">
<article class="hentry error404 text-center" style="margin-left: 300px;"> <article class="hentry error404 text-center" style="margin-left: 300px;">

View File

@@ -6,12 +6,12 @@
<div class="form-group has-feedback"> <div class="form-group has-feedback">
<!-- email --> <!-- email -->
<input type="text" class="form-control" placeholder="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>
<div class="form-group has-feedback"> <div class="form-group has-feedback">
<!-- password --> <!-- password -->
<input type="password" class="form-control" placeholder="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>
<div class="row"> <div class="row">
<div class="col-xs-8"> <div class="col-xs-8">

View File

@@ -42,6 +42,9 @@
<link href="{{asset("lb-faveo/plugins/colorpicker/bootstrap-colorpicker.min.css")}}" rel="stylesheet" type="text/css" /> <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> <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-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/jquery.ui.3.2.0.js")}}" type="text/javascript"></script>
<script src="{{asset("lb-faveo/js/popper.min.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"> <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--> <!-- Sidebar toggle button-->
<ul class="navbar-nav"> <ul class="navbar-nav">
@@ -333,7 +336,7 @@
<!-- Left side column. contains the logo and sidebar --> <!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar elevation-4 sidebar-dark-orange"> <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"> <img src="{{ asset('lb-faveo/media/images/logo.png')}}" class="brand-image" alt="Company Log0">
</a> </a>

View File

@@ -58,6 +58,10 @@ class="nav-link active"
<th width="100px">{{Lang::get('lang.name')}}</th> <th width="100px">{{Lang::get('lang.name')}}</th>
<th width="100px">{{Lang::get('lang.action')}}</th> <th width="100px">{{Lang::get('lang.action')}}</th>
</tr> </tr>
@if($Canneds->isEmpty())
<td colspan="4" class="dataTables_empty">No data available in table</td>
@endif
@foreach($Canneds as $Canned) @foreach($Canneds as $Canned)
<tr> <tr>
<td>{{$Canned->title }}</td> <td>{{$Canned->title }}</td>

View File

@@ -44,6 +44,9 @@
<link rel="stylesheet" href="{{asset("lb-faveo/css/bootstrap-datetimepicker4.7.14.min.css")}}" rel="stylesheet" type="text/css" /> <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 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" /> <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-3.6.3.min.js")}}" type="text/javascript"></script>
<script src="{{asset("lb-faveo/js/jquery-migrate.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--> <!-- Sidebar toggle button-->
<ul class="navbar-nav"> <ul class="navbar-nav">
@@ -365,9 +368,9 @@
</nav> </nav>
<!-- Left side column. contains the logo and sidebar --> <!-- 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"> <img src="{{ asset('lb-faveo/media/images/logo.png')}}" class="brand-image" alt="Company Log0">
</a> </a>
@@ -509,7 +512,7 @@
@if($replacetop==0) @if($replacetop==0)
<div @yield('user') class="tab-pane" id="tab_user"> <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"> <ul class="navbar-nav">
@@ -526,7 +529,7 @@
<div @yield('ticket') class="tab-pane" id="tab_ticket"> <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"> <ul class="navbar-nav">
@@ -557,7 +560,7 @@
<div @yield('tool') class="tab-pane" id="tab_tools"> <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"> <ul class="navbar-nav">

View File

@@ -1,4 +1,19 @@
@extends('themes.default1.client.layout.client') @extends('themes.default1.client.layout.client')
@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') !!} : &nbsp;</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') @section('content')
<?php <?php
$tickets = App\Model\helpdesk\Ticket\Tickets::where('id', '=', \Crypt::decrypt($id))->first(); $tickets = App\Model\helpdesk\Ticket\Tickets::where('id', '=', \Crypt::decrypt($id))->first();
@@ -61,7 +76,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
<div> <div>
<button type="button" class="btn btn-light dropdown-toggle" data-toggle="dropdown"> <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> <i class="fas fa-exchange-alt" style="color:teal;"> </i>
@@ -341,14 +356,16 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
<div class="comment-content"> <div class="comment-content">
@if($conversation->firstContent()=='yes') @if($conversation->firstContent()=='yes')
<div class="embed-responsive{{$conversation->id}} embed-responsive-16by9 "></div> <div class="embed-responsive{{$conversation->id}} embed-responsive-16by9">
<div class="reply">{!! $conversation->purify(true) !!}</div>
</div>
<script> <script>
setTimeout(function(){ setTimeout(function(){
var $iframe = "Id{{$conversation->id}}"; 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}}"); $('<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(){ setTimeout(function(){
$('#'+$iframe).contents().find('body').append('<body><style>body{display:inline-block;}</style>{!!$conversation->purify(true)!!}<body>'); $('#'+$iframe).contents().find('body').append('<style>body{display:inline-block;}</style>');
},100) }, 100);
setTimeout(function(){ setTimeout(function(){
var frameid = document.getElementById($iframe); var frameid = document.getElementById($iframe);
if(parseInt($("#"+$iframe).contents().find('img').css('width'))>700){ if(parseInt($("#"+$iframe).contents().find('img').css('width'))>700){
@@ -361,9 +378,9 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
}, 0); }, 0);
</script> </script>
@else @else
{!! $conversation->body !!}
@endif @endif
@if($conversation->id == $ij->id) @if($conversation->id == $ij->id)
<?php $ticket_form_datas = App\Model\helpdesk\Ticket\Ticket_Form_Data::where('ticket_id', '=', $tickets->id)->get(); ?> <?php $ticket_form_datas = App\Model\helpdesk\Ticket\Ticket_Form_Data::where('ticket_id', '=', $tickets->id)->get(); ?>
@if(isset($ticket_form_datas)) @if(isset($ticket_form_datas))
@@ -438,7 +455,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
<?php } <?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(); ?> <?php echo $conversations->setPath(route('check_ticket', ['id' => $id]))->render(); ?>
</div> </div>
<br/><br/> <br/><br/>
@@ -473,7 +490,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
@endif @endif
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="form-group "> <div class="form-group " style="background-color: white">
<textarea class="form-control" id="reply-input" name="comment" cols="30" rows="8" ></textarea> <textarea class="form-control" id="reply-input" name="comment" cols="30" rows="8" ></textarea>
</div> </div>
</div> </div>
@@ -481,7 +498,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
<div class="text-right"> <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> </div>
{!! Form::close() !!} {!! Form::close() !!}
</div> </div>

View File

@@ -5,9 +5,9 @@
@stop @stop
@section('breadcrumb') @section('breadcrumb')
<div class="site-hero clearfix">
<ol class="breadcrumb breadcrumb-custom"> <ol class="breadcrumb float-sm-right ">
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li> <li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : &nbsp;</li>
<li><a href="#">{!! Lang::get('lang.home') !!}</a></li> <li><a href="#">{!! Lang::get('lang.home') !!}</a></li>
<li class="active">{!! Lang::get('lang.ticket_status') !!}</li> <li class="active">{!! Lang::get('lang.ticket_status') !!}</li>
</ol> </ol>
@@ -34,7 +34,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id','=',\Crypt:
{{-- <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> --}} {{-- <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> -->
<div class="btn-group"> <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> <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> {!! Lang::get('lang.change_status') !!} <span class="caret"></span>
</button> </button>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
@@ -547,4 +547,3 @@ $('#foo2').submit();

View File

@@ -9,9 +9,17 @@ class = "nav-item active"
@stop @stop
<!-- breadcrumbs --> <!-- breadcrumbs -->
@section('breadcrumb') @section('breadcrumb')
<div class="site-hero clearfix"> {{--<div class="site-hero clearfix">--}}
<ol class="breadcrumb breadcrumb-custom"> <ol class="breadcrumb float-sm-right ">
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li> <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') !!} : &nbsp;</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> <li><a href="{!! URL::route('form') !!}">{!! Lang::get('lang.submit_a_ticket') !!}</a></li>
</ol> </ol>
</div> </div>
@@ -46,10 +54,12 @@ class = "nav-item active"
<div> <div>
{!! Form::open(['url' => 'checkmyticket' , 'method' => 'POST'] )!!} {!! Form::open(['url' => 'checkmyticket' , 'method' => 'POST'] )!!}
{!! Form::label('email',Lang::get('lang.email')) !!}<span class="text-red"> *</span> {!! 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::label('ticket_number',Lang::get('lang.ticket_number')) !!}<span class="text-red"> *</span>
{!! Form::text('ticket_number',null,['class' => 'form-control']) !!} {!! Form::text('ticket_number',null,['class' => 'form-control form-group']) !!}
<br/><input type="submit" value="{!! Lang::get('lang.check_ticket_status') !!}" class="btn btn-info"> <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() !!} {!! Form::close() !!}
</div> </div>
</section> </section>
@@ -102,7 +112,7 @@ class = "nav-item active"
<h2 class="section-title h4 clearfix mb-0"> <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> </h2>
<div class="row mt-4"> <div class="row mt-4">
@@ -166,7 +176,7 @@ class = "nav-item active"
<?php <?php
$forms = App\Model\helpdesk\Form\Forms::get(); $forms = App\Model\helpdesk\Form\Forms::get();
$helptopic = App\Model\helpdesk\Manage\Help_topic::where('status', '=', 1)->get(); $helptopic = App\Model\helpdesk\Manage\Help_topic::where('status', '=', 1)->get();
?> // ?><!---->
<select name="helptopic" class="form-control" id="selectid"> <select name="helptopic" class="form-control" id="selectid">
@foreach($helptopic as $topic) @foreach($helptopic as $topic)
@@ -216,9 +226,8 @@ class = "nav-item active"
<div class="col-md-12" id="response"> </div> <div class="col-md-12" id="response"> </div>
<div id="ss" class="xs-md-6 form-group {{ $errors->has('') ? 'has-error' : '' }}"> </div> <div id="ss" class="xs-md-6 form-group {{ $errors->has('') ? 'has-error' : '' }}"> </div>
<div class="col-md-12 form-group"> <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();'])!!} {!! 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>
<div class="col-md-12" id="response"> </div> <div class="col-md-12" id="response"> </div>
<div id="ss" class="xs-md-6 form-group {{ $errors->has('') ? 'has-error' : '' }}"> </div> <div id="ss" class="xs-md-6 form-group {{ $errors->has('') ? 'has-error' : '' }}"> </div>

View File

@@ -14,12 +14,13 @@
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
@stop @stop
@section('breadcrumb') @section('breadcrumb')
<div class="site-hero clearfix"> {{-- <div class="site-hero clearfix">--}}
<ol class="breadcrumb breadcrumb-custom"> <ol class="breadcrumb float-sm-right ">
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li> <li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} : &nbsp;</li>
<li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.home') !!}</a></li> <li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.home') !!}</a></li>
</ol> </ol>
</div> {{-- </div>--}}
@stop @stop
@section('content') @section('content')
@if(!Session::has('error') && count($errors)>0) @if(!Session::has('error') && count($errors)>0)
@@ -34,6 +35,7 @@
</ul> </ul>
</div> </div>
@endif @endif
<div id="content" class="site-content col-md-12"> <div id="content" class="site-content col-md-12">
<div id="corewidgetbox" class="wid"> <div id="corewidgetbox" class="wid">
<div id="wbox" class="widgetrow text-center"> <div id="wbox" class="widgetrow text-center">

View File

@@ -7,7 +7,14 @@ My Tickets -
@section('myticket') @section('myticket')
class="nav-item active" class="nav-item active"
@stop @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') !!} : &nbsp;</li>
<li><a href="{!! URL::route('ticket') !!}">{!! Lang::get('lang.my_tickets') !!}</a></li>
</ol>
@stop
@section('content') @section('content')
<style type="text/css"> <style type="text/css">
.table th { .table th {
@@ -20,13 +27,13 @@ class="nav-item active"
$open = App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', Auth::user()->id) $open = App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', Auth::user()->id)
->where('status', '=', 1) ->where('status', '=', 1)
->orderBy('id', 'DESC') ->orderBy('id', 'DESC')
->paginate(20); ->paginate(10);
?> ?>
<?php <?php
$close = App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', Auth::user()->id) $close = App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', Auth::user()->id)
->whereIn('status', [2, 3]) ->whereIn('status', [2, 3])
->orderBy('id', 'DESC') ->orderBy('id', 'DESC')
->paginate(20); ->paginate(10);
?> ?>
<div class="nav-tabs-custom"> <div class="nav-tabs-custom">
@@ -34,7 +41,7 @@ class="nav-item active"
<li class="nav-item"> <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> <b>{!! Lang::get('lang.opened') !!}</b>
@@ -45,7 +52,7 @@ class="nav-item active"
<li class="nav-item"> <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> <b>{!! Lang::get('lang.closed') !!}</b>
@@ -60,9 +67,9 @@ class="nav-item active"
{!! Form::open(['route'=>'select_all','method'=>'post']) !!} {!! Form::open(['route'=>'select_all','method'=>'post']) !!}
<div class="mailbox-controls mt-3"> <div class="mailbox-controls mt-3">
<!-- Check all button --> <!-- 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 checkbox-toggle" style="background-color: whitesmoke"><i class="far fa-square"></i></a>
<a class="btn btn-light btn-sm" id="click1"><i class="fas fa-sync"></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') !!}"> <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"> <div class="float-right" id="refresh21">
{!! $open->count().'-'.$open->total(); !!} {!! $open->count().'-'.$open->total(); !!}
</div> </div>
@@ -149,9 +156,9 @@ class="nav-item active"
{!! Form::open(['route'=>'select_all','method'=>'post']) !!} {!! Form::open(['route'=>'select_all','method'=>'post']) !!}
<div class="mailbox-controls mt-3"> <div class="mailbox-controls mt-3">
<!-- Check all button --> <!-- 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 checkbox-toggle" style="background-color: whitesmoke"><i class="far fa-square" ></i></a>
<a class="btn btn-light btn-sm" id="click2"><i class="fas fa-sync"></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') !!}"> <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"> <div class="float-right" id="refresh22">
{!! $close->count().'-'.$close->total(); !!} {!! $close->count().'-'.$close->total(); !!}
</div> </div>

View File

@@ -3,7 +3,14 @@
@section('profile') @section('profile')
class="nav-item active" class="nav-item active"
@stop @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') !!} : &nbsp;</li>
<li><a href="{!! URL::route('client.profile') !!}">{!! Lang::get('lang.my_profile') !!}</a></li>
</ol>
@stop
@section('content') @section('content')
<div id="content" class="site-content col-md-12"> <div id="content" class="site-content col-md-12">
@@ -73,7 +80,7 @@ class="nav-item active"
<h2 class="section-title h4 clearfix"> <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> </h2>
<div> <div>
@@ -153,8 +160,10 @@ class="nav-item active"
<div class="form-group" style="padding-bottom: 10px;"> <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> </div>
</section> </section>
</div> </div>
@@ -177,26 +186,28 @@ class="nav-item active"
{!! Form::label('old_password',Lang::get('lang.old_password')) !!}<span class="text-red"> *</span> {!! 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;"> <div class="form-group has-feedback {{ $errors->has('old_password') ? 'has-error' : '' }}" style="display: -webkit-box;">
{!! Form::password('old_password',['class' => 'form-control']) !!} {!! 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> </div>
<!-- new password --> <!-- new password -->
{!! Form::label('new_password',Lang::get('lang.new_password')) !!}<span class="text-red"> *</span> {!! 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;"> <div class="form-group has-feedback {{ $errors->has('new_password') ? 'has-error' : '' }}" style="display: -webkit-box;">
{!! Form::password('new_password',['class' => 'form-control']) !!} {!! 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> </div>
<!-- cofirm password --> <!-- cofirm password -->
{!! Form::label('confirm_password',Lang::get('lang.confirm_password')) !!}<span class="text-red"> *</span> {!! 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;"> <div class="form-group has-feedback {{ $errors->has('confirm_password') ? 'has-error' : '' }}" style="display: -webkit-box;">
{!! Form::password('confirm_password',['class' => 'form-control']) !!} {!! 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> </div>
{!! Form::close() !!} {!! Form::close() !!}
<div class="form-group" style="padding-bottom: 10px;"> <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>
</div> </div>
</section> </section>

View File

@@ -356,7 +356,7 @@ foreach ($conversations as $conversation) {
@endif @endif
<?php $id2 = $tickets->id; ?> <?php $id2 = $tickets->id; ?>
<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"></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']) !!} {!! Form::open(['url'=>'post-ticket-reply/'.$tickets->id.'#formabc']) !!}
<div class="row"> <div class="row">
<div class="form-group"> <div class="form-group">

View File

@@ -7,7 +7,21 @@
@section('kb') @section('kb')
class = "nav-item active" class = "nav-item active"
@stop @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') !!} : &nbsp;</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') @section('content')
<div id="content" class="site-content col-md-9"> <div id="content" class="site-content col-md-9">
@@ -70,7 +84,7 @@
<h2 class="section-title h4 clearfix"> <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> <small class="float-right"><i class="far fa-hdd fa-fw"></i></small>
</h2> </h2>

View File

@@ -8,6 +8,24 @@
@section('kb') @section('kb')
class = "nav-item active" class = "nav-item active"
@stop @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') !!} : &nbsp;</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') @section('content')
<div id="content" class="site-content col-md-9"> <div id="content" class="site-content col-md-9">
@@ -91,15 +109,13 @@ class = "nav-item active"
<div id="sidebar" class="site-sidebar col-md-3"> <div id="sidebar" class="site-sidebar col-md-3">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="widget-area"> <div class="widget-area">
<section id="section-categories" class="section"> <section id="section-categories" class="section">
<h2 class="section-title h4 clearfix"> <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> <small class="float-right"><i class="far fa-hdd fa-fw"></i></small>
</h2> </h2>

View File

@@ -8,6 +8,21 @@ Category List -
class = "nav-item active" class = "nav-item active"
@stop @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') !!} : &nbsp;</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') @section('content')
<div id="content" class="site-content col-md-12"> <div id="content" class="site-content col-md-12">
@@ -27,7 +42,6 @@ class = "nav-item active"
<h1 class="section-title h4 clearfix"> <h1 class="section-title h4 clearfix">
<i class="line"></i>
<i class="far fa-folder-open fa-fw text-muted"></i> <i class="far fa-folder-open fa-fw text-muted"></i>
@@ -64,15 +78,16 @@ class = "nav-item active"
</h3> </h3>
</li> </li>
@empty @empty
<p>{!! Lang::get('lang.no_article') !!}</p> {{-- <p>{!! Lang::get('lang.no_article') !!}</p>--}}
@endforelse @endforelse
<?php } ?> <?php } ?>
</ul> </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> </section>
</div> </div>
@endforeach @endforeach
</div> </div>
</div> </div>
<!-- end of page content --> <!-- end of page content -->
@stop @stop

View File

@@ -3,7 +3,14 @@
@section('title') @section('title')
Knowledge Base - Knowledge Base -
@stop @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') !!} : &nbsp;</li>
<li><a href="{!! URL::route('home') !!}">{!! Lang::get('lang.knowledge_base') !!}</a></li>
</ol>
@stop
@section('kb') @section('kb')
class = "nav-item active" class = "nav-item active"
@stop @stop
@@ -46,7 +53,7 @@ class = "nav-item active"
<h1 class="section-title h4 clearfix"> <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> <i class="far fa-folder-open fa-fw text-muted"></i>
@@ -91,11 +98,11 @@ class = "nav-item active"
</h3> </h3>
</li> </li>
@empty @empty
<p>{!! Lang::get('lang.no_article') !!}</p> {{-- <p>{!! Lang::get('lang.no_article') !!}</p>--}}
@endforelse @endforelse
<?php } ?> <?php } ?>
</ul> </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> </section>
</div> </div>
@endforeach @endforeach
@@ -112,7 +119,7 @@ class = "nav-item active"
<p>{!! Lang::get('lang.if_you_did_not_find_an_answer_please_raise_a_ticket_describing_the_issue') !!}.</p> <p>{!! Lang::get('lang.if_you_did_not_find_an_answer_please_raise_a_ticket_describing_the_issue') !!}.</p>
</div> </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> </div>
</section> </section>
</div> </div>
@@ -126,11 +133,11 @@ class = "nav-item active"
<div class="widget-area"> <div class="widget-area">
<section id="section-categories" class="section"> <section id="section-categories" class="categories">
<h2 class="section-title h4 clearfix"> <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> <small class="float-right"><i class="far fa-hdd fa-fw"></i></small>
</h2> </h2>

View File

@@ -3,7 +3,24 @@
@section('title') @section('title')
Pages List - Pages List -
@stop @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') !!} : &nbsp;</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') @section('pages')
class = "nav-item active" class = "nav-item active"
@stop @stop

View File

@@ -1,24 +1,39 @@
@extends('themes.default1.client.layout.client') @extends('themes.default1.client.layout.client')
@section('breadcrumb') @section('breadcrumb')
<div class="site-hero"> <ol class="breadcrumb float-sm-right">
<ol class="breadcrumb breadcrumb-custom"> <style>
<li class="text">You are here: </li> .words {
<li>Home</li> margin-right: 10px; /* Adjust the value to increase or decrease the gap between list items */
<li class="active">Search Results</li> }
</style>
<li class="breadcrumb-item">
<i class="fas fa-home"></i> {!! Lang::get('lang.you_are_here') !!} : &nbsp;
</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> </ol>
</div>
@stop @stop
@section('content') @section('content')
<div id="content" class="site-content col-md-9"> <div id="content" class="site-content col-md-9">
@forelse($result as $arti) @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"> <article class="format-standard type-post hentry clearfix">
<header class="clearfix"> <header class="clearfix">
<h3 class="post-title"> <h3 class="post-title">
<small><i class="fa fa-list-alt fa-2x fa-fw pull-left text-muted"></i></small> <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> <a href="{{url('show/'.$arti->slug)}}">{{$arti->name}}</a>
</h3> </h3>
</header> </header>
<?php $str = $arti->description ?> <?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) ?>
@@ -26,37 +41,49 @@
<p>{!! strip_tags($excerpt) !!} </p> <p>{!! strip_tags($excerpt) !!} </p>
<a class="readmore-link" href="{{url('show/'.$arti->slug)}}">Read more</a> <a class="readmore-link" href="{{url('show/'.$arti->slug)}}">Read more</a>
</blockquote> </blockquote>
<div class="post-meta clearfix"> <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> <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 --> </div><!-- end of post meta -->
<hr> <hr>
@empty
<p><h3><b>Sorry!</b></h3> No result has found.</p>
@endforelse
</article> </article>
<!-- end of page content --> @endif
@endforeach
@endif
<div class="pagination"> <div class="pagination">
<?php echo $result->render(); ?> <?php echo $result->render(); ?>
</div> </div>
</div> </div>
@stop @stop
</div> </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">--}}
{{-- @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') {{--@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> {{--<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"> {{--<ul class="nav nav-pills nav-stacked nav-categories">--}}
@foreach($categorys as $category) {{-- @foreach($categorys as $category)--}}
<?php {{--<?php--}}
$num = \App\Model\kb\Relationship::where('category_id','=', $category->id)->get(); {{--$num = \App\Model\kb\Relationship::where('category_id','=', $category->id)->get();--}}
$article_id = $num->pluck('article_id'); {{--$article_id = $num->pluck('article_id');--}}
$numcount = count($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> {{-- <li><a href="{{url('category-list/'.$category->slug)}}"><span class="badge pull-right">{{$numcount}}</span>{{$category->name}}</a></li>--}}
@endforeach {{-- @endforeach--}}
</ul> {{--</ul>--}}
@stop {{--@stop--}}

View File

@@ -19,17 +19,24 @@ $all = App\Model\kb\Relationship::where('article_id','=', $arti->id)->get();
/* from whole attribute pick the article_id */ /* from whole attribute pick the article_id */
$category_id = $all->pluck('category_id')->toArray(); $category_id = $all->pluck('category_id')->toArray();
?> ?>
@section('breadcrumb')
<div class="site-hero clearfix"> {{--<div class="site-hero clearfix">--}}
<ol class="breadcrumb breadcrumb-custom"> <ol class="breadcrumb float-sm-right ">
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li> <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') !!} : &nbsp;</li>
<?php $category = App\Model\kb\Category::where('id', $category_id)->first(); ?> <?php $category = App\Model\kb\Category::where('id', $category_id)->first(); ?>
<li><a href="{{url('/')}}">{!! Lang::get('lang.home') !!}</a></li> <li><a class="words" href="{!! URL::route('home') !!}">{!! Lang::get('lang.knowledge_base') !!}</a></li>
<li><a href="{{url('/knowledgebase')}}">{!! Lang::get('lang.knowledge_base') !!}</a></li> <li class="words">></li>
<li><a href="{{url('category-list/'.$category->slug)}}">{{$category->name}}</a></li>
<li class="active">{{$arti->name}}</li> <li><a class="words" href="{{url('article-list')}}">{!! Lang::get('lang.article_list') !!}</a></li>
</ol> <li class="words">></li>
</div> <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 @stop
@section('title') @section('title')
{!! $arti->name !!} - {!! $arti->name !!} -
@@ -66,7 +73,19 @@ $category_id = $all->pluck('category_id')->toArray();
</article><!-- .hentry --> </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"> <div id="comments" class="comments-area">
@foreach($comments as $comment) @foreach($comments as $comment)
@@ -99,45 +118,193 @@ $category_id = $all->pluck('category_id')->toArray();
</ol><!-- .comment-list --> </ol><!-- .comment-list -->
@endforeach @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"> <h3 id="reply-title" class="comment-reply-title section-title">
<i class="line"></i>{!! Lang::get('lang.leave_a_reply') !!} <i class="line" style="border-color: rgb(0, 154, 186);"></i>{!! Lang::get('lang.leave_a_reply') !!}
</h3> </h3>
{!! Form::open(['method'=>'post','url'=>'postcomment/'.$arti->slug]) !!} @if(Auth::check())
<div class="row"> <div class="row">
<div class="col-md-4">
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}"> <div class="col-md-4" style="border:#f4f4f4;">
{!! Form::label('name',Lang::get('lang.name')) !!} <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%" >
{!! Form::text('name',null,['class' => 'form-control']) !!} <img id="user_avatar" src="{{Auth::user()->profile_pic}}" class="avatar" alt="User Image" style="margin-left: 5% ">
{!! $errors->first('name', '<spam class="help-block" style="red">:message</spam>') !!} <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 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>') !!}
</div> </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> </div>
<button type="submit" class="btn btn-custom btn-lg">{!! Lang::get('lang.post_message') !!}</button>
</div> <div class="col-md-10" style="width: 65%">
<div class="col-md-8">
<div class="form-group {{ $errors->has('comment') ? 'has-error' : '' }}"> <div class="form-group {{ $errors->has('comment') ? 'has-error' : '' }}">
{!! Form::label('comment',Lang::get('lang.message')) !!} {!! Form::label('comment',Lang::get('lang.message'),['class' => 'label']) !!}
{!! Form::textarea('comment',null,['class' => 'form-control','size' => '30x8','id'=>'comment']) !!} {!! Form::textarea('comment',null,['class' => 'form-control','size' => '30x8','id'=>'comment']) !!}
{!! $errors->first('comment', '<spam class="help-block">:message</spam>') !!} {!! $errors->first('comment', '<spam class="help-block">:message</spam>') !!}
</div> </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>
</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() !!} {!! Form::close() !!}
</div><!-- #respond --> @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>
</div> </div>
</div>
<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>
@endif
</div><!-- #respond -->
{!! Form::close() !!}
</div>
@stop @stop
@section('category') @section('category')
@@ -152,7 +319,7 @@ $category_id = $all->pluck('category_id')->toArray();
<h2 class="section-title h4 clearfix"> <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> <small class="float-right"><i class="far fa-hdd fa-fw"></i></small>
</h2> </h2>

View File

@@ -18,21 +18,39 @@
<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 --> <!-- 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 --> <!-- 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/font-awesome-5.min.css")}}" rel="stylesheet" type="text/css" />
<link href="{{asset("lb-faveo/css/intlTelInput.min.css")}}" rel="stylesheet" type="text/css" /> <link href="{{asset("lb-faveo/css/intlTelInput.min.css")}}" rel="stylesheet" type="text/css" />
<!-- Theme style --> <!-- 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/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') @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> </head>
<body> <body>
@@ -120,7 +138,7 @@
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> <!-- collapse --> </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"> <ul class="navbar-nav navbar-menu site-navigate ml-auto">
@@ -179,16 +197,16 @@
<div class="banner-content" id="dropdown_content"> <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())
@if(Auth::user()->role != '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
@endif @endif
@if(Auth::user()) @if(Auth::user())
@if(Auth::user()->role == '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
@endif @endif
</div> </div>
@@ -198,28 +216,20 @@
</li> </li>
@else @else
@if(isset($errors)) @if(isset($errors))
<li class="nav-item" <li class="nav-item">
<?php <?php if (is_object($errors) && ($errors->first('email') || $errors->first('password'))) : ?>
if (is_object($errors)) { <a href="#" class="nav-link sfHover" data-bs-toggle="collapse" data-bs-target="#login-form">
if ($errors->first('email') || $errors->first('password')) { {!! Lang::get('lang.login') !!}
?> class="sfHover" {{-- <i class="sub-indicator fa fa-chevron-circle-down fa-fw text-muted"></i>--}}
<?php </a>
} <?php else : ?>
} <a href="#" class="nav-link collapsed" data-bs-toggle="collapse" data-bs-target="#login-form">
?> {!! Lang::get('lang.login') !!}
><a href="#" data-toggle="collapse" class="nav-link" {{-- <i class="sub-indicator fa fa-chevron-circle-down fa-fw text-muted"></i>--}}
<?php </a>
if (is_object($errors)) { <?php endif; ?>
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>
@endif @endif
@endif @endif
<li class="nav-item dropdown"> <li class="nav-item dropdown">
@@ -241,6 +251,10 @@
</ul> </ul>
</li> </li>
</ul> </ul>
{{-- <span class="switcher-toggle desk_none" onclick="myFunction()">--}}
{{-- <span class="icon"></span>--}}
{{-- </span>--}}
<?php <?php
$loginFormClass = "login-form collapse fade clearfix"; $loginFormClass = "login-form collapse fade clearfix";
if(isset($errors) && ($errors->first('email') || $errors->first('password'))) if(isset($errors) && ($errors->first('email') || $errors->first('password')))
@@ -278,7 +292,7 @@
</div> </div>
</div> </div>
<div class="col-md-12 text-center"> <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() !!} {!! Form::close() !!}
</div> </div>
@@ -296,54 +310,64 @@
</div> </div>
</nav> </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'])!!} {!!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-inline ">
<div class="form-group input-group"> <div class="form-group input-group " style="width: 98% ">
<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/> <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%">
</div>
<span class="input-group-btn"> <span class="input-group-btn">
<button type="submit" class="btn btn-custom btn-md" style="margin-left: 2px;">{!! Lang::get('lang.search') !!}</button> <button type="submit" class="btn btn-custom btn-md " style="margin-left: 20% ;background-color: #009aba; hov: #00c0ef; color: #fff ">Search</button>
</span> </span>
</div> </div>
<style>
.search-field {
border-radius: 10px; /* You can adjust the value to your desired radius */
}
</style>
</div>
</div> </div>
{!! Form::close() !!} {!! Form::close() !!}
</div> </div>
</div> </div>
</header> </header>
<!-- Left side column. contains the logo and sidebar --> <!-- Left side column. contains the logo and sidebar -->
<div class="site-hero clearfix"> <div class="site-hero clearfix">
{{-- {!! \DaveJamesMiller\Breadcrumbs\Facades\Breadcrumbs::render() !!}--}}
@yield('breadcrumb')
{!! Breadcrumbs::render() !!}
</div> </div>
<!-- Main content -->
<div id="main" class="site-main clearfix"> <div id="main" class="site-main clearfix">
<div class="container"> <div class="container">
<div class="content-area"> <div class="content-area">
<div> <div>
<!-- Success message -->
@if(Session::has('success')) @if(Session::has('success'))
<div class="alert alert-success alert-dismissable"> <div class="alert alert-success alert-dismissable" style="padding-right:20px">
<i class="fa fa-check-circle"></i> <i class="fa fa-check-circle"></i>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
{{ Session::get('success') }} {{ Session::get('success') }}
</div> </div>
@endif @endif
<!-- Warning message -->
@if(Session::has('warning')) @if(Session::has('warning'))
<div class="alert alert-warning alert-dismissable"> <div class="alert alert-warning alert-dismissable" style="padding-right:20px">
<i class="fa fa-check-circle"></i> <i class="fa fa-check-circle"></i>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
{!! Session::get('warning') !!} {!! Session::get('warning') !!}
</div> </div>
@endif @endif
<!-- failure message -->
<!-- Failure message -->
@if(Session::has('fails')) @if(Session::has('fails'))
@if(Session::has('check')) @if(Session::has('check'))
<?php goto a; ?> <?php goto a; ?>
@endif @endif
<div class="alert alert-danger alert-dismissable"> <div class="alert alert-danger alert-dismissable" style="padding-right:20px">
<i class="fa fa-ban"></i> <i class="fa fa-ban"></i>
<b>{!! Lang::get('lang.alert') !!} !</b> <b>{!! Lang::get('lang.alert') !!} !</b>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
@@ -360,6 +384,9 @@
</div> </div>
</div> </div>
</div> </div>
<!-- Rest of the code... -->
<!-- /.content-wrapper --> <!-- /.content-wrapper -->
<?php <?php
$footer1 = App\Model\helpdesk\Theme\Widgets::where('name', '=', 'footer1')->first(); $footer1 = App\Model\helpdesk\Theme\Widgets::where('name', '=', 'footer1')->first();
@@ -427,7 +454,7 @@
<hr style="color:#E5E5E5"/> <hr style="color:#E5E5E5"/>
<div class="row"> <div class="row">
<div class="site-info col-md-6"> <div class="site-info col-md-6">
<p class="text-muted">{!! Lang::get('lang.copyright') !!} &copy; {!! 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') !!} &copy; {!! 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>
<div class="site-social text-right col-md-6"> <div class="site-social text-right col-md-6">
<?php $socials = App\Model\helpdesk\Theme\Widgets::all(); ?> <?php $socials = App\Model\helpdesk\Theme\Widgets::all(); ?>
@@ -506,18 +533,22 @@
@endforeach @endforeach
</ul> </ul>
</div> </div>
</div> </div></div>
</footer><!-- #colophon --> </footer><!-- #colophon -->
<script src="{{asset("lb-faveo/js/popper.min.js")}}" type="text/javascript"></script> <script src="{{asset("lb-faveo/js/popper.min.js")}}" type="text/javascript"></script>
<!-- Bootstrap 3.3.2 JS --> <!-- Bootstrap 3.3.2 JS -->
<script src="{{asset("lb-faveo/js/bootstrap4.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/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/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/js/jquery.rating.pack.js")}}" type="text/javascript"></script>
@@ -527,7 +558,13 @@
<script src="{{asset("lb-faveo/js/languagechanger.js")}}" type="text/javascript"></script> <script src="{{asset("lb-faveo/js/languagechanger.js")}}" type="text/javascript"></script>
<script src="{{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> <script>
$(function () { $(function () {
@@ -563,5 +600,7 @@ $(function () {
}); });
</script> </script>
</div>
</div>
</body> </body>
</html> </html>

View File

@@ -18,19 +18,25 @@
<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 --> <!-- 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 --> <!-- 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/font-awesome-5.min.css")}}" rel="stylesheet" type="text/css" />
<link href="{{asset("lb-faveo/css/intlTelInput.min.css")}}" rel="stylesheet" type="text/css" /> <link href="{{asset("lb-faveo/css/intlTelInput.min.css")}}" rel="stylesheet" type="text/css" />
<!-- Theme style --> <!-- 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/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') @yield('HeadInclude')
</head> </head>
@@ -118,7 +124,7 @@
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> <!-- collapse --> </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"> <ul class="navbar-nav navbar-menu site-navigate ml-auto">
@@ -201,27 +207,34 @@
</div> </div>
</nav> </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'])!!} {!!Form::open(['route' => 'client.search','class'=>'search-form clearfix'])!!}
<div class="form-border" style="z-index: 0;"> <div class="form-border" style="z-index: 0;width: 85%;">
<div class="form-inline "> <div class="form-inline ">
<div class="form-group input-group" style="width: 88%;"> <div class="form-group input-group " style="width: 98% ">
<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/> <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%">
</div>
<span class="input-group-btn"> <span class="input-group-btn">
<button type="submit" class="btn btn-custom btn-md" style="margin-left: 8px;">{!! Lang::get('lang.search') !!}</button> <button type="submit" class="btn btn-custom btn-md " style="margin-left: 20% ;background-color: #009aba; hov: #00c0ef; color: #fff ">Search</button>
</span> </span>
</div> </div>
<style>
.search-field {
border-radius: 10px; /* You can adjust the value to your desired radius */
}
</style>
</div>
</div> </div>
{!! Form::close() !!} {!! Form::close() !!}
</div>
</div> </div>
</header> </header>
<!-- Left side column. contains the logo and sidebar --> <!-- Left side column. contains the logo and sidebar -->
<!-- Right side column. Contains the navbar and content of the page --> <!-- Right side column. Contains the navbar and content of the page -->
<div class="site-hero clearfix" > <div class="site-hero clearfix" >
{!! Breadcrumbs::render() !!} @yield('breadcrumb')
</div> </div>
<!-- Main content --> <!-- Main content -->
<div id="main" class="site-main clearfix"> <div id="main" class="site-main clearfix">
<div class="container"> <div class="container">
@@ -415,13 +428,19 @@
<script src="{{asset("lb-faveo/js/popper.min.js")}}" type="text/javascript"></script> <script src="{{asset("lb-faveo/js/popper.min.js")}}" type="text/javascript"></script>
<!-- Bootstrap 3.3.2 JS --> <!-- Bootstrap 3.3.2 JS -->
<script src="{{asset("lb-faveo/js/bootstrap4.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/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/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> <script src="{{asset("lb-faveo/plugins/iCheck/icheck.min.js")}}" type="text/javascript"></script>
@@ -429,7 +448,13 @@
<script src="{{asset("lb-faveo/js/languagechanger.js")}}" type="text/javascript"></script> <script src="{{asset("lb-faveo/js/languagechanger.js")}}" type="text/javascript"></script>
<script src="lb-faveo/plugins/summernote/summernote-bs4.min.js"></script> <script 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> <script>
$(function () { $(function () {

View File

@@ -2,7 +2,7 @@
$social = new \App\Model\helpdesk\Settings\SocialMedia(); $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')) @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 @endif
@if($social->checkActive('twitter')) @if($social->checkActive('twitter'))
@@ -11,7 +11,7 @@ $social = new \App\Model\helpdesk\Settings\SocialMedia();
</a> </a>
@endif @endif
@if($social->checkActive('facebook')) @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 <span class="fab fa-facebook-f fa-fw"></span> Sign in with Facebook
</a> </a>
@endif @endif

View File

@@ -175,7 +175,7 @@ $footer4 = App\Model\helpdesk\Theme\Footer4::whereId('1')->first();
<div class="col-md-3"> <div class="col-md-3">
<div class="widget-area"> <div class="widget-area">
<section id="section-about" class="section"> <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"> <div class="textwidget">
<p>{!!$footer->footer!!}</p> <p>{!!$footer->footer!!}</p>
</div> </div>

View File

@@ -13,14 +13,14 @@
{!! Form::text('email',null,['placeholder'=>'Email','class' => 'form-control']) !!} {!! Form::text('email',null,['placeholder'=>'Email','class' => 'form-control']) !!}
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!} {!! $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>
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}"> <div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
{!! Form::password('password',['placeholder'=>'Password','class' => 'form-control']) !!} {!! Form::password('password',['placeholder'=>'Password','class' => 'form-control']) !!}
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!} {!! $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>
<div class="row"> <div class="row">
<div class="col-xs-8"> <div class="col-xs-8">

View File

@@ -25,7 +25,7 @@
{!! Form::text('email',null,['placeholder'=>'Email','class' => 'form-control']) !!} {!! Form::text('email',null,['placeholder'=>'Email','class' => 'form-control']) !!}
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!} {!! $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>
@@ -33,13 +33,13 @@
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}"> <div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
{!! Form::password('password',['placeholder'=>'Password','class' => 'form-control']) !!} {!! Form::password('password',['placeholder'=>'Password','class' => 'form-control']) !!}
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!} {!! $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>
<div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}"> <div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
{!! Form::password('password_confirmation',['placeholder'=>'Retype Password','class' => 'form-control']) !!} {!! Form::password('password_confirmation',['placeholder'=>'Retype Password','class' => 'form-control']) !!}
{!! $errors->first('password_confirmation', '<spam class="help-block">:message</spam>') !!} {!! $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> </div>

View File

@@ -60,7 +60,7 @@ Route::middleware('web')->group(function () {
// Auth login // Auth login
Route::get('auth/login/{one?}/{two?}/{three?}/{four?}/{five?}', [Auth\AuthController::class, 'getLogin'])->name('auth.login'); Route::get('auth/login/{one?}/{two?}/{three?}/{four?}/{five?}', [Auth\AuthController::class, 'getLogin'])->name('auth.login');
Route::post('auth/login', [Auth\AuthController::class, 'postLogin'])->name('auth.post.login'); Route::post('auth/login', [Auth\AuthController::class, 'postLogin'])->name('auth.post.login');
Route::get('user/search', [Client\kb\UserController::class, 'search'])->name('client.search'); Route::match(['get', 'post'], 'user/search', [Client\kb\UserController::class, 'search'])->name('client.search');
Breadcrumbs::register('auth.login', function ($breadcrumbs) { Breadcrumbs::register('auth.login', function ($breadcrumbs) {
// $breadcrumbs->parent('/'); // $breadcrumbs->parent('/');
@@ -718,13 +718,13 @@ Route::middleware('web')->group(function () {
/* post the cantact page to controller */ /* post the cantact page to controller */
Route::post('post-contact', [Client\kb\UserController::class, 'postContact'])->name('post-contact'); Route::post('post-contact', [Client\kb\UserController::class, 'postContact'])->name('post-contact');
//to get the value for page content //to get the value for page content
Route::get('pages/{name}', [Client\kb\UserController::class, 'getPage'])->name('pages'); Route::get('pages/{id}', [Client\kb\UserController::class, 'getPage'])->name('pages');
Route::get('/inbox/data', [Agent\helpdesk\TicketController::class, 'get_inbox'])->name('api.inbox'); Route::get('/inbox/data', [Agent\helpdesk\TicketController::class, 'get_inbox'])->name('api.inbox');
// Route::get('/report', 'HomeController@getreport'); // Route::get('/report', 'HomeController@getreport');
// Route::get('/reportdata', 'HomeController@pushdata'); // Route::get('/reportdata', 'HomeController@pushdata');
/* /*reg
* Update module * Update module
*/ */
Route::get('database-update', [Update\UpgradeController::class, 'databaseUpdate'])->name('database.update'); Route::get('database-update', [Update\UpgradeController::class, 'databaseUpdate'])->name('database.update');
@@ -798,5 +798,9 @@ Route::middleware('web')->group(function () {
// $breadcrumbs->parent('dashboard'); // $breadcrumbs->parent('dashboard');
// $breadcrumbs->push(Lang::get('lang.tickets') . '&nbsp; > &nbsp;' . Lang::get('lang.open'), route('open.ticket')); // $breadcrumbs->push(Lang::get('lang.tickets') . '&nbsp; > &nbsp;' . Lang::get('lang.open'), route('open.ticket'));
// }); // });
Route::get('check_ticket/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage']);
Route::get('category-list/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage']);
Route::get('show/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage']);
Route::get('pages/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
Route::get('swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang'); Route::get('swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
}); });

View File

@@ -2,7 +2,7 @@
<nav role="navigation" aria-label="{{ __('Pagination Navigation') }}" class="flex items-center justify-between"> <nav role="navigation" aria-label="{{ __('Pagination Navigation') }}" class="flex items-center justify-between">
<div class="flex justify-between flex-1 sm:hidden"> <div class="flex justify-between flex-1 sm:hidden">
@if ($paginator->onFirstPage()) @if ($paginator->onFirstPage())
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md"> <span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md" style="color: #0b2e13 !important;">
{!! __('pagination.previous') !!} {!! __('pagination.previous') !!}
</span> </span>
@else @else
@@ -43,41 +43,41 @@
<span class="relative z-0 inline-flex shadow-sm rounded-md"> <span class="relative z-0 inline-flex shadow-sm rounded-md">
{{-- Previous Page Link --}} {{-- Previous Page Link --}}
@if ($paginator->onFirstPage()) @if ($paginator->onFirstPage())
<span aria-disabled="true" aria-label="{{ __('pagination.previous') }}"> {{-- <span aria-disabled="true" aria-label="{{ __('pagination.previous') }}">--}}
<span class="relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default rounded-l-md leading-5" aria-hidden="true"> {{-- <span class="relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default rounded-l-md leading-5" aria-hidden="true">--}}
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> {{-- <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">--}}
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" /> {{-- <path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />--}}
</svg> {{-- </svg>--}}
</span> {{-- </span>--}}
</span> {{-- </span>--}}
@else @else
<a href="{{ $paginator->previousPageUrl() }}" rel="prev" class="relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-l-md leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:ring ring-gray-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150" aria-label="{{ __('pagination.previous') }}"> {{-- <a href="{{ $paginator->previousPageUrl() }}" rel="prev" class="relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-l-md leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:ring ring-gray-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150" aria-label="{{ __('pagination.previous') }}">--}}
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> {{-- <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">--}}
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" /> {{-- <path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />--}}
</svg> {{-- </svg>--}}
</a> {{-- </a>--}}
@endif @endif
{{-- Pagination Elements --}} {{-- Pagination Elements --}}
@foreach ($elements as $element) @foreach ($elements as $element)
{{-- "Three Dots" Separator --}} {{-- "Three Dots" Separator --}}
@if (is_string($element)) @if (is_string($element))
<span aria-disabled="true"> {{-- <span aria-disabled="true">--}}
<span class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 cursor-default leading-5">{{ $element }}</span> {{-- <span class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 cursor-default leading-5">{{ $element }}</span>--}}
</span> {{-- </span>--}}
@endif @endif
{{-- Array Of Links --}} {{-- Array Of Links --}}
@if (is_array($element)) @if (is_array($element))
@foreach ($element as $page => $url) @foreach ($element as $page => $url)
@if ($page == $paginator->currentPage()) @if ($page == $paginator->currentPage())
<span aria-current="page"> {{-- <span aria-current="page">--}}
<span class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5">{{ $page }}</span> {{-- <span class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5" style="color: #0b2e13 !important;">{{ $page }}</span>--}}
</span> {{-- </span>--}}
@else @else
<a href="{{ $url }}" class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 hover:text-gray-500 focus:z-10 focus:outline-none focus:ring ring-gray-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150" aria-label="{{ __('Go to page :page', ['page' => $page]) }}"> {{-- <a href="{{ $url }}" class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 hover:text-gray-500 focus:z-10 focus:outline-none focus:ring ring-gray-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150" aria-label="{{ __('Go to page :page', ['page' => $page]) }}">--}}
{{ $page }} {{-- {{ $page }}--}}
</a> {{-- </a>--}}
@endif @endif
@endforeach @endforeach
@endif @endif
@@ -85,19 +85,19 @@
{{-- Next Page Link --}} {{-- Next Page Link --}}
@if ($paginator->hasMorePages()) @if ($paginator->hasMorePages())
<a href="{{ $paginator->nextPageUrl() }}" rel="next" class="relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-r-md leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:ring ring-gray-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150" aria-label="{{ __('pagination.next') }}"> {{-- <a href="{{ $paginator->nextPageUrl() }}" rel="next" class="relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-r-md leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:ring ring-gray-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150" aria-label="{{ __('pagination.next') }}">--}}
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> {{-- <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">--}}
<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /> {{-- <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />--}}
</svg> {{-- </svg>--}}
</a> {{-- </a>--}}
@else @else
<span aria-disabled="true" aria-label="{{ __('pagination.next') }}"> {{-- <span aria-disabled="true" aria-label="{{ __('pagination.next') }}">--}}
<span class="relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default rounded-r-md leading-5" aria-hidden="true"> {{-- <span class="relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default rounded-r-md leading-5" aria-hidden="true">--}}
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> {{-- <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">--}}
<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /> {{-- <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />--}}
</svg> {{-- </svg>--}}
</span> {{-- </span>--}}
</span> {{-- </span>--}}
@endif @endif
</span> </span>
</div> </div>