update v 1.0.7.5
This commit is contained in:
@@ -42,6 +42,20 @@
|
||||
@yield('HeadInclude')
|
||||
</head>
|
||||
<body class="skin-yellow fixed">
|
||||
<?php
|
||||
$replacetop = 0;
|
||||
$replacetop = \Event::fire('service.desk.admin.topbar.replace', array());
|
||||
|
||||
if (count($replacetop) == 0) {
|
||||
$replacetop = 0;
|
||||
}
|
||||
$replaceside = 0;
|
||||
$replaceside = \Event::fire('service.desk.admin.sidebar.replace', array());
|
||||
|
||||
if (count($replaceside) == 0) {
|
||||
$replaceside = 0;
|
||||
}
|
||||
?>
|
||||
<div class="wrapper">
|
||||
<header class="main-header">
|
||||
<a href="http://www.faveohelpdesk.com" class="logo"><img src="{{ asset('lb-faveo/media/images/logo.png') }}" width="100px"></a>
|
||||
@@ -57,60 +71,104 @@
|
||||
<?php $notifications = App\Http\Controllers\Common\NotificationController::getNotifications(); ?>
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||
|
||||
<ul class="nav navbar-nav navbar-left">
|
||||
@if($replacetop==0)
|
||||
<li @yield('settings')><a href="{!! url('admin') !!}">{!! Lang::get('lang.home') !!}</a></li>
|
||||
@endif
|
||||
<?php \Event::fire('service.desk.admin.topbar', array()); ?>
|
||||
</ul>
|
||||
|
||||
|
||||
<?php $noti = \App\Model\helpdesk\Notification\UserNotification::where('user_id', '=', Auth::user()->id)->where('is_read', '0')->get(); ?>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a href="{{url('dashboard')}}">{!! Lang::get('lang.agent_panel') !!}</a></li>
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<li class="dropdown notifications-menu">
|
||||
<li class="dropdown notifications-menu" id="myDropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" onclick="myFunction()">
|
||||
<i class="fa fa-bell-o"></i>
|
||||
<span class="label label-warning" id="count"><?php echo count($notifications); ?></span>
|
||||
<span class="label label-danger" id="count">{!! count($noti) !!}</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li class="header">You have <?php echo count($notifications); ?> notifications</li>
|
||||
<li>
|
||||
<ul class="dropdown-menu" style="width: -moz-max-content;
|
||||
width: -webkit-max-content;
|
||||
width: -o-max-content;">
|
||||
|
||||
<div id="alert11" class="alert alert-success alert-dismissable" style="display:none;">
|
||||
<button id="dismiss11" type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h4><i class="icon fa fa-check"></i>Alert!</h4>
|
||||
<div id="message-success1"></div>
|
||||
</div>
|
||||
|
||||
<li id="refreshNote">
|
||||
|
||||
<li class="header">You have {!! count($noti) !!} notifications. <a class="pull-right" id="read-all" href="#">Mark all as read.</a></li>
|
||||
|
||||
<ul class="menu">
|
||||
@foreach($notifications as $notification)
|
||||
<?php $user = App\User::whereId($notification->user_id)->first(); ?>
|
||||
@if($notification->type == 'registration')
|
||||
<li>
|
||||
<a href="{!! route('user.show', $notification->notification_id) !!}" id="{{$notification -> notification_id}}" class='noti_User'>
|
||||
<i class="{!! $notification->icon_class !!}"></i> {!! $notification->message !!}
|
||||
</a>
|
||||
@if($notification->is_read == 1)
|
||||
<li class="task" style="list-style: none; margin-left: -30px;"><span> <img src="{{$user->profile_pic}}" class="user-image" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('user.show', $notification->model_id) !!}" id="{{$notification->notification_id}}" class='noti_User'>
|
||||
{!! $notification->message !!}
|
||||
</a></span>
|
||||
</li>
|
||||
@else
|
||||
<li>
|
||||
<a href="{!! route('ticket.thread', $notification->notification_id) !!}" id='{{ $notification->notification_id }}' class='noti_User'>
|
||||
<i class="{!! $notification->icon_class !!}"></i> {!! $notification->message !!}
|
||||
</a>
|
||||
<li style="list-style: none; margin-left: -30px;"><span> <img src="{{$user->profile_pic}}" class="user-image" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('user.show', $notification->model_id) !!}" id="{{$notification->notification_id}}" class='noti_User'>
|
||||
{!! $notification->message !!}
|
||||
</a></span>
|
||||
</li>
|
||||
@endif
|
||||
@else
|
||||
|
||||
<?php $ticket_number = App\Model\helpdesk\Ticket\Tickets::whereId($notification -> model_id)->first(); ?>
|
||||
@if($notification->is_read == 1)
|
||||
<li class="task" style="list-style: none;margin-left: -30px"><span> <img src="{{$user->profile_pic}}" class="img-circle" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('ticket.thread', $notification->model_id) !!}" id='{{ $notification->notification_id}}' class='noti_User'>
|
||||
{!! $notification->message !!} with id "{!!$ticket_number->ticket_number!!}"
|
||||
</a></span>
|
||||
</li>
|
||||
@else
|
||||
<li style="list-style: none;margin-left: -30px"><span> <img src="{{$user->profile_pic}}" class="img-circle" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('ticket.thread', $notification->model_id) !!}" id='{{ $notification->notification_id}}' class='noti_User'>
|
||||
{!! $notification->message !!} with id "{!!$ticket_number->ticket_number!!}"
|
||||
</a></span>
|
||||
</li>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li class="footer"><a href="{{ url('notifications-list') }}">View all</a></li>
|
||||
<li class="footer no-border"><div class="col-md-5"></div><div class="col-md-2">
|
||||
<img src="{{asset("lb-faveo/media/images/gifloader.gif")}}" style="display: none;" id="notification-loader">
|
||||
</div><div class="col-md-5"></div></li>
|
||||
<li class="footer"><a href="{{ url('notifications-list')}}">View all</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
@if(Auth::user())
|
||||
|
||||
<img src="{{Auth::user()->profile_pic}}"class="user-image" alt="User Image"/>
|
||||
|
||||
@if(Auth::user())
|
||||
|
||||
<img src="{{Auth::user()->profile_pic}}"class="user-image" alt="User Image"/>
|
||||
|
||||
<span class="hidden-xs">{!! Auth::user()->first_name." ".Auth::user()->last_name !!}</span>
|
||||
@endif
|
||||
@endif
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- User image -->
|
||||
<li class="user-header" style="background-color:#343F44;">
|
||||
@if(Auth::user())
|
||||
<img src="{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
|
||||
@if(Auth::user())
|
||||
<img src="{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
|
||||
<p>
|
||||
{!! Auth::user()->first_name !!}{!! " ". Auth::user()->last_name !!} - {{Auth::user()->role}}
|
||||
<small></small>
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer" style="background-color:#1a2226;">
|
||||
@@ -126,208 +184,212 @@
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<div class="user-panel">
|
||||
<div class = "row">
|
||||
<div class="col-xs-3"></div>
|
||||
<div class="col-xs-2" style="width:50%;">
|
||||
<a href="{!! url('profile') !!}">
|
||||
<img src="{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info" style="text-align:center;">
|
||||
@if(Auth::user())
|
||||
<p>{!! Auth::user()->first_name !!}{!! " ". Auth::user()->last_name !!}</p>
|
||||
@endif
|
||||
@if(Auth::user() && Auth::user()->active==1)
|
||||
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
|
||||
@else
|
||||
<a href="#"><i class="fa fa-circle"></i> Offline</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- search form -->
|
||||
{{-- <form action="#" method="get" class="sidebar-form"> --}}
|
||||
{{-- <div class="input-group"> --}}
|
||||
{{-- <input type="text" name="q" class="form-control" placeholder="Search..."/> --}}
|
||||
{{-- <span class="input-group-btn"> --}}
|
||||
{{-- <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button> --}}
|
||||
{{-- </span> --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </form> --}}
|
||||
<!-- /.search form -->
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu">
|
||||
<li class="header">{!! Lang::get('lang.settings-2') !!}</li>
|
||||
<li class="treeview @yield('Staffs')">
|
||||
<a href="#">
|
||||
<i class="fa fa-users"></i> <span>{!! Lang::get('lang.staffs') !!}</span> <i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('agents')><a href="{{ url('agents') }}"><i class="fa fa-user "></i>{!! Lang::get('lang.agents') !!}</a></li>
|
||||
<li @yield('departments')><a href="{{ url('departments') }}"><i class="fa fa-sitemap"></i>{!! Lang::get('lang.departments') !!}</a></li>
|
||||
<li @yield('teams')><a href="{{ url('teams') }}"><i class="fa fa-users"></i>{!! Lang::get('lang.teams') !!}</a></li>
|
||||
<li @yield('groups')><a href="{{ url('groups') }}"><i class="fa fa-users"></i>{!! Lang::get('lang.groups') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="treeview @yield('Emails')">
|
||||
<a href="#">
|
||||
<i class="fa fa-envelope-o"></i>
|
||||
<span>{!! Lang::get('lang.email') !!}</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('emails')><a href="{{ url('emails') }}"><i class="fa fa-envelope"></i>{!! Lang::get('lang.emails') !!}</a></li>
|
||||
<li @yield('ban')><a href="{{ url('banlist') }}"><i class="fa fa-ban"></i>{!! Lang::get('lang.ban_lists') !!}</a></li>
|
||||
<li @yield('template')><a href="{{ url('list-directories') }}"><i class="fa fa-mail-forward"></i>{!! Lang::get('lang.templates') !!}</a></li>
|
||||
<li @yield('diagnostics')><a href="{{ url('getdiagno') }}"><i class="fa fa-plus"></i>{!! Lang::get('lang.diagnostics') !!}</a></li>
|
||||
<!-- <li><a href="#"><i class="fa fa-circle-o"></i> Auto Response</a></li> -->
|
||||
<!-- <li><a href="#"><i class="fa fa-circle-o"></i> Rules/a></li> -->
|
||||
<!-- <li><a href="#"><i class="fa fa-circle-o"></i> Breaklines</a></li> -->
|
||||
<!-- <li><a href="#"><i class="fa fa-circle-o"></i> Log</a></li> -->
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="treeview @yield('Manage')">
|
||||
<a href="#">
|
||||
<i class="fa fa-cubes"></i>
|
||||
<span>{!! Lang::get('lang.manage') !!}</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('help')><a href="{{url('helptopic')}}"><i class="fa fa-file-text-o"></i>{!! Lang::get('lang.help_topics') !!}</a></li>
|
||||
<li @yield('sla')><a href="{{url('sla')}}"><i class="fa fa-clock-o"></i>{!! Lang::get('lang.sla_plans') !!}</a></li>
|
||||
<li @yield('forms')><a href="{{url('forms')}}"><i class="fa fa-file-text"></i>{!! Lang::get('lang.forms') !!}</a></li>
|
||||
<li @yield('workflow')><a href="{{url('workflow')}}"><i class="fa fa-sitemap"></i>{!! Lang::get('lang.workflow') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="treeview @yield('Settings')">
|
||||
<a href="#">
|
||||
<i class="fa fa-cog"></i>
|
||||
<span>{!! Lang::get('lang.system-settings') !!}</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('company')><a href="{{url('getcompany')}}"><i class="fa fa-building"></i>{!! Lang::get('lang.company') !!}</a></li>
|
||||
<li @yield('system')><a href="{{url('getsystem')}}"><i class="fa fa-laptop"></i>{!! Lang::get('lang.system') !!}</a></li>
|
||||
<li @yield('email')><a href="{{url('getemail')}}"><i class="fa fa-at"></i>{!! Lang::get('lang.email') !!}</a></li>
|
||||
<li @yield('tickets')><a href="{{url('getticket')}}"><i class="fa fa-file-text"></i>{!! Lang::get('lang.ticket') !!}</a></li>
|
||||
<li @yield('auto-response')><a href="{{url('getresponder')}}"><i class="fa fa-reply-all"></i>{!! Lang::get('lang.auto_response') !!}</a></li>
|
||||
<li @yield('alert')><a href="{{url('getalert')}}"><i class="fa fa-bell"></i>{!! Lang::get('lang.alert_notices') !!}</a></li>
|
||||
<li @yield('languages')><a href="{{url('languages')}}"><i class="fa fa-language"></i>{!! Lang::get('lang.language') !!}</a></li>
|
||||
<li @yield('cron')><a href="{{url('job-scheduler')}}"><i class="fa fa-hourglass"></i>{!! Lang::get('lang.cron') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview @yield('Themes')">
|
||||
<a href="#">
|
||||
<i class="fa fa-pie-chart"></i>
|
||||
<span>{!! Lang::get('lang.widgets') !!}</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('widget')><a href="{{ url('widgets') }}"><i class="fa fa-list-alt"></i> {!! Lang::get('lang.widgets') !!}</a></li>
|
||||
<li @yield('socail')><a href="{{ url('social-buttons') }}"><i class="fa fa-cubes"></i> {!! Lang::get('lang.social') !!}</a></li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview @yield('Plugins')">
|
||||
<a href="{{ url('plugins') }}">
|
||||
<i class="fa fa-plug"></i>
|
||||
<span>{!! Lang::get('lang.plugin') !!}</span>
|
||||
<!-- <i class="fa fa-angle-left pull-right"></i> -->
|
||||
</a>
|
||||
<!-- <ul class="treeview-menu">
|
||||
<li @yield('plugin')><a href="{{ url('plugins') }}"><i class="fa fa-circle-o"></i>{!! Lang::get('lang.view-all')!!}</a></li>
|
||||
<li @yield('a')><a href="#"><i class="fa fa-circle-o"></i>{!! Lang::get('lang.add-new')!!}</a></li>
|
||||
|
||||
|
||||
|
||||
</ul> -->
|
||||
</li>
|
||||
<li class="header">{!! Lang::get('lang.Updates') !!}</li>
|
||||
<li @yield('update')>
|
||||
<?php $update = App\Model\helpdesk\Utility\Version_Check::where('id','=',1)->first();
|
||||
if($update->current_version == $update->new_version){?>
|
||||
<a href="{!! URL::route('checkupdate') !!}" id="checkUpdate">
|
||||
<span>{!! Lang::get('lang.no_new_updates') !!}!</span><br/>
|
||||
<br/>
|
||||
<i class="fa fa-inbox"></i> <span>{!! Lang::get('lang.check_for_updates') !!}.</span>
|
||||
|
||||
<img id="gif-update" src="{{asset("lb-faveo/media/images/gifloader.gif")}}" style="width:12%; height:12%; margin-bottom:5%;margin-left:10%;display:none">
|
||||
|
||||
<small class="label pull-right bg-green"></small>
|
||||
</a>
|
||||
<?php } elseif($update->current_version < $update->new_version) { ?>
|
||||
<a>
|
||||
<i class="fa fa-inbox"></i> <span>Version {!! $update->new_version !!} is Available</span>
|
||||
<small class="label pull-right bg-green"></small>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
|
||||
<!-- Right side column. Contains the navbar and content of the page -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
@yield('PageHeader')
|
||||
@yield('breadcrumbs')
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
@yield('content')
|
||||
</section><!-- /.content -->
|
||||
<!-- /.content-wrapper -->
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<div class="user-panel">
|
||||
<div class = "row">
|
||||
<div class="col-xs-3"></div>
|
||||
<div class="col-xs-2" style="width:50%;">
|
||||
<a href="{!! url('profile') !!}">
|
||||
<img src="{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
|
||||
</a>
|
||||
</div>
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> {!! Config::get('app.version') !!}
|
||||
</div>
|
||||
<?php
|
||||
$company = App\Model\helpdesk\Settings\Company::where('id','=','1')->first();
|
||||
?>
|
||||
<strong>{!! Lang::get('lang.copyright') !!} © {!! date('Y') !!} <a href="{!! $company->website !!}" target="_blank">{!! $company->company_name !!}</a>.</strong> {!! Lang::get('lang.all_rights_reserved') !!}. {!! Lang::get('lang.powered_by') !!} <a href="http://www.faveohelpdesk.com/" target="_blank">Faveo</a>
|
||||
</footer>
|
||||
</div><!-- ./wrapper -->
|
||||
<!-- jQuery 2.1.3 -->
|
||||
<script src="{{asset("lb-faveo/js/ajax-jquery.min.js")}}"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<script src="{{asset("lb-faveo/js/bootstrap.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="{{asset("lb-faveo/plugins/slimScroll/jquery.slimscroll.min.js")}}" type="text/javascript"></script>
|
||||
<!-- FastClick -->
|
||||
<script src="{{asset("lb-faveo/plugins/fastclick/fastclick.min.js")}}"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="{{asset("lb-faveo/js/app.min.js")}}" type="text/javascript"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
{{-- // <script src="{{asset("dist/js/demo.js")}}" type="text/javascript"></script> --}}
|
||||
<!-- iCheck -->
|
||||
<script src="{{asset("lb-faveo/plugins/iCheck/icheck.min.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/datatables/dataTables.bootstrap.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/datatables/jquery.dataTables.js")}}" type="text/javascript"></script>
|
||||
<!-- Page Script -->
|
||||
<script src="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js")}}" type="text/javascript"></script>
|
||||
{{-- // <script type="text/javascript" src="https://cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js"></script> --}}
|
||||
<script src="{{asset("lb-faveo/js/jquery.dataTables1.10.10.min.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/datatables/dataTables.bootstrap.js")}}" type="text/javascript"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
//Add text editor
|
||||
$("textarea").wysihtml5();
|
||||
});
|
||||
</div>
|
||||
<div class="info" style="text-align:center;">
|
||||
@if(Auth::user())
|
||||
<p>{!! Auth::user()->first_name !!}{!! " ". Auth::user()->last_name !!}</p>
|
||||
@endif
|
||||
@if(Auth::user() && Auth::user()->active==1)
|
||||
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
|
||||
@else
|
||||
<a href="#"><i class="fa fa-circle"></i> Offline</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.search form -->
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu">
|
||||
@if($replaceside==0)
|
||||
<li class="header">{!! Lang::get('lang.settings-2') !!}</li>
|
||||
<li class="treeview @yield('Staffs')">
|
||||
<a href="#">
|
||||
<i class="fa fa-users"></i> <span>{!! Lang::get('lang.staffs') !!}</span> <i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('agents')><a href="{{ url('agents') }}"><i class="fa fa-user "></i>{!! Lang::get('lang.agents') !!}</a></li>
|
||||
<li @yield('departments')><a href="{{ url('departments') }}"><i class="fa fa-sitemap"></i>{!! Lang::get('lang.departments') !!}</a></li>
|
||||
<li @yield('teams')><a href="{{ url('teams') }}"><i class="fa fa-users"></i>{!! Lang::get('lang.teams') !!}</a></li>
|
||||
<li @yield('groups')><a href="{{ url('groups') }}"><i class="fa fa-users"></i>{!! Lang::get('lang.groups') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="treeview @yield('Emails')">
|
||||
<a href="#">
|
||||
<i class="fa fa-envelope-o"></i>
|
||||
<span>{!! Lang::get('lang.email') !!}</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('emails')><a href="{{ url('emails') }}"><i class="fa fa-envelope"></i>{!! Lang::get('lang.emails') !!}</a></li>
|
||||
<li @yield('ban')><a href="{{ url('banlist') }}"><i class="fa fa-ban"></i>{!! Lang::get('lang.ban_lists') !!}</a></li>
|
||||
<li @yield('template')><a href="{{ url('template-sets') }}"><i class="fa fa-mail-forward"></i>{!! Lang::get('lang.templates') !!}</a></li>
|
||||
<li @yield('email')><a href="{{url('getemail')}}"><i class="fa fa-at"></i>{!! Lang::get('lang.email-settings') !!}</a></li>
|
||||
<li @yield('diagnostics')><a href="{{ url('getdiagno') }}"><i class="fa fa-plus"></i>{!! Lang::get('lang.diagnostics') !!}</a></li>
|
||||
<!-- <li><a href="#"><i class="fa fa-circle-o"></i> Auto Response</a></li> -->
|
||||
<!-- <li><a href="#"><i class="fa fa-circle-o"></i> Rules/a></li> -->
|
||||
<!-- <li><a href="#"><i class="fa fa-circle-o"></i> Breaklines</a></li> -->
|
||||
<!-- <li><a href="#"><i class="fa fa-circle-o"></i> Log</a></li> -->
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="treeview @yield('Manage')">
|
||||
<a href="#">
|
||||
<i class="fa fa-cubes"></i>
|
||||
<span>{!! Lang::get('lang.manage') !!}</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('help')><a href="{{url('helptopic')}}"><i class="fa fa-file-text-o"></i>{!! Lang::get('lang.help_topics') !!}</a></li>
|
||||
<li @yield('sla')><a href="{{url('sla')}}"><i class="fa fa-clock-o"></i>{!! Lang::get('lang.sla_plans') !!}</a></li>
|
||||
<li @yield('forms')><a href="{{url('forms')}}"><i class="fa fa-file-text"></i>{!! Lang::get('lang.forms') !!}</a></li>
|
||||
<li @yield('workflow')><a href="{{url('workflow')}}"><i class="fa fa-sitemap"></i>{!! Lang::get('lang.workflow') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="treeview @yield('Settings')">
|
||||
<a href="#">
|
||||
<i class="fa fa-cog"></i>
|
||||
<span>{!! Lang::get('lang.system-settings') !!}</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('company')><a href="{{url('getcompany')}}"><i class="fa fa-building"></i>{!! Lang::get('lang.company') !!}</a></li>
|
||||
<li @yield('system')><a href="{{url('getsystem')}}"><i class="fa fa-laptop"></i>{!! Lang::get('lang.system') !!}</a></li>
|
||||
<li @yield('tickets')><a href="{{url('getticket')}}"><i class="fa fa-file-text"></i>{!! Lang::get('lang.ticket') !!}</a></li>
|
||||
<li @yield('auto-response')><a href="{{url('getresponder')}}"><i class="fa fa-reply-all"></i>{!! Lang::get('lang.auto_response') !!}</a></li>
|
||||
<li @yield('alert')><a href="{{url('getalert')}}"><i class="fa fa-bell"></i>{!! Lang::get('lang.alert_notices') !!}</a></li>
|
||||
<li @yield('languages')><a href="{{url('languages')}}"><i class="fa fa-language"></i>{!! Lang::get('lang.language') !!}</a></li>
|
||||
<li @yield('cron')><a href="{{url('job-scheduler')}}"><i class="fa fa-hourglass"></i>{!! Lang::get('lang.cron') !!}</a></li>
|
||||
<li @yield('security')><a href="{{url('security')}}"><i class="fa fa-lock"></i>{!! Lang::get('lang.security') !!}</a></li>
|
||||
<li @yield('status')><a href="{{url('setting-status')}}"><i class="fa fa-plus-square-o"></i>{!! Lang::get('lang.status') !!}</a></li>
|
||||
<li @yield('notification')><a href="{{url('settings-notification')}}"><i class="fa fa-bell"></i>{!! Lang::get('lang.notifications') !!}</a></li>
|
||||
<li @yield('ratings')><a href="{{url('getratings')}}"><i class="fa fa-star"></i>{!! Lang::get('lang.ratings') !!}</a></li>
|
||||
<li @yield('close-workflow')><a href="{{url('close-workflow')}}"><i class="fa fa-sitemap"></i>{!! Lang::get('lang.close-workflow') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview @yield('error-bugs')">
|
||||
<a href="#">
|
||||
<i class="fa fa-heartbeat"></i>
|
||||
<span>{!! Lang::get('lang.error-debug') !!}</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<!-- <li @yield('error-logs')><a href="{{ route('error.logs') }}"><i class="fa fa-list-alt"></i> {!! Lang::get('lang.view-logs') !!}</a></li> -->
|
||||
<li @yield('debugging-option')><a href="{{ route('err.debug.settings') }}"><i class="fa fa-bug"></i> {!! Lang::get('lang.debug-options') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview @yield('Themes')">
|
||||
<a href="#">
|
||||
<i class="fa fa-pie-chart"></i>
|
||||
<span>{!! Lang::get('lang.widgets') !!}</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('widget')><a href="{{ url('widgets') }}"><i class="fa fa-list-alt"></i> {!! Lang::get('lang.widgets') !!}</a></li>
|
||||
<li @yield('socail')><a href="{{ url('social-buttons') }}"><i class="fa fa-cubes"></i> {!! Lang::get('lang.social') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview @yield('Plugins')">
|
||||
<a href="{{ url('plugins') }}">
|
||||
<i class="fa fa-plug"></i>
|
||||
<span>{!! Lang::get('lang.plugin') !!}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="header">{!! Lang::get('lang.Updates') !!}</li>
|
||||
<li @yield('update')>
|
||||
<?php $update = App\Model\helpdesk\Utility\Version_Check::where('id', '=', 1)->first();
|
||||
if ($update->current_version == $update->new_version) {
|
||||
?>
|
||||
<a href="{!! URL::route('checkupdate') !!}" id="checkUpdate">
|
||||
<span>{!! Lang::get('lang.no_new_updates') !!}!</span><br/>
|
||||
<br/>
|
||||
<i class="fa fa-inbox"></i> <span>{!! Lang::get('lang.check_for_updates') !!}.</span>
|
||||
<img id="gif-update" src="{{asset("lb-faveo/media/images/gifloader.gif")}}" style="width:12%; height:12%; margin-bottom:5%;margin-left:10%;display:none">
|
||||
|
||||
<small class="label pull-right bg-green"></small>
|
||||
</a>
|
||||
<?php } elseif ($update->current_version < $update->new_version) { ?>
|
||||
<a>
|
||||
<i class="fa fa-inbox"></i> <span>Version {!! $update->new_version !!} is Available</span>
|
||||
<small class="label pull-right bg-green"></small>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
@endif
|
||||
<?php \Event::fire('service.desk.admin.sidebar', array()); ?>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
|
||||
<!-- Right side column. Contains the navbar and content of the page -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<!--<div class="row">-->
|
||||
<!--<div class="col-md-6">-->
|
||||
@yield('PageHeader')
|
||||
<!--</div>-->
|
||||
{!! Breadcrumbs::renderIfExists() !!}
|
||||
<!--</div>-->
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
@include('themes.default1.update.notification')
|
||||
@yield('content')
|
||||
</section><!-- /.content -->
|
||||
<!-- /.content-wrapper -->
|
||||
</div>
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> {!! Config::get('app.version') !!}
|
||||
</div>
|
||||
<?php
|
||||
$company = App\Model\helpdesk\Settings\Company::where('id', '=', '1')->first();
|
||||
?>
|
||||
<strong>{!! Lang::get('lang.copyright') !!} © {!! date('Y') !!} <a href="{!! $company->website !!}" target="_blank">{!! $company->company_name !!}</a>.</strong> {!! Lang::get('lang.all_rights_reserved') !!}. {!! Lang::get('lang.powered_by') !!} <a href="http://www.faveohelpdesk.com/" target="_blank">Faveo</a>
|
||||
</footer>
|
||||
</div><!-- ./wrapper -->
|
||||
<!-- jQuery 2.1.3 -->
|
||||
<script src="{{asset("lb-faveo/js/ajax-jquery.min.js")}}"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<script src="{{asset("lb-faveo/js/bootstrap.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="{{asset("lb-faveo/plugins/slimScroll/jquery.slimscroll.min.js")}}" type="text/javascript"></script>
|
||||
<!-- FastClick -->
|
||||
<script src="{{asset("lb-faveo/plugins/fastclick/fastclick.min.js")}}"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="{{asset("lb-faveo/js/app.min.js")}}" type="text/javascript"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
{{-- // <script src="{{asset("dist/js/demo.js")}}" type="text/javascript"></script> --}}
|
||||
<!-- iCheck -->
|
||||
<script src="{{asset("lb-faveo/plugins/iCheck/icheck.min.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/datatables/dataTables.bootstrap.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/datatables/jquery.dataTables.js")}}" type="text/javascript"></script>
|
||||
<!-- Page Script -->
|
||||
<script src="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js")}}" type="text/javascript"></script>
|
||||
{{-- // <script type="text/javascript" src="https://cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js"></script> --}}
|
||||
<script src="{{asset("lb-faveo/js/jquery.dataTables1.10.10.min.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/datatables/dataTables.bootstrap.js")}}" type="text/javascript"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
//Add text editor
|
||||
$("textarea").wysihtml5();
|
||||
});
|
||||
// $(function(){
|
||||
// $("#checkUpdate").on('click',function(){
|
||||
// $.ajax({
|
||||
@@ -347,54 +409,54 @@
|
||||
// });
|
||||
|
||||
$(function() {
|
||||
//Enable iCheck plugin for checkboxes
|
||||
//iCheck for checkbox and radio inputs
|
||||
$('input[type="checkbox"]').iCheck({
|
||||
checkboxClass: 'icheckbox_flat-blue',
|
||||
radioClass: 'iradio_flat-blue'
|
||||
});
|
||||
|
||||
//Enable check and uncheck all functionality
|
||||
$(".checkbox-toggle").click(function() {
|
||||
var clicks = $(this).data('clicks');
|
||||
if (clicks) {
|
||||
//Uncheck all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("uncheck");
|
||||
} else {
|
||||
//Check all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("check");
|
||||
}
|
||||
$(this).data("clicks", !clicks);
|
||||
});
|
||||
|
||||
//Handle starring for glyphicon and font awesome
|
||||
$(".mailbox-star").click(function(e) {
|
||||
e.preventDefault();
|
||||
//detect type
|
||||
var $this = $(this).find("a > i");
|
||||
var glyph = $this.hasClass("glyphicon");
|
||||
var fa = $this.hasClass("fa");
|
||||
|
||||
//Switch states
|
||||
if (glyph) {
|
||||
$this.toggleClass("glyphicon-star");
|
||||
$this.toggleClass("glyphicon-star-empty");
|
||||
}
|
||||
|
||||
if (fa) {
|
||||
$this.toggleClass("fa-star");
|
||||
$this.toggleClass("fa-star-o");
|
||||
}
|
||||
});
|
||||
//Enable iCheck plugin for checkboxes
|
||||
//iCheck for checkbox and radio inputs
|
||||
$('input[type="checkbox"]').iCheck({
|
||||
checkboxClass: 'icheckbox_flat-blue',
|
||||
radioClass: 'iradio_flat-blue'
|
||||
});
|
||||
</script>
|
||||
<!-- // <script src="../plugins/jQuery/jQuery-2.1.3.min.js"></script> -->
|
||||
<script src="{{asset("lb-faveo/js/tabby.js")}}"></script>
|
||||
<!-- // <script src="{{asset("dist/js/editor.js")}}"></script> -->
|
||||
<!-- CK Editor -->
|
||||
<!-- // <script src="{{asset("//cdn.ckeditor.com/4.4.3/standard/ckeditor.js")}}"></script> -->
|
||||
<script src="{{asset("lb-faveo/plugins/filebrowser/plugin.js")}}"></script>
|
||||
|
||||
@yield('FooterInclude')
|
||||
</body>
|
||||
</html>
|
||||
//Enable check and uncheck all functionality
|
||||
$(".checkbox-toggle").click(function() {
|
||||
var clicks = $(this).data('clicks');
|
||||
if (clicks) {
|
||||
//Uncheck all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("uncheck");
|
||||
} else {
|
||||
//Check all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("check");
|
||||
}
|
||||
$(this).data("clicks", !clicks);
|
||||
});
|
||||
|
||||
//Handle starring for glyphicon and font awesome
|
||||
$(".mailbox-star").click(function(e) {
|
||||
e.preventDefault();
|
||||
//detect type
|
||||
var $this = $(this).find("a > i");
|
||||
var glyph = $this.hasClass("glyphicon");
|
||||
var fa = $this.hasClass("fa");
|
||||
|
||||
//Switch states
|
||||
if (glyph) {
|
||||
$this.toggleClass("glyphicon-star");
|
||||
$this.toggleClass("glyphicon-star-empty");
|
||||
}
|
||||
|
||||
if (fa) {
|
||||
$this.toggleClass("fa-star");
|
||||
$this.toggleClass("fa-star-o");
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- // <script src="../plugins/jQuery/jQuery-2.1.3.min.js"></script> -->
|
||||
<script src="{{asset("lb-faveo/js/tabby.js")}}"></script>
|
||||
<!-- // <script src="{{asset("dist/js/editor.js")}}"></script> -->
|
||||
<!-- CK Editor -->
|
||||
<!-- // <script src="{{asset("//cdn.ckeditor.com/4.4.3/standard/ckeditor.js")}}"></script> -->
|
||||
<script src="{{asset("lb-faveo/plugins/filebrowser/plugin.js")}}"></script>
|
||||
|
||||
@yield('FooterInclude')
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user