update v1.0.5
This commit is contained in:
@@ -127,40 +127,41 @@ class="active"
|
||||
<h4>{{Lang::get('lang.account_status_setting')}}</h4>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<!-- Role -->
|
||||
<div class="form-group {{ $errors->has('role') ? 'has-error' : '' }}">
|
||||
<div class="col-xs-6">
|
||||
<!-- acccount type -->
|
||||
<div class="form-group {{ $errors->has('active') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('role',Lang::get('lang.role')) !!}
|
||||
{!! $errors->first('role', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('role','admin',true) !!}{{Lang::get('lang.admin')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('role','agent',null) !!}{{Lang::get('lang.agent')}}
|
||||
{!! Form::label('active',Lang::get('lang.status')) !!}
|
||||
{!! $errors->first('active', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('active','1',true) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('active','0',null) !!}{{Lang::get('lang.inactive')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- account type -->
|
||||
<div class="form-group {{ $errors->has('account_type') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('account_type',Lang::get('lang.account_type')) !!}
|
||||
{!! $errors->first('account_type', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('account_type','1',true) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('account_type','0',null) !!}{{Lang::get('lang.locked')}}
|
||||
<!-- Role -->
|
||||
<div class="form-group {{ $errors->has('role') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('role',Lang::get('lang.role')) !!}
|
||||
{!! $errors->first('role', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('role','admin',true) !!}{{Lang::get('lang.admin')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('role','agent',null) !!}{{Lang::get('lang.agent')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -170,7 +171,7 @@ class="active"
|
||||
|
||||
{!! Form::label('assign_group',Lang::get('lang.assigned_group')) !!}
|
||||
{!! $errors->first('assign_group', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('assign_group',[''=>'Select a Group','Groups'=>$groups->lists('name','name')],null,['class' => 'form-control select']) !!}
|
||||
{!!Form::select('assign_group',[''=>'Select a Group','Groups'=>$groups->lists('name','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -179,7 +180,7 @@ class="active"
|
||||
|
||||
{!! Form::label('primary_dpt',Lang::get('lang.primary_department')) !!}
|
||||
{!! $errors->first('primary_dpt', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::select('primary_dpt', [''=>'Select a Department','Departments'=>$departments->lists('name','name')],null,['class' => 'form-control select']) !!}
|
||||
{!! Form::select('primary_dpt', [''=>'Select a Department','Departments'=>$departments->lists('name','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -188,7 +189,7 @@ class="active"
|
||||
|
||||
{!! Form::label('agent_tzone',Lang::get('lang.agent_time_zone')) !!}
|
||||
{!! $errors->first('agent_tzone', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::select('agent_tzone', [''=>'Select a Time Zone', 'Time Zones'=>$timezones->lists('name','name')],null,['class' => 'form-control select']) !!}
|
||||
{!! Form::select('agent_tzone', [''=>'Select a Time Zone', 'Time Zones'=>$timezones->lists('name','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -132,6 +132,21 @@ class="active"
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<!-- acccount type -->
|
||||
<div class="form-group {{ $errors->has('active') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('active',Lang::get('lang.status')) !!}
|
||||
{!! $errors->first('active', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('active','1',true) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('active','0',null) !!}{{Lang::get('lang.inactive')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- role -->
|
||||
<div class="form-group {{ $errors->has('role') ? 'has-error' : '' }}">
|
||||
|
||||
@@ -146,21 +161,7 @@ class="active"
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- acccount type -->
|
||||
<div class="form-group {{ $errors->has('account_type') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('account_type',Lang::get('lang.account_type')) !!}
|
||||
{!! $errors->first('account_type', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('account_type','1',true) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('account_type','0',null) !!}{{Lang::get('lang.locked')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- day light saving -->
|
||||
{{-- <div class="col-xs-6"> --}}
|
||||
@@ -210,21 +211,21 @@ class="active"
|
||||
<div class="col-xs-4 form-group {{ $errors->has('assign_group') ? 'has-error' : '' }}">
|
||||
{!! Form::label('assign_group',Lang::get('lang.assigned_group')) !!}
|
||||
{!! $errors->first('assign_group', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('assign_group', [''=>'Select a Group','Groups'=>$groups->lists('name','name')],null,['class' => 'form-control select']) !!}
|
||||
{!!Form::select('assign_group', [''=>'Select a Group','Groups'=>$groups->lists('name','id')],null,['class' => 'form-control select']) !!}
|
||||
</div>
|
||||
|
||||
<!-- primary department -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('primary_dpt') ? 'has-error' : '' }}">
|
||||
{!! Form::label('primary_dpt',Lang::get('lang.primary_department')) !!}
|
||||
{!! $errors->first('primary_dpt', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('primary_dpt', $departments->lists('name','name'),null,['class' => 'form-control select']) !!}
|
||||
{!!Form::select('primary_dpt', $departments->lists('name','id'),null,['class' => 'form-control select']) !!}
|
||||
</div>
|
||||
|
||||
<!-- agent timezone -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('agent_tzone') ? 'has-error' : '' }}">
|
||||
{!! Form::label('agent_tzone',Lang::get('lang.agent_time_zone')) !!}
|
||||
{!! $errors->first('agent_tzone', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('agent_tzone', $timezones->lists('name','name'),null,['class' => 'form-control select']) !!}
|
||||
{!!Form::select('agent_tzone', $timezones->lists('name','id'),null,['class' => 'form-control select']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class="active"
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{!! Lang::get('lang.staffs') !!} </h2><a href="{{route('agents.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_agent')}}</a></div>
|
||||
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<div class="box-body table-responsive">
|
||||
<?php
|
||||
$user = App\User::where('role','!=','user')->orderBy('id', 'ASC')->paginate(20);
|
||||
?>
|
||||
@@ -59,7 +59,7 @@ class="active"
|
||||
</div>
|
||||
@endif
|
||||
<!-- Agent table -->
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<table class="table table-bordered dataTable" style="overflow:hidden;">
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.name')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.user_name')}}</th>
|
||||
@@ -86,24 +86,26 @@ class="active"
|
||||
}
|
||||
?>
|
||||
<td>
|
||||
@if($use->account_type=='1')
|
||||
@if($use->active=='1')
|
||||
<span style="color:green">{{'Active'}}</span>
|
||||
@else
|
||||
<span style="color:red">{{'Inactive'}}</span>
|
||||
@endif
|
||||
<td>{{$use->assign_group }}</td>
|
||||
<td>{{$use->primary_dpt }}</td>
|
||||
|
||||
<?php
|
||||
$group = App\Model\helpdesk\Agent\Groups::whereId($use->assign_group)->first();
|
||||
$department = App\Model\helpdesk\Agent\Department::whereId($use->primary_dpt)->first();
|
||||
?>
|
||||
|
||||
<td>{{ $group->name }}</td>
|
||||
<td>{{ $department->name }}</td>
|
||||
<td>{{ UTC::usertimezone($use->created_at) }}</td>
|
||||
{{-- <td>{{$use->Lastlogin_at}}</td> --}}
|
||||
<td>
|
||||
{!! Form::open(['route'=>['agents.destroy', $use->id],'method'=>'DELETE']) !!}
|
||||
<a href="{{route('agents.edit', $use->id)}}" class="btn btn-info btn-xs btn-flat"><i class="fa fa-edit" style="color:black;"> </i> {!! Lang::get('lang.edit') !!} </a>
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button(' <i class="fa fa-trash" style="color:black;"> </i> ' . Lang::get('lang.delete') ,
|
||||
['type' => 'submit',
|
||||
'class'=> 'btn btn-warning btn-xs btn-flat',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
{{-- {!! Form::button(' <i class="fa fa-trash" style="color:black;"> </i> ' . Lang::get('lang.delete') ,['type' => 'submit', 'class'=> 'btn btn-warning btn-xs btn-flat','onclick'=>'return confirm("Are you sure?")']) !!} --}}
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -111,9 +113,7 @@ class="active"
|
||||
@endforeach
|
||||
</table>
|
||||
</div>
|
||||
<div class="box-footer"></div>
|
||||
|
||||
</div>
|
||||
@section('FooterInclude')
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -76,7 +76,7 @@ class="active"
|
||||
|
||||
{!! Form::label('sla',Lang::get('lang.SLA_plan')) !!}
|
||||
{!! $errors->first('sla', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('sla', ['SLA Plans'=>$slas->lists('grace_period','grace_period')],null,['class' => 'form-control select']) !!}
|
||||
{!!Form::select('sla', ['SLA Plans'=>$slas->lists('grace_period','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
<!-- manager -->
|
||||
@@ -84,7 +84,7 @@ class="active"
|
||||
|
||||
{!! Form::label('manager',Lang::get('lang.manager')) !!}
|
||||
{!! $errors->first('manager', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('manager',[''=>'Select a Manager','Managers'=>$user->lists('user_name','user_name')],null,['class' => 'form-control select']) !!}
|
||||
{!!Form::select('manager',[''=>'Select a Manager','Managers'=>$user->lists('user_name','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -68,14 +68,13 @@ class="active"
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- sla -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('sla') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('sla',Lang::get('lang.SLA_plan')) !!}
|
||||
{!! $errors->first('sla', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('sla', ['SLA Plans'=>$slas->lists('grace_period','grace_period')],null,['class' => 'form-control select']) !!}
|
||||
{!!Form::select('sla', ['SLA Plans'=>$slas->lists('grace_period','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
<!-- manager -->
|
||||
@@ -83,7 +82,7 @@ class="active"
|
||||
|
||||
{!! Form::label('manager',Lang::get('lang.manager')) !!}
|
||||
{!! $errors->first('manager', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('manager',[''=>'Select a Manager','Managers'=>$user->lists('user_name','user_name')],null,['class' => 'form-control select']) !!}
|
||||
{!!Form::select('manager',[null=>'Select a Manager','Managers'=>$user->lists('user_name','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ class="active"
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{!! Lang::get('lang.departments') !!}</h2><a href="{{route('departments.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_department')}}</a></div>
|
||||
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<div class="box-body table-responsive ">
|
||||
|
||||
|
||||
<!-- check whether success or not -->
|
||||
@@ -44,7 +44,7 @@ class="active"
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<b>{!! Lang::get('lang.success') !!}</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
{!! Session::get('success') !!}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@@ -53,37 +53,78 @@ class="active"
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.fails') !!}!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
{!! Session::get('fails') !!}
|
||||
</div>
|
||||
@endif
|
||||
<!-- table -->
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<table class="table table-bordered dataTable" style="overflow:hidden;">
|
||||
<tr>
|
||||
<tr>
|
||||
<th>{{Lang::get('lang.name')}}</th>
|
||||
<th>{{Lang::get('lang.type')}}</th>
|
||||
<th>{{Lang::get('lang.sla_plan')}}</th>
|
||||
<th>{{Lang::get('lang.department_manager')}}</th>
|
||||
<th>{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
$default_department = App\Model\helpdesk\Settings\System::where('id','=','1')->first();
|
||||
$default_department = $default_department->department;
|
||||
?>
|
||||
|
||||
@foreach($departments as $department)
|
||||
<tr>
|
||||
<td><a href="{{route('departments.edit', $department->id)}}"> {{$department -> name }}</a></td>
|
||||
<td><a href="{{route('departments.edit', $department->id)}}"> {{$department -> name }}
|
||||
@if($default_department == $department->id)
|
||||
( Default )
|
||||
<?php
|
||||
$disable = 'disabled';
|
||||
?>
|
||||
@else
|
||||
<?php
|
||||
$disable = '';
|
||||
?>
|
||||
@endif
|
||||
</a></td>
|
||||
<td>
|
||||
@if($department->type=='1')
|
||||
<span style="color:green">{{'Public'}}</span>
|
||||
@else
|
||||
<span style="color:red">{{'Private'}}</span>
|
||||
@endif
|
||||
<td>{{$department->manager}}</td>
|
||||
</td>
|
||||
<?php
|
||||
if($department->manager == 0) {
|
||||
$manager ="";
|
||||
} else {
|
||||
$manager = App\User::whereId($department->manager)->first();
|
||||
$manager = $manager->user_name;
|
||||
}
|
||||
|
||||
if($department->sla == null){
|
||||
$sla = "";
|
||||
} else {
|
||||
$sla = App\Model\helpdesk\Manage\sla_plan::whereId($department->sla)->first();
|
||||
$sla = $sla->grace_period;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<td>{{ $sla }}</td>
|
||||
<td>{{ $manager }}</td>
|
||||
<td>
|
||||
{!! Form::open(['route'=>['departments.destroy', $department->id],'method'=>'DELETE']) !!}
|
||||
<a href="{{route('departments.edit', $department->id)}}" class="btn btn-info btn-xs btn-flat"><i class="fa fa-edit" style="color:black;"> </i> Edit</a>
|
||||
<!-- To pop up a confirm Message -->
|
||||
{{-- @if($default_department == $department->id) --}}
|
||||
{{-- @else --}}
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-trash" style="color:black;"> </i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'btn btn-warning btn-xs btn-flat',
|
||||
'class'=> 'btn btn-warning btn-xs btn-flat '.$disable,
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
{{-- @endif --}}
|
||||
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -35,7 +35,7 @@ class="active"
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{!! Lang::get('lang.groups') !!}</h2><a href="{{route('groups.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_group')}}</a></div>
|
||||
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<div class="box-body table-responsive">
|
||||
|
||||
<!-- check whether success or not -->
|
||||
|
||||
@@ -44,7 +44,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 -->
|
||||
@@ -53,11 +53,11 @@ 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
|
||||
<!-- Table -->
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<table class="table table-bordered dataTable" style="overflow:hidden;">
|
||||
|
||||
<tr>
|
||||
<th>{{Lang::get('lang.group_name')}}</th>
|
||||
|
||||
@@ -34,7 +34,7 @@ class="active"
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.teams')}}</h2><a href="{{route('teams.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_team')}}</a></div>
|
||||
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<div class="box-body table-responsive">
|
||||
|
||||
<!-- check whether success or not -->
|
||||
|
||||
@@ -56,7 +56,7 @@ class="active"
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<table class="table table-bordered dataTable" style="overflow:hidden;">
|
||||
<tr>
|
||||
<th>{{Lang::get('lang.name')}}</th>
|
||||
<th>{{Lang::get('lang.status')}}</th>
|
||||
@@ -74,9 +74,16 @@ class="active"
|
||||
<span style="color:red">{{'Inactive'}}</span>
|
||||
@endif
|
||||
|
||||
|
||||
<?php
|
||||
if($team->team_lead == 0) {
|
||||
$team_lead = "";
|
||||
} else {
|
||||
$users = App\User::whereId($team->team_lead)->first();
|
||||
$team_lead = $users->first_name . " " . $users->last_name;
|
||||
}
|
||||
?>
|
||||
<td>{{count($assign_team_agent->where('team_id',$team->id))}}</td>
|
||||
<td>{{$team->team_lead}}</td>
|
||||
<td>{{ $team_lead }}</td>
|
||||
<td>
|
||||
{!! Form::open(['route'=>['teams.destroy', $team->id],'method'=>'DELETE']) !!}
|
||||
<!-- To pop up a confirm Message -->
|
||||
|
||||
@@ -62,14 +62,14 @@ class="active"
|
||||
<div class="box-body table-responsive"style="overflow:hidden;">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('ban_status') ? 'has-error' : '' }}">
|
||||
{!! Form::label('ban_status',Lang::get('lang.ban_status')) !!}
|
||||
<div class="form-group {{ $errors->has('ban') ? 'has-error' : '' }}">
|
||||
{!! Form::label('ban',Lang::get('lang.ban_status')) !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban_status',1) !!}{{Lang::get('lang.active')}}
|
||||
{!! Form::radio('ban',1) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban_status',0) !!}{{Lang::get('lang.disabled')}}
|
||||
{!! Form::radio('ban',0) !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -42,8 +42,8 @@ class="active"
|
||||
<div class="box-body table-responsive"style="overflow:hidden;">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('ban_status') ? 'has-error' : '' }}">
|
||||
{!! Form::label('ban_status',Lang::get('lang.ban_status')) !!}
|
||||
<div class="form-group {{ $errors->has('ban') ? 'has-error' : '' }}">
|
||||
{!! Form::label('ban',Lang::get('lang.ban_status')) !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban',1) !!}{{Lang::get('lang.active')}}
|
||||
|
||||
@@ -34,7 +34,7 @@ class="active"
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.banlists')}}</h2><a href="{{route('banlist.create')}}" class="pull-right btn btn-primary">{{Lang::get('lang.ban_email')}}</a>
|
||||
</div>
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<div class="box-body table-responsive">
|
||||
|
||||
|
||||
<!-- check whether success or not -->
|
||||
@@ -56,9 +56,7 @@ class="active"
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
|
||||
<table class="table table-bordered dataTable" style="overflow:hidden;">
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.email_address')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.last_updated')}}</th>
|
||||
@@ -74,15 +72,7 @@ class="active"
|
||||
<td> {!! UTC::usertimezone($ban->updated_at) !!} </td>
|
||||
<!-- Deleting Fields -->
|
||||
<td>
|
||||
{!! Form::open(['route'=>['banlist.destroy', $ban->id],'method'=>'DELETE']) !!}
|
||||
<a href="{{route('banlist.edit',$ban->id)}}" class="btn btn-info btn-xs btn-flat"><i class="fa fa-edit" style="color:black;"> </i> Edit</a>
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-trash" style="color:black;"> </i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'btn btn-warning btn-xs btn-flat',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
|
||||
@@ -84,20 +84,11 @@ class="active"
|
||||
|
||||
{!! Form::label('help_topic',Lang::get('lang.help_topic')) !!}
|
||||
{!! $errors->first('help_topic', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('help_topic', [''=>'Select a Helptopic','Help Topics'=>$helps->lists('topic','topic')],null,['class' => 'form-control select']) !!}
|
||||
{!!Form::select('help_topic', [''=>'Select a Helptopic','Help Topics'=>$helps->lists('topic','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- Auto response -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
|
||||
{{-- {!! Form::label('',Lang::get('lang.auto_response')) !!} --}}
|
||||
{{-- <div class="col-xs-1"> --}}
|
||||
{{-- {!! Form::checkbox('auto_response',1,null,['class' => 'checkbox']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
|
||||
<hr>
|
||||
|
||||
@@ -112,14 +103,6 @@ class="active"
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- Username -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('user_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('user_name',Lang::get('lang.email_address')) !!}
|
||||
{!! $errors->first('user_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('user_name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- password -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
|
||||
@@ -184,11 +167,7 @@ class="active"
|
||||
|
||||
{!! Form::label('mailbox_protocol',Lang::get('lang.mail_box_protocol')) !!}
|
||||
{!! $errors->first('mailbox_protocol', '<spam class="help-block">:message</spam>') !!}
|
||||
<select class="form-control" name="mailbox_protocol">
|
||||
<option value="/imap/ssl">IMAP+SSL</option>
|
||||
<option value="/imap/tls">IMAP+TLS</option>
|
||||
<option value="/imap">IMAP</option>
|
||||
</select>
|
||||
{!!Form::select('mailbox_protocol',['Mailbox Protocols'=>$mailbox_protocols->lists('name','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
<!-- imap config -->
|
||||
|
||||
@@ -84,7 +84,7 @@ class="active"
|
||||
|
||||
{!! Form::label('help_topic',Lang::get('lang.help_topic')) !!}
|
||||
{!! $errors->first('help_topic', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('help_topic', [''=>'Select a Helptopic','Help Topics'=>$helps->lists('topic','topic')],null,['class' => 'form-control select']) !!}
|
||||
{!!Form::select('help_topic', [''=>'Select a Helptopic','Help Topics'=>$helps->lists('topic','id')],null,['class' => 'form-control select']) !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -110,15 +110,6 @@ class="active"
|
||||
|
||||
<div class="row">
|
||||
|
||||
<!-- user name -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('user_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('user_name',Lang::get('lang.email_address')) !!}
|
||||
{!! $errors->first('user_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('user_name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- password -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
|
||||
@@ -181,11 +172,7 @@ class="active"
|
||||
|
||||
{!! Form::label('mailbox_protocol',Lang::get('lang.mail_box_protocol')) !!}
|
||||
{!! $errors->first('mailbox_protocol', '<spam class="help-block">:message</spam>') !!}
|
||||
<select class="form-control" name="mailbox_protocol">
|
||||
<option value="/imap/ssl" <?php if($emails->mailbox_protocol == '/imap/ssl'){ echo 'selected="selected"'; } ?>>IMAP+SSL</option>
|
||||
<option value="/imap/tls" <?php if($emails->mailbox_protocol == '/imap/tls'){ echo 'selected="selected"'; } ?> >IMAP+TLS</option>
|
||||
<option value="/imap" <?php if($emails->mailbox_protocol == '/imap'){ echo 'selected="selected"'; } ?> >IMAP</option>
|
||||
</select>
|
||||
{!!Form::select('mailbox_protocol',['Mailbox Protocols'=>$mailbox_protocols->lists('name','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
<!-- imap config -->
|
||||
|
||||
@@ -34,7 +34,7 @@ class="active"
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{!! Lang::get('lang.incoming_emails') !!}</h2><a href="{{route('emails.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_email')}}</a></div>
|
||||
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<div class="box-body table-responsive">
|
||||
|
||||
<!-- check whether success or not -->
|
||||
|
||||
@@ -56,7 +56,7 @@ class="active"
|
||||
</div>
|
||||
@endif
|
||||
<!-- table -->
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<table class="table table-bordered dataTable" style="overflow:hidden;">
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.email')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.priority')}}</th>
|
||||
@@ -70,8 +70,14 @@ class="active"
|
||||
<td><a href="{{route('emails.edit', $email->id)}}"> {{$email -> email_address }}</a></td>
|
||||
<?php $priority = App\Model\helpdesk\Ticket\Ticket_Priority::where('priority_id','=',$email->priority)->first(); ?>
|
||||
<td>{{ ucfirst($priority->priority_desc) }}</td>
|
||||
<?php $department = App\Model\helpdesk\Agent\Department::where('id','=',$email->department)->first(); ?>
|
||||
<td>{{ $department->name }}</td>
|
||||
@if($email->department !== null)
|
||||
<?php $department = App\Model\helpdesk\Agent\Department::where('id','=',$email->department)->first();
|
||||
$dept = $department->name; ?>
|
||||
@elseif($email->department == null)
|
||||
<?php $dept = ""; ?>
|
||||
@endif
|
||||
|
||||
<td>{{ $dept }}</td>
|
||||
<td>{{ UTC::usertimezone($email->created_at) }}</td>
|
||||
<td>{{ UTC::usertimezone($email->updated_at) }}</td>
|
||||
<td>
|
||||
|
||||
@@ -56,7 +56,7 @@ class="active"
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<table class="table table-bordered dataTable" style="overflow:hidden;">
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.name')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.status')}}</th>
|
||||
|
||||
@@ -57,7 +57,7 @@ class="active"
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$forms =App\Model\helpdesk\Form\Forms::all();
|
||||
$forms = App\Model\helpdesk\Form\Forms::all();
|
||||
?>
|
||||
@foreach($forms as $form)
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ class="active"
|
||||
|
||||
{!! Form::label('custom_form',Lang::get('lang.custom')) !!}
|
||||
{!! $errors->first('custom_form', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('custom_form', [''=>'Select a Form','Custom Forms'=>$forms->lists('formname','name')],1,['class' => 'form-control']) !!}
|
||||
{!!Form::select('custom_form', [''=>'Select a Form','Custom Forms'=>$forms->lists('formname','id')],1,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -128,7 +128,7 @@ class="active"
|
||||
|
||||
{!! Form::label('sla_plan',Lang::get('lang.SLA_plan')) !!}
|
||||
{!! $errors->first('sla_plan', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('sla_plan', [''=>'Select a SLA Plan','SLA Plans'=>$slas->lists('name','name')],1,['class' => 'form-control']) !!}
|
||||
{!!Form::select('sla_plan', [''=>'Select a SLA Plan','SLA Plans'=>$slas->lists('name','id')],1,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -139,7 +139,7 @@ class="active"
|
||||
|
||||
{!! Form::label('auto_assign',Lang::get('lang.auto_assign')) !!}
|
||||
{!! $errors->first('auto_assign', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('auto_assign', [''=>'Select an Agent','Agents'=>$agents->lists('user_name','user_name')],null,['class' => 'form-control']) !!}
|
||||
{!!Form::select('auto_assign', [''=>'Select an Agent','Agents'=>$agents->lists('user_name','id')],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -127,7 +127,7 @@ class="active"
|
||||
|
||||
{!! Form::label('auto_assign',Lang::get('lang.auto_assign')) !!}
|
||||
{!! $errors->first('auto_assign', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('auto_assign', [''=>'Select an Agent','Agents'=>$agents->lists('user_name','user_name')],null,['class' => 'form-control']) !!}
|
||||
{!!Form::select('auto_assign', [''=>'Select an Agent','Agents'=>$agents->lists('user_name','id')],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -32,7 +32,7 @@ class="active"
|
||||
<div class="form-group">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.help_topic')}}</h2><a href="{{route('helptopic.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_help_topic')}}</a></div>
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<div class="box-body table-responsive">
|
||||
|
||||
<!-- check whether success or not -->
|
||||
|
||||
@@ -41,7 +41,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 -->
|
||||
@@ -50,11 +50,11 @@ 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
|
||||
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<table class="table table-bordered dataTable" style="overflow:hidden;">
|
||||
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.topic')}}</th>
|
||||
@@ -65,12 +65,31 @@ class="active"
|
||||
<th width="100px">{{Lang::get('lang.last_updated')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
|
||||
$default_helptopic = App\Model\helpdesk\Settings\Ticket::where('id','=','1')->first();
|
||||
$default_helptopic = $default_helptopic->help_topic;
|
||||
|
||||
?>
|
||||
|
||||
<!-- Foreach @var$topics as @var topic -->
|
||||
@foreach($topics as $topic)
|
||||
<tr style="padding-bottom:-30px">
|
||||
|
||||
<!-- topic Name with Link to Edit page along Id -->
|
||||
<td><a href="{{route('helptopic.edit',$topic->id)}}">{!! $topic->topic !!}</a></td>
|
||||
<td><a href="{{route('helptopic.edit',$topic->id)}}">{!! $topic->topic !!}
|
||||
@if($topic->id == $default_helptopic)
|
||||
( Default )
|
||||
<?php
|
||||
$disable = 'disabled';
|
||||
?>
|
||||
@else
|
||||
<?php
|
||||
$disable = '';
|
||||
?>
|
||||
@endif
|
||||
</a></td>
|
||||
|
||||
<!-- topic Status : if status==1 active -->
|
||||
<td>
|
||||
@@ -94,8 +113,13 @@ class="active"
|
||||
<?php $priority = App\Model\helpdesk\Ticket\Ticket_Priority::where('priority_id','=',$topic->priority)->first(); ?>
|
||||
<td>{!! $priority->priority_desc !!}</td>
|
||||
<!-- Department -->
|
||||
<?php $dept = App\Model\helpdesk\Agent\Department::where('id', '=', $topic->department)->first(); ?>
|
||||
<td>{!! $dept->name !!}</td>
|
||||
@if($topic->department != null)
|
||||
<?php $dept = App\Model\helpdesk\Agent\Department::where('id', '=', $topic->department)->first();
|
||||
$dept = $dept->name; ?>
|
||||
@elseif($topic->department == null)
|
||||
<?php $dept = ""; ?>
|
||||
@endif
|
||||
<td> {!! $dept !!} </td>
|
||||
<!-- Last Updated -->
|
||||
<td> {!! UTC::usertimezone($topic->updated_at) !!} </td>
|
||||
<!-- Deleting Fields -->
|
||||
@@ -105,12 +129,10 @@ class="active"
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-trash" style="color:black;"> </i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'btn btn-warning btn-xs btn-flat',
|
||||
'class'=> 'btn btn-warning btn-xs btn-flat '.$disable,
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
@endforeach
|
||||
|
||||
@@ -62,7 +62,7 @@ class="active"
|
||||
|
||||
{!! Form::label('grace_period',Lang::get('lang.grace_period')) !!}
|
||||
{!! $errors->first('grace_period', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::select('grace_period',['10'=>'10 Hours','15'=>'15 Hours','20'=>'20 hours','24'=>'One Day'],null,['class' => 'form-control']) !!}
|
||||
{!! Form::select('grace_period',['6 Hours'=>'6 Hours', '12 Hours'=>'12 Hours', '18 Hours'=>'18 Hours', '24 Hours'=>'24 Hours', '36 Hours'=>'36 Hours', '48 Hours'=>'48 Hours'],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ class="active"
|
||||
|
||||
{!! Form::label('grace_period',Lang::get('lang.grace_period')) !!}
|
||||
{!! $errors->first('grace_period', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::select('grace_period',['10'=>'10 Hours','15'=>'15 Hours','20'=>'20 hours','24'=>'One Day'],null,['class' => 'form-control']) !!}
|
||||
{!! Form::select('grace_period',['6 Hours'=>'6 Hours', '12 Hours'=>'12 Hours', '18 Hours'=>'18 Hours', '24 Hours'=>'24 Hours', '36 Hours'=>'36 Hours', '48 Hours'=>'48 Hours'],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ class="active"
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.SLA_plan')}}</h2><a href="{{route('sla.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_SLA')}}</a></div>
|
||||
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<div class="box-body table-responsive">
|
||||
|
||||
<!-- check whether success or not -->
|
||||
|
||||
@@ -43,7 +43,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 -->
|
||||
@@ -52,11 +52,11 @@ 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
|
||||
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<table class="table table-bordered dataTable" style="overflow:hidden;">
|
||||
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.name')}}</th>
|
||||
@@ -66,12 +66,28 @@ class="active"
|
||||
<th width="100px">{{Lang::get('lang.last_updated')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
$default_sla = App\Model\helpdesk\Settings\Ticket::where('id','=','1')->first();
|
||||
$default_sla = $default_sla->sla;
|
||||
?>
|
||||
|
||||
<!-- Foreach @var$slas as @var sla -->
|
||||
@foreach($slas as $sla)
|
||||
<tr>
|
||||
|
||||
<!-- sla Name with Link to Edit page along Id -->
|
||||
<td><a href="{{route('sla.edit',$sla->id)}}">{!! $sla->name !!}</a></td>
|
||||
<td><a href="{{route('sla.edit',$sla->id)}}">{!! $sla->name !!}
|
||||
@if($sla->id == $default_sla)
|
||||
( Default )
|
||||
<?php
|
||||
$disable = 'disabled';
|
||||
?>
|
||||
@else
|
||||
<?php
|
||||
$disable = '';
|
||||
?>
|
||||
@endif
|
||||
</a> </td>
|
||||
<!-- sla Status : if status==1 active -->
|
||||
<td>
|
||||
@if($sla->status=='1')
|
||||
@@ -93,19 +109,15 @@ class="active"
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-trash" style="color:black;"> </i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'btn btn-warning btn-xs btn-flat',
|
||||
'class'=> 'btn btn-warning btn-xs btn-flat '.$disable,
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
|
||||
<!-- Set a link to Create Page -->
|
||||
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -328,7 +328,7 @@
|
||||
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{!! Lang::get('lang.themes') !!}</h3>
|
||||
<h3 class="box-title">{!! Lang::get('lang.widgets') !!}</h3>
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
@@ -338,66 +338,36 @@
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{ url('create-footer') }}"><span class="fa-stack fa-2x">
|
||||
|
||||
<a href="{{ url('widgets') }}"><span class="fa-stack fa-2x">
|
||||
<i class="fa fa-list-alt fa-stack-1x"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
<center class="box-title" >{!! Lang::get('lang.footer') !!}</center>
|
||||
<center class="box-title" >{!! Lang::get('lang.widgets') !!}</center>
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
<!--/.col-md-2-->
|
||||
|
||||
<!--/.col-md-2-->
|
||||
|
||||
<!--/.col-md-2-->
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{ url('create-footer2') }}"><span class="fa-stack fa-2x">
|
||||
|
||||
<i class="fa fa-list-alt fa-stack-1x"></i>
|
||||
<a href="{{ url('social-buttons') }}"><span class="fa-stack fa-2x">
|
||||
<i class="fa fa-cubes fa-stack-1x"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
<center class="box-title" >{!! Lang::get('lang.footer2') !!}</center>
|
||||
<center class="box-title" >{!! Lang::get('lang.widgets') !!}</center>
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
<!--/.col-md-2-->
|
||||
|
||||
<!--/.col-md-2-->
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{ url('create-footer3') }}"><span class="fa-stack fa-2x">
|
||||
|
||||
<i class="fa fa-list-alt fa-stack-1x"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
<center class="box-title" >{!! Lang::get('lang.footer3') !!}</center>
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
|
||||
<!--/.col-md-2-->
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{ url('create-footer4') }}"><span class="fa-stack fa-2x">
|
||||
|
||||
<i class="fa fa-list-alt fa-stack-1x"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
<center class="box-title" >{!! Lang::get('lang.footer4') !!}</center>
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
</div>
|
||||
<!-- ./box-body -->
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="box">
|
||||
|
||||
@@ -117,76 +117,11 @@ 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',[''=>'Select a Time Zone','Time Zones'=>$timezones->lists('name','name')],null,['class'=>'form-control']) !!}
|
||||
{!!Form::select('time_zone',[''=>'Select a Time Zone','Time Zones'=>$timezones->lists('name','id')],null,['class'=>'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Default Page Size: Drop down: Manual -->
|
||||
{{-- <div class="col-md-3"> --}}
|
||||
{{-- <div class="form-group"> --}}
|
||||
|
||||
{{-- {!! Form::label('page_size',Lang::get('lang.pagesize')) !!} --}}
|
||||
{{-- {!!Form::select('page_size', ['5','10','15'],null,['class'=>'form-control']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Default Log Level: Drop down: Manual -->
|
||||
|
||||
{{-- <div class="col-md-3">
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('log_level',Lang::get('lang.loglevel')) !!}
|
||||
{!!Form::select('log_level', [''=>'Select a Log','Log Levels'=>$log->lists('level','level')],null,['class'=>'form-control']) !!}
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
<!-- Purge Logs: Drop Down : Manual -->
|
||||
|
||||
{{-- <div class="col-md-3">
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('purge_log',Lang::get('lang.purglog')) !!}</td></tr>
|
||||
{!!Form::select('purge_log', ['5 months','10 months','15 months'],null,['class'=>'form-control']) !!}
|
||||
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
<!-- Default Name Formatting: Drop Down : Manual -->
|
||||
|
||||
{{-- <div class="col-md-3">
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('name_format',Lang::get('lang.nameformat')) !!}
|
||||
{!!Form::select('name_format', ['First Last','Last First'],null,['class'=>'form-control']) !!}
|
||||
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
<!-- Time Format: Required: text : eg - 14:07 AM -->
|
||||
|
||||
{{-- <div class="col-md-3"> --}}
|
||||
{{-- <div class="form-group {{ $errors->has('time_farmat') ? 'has-error' : '' }}"> --}}
|
||||
|
||||
{{-- {!! Form::label('time_format',Lang::get('lang.timeformat')) !!} --}}
|
||||
{{-- {!! $errors->first('time_format', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!! Form::select('time_format',[''=>'Select a Time Format','Time Format'=>$time->lists('format','format')],null,['class' => 'form-control']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Date Format:text : Required : eg - 03/25/2015 -->
|
||||
|
||||
{{-- <div class="col-md-3"> --}}
|
||||
{{-- <div class="form-group {{ $errors->has('date_format') ? 'has-error' : '' }}"> --}}
|
||||
|
||||
{{-- {!! Form::label('date_format',Lang::get('lang.dateformat')) !!} --}}
|
||||
{{-- {!! $errors->first('date_format', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!! Form::select('date_format',[''=>'Select a Date Format','Date Formats'=>$date->lists('format','format')],null,['class' => 'form-control']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
|
||||
<!-- Date and Time Format: text: required: eg - 03/25/2015 7:14 am -->
|
||||
|
||||
<div class="col-md-6">
|
||||
@@ -194,35 +129,16 @@ class="active"
|
||||
|
||||
{!! 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',[''=>'Select a date Time Format','Date Time Formats'=>$date_time->lists('format','format')],null,['class' => 'form-control']) !!}
|
||||
{!! Form::select('date_time_format',[''=>'Select a date Time Format','Date Time Formats'=>$date_time->lists('format','id')],null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Day, Date and Time Format: text: Required :eg - Wed, Mar 25 2015 7:14am -->
|
||||
|
||||
{{-- <div class="col-md-3"> --}}
|
||||
{{-- <div class="form-group {{ $errors->has('day_date_time') ? 'has-error' : '' }}"> --}}
|
||||
|
||||
{{-- {!! Form::label('day_date_time',Lang::get('lang.day_date_time')) !!} --}}
|
||||
{{-- {!! $errors->first('day_date_time', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!! Form::text('day_date_time',$systems->day_date_time,['class' => 'form-control']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
</div>
|
||||
|
||||
<!-- Guest user page Content -->
|
||||
<div class="row">
|
||||
{{-- <div class="col-md-12"> --}}
|
||||
{{-- <div class="form-group"> --}}
|
||||
|
||||
{{-- {!! Form::label('content',Lang::get('lang.content')) !!} --}}
|
||||
{{-- {!! Form::textarea('content',null,['id'=>'content','class' => 'form-control','size' => '30x5']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Themes')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('theme-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('footer')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h4 class="box-title">{!! Lang::get('lang.widgets') !!} </h4>
|
||||
</div>
|
||||
<!-- check whether success or not -->
|
||||
@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-footer">
|
||||
{!! Datatable::table()
|
||||
->addColumn(Lang::get('lang.name'),
|
||||
Lang::get('lang.link'),
|
||||
Lang::get('lang.action')) // these are the column headings to be shown
|
||||
->setUrl('list-social-buttons') // this is the route where data will be retrieved
|
||||
->render() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
@@ -0,0 +1,50 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Themes')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('theme-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('footer')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h4 class="box-title">{!! Lang::get('lang.widgets') !!} </h4>
|
||||
</div>
|
||||
<!-- check whether success or not -->
|
||||
@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-footer">
|
||||
{!! Datatable::table()
|
||||
->addColumn(Lang::get('lang.name'),
|
||||
Lang::get('lang.title'),
|
||||
Lang::get('lang.content'),
|
||||
Lang::get('lang.action')) // these are the column headings to be shown
|
||||
->setUrl('list-widget') // this is the route where data will be retrieved
|
||||
->render() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
Reference in New Issue
Block a user