update v1.0.7.9 R.C.
This is a Release Candidate. We are still testing.
This commit is contained in:
@@ -202,6 +202,11 @@ class="active"
|
||||
</div>
|
||||
@endwhile
|
||||
</div>
|
||||
<!-- Send email to user about registration password -->
|
||||
<br/>
|
||||
<div class="form-group">
|
||||
<input type="checkbox" name="send_email" checked> <label> {{ Lang::get('lang.send_password_via_email')}}</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
{!! Form::submit(Lang::get('lang.submit'),['class'=>'form-group btn btn-primary'])!!}
|
||||
|
||||
@@ -32,7 +32,7 @@ class="active"
|
||||
<h2 class="box-title">{!! Lang::get('lang.list_of_agents') !!} </h2><a href="{{route('agents.create')}}" class="btn btn-primary pull-right">{!! Lang::get('lang.create_an_agent') !!}</a></div>
|
||||
<div class="box-body table-responsive">
|
||||
<?php
|
||||
$user = App\User::where('role', '!=', 'user')->orderBy('id', 'ASC')->paginate(20);
|
||||
$user = App\User::where('role', '!=', 'user')->orderBy('id', 'ASC')->paginate(10);
|
||||
?>
|
||||
<!-- check whether success or not -->
|
||||
@if(Session::has('success'))
|
||||
@@ -110,6 +110,9 @@ class="active"
|
||||
@endif
|
||||
@endforeach
|
||||
</table>
|
||||
<div class="pull-right" style="margin-top : -10px; margin-bottom : -10px;">
|
||||
{!! $user->links() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@@ -103,6 +103,9 @@ class="active"
|
||||
{!!Form::select('outgoing_email', ['' => Lang::get('lang.system_default'), Lang::get('lang.emails')=>$emails->lists('email_name','id')->toArray()],null,['class' => 'form-control select']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="checkbox" name="sys_department"> {{ Lang::get('lang.make-default-department')}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
{!! Form::submit(Lang::get('lang.submit'),['class'=>'form-group btn btn-primary'])!!}
|
||||
|
||||
@@ -103,12 +103,13 @@ class="active"
|
||||
{!!Form::select('outgoing_email', ['' => Lang::get('lang.system_default'), Lang::get('lang.emails')=>$emails->lists('email_name','id')->toArray()],null,['class' => 'form-control select']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<div class="form-group">
|
||||
<input type="checkbox" name="sys_department" @if($sys_department->department == $departments->id) checked disabled @endif> {{ Lang::get('lang.make-default-department')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-footer">
|
||||
|
||||
{!! Form::submit(Lang::get('lang.update'),['class'=>'form-group btn btn-primary'])!!}
|
||||
</div>
|
||||
{!!Form::close()!!}
|
||||
|
||||
@@ -316,24 +316,32 @@ class="active"
|
||||
var error = "Fetching Host is a required field";
|
||||
error_list.push(error);
|
||||
$("#fetching_host_error").addClass("has-error");
|
||||
} else {
|
||||
$("#fetching_host_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of fetching port
|
||||
if (fetching_port == "") {
|
||||
var error = "Fetching Port is a required field";
|
||||
error_list.push(error);
|
||||
$("#fetching_port_error").addClass("has-error");
|
||||
} else {
|
||||
$("#fetching_port_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of mailbox protocol
|
||||
if (fetching_encryption == "") {
|
||||
var error = "Fetching Encryption is a required field";
|
||||
error_list.push(error);
|
||||
$("#fetching_encryption_error").addClass("has-error");
|
||||
} else {
|
||||
$("#fetching_encryption_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of mailbox protocol
|
||||
if (fetching_protocol == "") {
|
||||
var error = "Fetching Protocol is a required field";
|
||||
error_list.push(error);
|
||||
$("#fetching_protocol_error").addClass("has-error");
|
||||
} else {
|
||||
$("#fetching_protocol_error").removeClass("has-error");
|
||||
}
|
||||
|
||||
} else {
|
||||
@@ -354,30 +362,42 @@ class="active"
|
||||
var error = "Sending Host is a required field";
|
||||
error_list.push(error);
|
||||
$("#sending_host_error").addClass("has-error");
|
||||
} else {
|
||||
$("#sending_host_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of sending port
|
||||
if (sending_port == "") {
|
||||
var error = "Sending Port is a required field";
|
||||
error_list.push(error);
|
||||
$("#sending_port_error").addClass("has-error");
|
||||
} else {
|
||||
$("#sending_port_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of sending encryption
|
||||
if (sending_encryption == "") {
|
||||
var error = "Sending Encryption is a required field";
|
||||
error_list.push(error);
|
||||
$("#sending_encryption_error").addClass("has-error");
|
||||
} else {
|
||||
$("#sending_encryption_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of sending protocol
|
||||
if (sending_protocol == "") {
|
||||
var error = "Transfer Protocol is a required field";
|
||||
error_list.push(error);
|
||||
$("#sending_protocol_error").addClass("has-error");
|
||||
} else {
|
||||
$("#sending_protocol_error").removeClass("has-error");
|
||||
}
|
||||
} else if(sending_protocol == 'mail') {
|
||||
$("#sending_host_error").val('');
|
||||
$("#sending_port_error").val('');
|
||||
$("#sending_encryption_error").val('');
|
||||
$("#sending_protocol_error").val('');
|
||||
$("#sending_host_error").removeClass("has-error");
|
||||
$("#sending_port_error").removeClass("has-error");
|
||||
$("#sending_encryption_error").removeClass("has-error");
|
||||
$("#sending_protocol_error").removeClass("has-error");
|
||||
}
|
||||
} else {
|
||||
// checking for validation of fetching port
|
||||
@@ -387,6 +407,11 @@ class="active"
|
||||
error_list.push(error);
|
||||
$("#sending_port_error").addClass("has-error");
|
||||
}
|
||||
} else {
|
||||
$("#sending_host_error").removeClass("has-error");
|
||||
$("#sending_port_error").removeClass("has-error");
|
||||
$("#sending_encryption_error").removeClass("has-error");
|
||||
$("#sending_protocol_error").removeClass("has-error");
|
||||
}
|
||||
}
|
||||
// executing error chatch
|
||||
@@ -417,7 +442,6 @@ class="active"
|
||||
beforeSend: function() {
|
||||
$('#alert').empty();
|
||||
$("#click").trigger("click");
|
||||
|
||||
},
|
||||
success: function(response) {
|
||||
if (response == 1) {
|
||||
|
||||
@@ -351,24 +351,32 @@ class="active"
|
||||
var error = "Fetching Host is a required field";
|
||||
error_list.push(error);
|
||||
$("#fetching_host_error").addClass("has-error");
|
||||
} else {
|
||||
$("#fetching_host_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of fetching port
|
||||
if (fetching_port == "") {
|
||||
var error = "Fetching Port is a required field";
|
||||
error_list.push(error);
|
||||
$("#fetching_port_error").addClass("has-error");
|
||||
} else {
|
||||
$("#fetching_port_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of mailbox protocol
|
||||
if (fetching_encryption == "") {
|
||||
var error = "Fetching Encryption is a required field";
|
||||
error_list.push(error);
|
||||
$("#fetching_encryption_error").addClass("has-error");
|
||||
} else {
|
||||
$("#fetching_encryption_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of mailbox protocol
|
||||
if (fetching_protocol == "") {
|
||||
var error = "Fetching Protocol is a required field";
|
||||
error_list.push(error);
|
||||
$("#fetching_protocol_error").addClass("has-error");
|
||||
} else {
|
||||
$("#fetching_protocol_error").removeClass("has-error");
|
||||
}
|
||||
} else {
|
||||
// checking for validation of fetching port
|
||||
@@ -378,6 +386,8 @@ class="active"
|
||||
error_list.push(error);
|
||||
$("#fetching_port_error").addClass("has-error");
|
||||
}
|
||||
} else {
|
||||
$("#fetching_port_error").removeClass("has-error");
|
||||
}
|
||||
}
|
||||
// checking for validation of sending status
|
||||
@@ -389,30 +399,42 @@ class="active"
|
||||
var error = "Sending Host is a required field";
|
||||
error_list.push(error);
|
||||
$("#sending_host_error").addClass("has-error");
|
||||
} else {
|
||||
$("#sending_host_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of sending port
|
||||
if (sending_port == "") {
|
||||
var error = "Sending Port is a required field";
|
||||
error_list.push(error);
|
||||
$("#sending_port_error").addClass("has-error");
|
||||
} else {
|
||||
$("#sending_port_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of sending encryption
|
||||
if (sending_encryption == "") {
|
||||
var error = "Sending Encryption is a required field";
|
||||
error_list.push(error);
|
||||
$("#sending_encryption_error").addClass("has-error");
|
||||
} else {
|
||||
$("#sending_encryption_error").removeClass("has-error");
|
||||
}
|
||||
// checking for validation of sending protocol
|
||||
if (sending_protocol == "") {
|
||||
var error = "Transfer Protocol is a required field";
|
||||
error_list.push(error);
|
||||
$("#sending_protocol_error").addClass("has-error");
|
||||
} else {
|
||||
$("#sending_protocol_error").removeClass("has-error");
|
||||
}
|
||||
} else if(sending_protocol == 'mail') {
|
||||
$("#sending_host_error").val('');
|
||||
$("#sending_port_error").val('');
|
||||
$("#sending_encryption_error").val('');
|
||||
$("#sending_protocol_error").val('');
|
||||
$("#sending_host_error").removeClass("has-error");
|
||||
$("#sending_port_error").removeClass("has-error");
|
||||
$("#sending_encryption_error").removeClass("has-error");
|
||||
$("#sending_protocol_error").removeClass("has-error");
|
||||
}
|
||||
} else {
|
||||
// checking for validation of fetching port
|
||||
@@ -422,6 +444,11 @@ class="active"
|
||||
error_list.push(error);
|
||||
$("#sending_port_error").addClass("has-error");
|
||||
}
|
||||
} else {
|
||||
$("#sending_host_error").removeClass("has-error");
|
||||
$("#sending_port_error").removeClass("has-error");
|
||||
$("#sending_encryption_error").removeClass("has-error");
|
||||
$("#sending_protocol_error").removeClass("has-error");
|
||||
}
|
||||
}
|
||||
// executing error chatch
|
||||
@@ -439,7 +466,7 @@ class="active"
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Ajax communicating to backend for further Checking/Saving the details
|
||||
// Ajax communicating to backend for further Checking/Saving the details
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "{!! route('validating.email.settings.update', $emails->id ) !!}",
|
||||
|
||||
@@ -112,7 +112,7 @@ class="active"
|
||||
e.preventDefault();
|
||||
if (x < max_fields) {
|
||||
x++;
|
||||
$(wrapper).append('<tr><td><input type="text" class="form-control" name="label[]"></td><td><input type="text" class="form-control" name="name[]"></td><td><select name="type[]" class="form-control"><option>text</option><option>email</option><option>password</option><option>textarea</option><option>select</option><option>radio</option><option>checkbox</option><option>submit</option></select></td><td><textarea name="value[]" class="form-control"></textarea></td><td>{!! Lang::get("lang.yes") !!} <input type=radio name="required[' + x + '][]" value=1 checked> {!! Lang::get("lang.no") !!} <input type=radio name="required[' + x + '][]" value=0></td><td><button type="button" class="remove_field btn btn-danger"><i class="fa fa-trash-o"></i>  {!! Lang::get("lang.remove") !!}</button></td></tr>');
|
||||
$(wrapper).append('<tr><td><input type="text" class="form-control" name="label[]"></td><td><input type="text" class="form-control" name="name[]"></td><td><select name="type[]" class="form-control"><option>text</option><option>email</option><option>password</option><option>textarea</option><option>select</option><option>radio</option><option>checkbox</option></select></td><td><textarea name="value[]" class="form-control"></textarea></td><td>{!! Lang::get("lang.yes") !!} <input type=radio name="required[' + x + '][]" value=1 checked> {!! Lang::get("lang.no") !!} <input type=radio name="required[' + x + '][]" value=0></td><td><button type="button" class="remove_field btn btn-danger"><i class="fa fa-trash-o"></i>  {!! Lang::get("lang.remove") !!}</button></td></tr>');
|
||||
}
|
||||
});
|
||||
$(wrapper).on("click", ".remove_field", function(e)
|
||||
|
||||
@@ -50,6 +50,7 @@ class="active"
|
||||
<?php
|
||||
$i = $id->id;
|
||||
$form_datas = App\Model\helpdesk\Form\Fields::where('forms_id', '=', $i)->get();
|
||||
// dd($form_datas);
|
||||
foreach ($form_datas as $form_data) {
|
||||
if ($form_data->type == "select") {
|
||||
$form_fields = explode(',', $form_data->value);
|
||||
@@ -63,21 +64,20 @@ class="active"
|
||||
$vals = explode(',', $type2);
|
||||
echo '<br/><label>' . ucfirst($form_data->label) . '</label><br/>';
|
||||
foreach ($vals as $val) {
|
||||
echo '<input type="' . $form_data->type . '" name="' . $form_data->name . '"> ' . $form_data->name . ' ';
|
||||
echo '<input type="' . $form_data->type . '" name="' . $form_data->name . '"> ' . $val . ' ';
|
||||
}
|
||||
} elseif ($form_data->type == "textarea") {
|
||||
$type3 = $form_data->value;
|
||||
$v = explode(',', $type3);
|
||||
echo '<label>' . $form_data->label . '</label></br><textarea rows="' . $v[0] . '" cols="' . $v[1] . '"></textarea></br></br>';
|
||||
echo '<label>' . $form_data->label . '</label></br><textarea name="'.$form_data->name.'" class="form-control" style="height:15%;"></textarea>';
|
||||
} elseif ($form_data->type == "checkbox") {
|
||||
$type4 = $form_data->value;
|
||||
$checks = explode(',', $type4);
|
||||
echo '<label>' . ucfirst($form_data->label) . '</label><br/>';
|
||||
echo '<br/><br/><label>' . ucfirst($form_data->label) . '</label><br/>';
|
||||
foreach ($checks as $check) {
|
||||
echo '<input type="' . $form_data->type . '" name="' . $form_data->name . '">  ' . $check;
|
||||
}
|
||||
} else {
|
||||
echo '<label>' . ucfirst($form_data->label) . '</label><input type="' . $form_data->type . '" class="form-control" name="' . $form_data->name . '" /></br></br>';
|
||||
echo '<label>' . ucfirst($form_data->label) . '</label><input type="' . $form_data->type . '" class="form-control" name="' . $form_data->name . '" />';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -70,6 +70,11 @@ class="active"
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<script>
|
||||
function confirm_delete() {
|
||||
return confirm('are you sure?');
|
||||
}
|
||||
|
||||
|
||||
$(function() {
|
||||
$("#example1").DataTable();
|
||||
$('#example2').DataTable({
|
||||
@@ -81,5 +86,6 @@ class="active"
|
||||
"autoWidth": false
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
@stop
|
||||
|
||||
@@ -104,20 +104,5 @@ class="active"
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
</div><!--/.col (left) -->
|
||||
<div class="col-md-6">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{Lang::get('lang.system_error_reports')}}</h3>
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<!-- System Errors (enabled by default) -->
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('system_error',1) !!}
|
||||
{!! Form::label('system_error',Lang::get('lang.Send_app_crash_reports_to_help_Ladybird_improve_Faveo')) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
@section('update')
|
||||
class="active"
|
||||
@stop
|
||||
@section('PageHeader')
|
||||
<h1>{{ Lang::get('lang.update-version')}}</h1>
|
||||
@stop
|
||||
@section('content')
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">Check for Update</h3>
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
@if(Session::has('info'))
|
||||
<div class="alert alert-info alert-dismissable">
|
||||
<i class="fa fa-info-circle"></i>
|
||||
<b>Info!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{!!Session::get('info')!!}
|
||||
</div>
|
||||
@endif
|
||||
Click to check Update
|
||||
<a href="{!! URL::route('version-check') !!}" class="btn btn-primary">Check</a>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
@@ -118,7 +118,7 @@ class="active"
|
||||
<?php $company = App\Model\helpdesk\Settings\Company::where('id', '=', '1')->first(); ?>
|
||||
@if($companys->logo != null)
|
||||
<div class="col-md-2 image" data-content="{{Lang::get('lang.click-delete')}}">
|
||||
<img src="{{asset('lb-faveo/media/company')}}{{'/'}}{{$company->logo}}" alt="User Image" id="company-logo" width="100px" style="border:1px solid #DCD1D1" />
|
||||
<img src="{{asset('uploads/company')}}{{'/'}}{{$company->logo}}" alt="User Image" id="company-logo" width="100px" style="border:1px solid #DCD1D1" />
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@@ -164,7 +164,7 @@ class="active"
|
||||
var src = $('#company-logo').attr('src').split('/');
|
||||
var file = src[src.length - 1];
|
||||
|
||||
var path = "lb-faveo/media/company/" + file;
|
||||
var path = "uploads/company/" + file;
|
||||
// alert(path);
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
|
||||
@@ -95,7 +95,7 @@ class="active"
|
||||
<div class="form-group {{ $errors->has('time_zone') ? 'has-error' : '' }}">
|
||||
{!! Form::label('time_zone',Lang::get('lang.timezone')) !!}
|
||||
{!! $errors->first('time_zone', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('time_zone',[''=>Lang::get('lang.select_a_time_zone'),'Time Zones'=>$timezones->lists('name','id')->toArray()],null,['class'=>'form-control']) !!}
|
||||
{!!Form::select('time_zone',['Time Zones'=>$timezones->lists('name','id')->toArray()],null,['class'=>'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -105,15 +105,15 @@ class="active"
|
||||
<div class="form-group {{ $errors->has('date_time_format') ? 'has-error' : '' }}">
|
||||
{!! Form::label('date_time_format',Lang::get('lang.date_time')) !!}
|
||||
{!! $errors->first('date_time_format', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::select('date_time_format',[''=>Lang::get('lang.select_a_date_time_format'),'Date Time Formats'=>$date_time->lists('format','id')->toArray()],null,['class' => 'form-control']) !!}
|
||||
{!! Form::select('date_time_format',['Date Time Formats'=>$date_time->lists('format','id')->toArray()],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::label('status',Lang::get('lang.status')) !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="col-xs-5">
|
||||
{!! Form::radio('status','1',true) !!} {{Lang::get('lang.online')}}
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
@@ -122,14 +122,37 @@ class="active"
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Default Department: Dropdown From Department table: required -->
|
||||
<!-- <div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('department') ? 'has-error' : '' }}">
|
||||
{!! Form::label('department',Lang::get('lang.default_department')) !!}
|
||||
{!! $errors->first('department', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('department', [''=>Lang::get('lang.select_a_department'),'Department'=>$departments->lists('name','id')->toArray()],null,['class'=>'form-control']) !!}
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
{!! Form::label('user_set_ticket_status',Lang::get('lang.user_set_ticket_status')) !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-5">
|
||||
<input type="radio" name="user_set_ticket_status" value="0" @if($common_setting->status == '0')checked="true" @endif>{{Lang::get('lang.no')}}
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<input type="radio" name="user_set_ticket_status" value="1" @if($common_setting->status == '1')checked="true" @endif>{{Lang::get('lang.yes')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-5">
|
||||
<div class="form-group">
|
||||
{!! Form::label('status',Lang::get('lang.rtl')) !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<?php
|
||||
$rtl = App\Model\helpdesk\Settings\CommonSettings::where('option_name', '=', 'enable_rtl')->first();
|
||||
?>
|
||||
<input type="checkbox" name="enable_rtl" @if($rtl->option_value == 1) checked @endif> {{Lang::get('lang.enable')}}
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<code>{!! Lang::get('lang.the_rtl_support_is_only_applicable_to_the_outgoing_mails') !!}</code>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -282,7 +282,7 @@
|
||||
<td class="mailbox-star"><a href="#"><i class="fa fa-star text-yellow"></i></a></td>
|
||||
@foreach($threads as $thread)
|
||||
<td class="mailbox-name"><a href="timeline.html">{{$thread->ticket_subject}}</a></td>
|
||||
|
||||
|
||||
<td class="mailbox-Id">{{$thread->ticket_id}}</td>
|
||||
@endforeach
|
||||
<td class="mailbox-last-reply">client</td>
|
||||
@@ -343,7 +343,7 @@
|
||||
<div class="box-footer no-padding">
|
||||
<div class="mailbox-controls">
|
||||
<!-- Check all button -->
|
||||
<button class="btn btn-default btn-sm checkbox-toggle"><i class="fa fa-square-o"></i></button>
|
||||
<button class="btn btn-default btn-sm checkbox-toggle"><i class="fa fa-square-o"></i></button>
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-default btn-sm"><i class="fa fa-trash-o"></i></button>
|
||||
<button class="btn btn-default btn-sm"><i class="fa fa-reply"></i></button>
|
||||
@@ -372,8 +372,8 @@
|
||||
</footer>
|
||||
</div><!-- ./wrapper -->
|
||||
|
||||
<!-- jQuery 2.1.3 -->
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<!-- jQuery 2.1.1 -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
<!-- Slimscroll -->
|
||||
|
||||
@@ -5,35 +5,33 @@
|
||||
<title>Faveo | HELP DESK</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- faveo favicon -->
|
||||
<link rel="shortcut icon" href="{{asset("lb-faveo/media/images/favicon.ico")}}">
|
||||
<link href="{{asset("lb-faveo/media/images/favicon.ico")}}" rel="shortcut icon">
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="{{asset("lb-faveo/css/bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
{{-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> --}}
|
||||
<link href="{{asset("lb-faveo/css/font-awesome.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Ionicons -->
|
||||
{{-- <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css"> --}}
|
||||
<link href="{{asset("lb-faveo/css/ionicons.min.css")}}" rel="stylesheet">
|
||||
<!-- fullCalendar 2.2.5-->
|
||||
<link href="{{asset("lb-faveo/css/ionicons.min.css")}}" rel="stylesheet" type="text/css" >
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("lb-faveo/css/AdminLTE.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- AdminLTE Skins. Choose a skin from the css/skins
|
||||
folder instead of downloading all of them to reduce the load. -->
|
||||
<!-- AdminLTE Skins. Choose a skin from the css/skins folder instead of downloading all of them to reduce the load. -->
|
||||
<link href="{{asset("lb-faveo/css/skins/_all-skins.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- iCheck -->
|
||||
<link href="{{asset("lb-faveo/plugins/iCheck/flat/blue.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<link href="{{asset("lb-faveo/css/tabby.css")}}" type="text/css" rel="stylesheet">
|
||||
<!-- This controlls the top tabs -->
|
||||
<link href="{{asset("lb-faveo/css/tabby.css")}}" rel="stylesheet" type="text/css" >
|
||||
<!-- In app notification style -->
|
||||
<link href="{{asset('css/notification-style.css')}}" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="{{asset("lb-faveo/css/jquerysctipttop.css")}}" rel="stylesheet" type="text/css">
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
|
||||
<link href="{{asset("lb-faveo/css/editor.css")}}" rel="stylesheet" type="text/css">
|
||||
<script src="{{asset("lb-faveo/plugins/filebrowser/plugin.js")}}" type="text/javascript"></script>
|
||||
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/plugins/datatables/dataTables.bootstrap.css")}}" rel="stylesheet">
|
||||
{{-- // <script src="https://code.jquery.com/jquery-2.1.4.js" type="text/javascript"></script> --}}
|
||||
<link href="{{asset("lb-faveo/plugins/datatables/dataTables.bootstrap.css")}}" rel="stylesheet" type="text/css" >
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery-2.1.4.js")}}" type="text/javascript"></script>
|
||||
{{-- // <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> --}}
|
||||
|
||||
<script src="{{asset("lb-faveo/js/jquery2.1.1.min.js")}}" type="text/javascript"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
@@ -78,7 +76,7 @@
|
||||
<ul class="nav navbar-nav navbar-left">
|
||||
@if($replacetop==0)
|
||||
<li @yield('settings')><a href="{!! url('dashboard') !!}">{!! Lang::get('lang.agent_panel') !!}</a></li>
|
||||
@else
|
||||
@else
|
||||
<?php \Event::fire('service.desk.admin.topbar', array()); ?>
|
||||
@endif
|
||||
</ul>
|
||||
@@ -88,6 +86,7 @@
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a href="{{url('admin')}}">{!! Lang::get('lang.admin_panel') !!}</a></li>
|
||||
@include('themes.default1.update.notification')
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<li class="dropdown notifications-menu" id="myDropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" onclick="myFunction()">
|
||||
@@ -159,7 +158,7 @@
|
||||
<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 -->
|
||||
@@ -317,27 +316,6 @@
|
||||
<span>{!! Lang::get('lang.api') !!}</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>
|
||||
@@ -359,7 +337,7 @@
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
@include('themes.default1.update.notification')
|
||||
|
||||
@yield('content')
|
||||
</section><!-- /.content -->
|
||||
<!-- /.content-wrapper -->
|
||||
@@ -375,33 +353,34 @@
|
||||
</footer>
|
||||
</div><!-- ./wrapper -->
|
||||
<!-- jQuery 2.1.3 -->
|
||||
<script src="{{asset("lb-faveo/js/ajax-jquery.min.js")}}"></script>
|
||||
<script src="{{asset("lb-faveo/js/ajax-jquery.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<script src="{{asset("lb-faveo/js/bootstrap.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="{{asset("lb-faveo/plugins/slimScroll/jquery.slimscroll.min.js")}}" type="text/javascript"></script>
|
||||
<!-- FastClick -->
|
||||
<script src="{{asset("lb-faveo/plugins/fastclick/fastclick.min.js")}}"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/fastclick/fastclick.min.js")}}" type="text/javascript"></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>
|
||||
<!-- 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 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(){
|
||||
// $("#checkUpdate").on('click',function(){
|
||||
// $.ajax({
|
||||
// type: "GET",
|
||||
// url: "{!! URL::route('version-check') !!}",
|
||||
@@ -479,11 +458,9 @@ $(function () {
|
||||
}
|
||||
});
|
||||
});</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')
|
||||
|
||||
Reference in New Issue
Block a user