update v1.0.6
This commit is contained in:
@@ -65,7 +65,7 @@ class="active"
|
||||
|
||||
|
||||
<div class="box-body table-responsive"style="overflow:hidden;">
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<!-- Default Template Set: DROPDOWN value from template table : Required -->
|
||||
{{-- <div class="col-md-3"> --}}
|
||||
{{-- <div class="form-group {{ $errors->has('template') ? 'has-error' : '' }}"> --}}
|
||||
@@ -76,13 +76,15 @@ class="active"
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Default System Email: DROPDOWN value from emails table : Required -->
|
||||
{{-- <div class="col-md-3"> --}}
|
||||
{{-- <div class="form-group {{ $errors->has('sys_email') ? 'has-error' : '' }}"> --}}
|
||||
{{-- {!! Form::label('sys_email',Lang::get('lang.default_system_email')) !!} --}}
|
||||
{{-- {!! $errors->first('sys_email', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!!Form::select('sys_email', $emails1->lists('email_address','email_address'),null,['class'=>'form-control']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-3 no-padding">
|
||||
<div class="form-group {{ $errors->has('sys_email') ? 'has-error' : '' }}">
|
||||
{!! Form::label('sys_email',Lang::get('lang.default_system_email')) !!}
|
||||
{!! $errors->first('sys_email', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('sys_email', $emails1->lists('email_name','id'),null,['class'=>'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Default Alert Email: DROPDOWN value from emails table : Required -->
|
||||
{{-- <div class="col-md-3"> --}}
|
||||
|
@@ -1,171 +0,0 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('system')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h4 class="box-title">{{Lang::get('lang.ratings')}}</h4>
|
||||
</div>
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<b>Success!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Fail!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="box-body">
|
||||
<table id="example1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
|
||||
<th>Title</th>
|
||||
|
||||
<th>Action</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($ratings as $rating)
|
||||
|
||||
<tr>
|
||||
<td>{!! $rating->id !!}</td>
|
||||
|
||||
<td>{!! $rating->rating_name !!}</td>
|
||||
|
||||
<td>
|
||||
|
||||
<button class="btn btn-info btn-sm" data-toggle="modal" data-target="#{{$rating->slug}}">Edit Rating</button>
|
||||
|
||||
<div class="modal fade" id="{{$rating->slug}}">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
{!! Form::model($rating,['route'=>['settings.rating', $rating->slug],'method'=>'PATCH']) !!}
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">Edit Rating</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" height="100%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td valign="top" id="staffnavbar" colspan="2">
|
||||
<div id="cpmenu"><div id="customnavhtmlcontainer" style="display: none;"></div>
|
||||
|
||||
<div class="ui-tabs-hide ui-tabs ui-widget ui-widget-content ui-corner-all" id="View_Ratingtabs">
|
||||
<div class="ui-tabs ui-tabs-panel ui-widget-content ui-corner-bottom" id="View_Rating_tab_general">
|
||||
<table width="100%" cellspacing="1" cellpadding="4" border="0">
|
||||
<tbody>
|
||||
<tr class="tablerow1_tr">
|
||||
<td class="tablerow1" align="left" valign="top" width="50%"><span class="tabletitle">Rating label</span><br>
|
||||
<span style="font-style: italic">For example, <em>Overall satisfaction</em> or <em>Speed of resolution</em>.</span></td>
|
||||
<td class="tablerow1" align="left" valign="top">
|
||||
{!! Form::text('rating_name',null,['class'=>'form-control'])!!}
|
||||
</td></tr>
|
||||
<tr class="tablerow1_tr"><td width="50%" valign="top" align="left" class="tablerow1"><span class="tabletitle">Publish the rating system?</span><br>
|
||||
<span style="font-style: italic">
|
||||
<strong>Enable Rating System</strong> Ratings are available to the users. Select this option if you want to collect feedback from your end users and have the ratings visible to staff too.
|
||||
</span></td>
|
||||
<td valign="top" align="left" class="tablerow1">
|
||||
<label for="publicratingvisibility"><input type="radio" checked="" value="1" id="publicratingvisibility" class="swiftradio" name="publish" autocomplete="OFF"> Yes</label>
|
||||
<label for="privateratingvisibility"><input type="radio" value="0" id="privateratingvisibility" name="publish" autocomplete="OFF"> No</label>
|
||||
</td></tr>
|
||||
<tr class="tablerow1_tr"><td width="50%" valign="top" align="left" class="tablerow1">
|
||||
<td width="50%" valign="top" align="left" class="tablerow1"></td>
|
||||
</tr>
|
||||
<tr class="tablerow1_tr">
|
||||
<td width="50%" valign="top" align="left" class="tablerow1">
|
||||
<span class="tabletitle">Allow modification after first submission</span><br>
|
||||
<span style="font-style: italic">The value set for this rating can be modified, if enabled.</span></td>
|
||||
<td valign="top" align="left" class="tablerow1"><label for="yiseditable">
|
||||
<input type="radio" checked="" value="1" id="yiseditable" onclick="" class="swiftradio" name="modify" autocomplete="OFF"> Yes</label>
|
||||
<label for="niseditable">
|
||||
<input type="radio" value="0" onclick="" name="modify" autocomplete="OFF"> No</label>
|
||||
</td></tr>
|
||||
|
||||
</tbody></table></div></div>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="form-group">
|
||||
{!! Form::submit('Update Rating',['class'=>'btn btn-primary'])!!}
|
||||
|
||||
<button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close</button>
|
||||
</div></div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-danger btn-sm" data-toggle="modal" data-target="#{{$rating->slug}}delete">Delete Rating</button>
|
||||
|
||||
<div class="modal fade" id="{{$rating->slug}}delete">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">Delete</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Are you sure you want to Delete ?</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close</button>
|
||||
{!! link_to_route('ratings.delete','Delete',[$rating->slug],['id'=>'delete','class'=>'btn btn-danger btn-sm']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
@stop
|
||||
</div><!-- /.box -->
|
@@ -71,10 +71,10 @@ class="active"
|
||||
{!! Form::label('status',Lang::get('lang.status')) !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('status','1',true) !!}{{Lang::get('lang.online')}}
|
||||
{!! Form::radio('status','1',true) !!} {{Lang::get('lang.online')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('status','0') !!}{{Lang::get('lang.offline')}}
|
||||
{!! Form::radio('status','0') !!} {{Lang::get('lang.offline')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -51,7 +51,7 @@ class="active"
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<b>Success!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
{!! Session::get('success') !!}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@@ -60,7 +60,7 @@ class="active"
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Fail!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
{!! Session::get('fails') !!}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@@ -104,7 +104,7 @@ class="active"
|
||||
</div>
|
||||
|
||||
<!-- Default Priority: Required : manual : Dropdowm -->
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-2">
|
||||
<div class="form-group {{ $errors->has('priority') ? 'has-error' : '' }}">
|
||||
{!! Form::label('priority',Lang::get('lang.default_priority')) !!}
|
||||
{!! $errors->first('priority', '<spam class="help-block">:message</spam>') !!}
|
||||
@@ -113,7 +113,7 @@ class="active"
|
||||
</div>
|
||||
|
||||
<!-- Default SLA: Required : manual : Dropdowm -->
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-2">
|
||||
<div class="form-group {{ $errors->has('sla') ? 'has-error' : '' }}">
|
||||
{!! Form::label('sla',Lang::get('lang.default_sla')) !!}
|
||||
{!! $errors->first('sla', '<spam class="help-block">:message</spam>') !!}
|
||||
@@ -122,7 +122,7 @@ class="active"
|
||||
</div>
|
||||
|
||||
<!-- Default Help Topic: Dropdowm from Help topic table -->
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-2">
|
||||
<div class="form-group {{ $errors->has('help_topic') ? 'has-error' : '' }}">
|
||||
{!! Form::label('help_topic',Lang::get('lang.default_help_topic')) !!}
|
||||
{!! $errors->first('help_topic', '<spam class="help-block">:message</spam>') !!}
|
||||
@@ -140,13 +140,18 @@ class="active"
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Agent Collision Avoidance Duration: text-number -minutes -->
|
||||
{{-- <div class="col-md-6"> --}}
|
||||
{{-- <div class="form-group {{ $errors->has('collision_avoid') ? 'has-error' : '' }}"> --}}
|
||||
{{-- {!! Form::label('collision_avoid',Lang::get('lang.agent_collision_avoidance_duration')) !!} --}}
|
||||
{{-- {!! $errors->first('collision_avoid', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!! Form::text('collision_avoid',$tickets->collision_avoid,['class' => 'form-control']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
<div class="col-md-3">
|
||||
<div class="form-group {{ $errors->has('collision_avoid') ? 'has-error' : '' }}">
|
||||
{!! Form::label('collision_avoid',Lang::get('lang.agent_collision_avoidance_duration')) !!}
|
||||
{!! $errors->first('collision_avoid', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="input-group">
|
||||
<input type="number" class="form-control" name="collision_avoid" min="0" step="1" value="{{$tickets->collision_avoid}}" placeholder="in minutes">
|
||||
<div class="input-group-addon">
|
||||
<span><i class="fa fa-clock-o"></i> {!!Lang::get('lang.in_minutes')!!}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Human Verification: checkbox Enable CAPTCHA on new web tickets. -->
|
||||
|
Reference in New Issue
Block a user