update for version 1.0.1
This commit is contained in:
@@ -0,0 +1,97 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('staffs')
|
||||
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="row">
|
||||
<div class="col-md-3">
|
||||
<!-- Profile Image -->
|
||||
<div class="box box-primary">
|
||||
<div class="box-body box-profile">
|
||||
|
||||
@if(Auth::user()->profile_pic)
|
||||
<img src="{{asset('lb-faveo/profilepic')}}{{'/'}}{{ $agent->profile_pic }}"class="profile-user-img img-responsive img-circle" alt="User Image"/>
|
||||
@else
|
||||
<img src="{{ Gravatar::src($agent->email) }}" class="profile-user-img img-responsive img-circle" alt="User Image">
|
||||
@endif
|
||||
<h3 class="profile-username text-center">{!! $agent->user_name !!}</h3>
|
||||
<p class="text-muted text-center">Software Engineer</p>
|
||||
<ul class="list-group list-group-unbordered">
|
||||
<li class="list-group-item">
|
||||
<b>Followers</b> <a class="pull-right">1,322</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>Following</b> <a class="pull-right">543</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b>Friends</b> <a class="pull-right">13,287</a>
|
||||
</li>
|
||||
</ul>
|
||||
<a href="#" class="btn btn-primary btn-block"><b>Follow</b></a>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
<!-- About Me Box -->
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">About Me</h3>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<strong><i class="fa fa-book margin-r-5"></i> Education</strong>
|
||||
<p class="text-muted">
|
||||
B.S. in Computer Science from the University of Tennessee at Knoxville
|
||||
</p>
|
||||
<hr>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
</div><!-- /.col -->
|
||||
<div class="col-md-9">
|
||||
<div class="nav-tabs-custom">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#activity" data-toggle="tab">Activity</a></li>
|
||||
<li><a href="#timeline" data-toggle="tab">Timeline</a></li>
|
||||
<li><a href="#settings" data-toggle="tab">Settings</a></li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div class="active tab-pane" id="activity">
|
||||
<!-- Post -->
|
||||
</div><!-- /.tab-pane -->
|
||||
<div class="tab-pane" id="timeline">
|
||||
</div><!-- /.tab-pane -->
|
||||
<div class="tab-pane" id="settings">
|
||||
</div><!-- /.tab-pane -->
|
||||
</div><!-- /.tab-content -->
|
||||
</div><!-- /.nav-tabs-custom -->
|
||||
</div><!-- /.col -->
|
||||
</div>
|
||||
|
||||
@stop
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@@ -0,0 +1,217 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::open(array('action' => 'Admin\helpdesk\AgentController@store' , 'method' => 'post') )!!}
|
||||
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="content-header">
|
||||
|
||||
<h4>Create {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
<!-- username -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('user_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('user_name',Lang::get('lang.user_name')) !!}
|
||||
{!! $errors->first('user_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('user_name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- firstname -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('first_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('first_name',Lang::get('lang.first_name')) !!}
|
||||
{!! $errors->first('first_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('first_name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- lastname -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('last_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('last_name',Lang::get('lang.last_name')) !!}
|
||||
{!! $errors->first('last_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('last_name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- email address -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('email',Lang::get('lang.email_address')) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::email('email',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-xs-1 form-group {{ $errors->has('ext') ? 'has-error' : '' }}">
|
||||
|
||||
<label for="ext">EXT</label>
|
||||
{!! $errors->first('ext', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('ext',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- phone -->
|
||||
<div class="col-xs-3 form-group {{ $errors->has('phone_number') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('phone_number',Lang::get('lang.phone')) !!}
|
||||
{!! $errors->first('phone_number', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Mobile -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}
|
||||
{!! $errors->first('mobile', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('mobile',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
<h4>{{Lang::get('lang.agent_signature')}}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="">
|
||||
|
||||
{!! Form::textarea('agent_sign',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<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' : '' }}">
|
||||
|
||||
{!! 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>
|
||||
<!-- 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')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- assigned group -->
|
||||
<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']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- primary dept -->
|
||||
<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', [''=>'Select a Department','Departments'=>$departments->lists('name','name')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- 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', [''=>'Select a Time Zone', 'Time Zones'=>$timezones->lists('name','name')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Assign team -->
|
||||
|
||||
<div class="{{ $errors->has('team_id') ? 'has-error' : '' }}">
|
||||
<h4>{{Lang::get('lang.assigned_team')}}</h4>
|
||||
{!! $errors->first('team_id', '<spam class="help-block">Assign Team is Required</spam>') !!}
|
||||
|
||||
</div>
|
||||
|
||||
@while (list($key, $val) = each($teams))
|
||||
<div class="form-group ">
|
||||
<input type="checkbox" name="team_id[]" value="<?php echo $val;?>" > <?php echo $key;?><br/>
|
||||
</div>
|
||||
@endwhile
|
||||
|
||||
</div>
|
||||
@stop
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
|
||||
<!-- /content -->
|
||||
|
||||
@@ -0,0 +1,247 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
<!-- <h3> -->
|
||||
<!-- {{Lang::get('lang.agent')}} -->
|
||||
<!-- <small>Add</small> -->
|
||||
<!-- </h3> -->
|
||||
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::model($user, ['url' => 'agents/'.$user->id,'method' => 'PATCH'] )!!}
|
||||
|
||||
<!-- <section class="content"> -->
|
||||
<div class="box box-primary">
|
||||
<div class="content-header">
|
||||
<h4>Edit {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
<!-- username -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('user_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('user_name',Lang::get('lang.user_name')) !!}
|
||||
{!! $errors->first('user_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('user_name',null,['disabled' => 'disabled','class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- firstname -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('first_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('first_name',Lang::get('lang.first_name')) !!}
|
||||
{!! $errors->first('first_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('first_name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Lastname -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('last_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('last_name',Lang::get('lang.last_name')) !!}
|
||||
{!! $errors->first('last_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('last_name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- Email -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('email',Lang::get('lang.email_address')) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::email('email',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-xs-1 form-group {{ $errors->has('ext') ? 'has-error' : '' }}">
|
||||
|
||||
<label for="ext">EXT</label>
|
||||
{!! $errors->first('ext', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('ext',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- phone -->
|
||||
<div class="col-xs-3 form-group {{ $errors->has('phone_number') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('phone_number',Lang::get('lang.phone')) !!}
|
||||
{!! $errors->first('phone_number', '<spam class="help-block">Invalid Phone Number</spam>') !!}
|
||||
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Mobile -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}
|
||||
{!! $errors->first('mobile', '<spam class="help-block">Invalid Mobile Number</spam>') !!}
|
||||
{!! Form::text('mobile',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- Agent signature -->
|
||||
<div>
|
||||
|
||||
<h4>{{Lang::get('lang.agent_signature')}}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="">
|
||||
|
||||
{!! Form::textarea('agent_sign',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<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' : '' }}">
|
||||
|
||||
{!! 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>
|
||||
<!-- 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"> --}}
|
||||
|
||||
{{-- <div> --}}
|
||||
{{-- <div class="row"> --}}
|
||||
{{-- {!! Form::label('',Lang::get('lang.day_light_saving')) !!} --}}
|
||||
{{-- <div class="col-xs-2"> --}}
|
||||
{{-- {!! Form::checkbox('daylight_save',1,null,['class' => 'checkbox']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- limit access -->
|
||||
{{-- <div > --}}
|
||||
{{-- <div class="row"> --}}
|
||||
{{-- {!! Form::label('limit_access',Lang::get('lang.limit_access')) !!} --}}
|
||||
{{-- <div class="col-xs-2"> --}}
|
||||
{{-- {!! Form::checkbox('limit_access',1,null,['class' => 'checkbox']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- directory listing -->
|
||||
{{-- <div> --}}
|
||||
{{-- <div class="row"> --}}
|
||||
{{-- {!! Form::label('directory_listing',Lang::get('lang.directory_listing')) !!} --}}
|
||||
{{-- <div class="col-xs-2"> --}}
|
||||
{{-- {!! Form::checkbox('directory_listing',1,null,['class' => 'checkbox']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- vocation mode -->
|
||||
{{-- <div> --}}
|
||||
{{-- <div class="row"> --}}
|
||||
{{-- {!! Form::label('vocation_mode',Lang::get('lang.vocation_mode')) !!} --}}
|
||||
{{-- <div class="col-xs-2"> --}}
|
||||
{{-- {!! Form::checkbox('vocation_mode',1,null,null,['class' => 'checkbox']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- assigned group -->
|
||||
<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']) !!}
|
||||
</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']) !!}
|
||||
</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']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- team -->
|
||||
<div class="{{ $errors->has('team_id') ? 'has-error' : '' }}">
|
||||
<h4>{{Lang::get('lang.assigned_team')}}</h4>
|
||||
{!! $errors->first('team_id', '<spam class="help-block">Assign Team is Required</spam>') !!}
|
||||
</div>
|
||||
@while (list($key, $val) = each($teams))
|
||||
<div class="form-group ">
|
||||
<input type="checkbox" name="team_id[]" value="<?php echo $val;?> " <?php if (in_array($val, $assign)) {
|
||||
echo ('checked');
|
||||
} ?> > <?php echo " ".$key;?><br/>
|
||||
</div>
|
||||
@endwhile
|
||||
</div>
|
||||
@stop
|
||||
@section('FooterInclude')
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,117 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('staffs')
|
||||
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">
|
||||
<h2 class="box-title">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">
|
||||
<?php
|
||||
$user = App\User::where('role','!=','user')->orderBy('id', 'ASC')->paginate(20);
|
||||
?>
|
||||
<!-- check whether success or not -->
|
||||
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<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>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- Agent table -->
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.name')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.user_name')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.role')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.status')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.group')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.department')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.created')}}</th>
|
||||
{{-- <th width="100px">{{Lang::get('lang.lastlogin')}}</th> --}}
|
||||
<th width="100px">{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
@foreach($user as $use)
|
||||
@if($use->role == 'admin' || $use->role == 'agent')
|
||||
<tr>
|
||||
<td><a href="{{route('agents.edit', $use->id)}}"> {!! $use->first_name !!} {!! " ". $use->last_name !!}</a></td>
|
||||
<td><a href="{{route('agents.edit', $use->id)}}"> {!! $use->user_name !!}</td>
|
||||
<?php
|
||||
if($use->role == 'admin')
|
||||
{
|
||||
echo '<td><button class="btn btn-success btn-xs">Admin</button></td>';
|
||||
}
|
||||
elseif ($use->role == 'agent') {
|
||||
echo '<td><button class="btn btn-primary btn-xs">Agent</button></td>';
|
||||
}
|
||||
?>
|
||||
<td>
|
||||
@if($use->account_type=='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>
|
||||
<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> 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>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
</table>
|
||||
</div>
|
||||
<div class="box-footer"></div>
|
||||
</div>
|
||||
@section('FooterInclude')
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,104 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('departments')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
{!! Form::open(array('action' => 'Admin\helpdesk\DepartmentController@store' , 'method' => 'post') )!!}
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
|
||||
<h4 class="box-title">Create</h4> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
<!-- name -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- account status -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('account_status') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('type',Lang::get('lang.type')) !!}
|
||||
{!! $errors->first('account_status', '<spam class="help-block">:message</spam>') !!}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
{!! Form::radio('type','1',true) !!}{{Lang::get('lang.public')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('type','0',null) !!}{{Lang::get('lang.private')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- slaplan -->
|
||||
<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']) !!}
|
||||
|
||||
</div>
|
||||
<!-- manager -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('manager') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,99 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('departments')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
{!!Form::model($departments, ['url'=>'departments/'.$departments->id , 'method'=> 'PATCH'])!!}
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
|
||||
<h4 class="box-title">Edit</h4> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
<!-- name -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',null,['disabled'=>'disabled','class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- account status -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('account_status') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('type',Lang::get('lang.type')) !!}
|
||||
{!! $errors->first('account_status', '<spam class="help-block">:message</spam>') !!}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
{!! Form::radio('type','1',true) !!}{{Lang::get('lang.public')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('type','0',null) !!}{{Lang::get('lang.private')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</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']) !!}
|
||||
|
||||
</div>
|
||||
<!-- manager -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('manager') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{!!Form::close()!!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,103 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('departments')
|
||||
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="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">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">
|
||||
|
||||
|
||||
<!-- 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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- table -->
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<tr>
|
||||
<tr>
|
||||
<th>{{Lang::get('lang.name')}}</th>
|
||||
<th>{{Lang::get('lang.type')}}</th>
|
||||
<th>{{Lang::get('lang.department_manager')}}</th>
|
||||
<th>{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
@foreach($departments as $department)
|
||||
<tr>
|
||||
<td><a href="{{route('departments.edit', $department->id)}}"> {{$department -> name }}</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>
|
||||
{!! 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 -->
|
||||
{!! 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>
|
||||
</tr>
|
||||
@endforeach
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,152 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('groups')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::open(array('action' => 'Admin\helpdesk\GroupController@store' , 'method' => 'post') )!!}
|
||||
<div class="box box-primary">
|
||||
<div class="content-header">
|
||||
|
||||
<h4>{{Lang::get('lang.create')}} {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
<!-- name -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- group status -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('group_status') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('group_status',Lang::get('lang.status')) !!}
|
||||
{!! $errors->first('group_status', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
{!! Form::radio('group_status','1',true) !!}{{Lang::get('lang.enable')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('group_status','0',null) !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- can create ticket -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_create_ticket',Lang::get('lang.can_create_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_create_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- can_edit_ticket -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_edit_ticket',Lang::get('lang.can_edit_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_edit_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- can post ticket -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_post_ticket',Lang::get('lang.can_post_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_post_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- can_close_ticket -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_close_ticket',Lang::get('lang.can_close_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_close_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- can delete ticket -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_delete_ticket',Lang::get('lang.can_delete_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_delete_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- can assign ticket -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_assign_ticket',Lang::get('lang.can_assign_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_assign_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- can ban email -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_ban_email',Lang::get('lang.can_ban_emails')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_ban_email',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{!!Form::close()!!}
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,154 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('groups')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!!Form::model($groups, ['url'=>'groups/'.$groups->id , 'method'=> 'PATCH'])!!}
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="content-header">
|
||||
|
||||
<h4>{{Lang::get('lang.create')}} {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
<!-- name -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',null,['disabled'=>'disabled','class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- group status -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('group_status') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('group_status',Lang::get('lang.status')) !!}
|
||||
{!! $errors->first('group_status', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
{!! Form::radio('group_status','1',true) !!}{{Lang::get('lang.enable')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('group_status','0',null) !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- can create ticket -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_create_ticket',Lang::get('lang.can_create_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_create_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- can_edit_ticket -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_edit_ticket',Lang::get('lang.can_edit_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_edit_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- can post ticket -->
|
||||
|
||||
<div class="row">
|
||||
{!! Form::label('can_post_ticket',Lang::get('lang.can_post_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_post_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- can_close_ticket -->
|
||||
|
||||
<div class="row">
|
||||
{!! Form::label('can_close_ticket',Lang::get('lang.can_close_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_close_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- can delete ticket -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_delete_ticket',Lang::get('lang.can_delete_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_delete_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- can assign ticket -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_assign_ticket',Lang::get('lang.can_assign_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_assign_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- can ban email -->
|
||||
<div class="row">
|
||||
{!! Form::label('can_ban_email',Lang::get('lang.can_ban_emails')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_ban_email',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{!!Form::close()!!}
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,104 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('groups')
|
||||
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="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">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">
|
||||
|
||||
<!-- 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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- Table -->
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
|
||||
<tr>
|
||||
<th>{{Lang::get('lang.group_name')}}</th>
|
||||
<th>{{Lang::get('lang.status')}}</th>
|
||||
<th>{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
@foreach($groups as $group)
|
||||
<tr>
|
||||
<td><a href="{{route('groups.edit', $group->id)}}"> {{$group -> name }}</a></td>
|
||||
<td>
|
||||
@if($group->group_status=='1')
|
||||
<span style="color:green">{{'Active'}}</span>
|
||||
@else
|
||||
<span style="color:red">{{'Inactive'}}</span>
|
||||
@endif
|
||||
|
||||
<td>
|
||||
{!! Form::open(['route'=>['groups.destroy', $group->id],'method'=>'DELETE']) !!}
|
||||
<a href="{{route('groups.edit', $group->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>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,103 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('teams')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
|
||||
{!! Form::open(array('action' => 'Admin\helpdesk\TeamController@store' , 'method' => 'post') )!!}
|
||||
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="content-header">
|
||||
|
||||
<h4>Create {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<!-- name -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- team lead -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('team_lead') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('team_lead',Lang::get('lang.team_lead')) !!}
|
||||
{!! $errors->first('team_lead', '<spam class="help-block">:message</spam>') !!}
|
||||
<?php $user = App\User::where('role','admin')->orWhere('role','agent')->get(); ?>
|
||||
{!! Form::select('team_lead',[''=>'Select a Team Leader','Members'=>$user->lists('user_name','id')],null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- status -->
|
||||
<div class="form-group {{ $errors->has('status') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('status',Lang::get('lang.status')) !!}
|
||||
{!! $errors->first('status', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-1">
|
||||
{!! Form::radio('status','1',true) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
{!! Form::radio('status','0',null) !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- admin notes -->
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('admin_notes',Lang::get('lang.admin_notes')) !!}
|
||||
{!! Form::textarea('admin_notes',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
{!!Form::close()!!}
|
||||
</div>
|
||||
</div>
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,102 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('teams')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
|
||||
{!!Form::model($teams, ['url'=>'teams/'.$teams->id , 'method'=> 'PATCH'])!!}
|
||||
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="content-header">
|
||||
|
||||
<h4>Create {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
<!-- name -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- team lead -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('team_lead') ? 'has-error' : '' }}">
|
||||
{!! Form::label('team_lead',Lang::get('lang.team_lead')) !!}
|
||||
{!! $errors->first('team_lead', '<spam class="help-block">:message</spam>') !!}
|
||||
<?php $user = App\User::where('role','admin')->orWhere('role','agent')->get(); ?>
|
||||
{!! Form::select('team_lead',[''=>'Select a Team Leader','Members'=>$user->lists('user_name','id')],null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- status -->
|
||||
<div class="form-group {{ $errors->has('status') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('status',Lang::get('lang.status')) !!}
|
||||
{!! $errors->first('status', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-1">
|
||||
{!! Form::radio('status','1',true) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
{!! Form::radio('status','0',null) !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- admin notes -->
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('admin_notes',Lang::get('lang.admin_notes')) !!}
|
||||
{!! Form::textarea('admin_notes',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
{!!Form::close()!!}
|
||||
</div>
|
||||
</div>
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,105 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Staffs')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('staffs-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('teams')
|
||||
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="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<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">
|
||||
|
||||
<!-- 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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<tr>
|
||||
<th>{{Lang::get('lang.name')}}</th>
|
||||
<th>{{Lang::get('lang.status')}}</th>
|
||||
<th>{{Lang::get('lang.team_members')}}</th>
|
||||
<th>{{Lang::get('lang.team_lead')}}</th>
|
||||
<th>{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
@foreach($teams as $team)
|
||||
<tr>
|
||||
<td><a href="{{route('teams.edit', $team->id)}}"> {{$team -> name }}</a></td>
|
||||
<td>
|
||||
@if($team->status=='1')
|
||||
<span style="color:green">{{'Active'}}</span>
|
||||
@else
|
||||
<span style="color:red">{{'Inactive'}}</span>
|
||||
@endif
|
||||
|
||||
|
||||
<td>{{count($assign_team_agent->where('team_id',$team->id))}}</td>
|
||||
<td>{{$team->team_lead}}</td>
|
||||
<td>
|
||||
{!! Form::open(['route'=>['teams.destroy', $team->id],'method'=>'DELETE']) !!}
|
||||
<!-- To pop up a confirm Message -->
|
||||
<a href="{{route('teams.edit', $team->id)}}" class="btn btn-info btn-xs btn-flat"><i class="fa fa-edit" style="color:black;"> </i> Edit</a>
|
||||
{!! 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>
|
||||
</tr>
|
||||
@endforeach
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,27 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
<h3>
|
||||
Dashboard
|
||||
<!-- <small>Add</small> -->
|
||||
</h3>
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,106 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
|
||||
@section('Emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('ban')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
{!! Form::open(['action' => 'Admin\helpdesk\BanlistController@store','method' => 'POST']) !!}
|
||||
|
||||
@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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{{Lang::get('lang.ban_email')}}</h3>
|
||||
<div class="pull-right">
|
||||
{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}</div>
|
||||
</div>
|
||||
<!-- Ban Status : Radio form : Required -->
|
||||
<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="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban_status',1) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban_status',0) !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- email Address : Text form : Required -->
|
||||
|
||||
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! Form::label('email',Lang::get('lang.email_address')) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('email',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- intrnal Notes : Textarea : -->
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('internal_note',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_note',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,86 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('ban')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
{!! Form::model($bans,['url'=>'banlist/'.$bans->id,'method'=>'PATCH']) !!}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{{Lang::get('lang.ban_email')}}</h3>
|
||||
<div class="pull-right">
|
||||
{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}</div>
|
||||
</div>
|
||||
<!-- Ban Status : Radio form : Required -->
|
||||
<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="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban',1) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban',0) !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- email Address : Text form : Required -->
|
||||
|
||||
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! Form::label('email',Lang::get('lang.email_address')) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('email',null,['disabled'=>'disabled','class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- intrnal Notes : Textarea : -->
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('internal_note',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_note',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,96 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('ban')
|
||||
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="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<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">
|
||||
|
||||
|
||||
<!-- 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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.email_address')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.last_updated')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
<!-- Foreach @var bans as @var ban -->
|
||||
@foreach($bans as $ban)
|
||||
<tr>
|
||||
|
||||
<!-- Email Address with Link to Edit page along Id -->
|
||||
<td><a href="{{route('banlist.edit',$ban->id)}}">{!! $ban->email !!}</a></td>
|
||||
<!-- Last Updated -->
|
||||
<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>
|
||||
<!-- Set a link to Create Page -->
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
@@ -0,0 +1,299 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!!Form::open(['action'=>'Admin\helpdesk\EmailsController@store','method'=>'POST'])!!}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
|
||||
<h4 class="box-title">{{Lang::get('lang.create')}}</h4> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
<!-- email address -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('email_address') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('email_address',Lang::get('lang.email_address')) !!}
|
||||
{!! $errors->first('email_address', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('email_address',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- Email name -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('email_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('email_name',Lang::get('lang.email_name')) !!}
|
||||
{!! $errors->first('email_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('email_name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- department -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('department') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('department',Lang::get('lang.department')) !!}
|
||||
{!! $errors->first('department', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('department', [''=>'Select a Department','departments'=>$departments->lists('name','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
<!-- Priority -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('priority') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('priority',Lang::get('lang.priority')) !!}
|
||||
{!! $errors->first('priority', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('priority', [''=>'Select a Priority','Priorities'=>$priority->lists('priority_desc','priority_id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
<!-- Help topic -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('help_topic') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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']) !!}
|
||||
|
||||
</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>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 form-group">
|
||||
|
||||
<h4>Reuired Authentication</h4>
|
||||
|
||||
</div>
|
||||
|
||||
</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' : '' }}">
|
||||
|
||||
{!! Form::label('password',Lang::get('lang.password')) !!}
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::password('password',['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 form-group">
|
||||
|
||||
<h4>Fetching Email via IMAP or POP</h4>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="form-group">
|
||||
<!-- status -->
|
||||
<div class="col-xs-1 form-group">
|
||||
{!! Form::label('fetching_status',Lang::get('lang.status')) !!}
|
||||
</div>
|
||||
<div class="col-xs-2 form-group">
|
||||
{!! Form::radio('fetching_status','1',true) !!}{{Lang::get('lang.enable')}}
|
||||
</div>
|
||||
<div class="col-xs-2 form-group">
|
||||
{!! Form::radio('fetching_status','0',null) !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-4 form-group {{ $errors->has('fetching_host') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('fetching_host',Lang::get('lang.host_name')) !!}
|
||||
{!! $errors->first('fetching_host', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('fetching_host',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-xs-4 form-group {{ $errors->has('fetching_port') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('fetching_port',Lang::get('lang.port_number')) !!}
|
||||
{!! $errors->first('fetching_port', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('fetching_port',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-xs-4 form-group {{ $errors->has('mailbox_protocol') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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>
|
||||
|
||||
</div>
|
||||
<!-- imap config -->
|
||||
{{-- <div class="col-md-6 form-group {{ $errors->has('imap_config') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('imap_config',Lang::get('lang.imap_config')) !!}
|
||||
{!! $errors->first('imap_config', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('imap_config',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div> --}}
|
||||
|
||||
</div>
|
||||
|
||||
{{-- <div class="row"> --}}
|
||||
|
||||
{{-- <div class="col-md-6 form-group"> --}}
|
||||
|
||||
{{-- <h4>Sending Email via SMTP</h4> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- <div class="row"> --}}
|
||||
<!-- status -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
|
||||
{{-- <div class="col-xs-1 form-group"> --}}
|
||||
{{-- {!! Form::label('sending_status',Lang::get('lang.status')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- <div class="col-xs-2 form-group"> --}}
|
||||
{{-- {!! Form::radio('sending_status','1',true) !!}{{Lang::get('lang.enable')}} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- <div class="col-xs-2 form-group"> --}}
|
||||
{{-- {!! Form::radio('sending_status','0',null) !!}{{Lang::get('lang.disabled')}} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- <div class="row"> --}}
|
||||
<!-- sending port -->
|
||||
{{-- <div class="col-xs-6 form-group {{ $errors->has('sending_port') ? 'has-error' : '' }}"> --}}
|
||||
|
||||
{{-- {!! Form::label('sending_port',Lang::get('lang.port_number')) !!} --}}
|
||||
{{-- {!! $errors->first('sending_port', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!! Form::text('sending_port',null,['class' => 'form-control']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
<!-- sending hoost -->
|
||||
{{-- <div class="col-xs-6 form-group {{ $errors->has('sending_host') ? 'has-error' : '' }}"> --}}
|
||||
|
||||
{{-- {!! Form::label('sending_host',Lang::get('lang.host_name')) !!} --}}
|
||||
{{-- {!! $errors->first('sending_host', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!! Form::text('sending_host',null,['class' => 'form-control']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
|
||||
<div class="row">
|
||||
<!-- authentication required -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
|
||||
{{-- <div class="col-xs-2 form-group"> --}}
|
||||
{{-- {!! Form::label('authentication',Lang::get('lang.authentication_required')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- <div class="col-xs-2 form-group"> --}}
|
||||
{{-- {!! Form::radio('authentication','1',true) !!}{{Lang::get('lang.enable')}} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- <div class="col-xs-2 form-group"> --}}
|
||||
{{-- {!! Form::radio('authentication','0',null) !!}{{Lang::get('lang.disabled')}} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
<!-- header snoofing -->
|
||||
{{-- <div class="col-xs-2"> --}}
|
||||
|
||||
{{-- {!! Form::label('',Lang::get('lang.header_spoofing')) !!} --}}
|
||||
{{-- {!! Form::checkbox('header_spoofing',1,null,['class' => 'checkbox']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
|
||||
</div>
|
||||
<!-- Internal notes -->
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('internal_notes',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_notes',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
{!!Form::close()!!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,212 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!!Form::model($emails,['url'=>'emails/'.$emails->id,'method'=>'PATCH'])!!}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
|
||||
<h4 class="box-title">{{Lang::get('lang.create')}}</h4> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
<!-- email address -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('email_address') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('email_address',Lang::get('lang.email_address')) !!}
|
||||
{!! $errors->first('email_address', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('email_address',null,['disabled'=>'disabled','class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- email name -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('email_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('email_name',Lang::get('lang.email_name')) !!}
|
||||
{!! $errors->first('email_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('email_name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- department -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('department') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('department',Lang::get('lang.department')) !!}
|
||||
{!! $errors->first('department', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('department', [''=>'Select a Department','departments'=>$departments->lists('name','id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
<!-- priority -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('priority') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('priority',Lang::get('lang.priority')) !!}
|
||||
{!! $errors->first('priority', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('priority', [''=>'Select a Priority','Priorities'=>$priority->lists('priority_desc','priority_id')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
<!-- help topic -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('help_topic') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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']) !!}
|
||||
</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>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 form-group">
|
||||
|
||||
<h4>Reuired Authentication</h4>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<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' : '' }}">
|
||||
|
||||
{!! Form::label('password',Lang::get('lang.password')) !!}
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
<input type="password" name="password" value="<?php echo Crypt::decrypt($emails->password); ?>" class="form-control" >
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 form-group">
|
||||
|
||||
<h4>Fetching Email via IMAP</h4>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="form-group">
|
||||
<!-- status -->
|
||||
<div class="col-xs-1 form-group">
|
||||
{!! Form::label('fetching_status',Lang::get('lang.status')) !!}
|
||||
</div>
|
||||
<div class="col-xs-2 form-group">
|
||||
{!! Form::radio('fetching_status','1',true) !!}{{Lang::get('lang.enable')}}
|
||||
</div>
|
||||
<div class="col-xs-2 form-group">
|
||||
{!! Form::radio('fetching_status','0',null) !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-4 form-group">
|
||||
|
||||
{!! Form::label('fetching_host',Lang::get('lang.host_name')) !!}
|
||||
{!! Form::text('fetching_host',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-xs-4 form-group">
|
||||
|
||||
{!! Form::label('fetching_port',Lang::get('lang.port_number')) !!}
|
||||
{!! Form::text('fetching_port',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-xs-4 form-group {{ $errors->has('mailbox_protocol') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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>
|
||||
|
||||
</div>
|
||||
<!-- imap config -->
|
||||
</div>
|
||||
|
||||
<!-- internal notes -->
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('internal_notes',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_notes',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
{!!Form::close()!!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,100 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('emails')
|
||||
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="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">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">
|
||||
|
||||
<!-- 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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- table -->
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.email')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.priority')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.department')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.created')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.last_updated')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
@foreach($emails as $email)
|
||||
<tr>
|
||||
<td><a href="{{route('emails.edit', $email->id)}}"> {{$email -> email_address }}</a></td>
|
||||
<td>{{ ucfirst($email->priority) }}</td>
|
||||
<td>{{ $email->department }}</td>
|
||||
<td>{{ UTC::usertimezone($email->created_at) }}</td>
|
||||
<td>{{ UTC::usertimezone($email->updated_at) }}</td>
|
||||
<td>
|
||||
{!! Form::open(['route'=>['emails.destroy', $email->id],'method'=>'DELETE']) !!}
|
||||
<a href="{{route('emails.edit', $email->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>
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,107 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('smtp')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
@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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{!! Form::model($settings,['url'=>'post-smtp','method'=>'PATCH']) !!}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">Outgoing Email</h3>
|
||||
<div class="pull-right">
|
||||
{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- Ban Status : Radio form : Required -->
|
||||
<div class="box-body table-responsive"style="overflow:hidden;">
|
||||
<div class="row">
|
||||
<!-- email Address : Text form : Required -->
|
||||
<div class="col-md-3 form-group {{ $errors->has('driver') ? 'has-error' : '' }}">
|
||||
{!! Form::label('driver',Lang::get('lang.driver')) !!}
|
||||
{!! $errors->first('driver', '<spam class="help-block">:message</spam>') !!}
|
||||
<select name="driver" class="form-control">
|
||||
<option> select </option>
|
||||
<option <?php if($settings->driver == "smtp"){ echo "selected='selected'"; } ?> value="smtp">smtp</option>
|
||||
<option <?php if($settings->driver == "mail"){ echo "selected='selected'"; } ?> value="mail">mail</option>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 form-group {{ $errors->has('host') ? 'has-error' : '' }}">
|
||||
{!! Form::label('host',Lang::get('lang.host')) !!}
|
||||
{!! $errors->first('host', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('host',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 form-group {{ $errors->has('port') ? 'has-error' : '' }}">
|
||||
{!! Form::label('port',Lang::get('lang.port')) !!}
|
||||
{!! $errors->first('port', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('port',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 form-group {{ $errors->has('encryption') ? 'has-error' : '' }}">
|
||||
{!! Form::label('encryption',Lang::get('lang.encryption')) !!}
|
||||
{!! $errors->first('encryption', '<spam class="help-block">:message</spam>') !!}
|
||||
<select name="encryption" class="form-control">
|
||||
<option> select </option>
|
||||
<option <?php if($settings->encryption == "ssl"){ echo "selected='selected'"; } ?> value="ssl">SSL</option>
|
||||
<option <?php if($settings->encryption == "tls"){ echo "selected='selected'"; } ?> value="tls">TLS</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! Form::label('email',Lang::get('lang.email')) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('email',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
{!! Form::label('password',Lang::get('lang.password')) !!}
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
<input type="password" name="password" value="<?php if($settings->password){ echo Crypt::decrypt($settings->password); } ?>" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
@@ -0,0 +1 @@
|
||||
Your Email connection Checking Success !!
|
||||
@@ -0,0 +1,113 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('template')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
{!! Form::open(['action' => 'Admin\helpdesk\TemplateController@store','method' => 'post']) !!}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.create')}}</h2>
|
||||
<div class="pull-right">
|
||||
{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}</div>
|
||||
</div>
|
||||
|
||||
<div class="box-body table-responsive no-padding"style="overflow:hidden">
|
||||
<div class="row">
|
||||
|
||||
<!-- Status : Radio form : Required -->
|
||||
<div class="col-md-6 form-group {{ $errors->has('ban_status') ? 'has-error' : ''}}">
|
||||
<div class="row col-xs-3">
|
||||
{!! Form::label('status',Lang::get('lang.status')) !!}
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban_status','active',true) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban_status','disabled') !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Name : Text form : Required -->
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Form for template set to clone From template table : Drop down : required -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('template_set_to_clone') ? 'has-error' : '' }}">
|
||||
{!! Form::label('template_set_to_clone',Lang::get('lang.template_set_to_clone')) !!}
|
||||
{!! $errors->first('template_set_to_clone', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('template_set_to_clone', [''=>'Select a Template','Templates'=>$templates->lists('name','name')],1,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Language field to Set the language in the template -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('language') ? 'has-error' : '' }}">
|
||||
{!! Form::label('language',Lang::get('lang.language')) !!}
|
||||
{!! $errors->first('language', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('language', [''=>'Select a Language','Languages'=>$languages->lists('name','name')],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- intrnal Notes : Textarea : -->
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
{!! Form::label('internal_note',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_note',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,115 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('template')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
{!! Form::model($templates,['url' => 'template/'.$templates->id,'method' => 'PATCH']) !!}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.create')}}</h2>
|
||||
<div class="pull-right">
|
||||
{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}</div>
|
||||
</div>
|
||||
|
||||
<div class="box-body table-responsive no-padding"style="overflow:hidden">
|
||||
<div class="row">
|
||||
|
||||
<!-- Status : Radio form : Required -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('status') ? 'has-error' : '' }}">
|
||||
<div class="row col-xs-3">
|
||||
{!! Form::label('status',Lang::get('lang.status')) !!}
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban_status','active',true) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban_status','disabled') !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Name : Text form : Required -->
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',null,['disabled'=>'disabled','class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Form for template set to clone From template table : Drop down : required -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('template_set_to_clone') ? 'has-error' : '' }}">
|
||||
{!! Form::label('template_set_to_clone',Lang::get('lang.template_set_to_clone')) !!}
|
||||
{!! $errors->first('template_set_to_clone', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('template_set_to_clone', [''=>'Select a Template','Templates'=>$templates->lists('name','name')],1,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Language field to Set the language in the template -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('language') ? 'has-error' : '' }}">
|
||||
{!! Form::label('language',Lang::get('lang.language')) !!}
|
||||
{!! $errors->first('language', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('language', [''=>'Select a Language','Languages'=>$languages->lists('name','name')],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- intrnal Notes : Textarea : -->
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
{!! Form::label('internal_note',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_note',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,78 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('diagno')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
<!-- 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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{!! Form::open(['method'=>'post' , 'action'=>'Admin\helpdesk\TemplateController@postDiagno']) !!}
|
||||
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
|
||||
<h4 class="box-title">{{Lang::get('lang.diagnostics')}}</h4> {!! Form::submit(Lang::get('lang.send'),['class'=>'form-group btn btn-primary pull-right'])!!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<!-- To : define To Address : Text form : Required -->
|
||||
<div class="form-group {{ $errors->has('to') ? 'has-error' : '' }}">
|
||||
{!! Form::label('to',Lang::get('lang.to')) !!}
|
||||
{!! $errors->first('to', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('to',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,116 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('template')
|
||||
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="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.templates')}}</h2><a href="{{route('template.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_template')}}</a></div>
|
||||
|
||||
<div class="box-body table-responsive no-padding">
|
||||
|
||||
<!-- 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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.name')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.status')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.in_use')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.created')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.last_updated')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
<!-- Foreach @var templates as @var template -->
|
||||
@foreach($templates as $template)
|
||||
<tr>
|
||||
|
||||
<!-- Template Name with Link to Edit page along Id -->
|
||||
<td><a href="{{route('template.edit',$template->id)}}">{!! $template->name !!}</a></td>
|
||||
<!-- template Status : if status==1 active -->
|
||||
<td>
|
||||
@if($template->status=='1')
|
||||
<p style="color:green">Active</p>
|
||||
@else
|
||||
<p style="color:red">Disable</p>
|
||||
@endif
|
||||
</td>
|
||||
<!-- To show Whether a template in use or not:: TODO -->
|
||||
<td></td>
|
||||
<!-- Date Added -->
|
||||
<td>{!! UTC::usertimezone($template->created_at) !!}</td>
|
||||
<!-- Last Updated -->
|
||||
<td> {!! UTC::usertimezone($template->updated_at) !!} </td>
|
||||
<!-- Deleting Fields -->
|
||||
<td>
|
||||
{!! Form::open(['route'=>['template.destroy', $template->id],'method'=>'DELETE']) !!}
|
||||
<a href="{{route('template.edit',$template->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>
|
||||
|
||||
<!-- Set a link to Create Page -->
|
||||
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,40 @@
|
||||
@extends('themes.default1.layouts.login')
|
||||
@section('body')
|
||||
<div class="login-box-body">
|
||||
<p class="login-box-msg">Sign in to start your session</p>
|
||||
<form action="../../index2.html" method="post">
|
||||
<div class="form-group has-feedback">
|
||||
<!-- email -->
|
||||
<input type="text" class="form-control" placeholder="Email"/>
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
</div>
|
||||
<div class="form-group has-feedback">
|
||||
<!-- password -->
|
||||
<input type="password" class="form-control" placeholder="Password"/>
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<div class="checkbox icheck">
|
||||
<label>
|
||||
<input type="checkbox"> Remember Me
|
||||
</label>
|
||||
</div>
|
||||
</div><!-- /.col -->
|
||||
<div class="col-xs-4">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">Sign In</button>
|
||||
</div><!-- /.col -->
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="social-auth-links text-center">
|
||||
<p>- OR -</p>
|
||||
<a href="#" class="btn btn-block btn-social btn-facebook btn-flat"><i class="fa fa-facebook"></i> Sign in using Facebook</a>
|
||||
<a href="#" class="btn btn-block btn-social btn-google-plus btn-flat"><i class="fa fa-google-plus"></i> Sign in using Google+</a>
|
||||
</div><!-- /.social-auth-links -->
|
||||
|
||||
<a href="#">I forgot my password</a><br>
|
||||
<a href="register.html" class="text-center">Register a new membership</a>
|
||||
|
||||
</div>
|
||||
@stop
|
||||
@@ -0,0 +1,113 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('form')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
<!-- open a form -->
|
||||
{!! Form::open(['action' => 'Admin\helpdesk\FormController@store','method' => 'post']) !!}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title"style="margin-left:-10px">{{Lang::get('lang.create')}}</h2>{!! Form::submit(Lang::get('lang.save'),['class'=>'pull-right btn btn-primary'])!!}</div>
|
||||
<!-- title: text -->
|
||||
<div class="box-body table-responsive no-padding"style="overflow:hidden">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
|
||||
{!! Form::label('title',Lang::get('lang.title')) !!}
|
||||
{!! $errors->first('title', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('title',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- declare table head Label -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('label') ? 'has-error' : '' }}">
|
||||
{!! Form::label('label',Lang::get('lang.label')) !!}
|
||||
{!! $errors->first('label', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('label',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- declare table head type -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('type') ? 'has-error' : '' }}">
|
||||
{!! Form::label('type',Lang::get('lang.type')) !!}
|
||||
{!! $errors->first('type', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('type', [''=>'Select a Type','types'=>$type->lists('type','id')] ,null,['class' => 'form-control'] ) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- declare table head Vissibility -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('visibility') ? 'has-error' : '' }}">
|
||||
{!! Form::label('visibility',Lang::get('lang.visibility')) !!}
|
||||
{!! $errors->first('visibility', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('visibility', [''=>'Select a Visibility','visibilities' =>$visibility->lists('visibility','id')],null,['class' => 'form-control'] ) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- declare table head variable -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::label('variable',Lang::get('lang.variable')) !!}
|
||||
{!! Form::text('variable',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- instruction: textarea -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
{!! Form::label('instruction',Lang::get('lang.instruction')) !!}
|
||||
{!! Form::textarea('instruction',null,['class' => 'form-control','size' => '10x5']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /table -->
|
||||
|
||||
<!-- txt area -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
{!! Form::label('internal_notes',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_notes',null,['class' => 'form-control','size' => '10x5']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,112 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('form')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
<!-- open a form -->
|
||||
{!! Form::model($forms,['url' => 'form/'.$forms->id,'method' => 'PATCH']) !!}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title"style="margin-left:-10px">{{Lang::get('lang.create')}}</h2>{!! Form::submit(Lang::get('lang.save'),['class'=>'pull-right btn btn-primary'])!!}</div>
|
||||
<!-- title: text -->
|
||||
<div class="box-body table-responsive no-padding"style="overflow:hidden">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
|
||||
{!! Form::label('title',Lang::get('lang.title')) !!}
|
||||
{!! $errors->first('title', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('title',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- declare table head Label -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('label') ? 'has-error' : '' }}">
|
||||
{!! Form::label('label',Lang::get('lang.label')) !!}
|
||||
{!! $errors->first('label', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('label',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- declare table head type -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('type') ? 'has-error' : '' }}">
|
||||
{!! Form::label('type',Lang::get('lang.type')) !!}
|
||||
{!! $errors->first('type', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('type', [''=>'Select a Type','types'=>$type->lists('type','id')] ,null,['class' => 'form-control'] ) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- declare table head Vissibility -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('visibility') ? 'has-error' : '' }}">
|
||||
{!! Form::label('visibility',Lang::get('lang.visibility')) !!}
|
||||
{!! $errors->first('visibility', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('visibility', [''=>'Select a Visibility','visibilities' =>$visibility->lists('visibility','id')],null,['class' => 'form-control'] ) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- declare table head variable -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::label('variable',Lang::get('lang.variable')) !!}
|
||||
{!! Form::text('variable',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- instruction: textarea -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
{!! Form::label('instruction',Lang::get('lang.instruction')) !!}
|
||||
{!! Form::textarea('instruction',null,['class' => 'form-control','size' => '10x5']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /table -->
|
||||
|
||||
<!-- txt area -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
{!! Form::label('internal_notes',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_notes',null,['class' => 'form-control','size' => '10x5']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,145 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('forms')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Success.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- -->
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">Instructions</h3>
|
||||
<div class="callout callout-default" style="font-style: oblique;">Select field type you want to add to the form below and click on 'Type' dropdown. Don't forget to set field options if type is select,checkbox or radio..Separate each option by a coma. After you finish creating the form, you can save the form by clicking Save Form button.</div>
|
||||
</div>
|
||||
|
||||
|
||||
<hr style="margin-top:0px;margin-bottom:0px;">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">Form Properties</h3>
|
||||
</div>
|
||||
{!! Form::open(['route'=>'forms.store']) !!}
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
</div></div></div>
|
||||
<div class="form-group">
|
||||
<div class="row" style="margin-top: 10px;">
|
||||
<div class="col-md-4">
|
||||
<h4 style="text-align: center">Form Name:</h4>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<input type="text" name="formname" class="form-control">
|
||||
</div>
|
||||
</div></div>
|
||||
<hr style="margin-top:0px;margin-bottom:0px;">
|
||||
<div class="form-group">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">Adding Fields</h3>
|
||||
</div>
|
||||
<div class="callout callout-default col-md-4"> Click <b>'Add Fields'</b> button to add Fields</div>
|
||||
<div class="col-md-4">
|
||||
<button type="button" class="btn btn-primary addField" value="Show Div" onclick="showDiv()" ><i class="fa fa-plus"></i> Add Fields</button>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<div class="box-body" id="welcomeDiv" style="display:none;">
|
||||
<table id="example2" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<th>Label</th>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th>Values(Selected Fields)</th>
|
||||
<th>Required</th>
|
||||
<th>Action</th>
|
||||
</thead>
|
||||
<tbody class="inputField">
|
||||
|
||||
<tr></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<input type="submit" class="btn btn-primary" value="Save Form">
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
||||
<script>
|
||||
function showDiv() {
|
||||
document.getElementById('welcomeDiv').style.display = "block";
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
var max_fields = 10;
|
||||
var wrapper = $(".inputField");
|
||||
var add_button = $(".addField");
|
||||
|
||||
var x = 1;
|
||||
$(add_button).click(function(e)
|
||||
{
|
||||
e.preventDefault();
|
||||
if(x < max_fields){
|
||||
x++;
|
||||
$(wrapper).append('<tr><td><input type="text" name="label[]"></td><td><input type="text" name="name[]"></td><td><select name="type[]"><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[]"></textarea></td><td>Yes <input type=radio name="required['+x+'][]" value=1 checked> 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>  Remove</button></td></tr>');
|
||||
}
|
||||
});
|
||||
|
||||
$(wrapper).on("click",".remove_field", function(e)
|
||||
{
|
||||
e.preventDefault(); $(this).closest('tr').remove(); x--;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@stop
|
||||
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,104 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('forms')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Success.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- -->
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<div class="box-title">
|
||||
Forms
|
||||
</div>
|
||||
<a href="{!! url('forms/create') !!}" class="pull-right"><button class="btn btn-primary">Create Form</button></a>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
|
||||
<table id="example2" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Form Name</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$forms =App\Model\helpdesk\Form\Forms::all();
|
||||
?>
|
||||
@foreach($forms as $form)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{!! $form->formname !!}</td>
|
||||
|
||||
|
||||
<td>{!! link_to_route('forms.show','View This Form',[$form->id],['id'=>'View','class'=>'btn btn-primary btn-sm']) !!}
|
||||
|
||||
|
||||
|
||||
<button class="btn btn-danger btn-sm" data-toggle="modal" data-target="#{{$form->id}}delete">Delete Form</button>
|
||||
|
||||
<div class="modal fade" id="{{$form->id}}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('forms.delete','Delete',[$form->id],['id'=>'delete','class'=>'btn btn-danger btn-sm']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@stop
|
||||
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,90 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('forms')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Success.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Fail.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- -->
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<?php $id = App\Model\helpdesk\Form\Forms::where('id',$id)->first(); ?>
|
||||
<h3 class="box-title">Form Name : {!! $id->formname !!}</h3>
|
||||
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<?php
|
||||
$i=$id->id;
|
||||
$values = App\Model\helpdesk\Form\Fields::where('forms_id', '=', $i)->get();
|
||||
foreach($values as $value) {
|
||||
if($value->type == "select") {
|
||||
|
||||
$data = $value->value;
|
||||
$value = explode(',', $data);
|
||||
echo '<select class="form-control">';
|
||||
foreach($value as $option) {
|
||||
echo '<option>'.$option.'</option>';
|
||||
}
|
||||
echo '</select></br></br>';
|
||||
} elseif ($value->type == "radio" ) {
|
||||
|
||||
$type2 = $value->value;
|
||||
$val = explode(',', $type2);
|
||||
|
||||
echo '<label class="radio-inline">'.$value->label.'</label>   <input type="'.$value->type.'" name="'.$value->name.'"> '.$val[0].'
|
||||
   <input type="'.$value->type.'" name="'.$value->name.'"> '.$val[1].'</br></br>';
|
||||
|
||||
} elseif($value->type == "textarea" ) {
|
||||
$type3 = $value->value;
|
||||
$v = explode(',', $type3);
|
||||
echo '<label>'.$value->label.'</label></br><textarea rows="'.$v[0].'" cols="'.$v[1].'"></textarea></br></br>';
|
||||
|
||||
|
||||
} elseif($value->type == "checkbox" ) {
|
||||
|
||||
$type4 = $value->value;
|
||||
$check = explode(',', $type4);
|
||||
echo '<label class="radio-inline">'.$value->label.'   <input type="'.$value->type.'" name="'.$value->name.'">  '.$check[0].'</label>
|
||||
<label class="radio-inline"><input type="'.$value->type.'" name="'.$value->name.'">  '.$check[1].'</label></br></br>';
|
||||
|
||||
} else {
|
||||
|
||||
echo '<label>'.$value->label.'</label><input type="'.$value->type.'" class="form-control" name="'.$value->name.'" /></br></br>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@@ -0,0 +1,183 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('help')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::open(['action' => 'Admin\helpdesk\HelptopicController@store', 'method' => 'post']) !!}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
|
||||
<div class="form-group">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.create')}}</h2><div class="pull-right">
|
||||
{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body table-responsive no-padding" style="overflow:hidden">
|
||||
|
||||
<!-- status radio: required: Active|Dissable -->
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('ticket_status') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('ticket_status',Lang::get('lang.status')) !!}
|
||||
{!! $errors->first('ticket_status', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::radio('ticket_status','1',true) !!}{{Lang::get('lang.active')}}
|
||||
{!! Form::radio('ticket_status','0') !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Type : Radio : required : Public|private -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('type') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('type',Lang::get('lang.type')) !!}
|
||||
{!! $errors->first('type', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::radio('type','1',true) !!}{{Lang::get('lang.public')}}
|
||||
{!! Form::radio('type','0') !!}{{Lang::get('lang.private')}}
|
||||
</div>
|
||||
</div>
|
||||
<!-- Topic text form Required -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('topic') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('topic',Lang::get('lang.topic')) !!}
|
||||
{!! $errors->first('topic', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('topic',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- Parent Topic: Drop down: value from helptopic table -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('parent_topic') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('parent_topic',Lang::get('lang.parent_topic')) !!}
|
||||
{!! $errors->first('parent_topic', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('parent_topic', [''=>'Select a Parent Topic','Help Topics'=>$topics->lists('topic','topic')],1,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Custom Form: Drop down: value from form table -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('custom_form') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Department: Drop down: value Department form table -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('department') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('department',Lang::get('lang.department')) !!}
|
||||
{!! $errors->first('department', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('department', [''=>'Select a Department','Departments'=>$departments->lists('name','id')],1,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Priority: Drop down: value from Priority table -->
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('priority') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('priority',Lang::get('lang.priority')) !!}
|
||||
{!! $errors->first('priority', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('priority', [''=>'Select a Proirity','Priorities'=>$priority->lists('priority_desc','priority_id')],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- SLA Plan: Drop down: value SLA Plan table-->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('sla_plan') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Auto-assign To: Drop Down: value from Agent table -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('auto_assign') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Auto-response: checkbox : Disable new ticket auto-response -->
|
||||
<div class="row">
|
||||
|
||||
<!-- intrnal Notes : Textarea : -->
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('internal_notes',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_notes',null,['class' => 'form-control','size' => '10x5']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Submit button -->
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- close form -->
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,163 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('help')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::model($topics,['url' => 'helptopic/'.$topics->id, 'method' => 'PATCH']) !!}
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.edit')}}</h2><div class="pull-right">
|
||||
{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
<div class="box-body">
|
||||
|
||||
<!-- status radio: required: Active|Dissable -->
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('ticket_status') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('ticket_status',Lang::get('lang.status')) !!}
|
||||
{!! $errors->first('ticket_status', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::radio('ticket_status','1',true) !!}{{Lang::get('lang.active')}}
|
||||
{!! Form::radio('ticket_status','0') !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Type : Radio : required : Public|private -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('type') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('type',Lang::get('lang.type')) !!}
|
||||
{!! $errors->first('type', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::radio('type','1',true) !!}{{Lang::get('lang.public')}}
|
||||
{!! Form::radio('type','0') !!}{{Lang::get('lang.private')}}
|
||||
</div>
|
||||
</div>
|
||||
<!-- Topic text form Required -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('topic') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('topic',Lang::get('lang.topic')) !!}
|
||||
{!! $errors->first('topic', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('topic',null,['disabled'=>'disabled','class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- Parent Topic: Drop down: value from helptopic table -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('parent_topic') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('parent_topic',Lang::get('lang.parent_topic')) !!}
|
||||
{!! $errors->first('parent_topic', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('parent_topic', [''=>'Select a Parent Topic','Help Topics'=>$topics->lists('topic','id')],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Custom Form: Drop down: value from form table -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('custom_form') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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','id')],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- Department: Drop down: value Department form table -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('department') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('department',Lang::get('lang.department')) !!}
|
||||
{!! $errors->first('department', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('department', [''=>'Select a Department','Departments'=>$departments->lists('name','id')],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Priority: Drop down: value from Priority table -->
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('priority') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('priority',Lang::get('lang.priority')) !!}
|
||||
{!! $errors->first('priority', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('priority', [''=>'Select a Proirity','Priorities'=>$priority->lists('priority_desc','priority_id')],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- SLA Plan: Drop down: value SLA Plan table-->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('sla_plan') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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','id')],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Auto-assign To: Drop Down: value from Agent table -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('auto_assign') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Auto-response: checkbox : Disable new ticket auto-response -->
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<!-- intrnal Notes : Textarea : -->
|
||||
<div class="form-group">
|
||||
{!! Form::label('internal_notes',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_notes',null,['class' => 'form-control','size' => '10x5']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Submit button -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- close form -->
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,142 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('help')
|
||||
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="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">
|
||||
|
||||
<!-- 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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.topic')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.status')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.type')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.priority')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.department')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.last_updated')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
<!-- 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>
|
||||
|
||||
<!-- topic Status : if status==1 active -->
|
||||
<td>
|
||||
@if($topic->ticket_status=='1')
|
||||
<span style="color:green">Active</span>
|
||||
@else
|
||||
<span style="color:red">Disable</span>
|
||||
@endif
|
||||
</td>
|
||||
|
||||
<!-- Type -->
|
||||
|
||||
<td>
|
||||
@if($topic->type=='1')
|
||||
<span style="color:green">Public</span>
|
||||
@else
|
||||
<span style="color:red">Private</span>
|
||||
@endif
|
||||
</td>
|
||||
<!-- Priority -->
|
||||
<?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>
|
||||
<!-- Last Updated -->
|
||||
<td> {!! UTC::usertimezone($topic->updated_at) !!} </td>
|
||||
<!-- Deleting Fields -->
|
||||
<td>
|
||||
{!! Form::open(['route'=>['helptopic.destroy', $topic->id],'method'=>'DELETE']) !!}
|
||||
<a href="{{route('helptopic.edit',$topic->id)}}" class="btn btn-info btn-xs btn-flat"><i class="fa fa-trash" 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?")'])
|
||||
!!}
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
|
||||
<!-- Set a link to Create Page -->
|
||||
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,110 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('sla')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::open(['action' => 'Admin\helpdesk\SlaController@store', 'method' => 'post']) !!}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
|
||||
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.create')}}</h2>{!! Form::submit(Lang::get('lang.save'),['class'=>'pull-right btn btn-primary'])!!}</div>
|
||||
|
||||
|
||||
<!-- Name text form Required -->
|
||||
<div class="box-body table-responsive no-padding"style="overflow:hidden;">
|
||||
<!-- <table class="table table-hover" style="overflow:hidden;"> -->
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Grace Period text form Required -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('grace_period') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- status radio: required: Active|Dissable -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('status') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('status',Lang::get('lang.status')) !!}
|
||||
{!! $errors->first('status', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::radio('status','1',true) !!}{{Lang::get('lang.active')}}
|
||||
{!! Form::radio('status','0') !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Admin Note : Textarea : -->
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('admin_note',Lang::get('lang.admin_notes')) !!}
|
||||
{!! Form::textarea('admin_note',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- close form -->
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,110 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('sla')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::model($slas,['url' => 'sla/'.$slas->id, 'method' => 'PATCH']) !!}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
|
||||
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.edit')}}</h2>{!! Form::submit(Lang::get('lang.save'),['class'=>'pull-right btn btn-primary'])!!}</div>
|
||||
|
||||
|
||||
<!-- Name text form Required -->
|
||||
<div class="box-body table-responsive no-padding"style="overflow:hidden;">
|
||||
<!-- <table class="table table-hover" style="overflow:hidden;"> -->
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Grace Period text form Required -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('grace_period') ? 'has-error' : '' }}">
|
||||
|
||||
{!! 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']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- status radio: required: Active|Dissable -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('status') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('status',Lang::get('lang.status')) !!}
|
||||
{!! $errors->first('status', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::radio('status','1',true) !!}{{Lang::get('lang.active')}}
|
||||
{!! Form::radio('status','0') !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Admin Note : Textarea : -->
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('admin_note',Lang::get('lang.admin_notes')) !!}
|
||||
{!! Form::textarea('admin_note',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- close form -->
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,121 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('sla')
|
||||
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="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<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">
|
||||
|
||||
<!-- 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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<table class="table table-hover" style="overflow:hidden;">
|
||||
|
||||
<tr>
|
||||
<th width="100px">{{Lang::get('lang.name')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.status')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.grace_period')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.created')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.last_updated')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
<!-- 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>
|
||||
<!-- sla Status : if status==1 active -->
|
||||
<td>
|
||||
@if($sla->status=='1')
|
||||
<span style="color:green">Active</span>
|
||||
@else
|
||||
<span style="color:red">Disable</span>
|
||||
@endif
|
||||
</td>
|
||||
<!-- To show the sla's Time Period -->
|
||||
<td>{!! $sla->grace_period !!}</td>
|
||||
<!-- Created Date -->
|
||||
<td>{!! UTC::usertimezone($sla->created_at) !!}</td>
|
||||
<!-- Last Updated -->
|
||||
<td> {!! UTC::usertimezone($sla->updated_at) !!} </td>
|
||||
<!-- Deleting Fields -->
|
||||
<td>
|
||||
{!! Form::open(['route'=>['sla.destroy', $sla->id],'method'=>'DELETE']) !!}
|
||||
<a href="{{route('sla.edit',$sla->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>
|
||||
|
||||
<!-- Set a link to Create Page -->
|
||||
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,187 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
@section('content')
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
||||
{!! Form::model($user,['url'=>'admin-profile' , 'method' => 'PATCH','files'=>true]) !!}
|
||||
|
||||
<div class="box box-primary">
|
||||
|
||||
<div class="content-header">
|
||||
|
||||
<h4>Profile {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Success.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- fail message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- first name -->
|
||||
<div class="form-group {{ $errors->has('first_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('first_name',Lang::get('lang.first_name')) !!}
|
||||
{!! $errors->first('first_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('first_name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- last name -->
|
||||
<div class="form-group {{ $errors->has('last_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('last_name',Lang::get('lang.last_name')) !!}
|
||||
{!! $errors->first('last_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('last_name',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- gender -->
|
||||
<div class="form-group">
|
||||
{!! Form::label('gender',Lang::get('lang.gender')) !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('gender','1',true) !!}{{Lang::get('lang.male')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('gender','0') !!}{{Lang::get('lang.female')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('email',Lang::get('lang.email_address')) !!}
|
||||
<div>
|
||||
{{$user->email}}
|
||||
</div>
|
||||
</div>
|
||||
<!-- company -->
|
||||
<div class="form-group {{ $errors->has('company') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('company',Lang::get('lang.company')) !!}
|
||||
{!! $errors->first('company', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('company',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- phone extension -->
|
||||
<div class="col-xs-3 form-group {{ $errors->has('ext') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('ext',Lang::get('lang.ext')) !!}
|
||||
{!! $errors->first('ext', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('ext',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
<!-- phone number -->
|
||||
<div class="col-xs-9 form-group {{ $errors->has('phone_number') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('phone_number',Lang::get('lang.phone')) !!}
|
||||
{!! $errors->first('phone_number', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- mobile -->
|
||||
<div class="form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}
|
||||
{!! $errors->first('mobile', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('mobile',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<!-- profile pic -->
|
||||
<div class="form-group {{ $errors->has('profile_pic') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('profile_pic',Lang::get('lang.profile_pic')) !!}
|
||||
{!! $errors->first('profile_pic', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::file('profile_pic') !!}
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::token() !!}
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
{!! Form::model($user,['url'=>'admin-profile-password/'.$user->id , 'method' => 'PATCH']) !!}
|
||||
|
||||
<div class="box box-primary">
|
||||
|
||||
<div class="content-header">
|
||||
|
||||
<h4>Change Password {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Success.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- fail message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- old password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('old_password') ? 'has-error' : '' }}">
|
||||
{!! Form::label('old_password',Lang::get('lang.old_password')) !!}
|
||||
{!! Form::password('old_password',['placeholder'=>'Password','class' => 'form-control']) !!}
|
||||
{!! $errors->first('old_password', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
</div>
|
||||
<!-- new password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('new_password') ? 'has-error' : '' }}">
|
||||
{!! Form::label('new_password',Lang::get('lang.new_password')) !!}
|
||||
{!! Form::password('new_password',['placeholder'=>'New Password','class' => 'form-control']) !!}
|
||||
{!! $errors->first('new_password', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
</div>
|
||||
<!-- confirm password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('confirm_password') ? 'has-error' : '' }}">
|
||||
{!! Form::label('confirm_password',Lang::get('lang.confirm_password')) !!}
|
||||
{!! Form::password('confirm_password',['placeholder'=>'Confirm Password','class' => 'form-control']) !!}
|
||||
{!! $errors->first('confirm_password', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
@stop
|
||||
@@ -0,0 +1,55 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="box box-primary">
|
||||
|
||||
<div class="content-header">
|
||||
|
||||
<h4>Profile</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Success.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- fail message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="{{asset("dist/img/user8-128x128.jpg")}}" width="250px; "/>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<a href="{{url('agent-profile-edit')}}"><i class="fa fa-fw fa-edit"> </i></a>
|
||||
<h3><b>User Information</b></h3>
|
||||
<h2>{{ $user->user_name }}</h2>
|
||||
<h4>{{ $user->primary_dpt }}</h4>
|
||||
<h4>{{ $user->assign_group }}</h4>
|
||||
<h4>{{ $user->ext }}{{ $user->phone_number }}</h4>
|
||||
<h3><b>Contact Information</b></h3>
|
||||
<h4>{{ $user->mobile }}</h4>
|
||||
<h4>{{ $user->company }}</h4>
|
||||
<h4>{{ $user->agent_tzone }}</h4>
|
||||
<h4>{{ $user->role }}</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
@@ -0,0 +1 @@
|
||||
<pre>{{$e}}</pre>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,203 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('access')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::model($accesses,['url' => 'postaccess/'.$accesses->id, 'method' => 'PATCH']) !!}
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{{Lang::get('lang.access')}}</h3> <div class="pull-right">
|
||||
{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
</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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<!-- Password Expiration Policy: DROPDOWN -->
|
||||
<div class="box-body table-responsive"style="overflow:hidden;">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::label('password_expire',Lang::get('lang.expiration_policy')) !!}
|
||||
{!!Form::select('password_expire',['1 month','2 month','3 month'],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Reset Token Expiration: TEXT- minutes -->
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::label('reset_ticket_expire',Lang::get('lang.reset_token_expiration')) !!}
|
||||
{!! Form::text('reset_ticket_expire',$accesses->reset_ticket_expire,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Agent Excessive Logins: TEXT failed login attempt(s) allowed before a lock-out is enforced
|
||||
|
||||
TEXT minutes locked out -->
|
||||
|
||||
<!-- ************************* TODO ************************** -->
|
||||
|
||||
|
||||
|
||||
<!-- Agent Session Timeout: TEXT - minutes (0 to disable). -->
|
||||
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::label('agent_session',Lang::get('lang.agent_session_timeout')) !!}
|
||||
{!! Form::text('agent_session',$accesses->agent_session,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Allow Password Resets: CHECKBOX -->
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::label('password_reset',Lang::get('lang.allow_password_resets')) !!}
|
||||
{!! Form::checkbox('password_reset',1) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Registration Method: DROPDOWN -->
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
{!! Form::label('reg_method',Lang::get('lang.registration_method')) !!}
|
||||
{!!Form::select('reg_method',['public','private','dissabled'],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- User Excessive Logins: TEXT failed login attempt(s) allowed before a lock-out is enforced
|
||||
|
||||
TEXT minutes locked out -->
|
||||
|
||||
<!--************************************* TODO ****************************************** -->
|
||||
|
||||
|
||||
|
||||
<!-- User Session Timeout: TEXT -->
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
{!! Form::label('user_session',Lang::get('lang.user_session_timeout')) !!}
|
||||
{!! Form::text('user_session',$accesses->user_session,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Bind Agent Session to IP: CHECKBOX -->
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('bind_agent_ip',1,true) !!}
|
||||
{!! Form::label('bind_agent_ip',Lang::get('lang.bind_agent_session_IP')) !!}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Registration Required: CHECKBOX- Require registration and login to create tickets -->
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('reg_require',1,true,['class' => 'form-control']) !!}
|
||||
{!! Form::label('reg_require',Lang::get('lang.registration_required')) !!}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Client Quick Access: CHECKBOX -->
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('quick_access',1,true) !!}
|
||||
{!! Form::label('quick_access',Lang::get('lang.client_quick_access')) !!}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,363 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('alert')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::model($alerts,['url' => 'postalert/'.$alerts->id, 'method' => 'PATCH']) !!}
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
|
||||
<h4 class="box-title">{{Lang::get('lang.alert_notices')}}</h4> {!! Form::submit(Lang::get('lang.save'),['class'=>' btn btn-primary pull-right'])!!}
|
||||
|
||||
</div>
|
||||
</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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
<!-- left column -->
|
||||
<div class="col-md-6">
|
||||
<!-- general form elements -->
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{{Lang::get('lang.new_ticket_alert')}}</h3>
|
||||
<div class="pull-right">
|
||||
|
||||
</div>
|
||||
</div><!-- /.box-header -->
|
||||
<!-- form start -->
|
||||
<hr style="margin-top: 0;margin-bottom: 0;">
|
||||
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<!-- Status: Enable Disable -->
|
||||
|
||||
{!! Form::label('ticket_status',Lang::get('lang.status').":") !!}
|
||||
{!! Form::radio('ticket_status',1) !!} {!! Lang::get('lang.enable') !!} {!! Form::radio('ticket_status',0) !!} {!! Lang::get('lang.disable') !!}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<!-- Admin Email -->
|
||||
{!! Form::checkbox('ticket_admin_email',1) !!}
|
||||
{!! Form::label('ticket_admin_email',Lang::get('lang.admin_email_2')) !!}
|
||||
</div>
|
||||
<!-- Department Manager -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('ticket_department_manager',1) !!} --}}
|
||||
{{-- {!! Form::label('ticket_department_manager',Lang::get('lang.department_manager')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
<!-- Department Members -->
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('ticket_department_member',1) !!}
|
||||
{!! Form::label('ticket_department_member',Lang::get('lang.department_members')) !!}
|
||||
</div>
|
||||
<!-- Organization Account Manager -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('ticket_organization_accmanager',1) !!} --}}
|
||||
{{-- {!! Form::label('ticket_organization_accmanager',Lang::get('lang.organization_account_manager')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
</div><!-- /.box-body -->
|
||||
|
||||
|
||||
|
||||
</div><!-- /.box -->
|
||||
{{-- <div class ="box box-primary"> --}}
|
||||
{{-- <div class="box-header"> --}}
|
||||
{{-- <h3 class="box-title">{{Lang::get('lang.new_message_alert')}}</h3> --}}
|
||||
{{-- <div class="pull-right"> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div>/.box-header --}}
|
||||
<!-- form start -->
|
||||
{{-- <hr style="margin-top: 0;margin-bottom: 0;"> --}}
|
||||
{{-- <div class="box-body"> --}}
|
||||
<!-- Status: Enable Disable -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::label('message_status',Lang::get('lang.status').":") !!} --}}
|
||||
{{-- {!! Form::radio('message_status',1) !!} {!! Lang::get('lang.enable') !!} {!! Form::radio('message_status',0) !!} {!! Lang::get('lang.disable') !!} --}}
|
||||
{{-- </div> --}}
|
||||
<!-- Last Respondent -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('message_last_responder',1) !!} --}}
|
||||
{{-- {!! Form::label('message_last_responder',Lang::get('lang.last_respondent')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
<!-- Assigned Agent / Team -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('message_assigned_agent',1) !!} --}}
|
||||
{{-- {!! Form::label('message_assigned_agent',Lang::get('lang.assigned_agent_team')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
<!-- Department Manager -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('message_department_manager',1) !!} --}}
|
||||
{{-- {!! Form::label('message_department_manager',Lang::get('lang.department_manager')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
<!-- Organization Account Manager -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('message_organization_accmanager',1) !!} --}}
|
||||
{{-- {!! Form::label('message_organization_accmanager',Lang::get('lang.organization_account_manager')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div>/.box-body --}}
|
||||
|
||||
|
||||
|
||||
{{-- </div>/.box --}}
|
||||
{{-- <div class="box box-primary"> --}}
|
||||
{{-- <div class="box-header"> --}}
|
||||
{{-- <h3 class="box-title">{{Lang::get('lang.new_internal_note_alert')}}</h3> --}}
|
||||
{{-- <div class="pull-right"> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
<!-- form start -->
|
||||
{{-- <hr style="margin-top: 0;margin-bottom: 0;"> --}}
|
||||
{{-- <div class="box-body"> --}}
|
||||
<!-- Status: Enable Disable -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::label('transfer_status',Lang::get('lang.status').":") !!} --}}
|
||||
{{-- {!! Form::radio('transfer_status',1) !!} {!! Lang::get('lang.enable') !!} {!! Form::radio('transfer_status',0) !!} {!! Lang::get('lang.disable') !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Assigned Agent / Team -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('transfer_assigned_agent',1) !!} --}}
|
||||
{{-- {!! Form::label('transfer_assigned_agent',Lang::get('lang.ticket_assignment_alert')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Department Manager -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('transfer_department_manager',1) !!} --}}
|
||||
{{-- {!! Form::label('transfer_department_manager',Lang::get('lang.department_manager')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Department Members -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('transfer_department_member',1) !!} --}}
|
||||
{{-- {!! Form::label('transfer_department_member',Lang::get('lang.department_members')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div>/.box-body --}}
|
||||
|
||||
{{-- </div>/.box --}}
|
||||
{{-- <div class="box box-primary"> --}}
|
||||
{{-- <div class="box-header"> --}}
|
||||
{{-- <h3 class="box-title">{{Lang::get('lang.system_alerts')}}</h3> --}}
|
||||
{{-- <div class="pull-right"> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
<!-- /.box-header -->
|
||||
<!-- form start -->
|
||||
{{-- <hr style="margin-top: 0;margin-bottom: 0;"> --}}
|
||||
{{-- <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.system_errors')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- SQL errors -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('sql_error',1) !!} --}}
|
||||
{{-- {!! Form::label('sql_error',Lang::get('lang.SQL_errors')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Excessive failed login attempts -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('excessive_failure',1) !!} --}}
|
||||
{{-- {!! Form::label('excessive_failure',Lang::get('lang.excessive_failed_login_attempts')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
<!-- /.box-body -->
|
||||
|
||||
{{-- </div> --}}
|
||||
<!-- /.box -->
|
||||
</div><!--/.col (left) -->
|
||||
<div class="col-md-6">
|
||||
<!-- general form elements -->
|
||||
{{-- <div class="box box-primary"> --}}
|
||||
{{-- <div class="box-header"> --}}
|
||||
{{-- <h3 class="box-title">{{Lang::get('lang.overdue_ticket_alert')}}</h3> --}}
|
||||
{{-- <div class="pull-right"> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div>/.box-header --}}
|
||||
<!-- form start -->
|
||||
{{-- <hr style="margin-top: 0;margin-bottom: 0;"> --}}
|
||||
{{-- <div class="box-body"> --}}
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::label('overdue_status',Lang::get('lang.status').":") !!} --}}
|
||||
{{-- {!! Form::radio('overdue_status',1) !!} {!! Lang::get('lang.enable') !!} {!! Form::radio('overdue_status',0) !!} {!! Lang::get('lang.disable') !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
<!-- Assigned Agent / Team -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('overdue_assigned_agent',1) !!} --}}
|
||||
{{-- {!! Form::label('overdue_assigned_agent',Lang::get('lang.assigned_agent_team')) !!} --}}
|
||||
|
||||
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Department Manager -->
|
||||
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('overdue_department_manager',1) !!} --}}
|
||||
{{-- {!! Form::label('overdue_department_manager',Lang::get('lang.department_manager')) !!} --}}
|
||||
|
||||
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Department Members -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('overdue_department_member',1) !!} --}}
|
||||
{{-- {!! Form::label('overdue_department_member',Lang::get('lang.department_members')) !!} --}}
|
||||
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div>/.box-body --}}
|
||||
|
||||
|
||||
|
||||
{{-- </div>/.box --}}
|
||||
{{-- <div class="box box-primary"> --}}
|
||||
{{-- <div class="box-header"> --}}
|
||||
{{-- <h3 class="box-title">{{Lang::get('lang.ticket_transfer_alert')}}</h3> --}}
|
||||
{{-- <div class="pull-right"> --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div>/.box-header --}}
|
||||
<!-- form start -->
|
||||
{{-- <hr style="margin-top: 0;margin-bottom: 0;"> --}}
|
||||
{{-- <div class="box-body"> --}}
|
||||
{{-- <div class="form-group"> --}}
|
||||
<!-- Status: Enable Disable -->
|
||||
{{-- {!! Form::label('internal_status',Lang::get('lang.status').":") !!} --}}
|
||||
{{-- {!! Form::radio('internal_status',1) !!} {!! Lang::get('lang.enable') !!} {!! Form::radio('internal_status',0) !!} {!! Lang::get('lang.disable') !!} --}}
|
||||
{{-- </div>/ --}}
|
||||
|
||||
<!-- Last Respondent -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('internal_last_responder',1) !!} --}}
|
||||
{{-- {!! Form::label('internal_last_responder',Lang::get('lang.last_respondent')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Assigned Agent / Team -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('internal_assigned_agent',1) !!} --}}
|
||||
{{-- {!! Form::label('internal_assigned_agent',Lang::get('lang.assigned_agent_team')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Department Manager -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('internal_department_manager',1) !!} --}}
|
||||
{{-- {!! Form::label('internal_department_manager',Lang::get('lang.department_manager')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div>/.box-body --}}
|
||||
|
||||
|
||||
|
||||
{{-- </div>/.box --}}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{{Lang::get('lang.ticket_assignment_alert')}}</h3>
|
||||
<div class="pull-right">
|
||||
|
||||
</div>
|
||||
</div><!-- /.box-header -->
|
||||
<!-- form start -->
|
||||
<hr style="margin-top: 0;margin-bottom: 0;">
|
||||
<div class="box-body">
|
||||
<!-- Status: Enable Disable -->
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('assignment_status',Lang::get('lang.status').":") !!}
|
||||
{!! Form::radio('assignment_status',1) !!} {!! Lang::get('lang.enable') !!} {!! Form::radio('assignment_status',0) !!} {!! Lang::get('lang.disable') !!}
|
||||
</div>
|
||||
|
||||
<!-- Assigned Agent / Team -->
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('assignment_assigned_agent',1) !!}
|
||||
{!! Form::label('assignment_assigned_agent',Lang::get('lang.agent')) !!}
|
||||
</div>
|
||||
|
||||
<!-- Team Lead -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('assignment_team_leader',1) !!} --}}
|
||||
{{-- {!! Form::label('assignment_team_leader',Lang::get('lang.team_lead')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Team Members -->
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('assignment_team_member',1) !!}
|
||||
{!! Form::label('assignment_team_member',Lang::get('lang.team_members')) !!}
|
||||
</div>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
</div><!--/.col (left) -->
|
||||
</section>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,26 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">Check for Update</h3>
|
||||
</div>
|
||||
@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
|
||||
<div class="box-body">
|
||||
Click to check Update
|
||||
<a href="{!! URL::route('version-check') !!}" class="btn btn-primary">Check</a>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
@@ -0,0 +1,167 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('company')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::model($companys,['url' => 'postcompany/'.$companys->id, 'method' => 'PATCH','files'=>true]) !!}
|
||||
|
||||
<!-- <div class="form-group {{ $errors->has('company_name') ? 'has-error' : '' }}"> -->
|
||||
<!-- table -->
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h4 class="box-title">{{Lang::get('lang.company')}}</h4>{!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
|
||||
</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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- Name text form Required -->
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
|
||||
{{-- <div class="row"> --}}
|
||||
<div class="col-md-4">
|
||||
<!-- comapny name -->
|
||||
<div class="form-group {{ $errors->has('company_name') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('company_name',Lang::get('lang.name')) !!}
|
||||
{!! $errors->first('company_name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('company_name',$companys->company_name,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-4">
|
||||
<!-- website -->
|
||||
<div class="form-group {{ $errors->has('website') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('website',Lang::get('lang.website')) !!}
|
||||
{!! $errors->first('website', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('website',$companys->website,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<!-- phone -->
|
||||
<div class="form-group {{ $errors->has('phone') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('phone',Lang::get('lang.phone')) !!}
|
||||
{!! $errors->first('phone', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('phone',$companys->phone,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<!-- comapny address -->
|
||||
<div class="form-group {{ $errors->has('company_address') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('address',Lang::get('lang.address')) !!}
|
||||
{!! $errors->first('company_address', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::textarea('company_address',$companys->address,['class' => 'form-control','size' => '30x5']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- <div class="col-md-4"> --}}
|
||||
<!-- landing page -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
|
||||
{{-- {!! Form::label('landing_page',Lang::get('lang.landing')) !!} --}}
|
||||
{{-- {!!Form::select('landing_page', ['landing page'],null,['class' => 'form-control select']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- <div class="col-md-4"> --}}
|
||||
<!-- offline page -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
|
||||
{{-- {!! Form::label('offline_page',Lang::get('lang.offline')) !!} --}}
|
||||
{{-- {!!FooterIncluderm::select('offline_page', ['offline page'],null,['class' => 'form-control select']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- <div class="col-md-4"> --}}
|
||||
<!-- thank page -->
|
||||
{{-- <div class="form-group"> --}}
|
||||
|
||||
{{-- {!! Form::label('thank_page',Lang::get('lang.thank')) !!} --}}
|
||||
{{-- {!! Form::select('thank_page', ['thank page'],null,['class' => 'form-control select']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<div class="col-md-2">
|
||||
<!-- logo -->
|
||||
|
||||
{!! Form::label('logo',Lang::get('lang.logo')) !!}
|
||||
<div class="btn bg-olive btn-file" style="color:blue"> Upload file
|
||||
{!! Form::file('logo') !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@if($companys->logo != null)
|
||||
<div class="col-md-2">
|
||||
{!! Form::checkbox('use_logo') !!} <label> Use Logo</label>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,189 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('email')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::model($emails,['url' => 'postemail/'.$emails->id, 'method' => 'PATCH']) !!}
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{{Lang::get('lang.email')}}</h3> <div class="pull-right">
|
||||
{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
</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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<div class="box-body table-responsive"style="overflow:hidden;">
|
||||
<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' : '' }}"> --}}
|
||||
{{-- {!! Form::label('template',Lang::get('lang.default_template')) !!} --}}
|
||||
{{-- {!! $errors->first('template', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!!Form::select('template', $templates->lists('name','name'),null,['class'=>'form-control']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </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> --}}
|
||||
|
||||
<!-- Default Alert Email: DROPDOWN value from emails table : Required -->
|
||||
{{-- <div class="col-md-3"> --}}
|
||||
{{-- <div class="form-group {{ $errors->has('alert_email') ? 'has-error' : '' }}"> --}}
|
||||
{{-- {!! Form::label('alert_email',Lang::get('lang.default_alert_email')) !!} --}}
|
||||
{{-- {!! $errors->first('alert_email', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!!Form::select('alert_email', $emails1->lists('email_address','email_address'),null,['class'=>'form-control']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
<!-- Default MTA: DROPDOWN : manual -->
|
||||
{{-- <div class="col-md-3"> --}}
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::label('alert_email',Lang::get('lang.default_MTA')) !!} --}}
|
||||
{{-- {!!Form::select('alert_email',['use PHP Mail function'],null,['class'=>'form-control']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
<!-- Email Fetching: CHECKBOX : Enable ,Fetch on auto-cron -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('email_fetching',Lang::get('lang.email_fetch')) !!}<br>
|
||||
{!! Form::checkbox('email_fetching',1,true) !!} {{Lang::get('lang.fetch_auto-corn')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Accept All Emails: CHECKBOX: Accept email from unknown Users -->
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('all_emails',1,true) !!} {{Lang::get('lang.accept_all_email')}}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Admin's Email Address: Text : Required -->
|
||||
<div class="row">
|
||||
{{-- <div class="col-md-6"> --}}
|
||||
{{-- <div class="form-group {{ $errors->has('admin_email') ? 'has-error' : '' }}"> --}}
|
||||
|
||||
{{-- {!! Form::label('admin_email',Lang::get('lang.admin_email')) !!} --}}
|
||||
{{-- {!! $errors->first('admin_email', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!! Form::text('admin_email',null,['class' => 'form-control']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
<!-- Reply Separator Tag: text -->
|
||||
{{-- <div class="col-md-6"> --}}
|
||||
{{-- <div class="form-group {{ $errors->has('separator') ? 'has-error' : '' }}"> --}}
|
||||
{{-- {!! Form::label('separator',Lang::get('lang.reply_separator')) !!} --}}
|
||||
{{-- {!! $errors->first('separator', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!! Form::text('separator',null,['class' => 'form-control']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
</div>
|
||||
<!-- Accept Email Collaborators: CHECKBOX : Automatically add collaborators from email fields -->
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('email_collaborator',1) !!} {{Lang::get('lang.accept_email_collab')}}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Strip Quoted Reply: CHECKBOX -->
|
||||
{{-- <div class="row"> --}}
|
||||
{{-- <div class="col-md-4"> --}}
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('strip',1,['class' => 'form-control']) !!} {{Lang::get('lang.strip_quoted_reply')}} --}}
|
||||
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
<!-- Attachments: CHECKBOX : Email attachments to the user -->
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('attachment',1) !!} {{Lang::get('lang.attachments')}}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,110 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('auto-response')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::model($responders,['url' => 'postresponder/'.$responders->id, 'method' => 'PATCH']) !!}
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{{Lang::get('lang.auto_responce')}}</h3> <div class="pull-right">
|
||||
{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
</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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
<!-- New Ticket: CHECKBOX Ticket Owner -->
|
||||
<div class="box-body table-responsive"style="overflow:hidden;">
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('new_ticket',1) !!}
|
||||
{!! Form::label('new_ticket',Lang::get('lang.new_ticket')) !!}
|
||||
</div>
|
||||
|
||||
<!-- New Ticket by Agent: CHECKBOX Ticket Owner -->
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('agent_new_ticket',1) !!}
|
||||
{!! Form::label('agent_new_ticket',Lang::get('lang.new_ticket_by_agent')) !!}
|
||||
</div>
|
||||
|
||||
<!-- New Message:
|
||||
Submitter: CHECKBOX Send receipt confirmation
|
||||
Participants: CHECKBOX Send new activity notice -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::label('new_message',Lang::get('lang.new_message')) !!}<br> --}}
|
||||
{{-- {!! Form::checkbox('submitter',1,true) !!} {{Lang::get('lang.submitter')}} {{Lang::get('lang.send_receipt_confirmation')}} <p><p> --}}
|
||||
{{-- {!! Form::checkbox('participants',1) !!} {{Lang::get('lang.participants')}} {{Lang::get('lang.send_new_activity_notice')}} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Overlimit Notice: CHECKBOX Ticket Submitter -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('overlimit',1) !!} --}}
|
||||
{{-- {!! Form::label('overlimit',Lang::get('lang.overlimit_notice')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,248 @@
|
||||
@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')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::model($systems,['url' => 'postsystem/'.$systems->id, 'method' => 'PATCH' , 'id'=>'formID']) !!}
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
|
||||
<h3 class="box-title">{{Lang::get('lang.system')}}</h3> {!! Form::submit('Save',['onclick'=>'sendForm()','class'=>'btn btn-primary pull-right'])!!}
|
||||
<!-- <input type="submit" value="sumit" onclick="sendForm();"> -->
|
||||
</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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<!-- Helpdesk Status: radio Online Offline -->
|
||||
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
{!! Form::label('status',Lang::get('lang.status')) !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('status','1',true) !!}{{Lang::get('lang.online')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('status','0') !!}{{Lang::get('lang.offline')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Helpdesk Name/Title: text Required -->
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('name',Lang::get('lang.name/title')) !!}
|
||||
{!! $errors->first('name', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('name',$systems->name,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Helpdesk URL: text Required -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('url') ? 'has-error' : '' }}">
|
||||
{!! Form::label('url',Lang::get('lang.url')) !!}
|
||||
{!! $errors->first('url', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('url',$systems->url,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Default Department: Dropdown From Department table: required -->
|
||||
<div class="col-md-6">
|
||||
<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', [''=>'Select a Department','Department'=>$departments->lists('name','id')],null,['class'=>'form-control']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Default Time Zone: Drop down: timezones table : Required -->
|
||||
<div class="col-md-6">
|
||||
<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']) !!}
|
||||
</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">
|
||||
<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',[''=>'Select a date Time Format','Date Time Formats'=>$date_time->lists('format','format')],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>
|
||||
|
||||
|
||||
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
CKEDITOR.replace( 'content',
|
||||
{
|
||||
filebrowserUploadUrl : '/uploader/upload.php'
|
||||
});
|
||||
|
||||
CKEDITOR.replace( 'content', { toolbar : 'MyToolbar' } );
|
||||
</script>
|
||||
</div>
|
||||
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
|
||||
@@ -0,0 +1,224 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('tickets')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::model($tickets,['url' => 'postticket/'.$tickets->id, 'method' => 'PATCH']) !!}
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{{Lang::get('lang.ticket')}}</h3> <div class="pull-right">
|
||||
{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
</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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<div class="box-body table-responsive"style="overflow:hidden;">
|
||||
<div class="row">
|
||||
{{-- <div class="col-md-6"> --}}
|
||||
{{-- <div class="form-group"> --}}
|
||||
|
||||
<!-- Default Ticket Number Format: text e.g. 268330 -->
|
||||
|
||||
<!-- <div class="form-group {{ $errors->has('num_format') ? 'has-error' : '' }}"> -->
|
||||
|
||||
{{-- {!! Form::label('num_format',Lang::get('lang.default_ticket_number_format')) !!} --}}
|
||||
{{-- {!! $errors->first('num_format', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!! Form::text('num_format',$tickets->num_format,['class' => 'form-control']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Default Ticket Number Sequence: dropdown : manual Manage -->
|
||||
{{-- <div class="col-md-6"> --}}
|
||||
{{-- <div class="form-group {{ $errors->has('num_sequence') ? 'has-error' : '' }}"> --}}
|
||||
|
||||
{{-- {!! Form::label('num_sequence',Lang::get('lang.default_ticket_number_sequence')) !!} --}}
|
||||
{{-- {!! $errors->first('num_sequence', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!!Form::select('num_sequence', ['random','general'],null,['class' => 'form-control select']) !!} --}}
|
||||
|
||||
{{-- </div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Default Status: Required : manual: Dropdowm -->
|
||||
<div class="col-md-3">
|
||||
<div class="form-group {{ $errors->has('status') ? 'has-error' : '' }}">
|
||||
{!! Form::label('status',Lang::get('lang.default_status')) !!}
|
||||
{!! $errors->first('status', '<spam class="help-block">:message</spam>') !!}
|
||||
<select class="form-control" id="status" name="status">
|
||||
<option value="1" >Open</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Default Priority: Required : manual : Dropdowm -->
|
||||
<div class="col-md-3">
|
||||
<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>') !!}
|
||||
{!!Form::select('priority', [''=>'select a priority','Priorities'=>$priority->lists('priority_desc','priority_id')],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Default SLA: Required : manual : Dropdowm -->
|
||||
<div class="col-md-3">
|
||||
<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>') !!}
|
||||
{!!Form::select('sla', $slas->lists('grace_period','id'),null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Default Help Topic: Dropdowm from Help topic table -->
|
||||
<div class="col-md-3">
|
||||
<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>') !!}
|
||||
{!!Form::select('help_topic', $topics->lists('topic','id'),null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Maximum Open Tickets: text-number per end user -->
|
||||
{{-- <div class="col-md-6"> --}}
|
||||
{{-- <div class="form-group {{ $errors->has('max_open_ticket') ? 'has-error' : '' }}"> --}}
|
||||
{{-- {!! Form::label('max_open_ticket',Lang::get('lang.maximum_open_tickets')) !!} --}}
|
||||
{{-- {!! $errors->first('max_open_ticket', '<spam class="help-block">:message</spam>') !!} --}}
|
||||
{{-- {!! Form::text('max_open_ticket',$tickets->max_open_ticket,['class' => 'form-control']) !!} --}}
|
||||
{{-- </div> --}}
|
||||
{{-- </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> --}}
|
||||
|
||||
|
||||
<!-- Human Verification: checkbox Enable CAPTCHA on new web tickets. -->
|
||||
|
||||
{{-- <div class="col-md-6"> --}}
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('captcha',1,true) !!} --}}
|
||||
{{-- {!! Form::label('captcha',Lang::get('lang.human_verification')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Claim on Response: checkbox -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('claim_response',1,true) !!} --}}
|
||||
{{-- {!! Form::label('claim_response',Lang::get('lang.claim_on_response')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Assigned Tickets: checkbox- Exclude assigned tickets from open queue. -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('assigned_ticket',1,true) !!} --}}
|
||||
{{-- {!! Form::label('assigned_ticket',Lang::get('lang.assigned_tickets')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Answered Tickets: checkbox- Exclude answered tickets from open queue. -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('answered_ticket',1,true) !!} --}}
|
||||
{{-- {!! Form::label('answered_ticket',Lang::get('lang.answered_tickets')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Agent Identity Masking: checkbox- Hide agent's name on responses. -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('agent_mask',1,true) !!} --}}
|
||||
{{-- {!! Form::label('agent_mask',Lang::get('lang.agent_identity_masking')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Enable HTML Ticket Thread: checkbox- Enable rich text in ticket thread and autoresponse emails. -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('html',1,true) !!} --}}
|
||||
{{-- {!! Form::label('html',Lang::get('lang.enable_HTML_ticket_thread')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- Allow Client Updates: checkbox -->
|
||||
|
||||
{{-- <div class="form-group"> --}}
|
||||
{{-- {!! Form::checkbox('client_update',1,true) !!} --}}
|
||||
{{-- {!! Form::label('client_update',Lang::get('lang.allow_client_updates')) !!} --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
<!-- EndUser Attachment Settings: Config -->
|
||||
|
||||
<!-- **** TODO ***** -->
|
||||
|
||||
<!-- Agent Maximum File Size: -->
|
||||
|
||||
<!-- **** TODO ***** -->
|
||||
|
||||
<!-- Submit button -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
</div>
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
@@ -0,0 +1,60 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Themes')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('theme-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('footer')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
|
||||
<!-- open a form -->
|
||||
{!! Form::model($footer,['url' => 'post-create-footer/'.$footer->id, 'method' => 'PATCH','files'=>true]) !!}
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h4 class="box-title">Footer </h4>{!! Form::submit('save',['class'=>'form-group btn btn-primary pull-right'])!!}
|
||||
</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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- Name text form Required -->
|
||||
<div class="box-body">
|
||||
<div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
|
||||
{!! Form::label('title','Title') !!}
|
||||
{!! $errors->first('title', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('title',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('footer') ? 'has-error' : '' }}">
|
||||
{!! Form::label('footer','Footer') !!}
|
||||
{!! $errors->first('footer', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::textarea('footer',null,['class' => 'form-control','size' => '30x5','id'=>'footer']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@@ -0,0 +1,62 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Themes')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('theme-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('footer2')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<!-- open a form -->
|
||||
|
||||
{!! Form::model($footer2,['url' => 'post-create-footer2/'.$footer2->id, 'method' => 'PATCH','files'=>true]) !!}
|
||||
|
||||
<!-- <div class="form-group {{ $errors->has('company_name') ? 'has-error' : '' }}"> -->
|
||||
<!-- table -->
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h4 class="box-title">Footer 2</h4> {!! Form::submit('save',['class'=>'form-group btn btn-primary pull-right'])!!}
|
||||
</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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- Name text form Required -->
|
||||
<div class="box-body table-responsive"style="overflow:hidden;">
|
||||
<div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
|
||||
{!! Form::label('title','Title') !!}
|
||||
{!! $errors->first('title', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('title',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('footer') ? 'has-error' : '' }}">
|
||||
{!! Form::label('footer','Footer') !!}
|
||||
{!! $errors->first('footer', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::textarea('footer',null,['class' => 'form-control','size' => '30x5','id'=>'footer']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@@ -0,0 +1,56 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Themes')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('theme-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('footer3')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<!-- open a form -->
|
||||
{!! Form::model($footer3,['url' => 'post-create-footer3/'.$footer3->id, 'method' => 'PATCH','files'=>true]) !!}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h4 class="box-title">Footer 3</h4>{!! Form::submit('save',['class'=>'form-group btn btn-primary pull-right'])!!}
|
||||
</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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- Name text form Required -->
|
||||
<div class="box-body table-responsive">
|
||||
<div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
|
||||
{!! Form::label('title','Title') !!}
|
||||
{!! $errors->first('title', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('title',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('footer') ? 'has-error' : '' }}">
|
||||
{!! Form::label('footer','Footer') !!}
|
||||
{!! $errors->first('footer', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::textarea('footer',null,['class' => 'form-control','size' => '30x5','id'=>'footer']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@@ -0,0 +1,54 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Themes')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('theme-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('footer4')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<!-- open a form -->
|
||||
{!! Form::model($footer4,['url'=>'post-create-footer4/'.$footer4->id, 'method'=>'PATCH','files'=>true]) !!}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h4 class="box-title">Footer 4</h4>{!! Form::submit('save',['class'=>'form-group btn btn-primary pull-right'])!!}
|
||||
</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>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- Name text form Required -->
|
||||
<div class="box-body">
|
||||
<div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
|
||||
{!! Form::label('title','Title') !!}
|
||||
{!! $errors->first('title', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('title',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('footer') ? 'has-error' : '' }}">
|
||||
{!! Form::label('footer','Footer') !!}
|
||||
{!! $errors->first('footer', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::textarea('footer',null,['class' => 'form-control','size' => '30x5','id'=>'footer']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@@ -0,0 +1,437 @@
|
||||
!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Faveo | HELP DESK</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/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" />
|
||||
<!-- Ionicons -->
|
||||
<link href="http://code.ionicframework.com/ionicons/2.0.0/css/ionicons.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- fullCalendar 2.2.5-->
|
||||
<link href="plugins/fullcalendar/fullcalendar.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="plugins/fullcalendar/fullcalendar.print.css" rel="stylesheet" type="text/css" media='print' />
|
||||
<!-- Theme style -->
|
||||
<link href="dist/css/AdminLTE.min.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. -->
|
||||
<link href="dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- iCheck -->
|
||||
<link href="plugins/iCheck/flat/blue.css" rel="stylesheet" type="text/css" />
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<link rel="stylesheet" href="dist/css/tabby.css" type="text/css">
|
||||
<link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="skin-blue">
|
||||
<div class="wrapper">
|
||||
|
||||
<header class="main-header">
|
||||
<a href="../../index2.html" class="logo"><b>Faveo</b> HELP DESK</a>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top" role="navigation">
|
||||
<!-- Sidebar toggle button-->
|
||||
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||
<ul class="tabs tabs-horizontal nav navbar-nav">
|
||||
<li class="active"><a data-target="#tabA" href="#">Home</a></li>
|
||||
<li><a data-target="#tabB" href="#">Staff</a></li>
|
||||
<li><a data-target="#tabC" href="#">Department</a></li>
|
||||
<li><a data-target="#tabD" href="#">Users</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<img src="dist/img/user2-160x160.jpg" class="user-image" alt="User Image"/>
|
||||
<span class="hidden-xs">Alexander Pierce</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- User image -->
|
||||
<li class="user-header">
|
||||
<img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" />
|
||||
<p>
|
||||
Alexander Pierce - Web Developer
|
||||
<small>Member since Nov. 2012</small>
|
||||
</p>
|
||||
</li>
|
||||
<!-- Menu Body -->
|
||||
<li class="user-body">
|
||||
<div class="col-xs-4 text-center">
|
||||
<a href="#">Followers</a>
|
||||
</div>
|
||||
<div class="col-xs-4 text-center">
|
||||
<a href="#">Sales</a>
|
||||
</div>
|
||||
<div class="col-xs-4 text-center">
|
||||
<a href="#">Friends</a>
|
||||
</div>
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer">
|
||||
<div class="pull-left">
|
||||
<a href="#" class="btn btn-default btn-flat">Profile</a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a href="#" class="btn btn-default btn-flat">Sign out</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<!-- <form class="navbar-form navbar-left" role="search">
|
||||
<div class="form-group">
|
||||
<input type="text" class="form-control" id="navbar-search-input" placeholder="Search">
|
||||
</div>
|
||||
</form> -->
|
||||
|
||||
</div><!-- /.navbar-collapse -->
|
||||
</nav>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<!-- Sidebar user panel -->
|
||||
<!-- search form -->
|
||||
<form action="#" method="get" class="sidebar-form">
|
||||
<div class="input-group">
|
||||
<input type="text" name="q" class="form-control" placeholder="Search..."/>
|
||||
<span class="input-group-btn">
|
||||
<button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<!-- /.search form -->
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu">
|
||||
<li class="header">TICKETS</li>
|
||||
<li>
|
||||
<a href="../widgets.html">
|
||||
<i class="fa fa-envelope"></i> <span>Inbox</span> <small class="label pull-right bg-green">5</small>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../widgets.html">
|
||||
<i class="fa fa-user"></i> <span>My Tickets</span> <small class="label pull-right bg-green">2</small>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../widgets.html">
|
||||
<i class="fa fa-th"></i> <span>Unassigned</span> <small class="label pull-right bg-green">4</small>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../widgets.html">
|
||||
<i class="fa fa-trash-o"></i> <span>Trash</span> <small class="label pull-right bg-green">89</small>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-folder-open"></i> <span>General</span> <i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Open<small class="label pull-right bg-green">4</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Inprogress<small class="label pull-right bg-green">3</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Closed<small class="label pull-right bg-green">55</small></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-folder-open"></i> <span>Support</span> <i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Open<small class="label pull-right bg-green">1</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Inprogress<small class="label pull-right bg-green">6</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Closed<small class="label pull-right bg-green">88</small></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="header">LABELS</li>
|
||||
<li><a href="#"><i class="fa fa-circle-o text-danger"></i> Important</a></li>
|
||||
<li><a href="#"><i class="fa fa-circle-o text-warning"></i> Warning</a></li>
|
||||
<li><a href="#"><i class="fa fa-circle-o text-info"></i> Information</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
|
||||
<!-- Right side column. Contains the navbar and content of the page -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<div class="tab-content" style="background-color: white;padding: 0 20px 0 20px">
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||
<div class="tabs-content">
|
||||
<div class="tabs-pane active" id="tabA">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#">Link1</a></li>
|
||||
<li><a href="#">Link2</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane" id="tabB">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#">Link3</a></li>
|
||||
<li><a href="#">Link4</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane" id="tabC">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#">Link5</a></li>
|
||||
<li><a href="#">Link6</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane" id="tabD">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#">Link7</a></li>
|
||||
<li><a href="#">Link8</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Tickets
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li class="active">Mailbox</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Inbox </h3> <small> 5 new messages</small>
|
||||
<div class="box-tools pull-right">
|
||||
<div class="has-feedback">
|
||||
<input type="text" class="form-control input-sm" placeholder="Search Mail"/>
|
||||
<span class="glyphicon glyphicon-search form-control-feedback"></span>
|
||||
</div>
|
||||
</div><!-- /.box-tools -->
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body 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>
|
||||
<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>
|
||||
<button class="btn btn-default btn-sm"><i class="fa fa-share"></i></button>
|
||||
</div><!-- /.btn-group -->
|
||||
<button class="btn btn-default btn-sm"><i class="fa fa-refresh"></i></button>
|
||||
<div class="pull-right">
|
||||
1-5 /5
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-default btn-sm"><i class="fa fa-chevron-left"></i></button>
|
||||
<button class="btn btn-default btn-sm"><i class="fa fa-chevron-right"></i></button>
|
||||
</div><!-- /.btn-group -->
|
||||
</div><!-- /.pull-right -->
|
||||
</div>
|
||||
<div class="table-responsive mailbox-messages">
|
||||
<table class="table table-hover table-striped">
|
||||
<thead>
|
||||
<th>
|
||||
</th>
|
||||
<th>
|
||||
</th>
|
||||
<th>
|
||||
subject
|
||||
</th>
|
||||
<th>
|
||||
Ticket ID
|
||||
</th>
|
||||
<th>
|
||||
last Replier
|
||||
</th>
|
||||
<th>
|
||||
Replies
|
||||
</th>
|
||||
<th>
|
||||
Priority
|
||||
</th>
|
||||
<th>
|
||||
Last Activity
|
||||
</th>
|
||||
<th>
|
||||
Reply Due
|
||||
</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<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>
|
||||
<td class="mailbox-replies">11</td>
|
||||
<td class="mailbox-priority"><spam class="text-green">Low</spam></td>
|
||||
<td class="mailbox-last-activity">11h 59m 23s</td>
|
||||
<td class="mailbox-date">5h 23m 03s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td class="mailbox-star"><a href="#"><i class="fa fa-star text-yellow"></i></a></td>
|
||||
<td class="mailbox-name"><a href="timeline.html">Testing</a></td>
|
||||
<td class="mailbox-Id">#12345</td>
|
||||
<td class="mailbox-last-reply">client</td>
|
||||
<td class="mailbox-replies">11</td>
|
||||
<td class="mailbox-priority"><spam class="text-yellow">Medium</spam></td>
|
||||
<td class="mailbox-last-activity">11h 59m 23s</td>
|
||||
<td class="mailbox-date">5h 23m 03s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td class="mailbox-star"><a href="#"><i class="fa fa-star text-yellow"></i></a></td>
|
||||
<td class="mailbox-name"><a href="timeline.html">Testing</a></td>
|
||||
<td class="mailbox-Id">#12345</td>
|
||||
<td class="mailbox-last-reply">client</td>
|
||||
<td class="mailbox-replies">11</td>
|
||||
<td class="mailbox-priority"><spam class="text-red">High</spam></td>
|
||||
<td class="mailbox-last-activity">11h 59m 23s</td>
|
||||
<td class="mailbox-date">5h 23m 03s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td class="mailbox-star"><a href="#"><i class="fa fa-star text-yellow"></i></a></td>
|
||||
<td class="mailbox-name"><a href="timeline.html">Testing</a></td>
|
||||
<td class="mailbox-Id">#12345</td>
|
||||
<td class="mailbox-last-reply">client</td>
|
||||
<td class="mailbox-replies">11</td>
|
||||
<td class="mailbox-priority"><spam class="text-yellow">Medium</spam></td>
|
||||
<td class="mailbox-last-activity">11h 59m 23s</td>
|
||||
<td class="mailbox-date">5h 23m 03s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td class="mailbox-star"><a href="#"><i class="fa fa-star text-yellow"></i></a></td>
|
||||
<td class="mailbox-name"><a href="timeline.html">Testing</a></td>
|
||||
<td class="mailbox-Id">#12345</td>
|
||||
<td class="mailbox-last-reply">client</td>
|
||||
<td class="mailbox-replies">11</td>
|
||||
<td class="mailbox-priority"><spam class="text-red">High</spam></td>
|
||||
<td class="mailbox-last-activity">11h 59m 23s</td>
|
||||
<td class="mailbox-date">5h 23m 03s</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table><!-- /.table -->
|
||||
</div><!-- /.mail-box-messages -->
|
||||
</div><!-- /.box-body -->
|
||||
<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>
|
||||
<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>
|
||||
<button class="btn btn-default btn-sm"><i class="fa fa-share"></i></button>
|
||||
</div><!-- /.btn-group -->
|
||||
<button class="btn btn-default btn-sm"><i class="fa fa-refresh"></i></button>
|
||||
<div class="pull-right">
|
||||
1-5/5
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-default btn-sm"><i class="fa fa-chevron-left"></i></button>
|
||||
<button class="btn btn-default btn-sm"><i class="fa fa-chevron-right"></i></button>
|
||||
</div><!-- /.btn-group -->
|
||||
</div><!-- /.pull-right -->
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /. box -->
|
||||
</div><!-- /.col -->
|
||||
</div><!-- /.row -->
|
||||
</section><!-- /.content -->
|
||||
</div><!-- /.content-wrapper -->
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> 0.1
|
||||
</div>
|
||||
<strong>Copyright © 2014-2015 <a href="http://www.ladybirdweb.com">Ladybird Web Solution</a>.</strong> All rights reserved.
|
||||
</footer>
|
||||
</div><!-- ./wrapper -->
|
||||
|
||||
<!-- jQuery 2.1.3 -->
|
||||
<script src="http://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 -->
|
||||
<script src="plugins/slimScroll/jquery.slimscroll.min.js" type="text/javascript"></script>
|
||||
<!-- FastClick -->
|
||||
<script src='plugins/fastclick/fastclick.min.js'></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="dist/js/app.min.js" type="text/javascript"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
<script src="dist/js/demo.js" type="text/javascript"></script>
|
||||
<!-- iCheck -->
|
||||
<script src="plugins/iCheck/icheck.min.js" type="text/javascript"></script>
|
||||
<!-- Page Script -->
|
||||
<script>
|
||||
$(function() {
|
||||
//Enable iCheck plugin for checkboxes
|
||||
//iCheck for checkbox and radio inputs
|
||||
$('input[type="checkbox"]').iCheck({
|
||||
checkboxClass: 'icheckbox_flat-blue',
|
||||
radioClass: 'iradio_flat-blue'
|
||||
});
|
||||
|
||||
//Enable check and uncheck all functionality
|
||||
$(".checkbox-toggle").click(function() {
|
||||
var clicks = $(this).data('clicks');
|
||||
if (clicks) {
|
||||
//Uncheck all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("uncheck");
|
||||
} else {
|
||||
//Check all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("check");
|
||||
}
|
||||
$(this).data("clicks", !clicks);
|
||||
});
|
||||
|
||||
//Handle starring for glyphicon and font awesome
|
||||
$(".mailbox-star").click(function(e) {
|
||||
e.preventDefault();
|
||||
//detect type
|
||||
var $this = $(this).find("a > i");
|
||||
var glyph = $this.hasClass("glyphicon");
|
||||
var fa = $this.hasClass("fa");
|
||||
|
||||
//Switch states
|
||||
if (glyph) {
|
||||
$this.toggleClass("glyphicon-star");
|
||||
$this.toggleClass("glyphicon-star-empty");
|
||||
}
|
||||
|
||||
if (fa) {
|
||||
$this.toggleClass("fa-star");
|
||||
$this.toggleClass("fa-star-o");
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- // <script src="../plugins/jQuery/jQuery-2.1.3.min.js"></script> -->
|
||||
<script src="dist/js/tabby.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,621 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Faveo | HELP DESK</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/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" />
|
||||
<!-- Ionicons -->
|
||||
<link href="http://code.ionicframework.com/ionicons/2.0.0/css/ionicons.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Theme style -->
|
||||
<link href="dist/css/AdminLTE.min.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. -->
|
||||
<link href="dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<link rel="stylesheet" href="dist/css/tabby.css" type="text/css">
|
||||
|
||||
<link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="dist/css/editor.css" type="text/css" rel="stylesheet"/>
|
||||
<script src="dist/js/jquery-2.1.0.min.js"></script>
|
||||
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<!-- <link href="../plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css" rel="stylesheet" type="text/css" /> -->
|
||||
|
||||
</head>
|
||||
<body class="skin-blue">
|
||||
<div class="wrapper">
|
||||
|
||||
<header class="main-header">
|
||||
<a href="../../index2.html" class="logo"><b>Faveo</b> HELP DESK</a>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top" role="navigation">
|
||||
<!-- Sidebar toggle button-->
|
||||
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||
<ul class="tabs tabs-horizontal nav navbar-nav">
|
||||
<li class="active"><a data-target="#tabA" href="#">Home</a></li>
|
||||
<li><a data-target="#tabB" href="#">Staff</a></li>
|
||||
<li><a data-target="#tabC" href="#">Department</a></li>
|
||||
<li><a data-target="#tabD" href="#">Users</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<img src="dist/img/user2-160x160.jpg" class="user-image" alt="User Image"/>
|
||||
<span class="hidden-xs">Alexander Pierce</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- User image -->
|
||||
<li class="user-header">
|
||||
<img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" />
|
||||
<p>
|
||||
Alexander Pierce - Web Developer
|
||||
<small>Member since Nov. 2012</small>
|
||||
</p>
|
||||
</li>
|
||||
<!-- Menu Body -->
|
||||
<li class="user-body">
|
||||
<div class="col-xs-6 text-center">
|
||||
<a href="#">Department:Sales</a>
|
||||
</div>
|
||||
<div class="col-xs-6 text-center">
|
||||
<a href="#">Level 1 Support</a>
|
||||
</div>
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer">
|
||||
<div class="pull-left">
|
||||
<a href="#" class="btn btn-default btn-flat">Profile</a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a href="#" class="btn btn-default btn-flat">Sign out</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<!-- <form class="navbar-form navbar-left" role="search">
|
||||
<div class="form-group">
|
||||
<input type="text" class="form-control" id="navbar-search-input" placeholder="Search">
|
||||
</div>
|
||||
</form> -->
|
||||
|
||||
</div><!-- /.navbar-collapse -->
|
||||
</nav>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<!-- Sidebar user panel -->
|
||||
<!-- search form -->
|
||||
<form action="#" method="get" class="sidebar-form">
|
||||
<div class="input-group">
|
||||
<input type="text" name="q" class="form-control" placeholder="Search..."/>
|
||||
<span class="input-group-btn">
|
||||
<button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<!-- /.search form -->
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu">
|
||||
<li class="header">TICKET INFORMATION</li>
|
||||
<li>
|
||||
<a href="">
|
||||
<span>TICKET ID</span>
|
||||
</br><b>#123456</b>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="">
|
||||
<span>USER</span>
|
||||
</br><i class="fa fa-user"> </i> <b>Username</b>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="">
|
||||
<span>ASSIGNED TO</span>
|
||||
</br> <b>Name</b>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="header">TICKETS</li>
|
||||
<li>
|
||||
<a href="ticket.html">
|
||||
<i class="fa fa-envelope"></i> <span>Inbox</span> <small class="label pull-right bg-green">5</small>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../widgets.html">
|
||||
<i class="fa fa-user"></i> <span>My Tickets</span> <small class="label pull-right bg-green">2</small>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../widgets.html">
|
||||
<i class="fa fa-th"></i> <span>Unassigned</span> <small class="label pull-right bg-green">4</small>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../widgets.html">
|
||||
<i class="fa fa-trash-o"></i> <span>Trash</span> <small class="label pull-right bg-green">89</small>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-folder-open"></i> <span>General</span> <i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Open<small class="label pull-right bg-green">4</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Inprogress<small class="label pull-right bg-green">3</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Closed<small class="label pull-right bg-green">55</small></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-folder-open"></i> <span>Support</span> <i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Open<small class="label pull-right bg-green">1</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Inprogress<small class="label pull-right bg-green">6</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Closed<small class="label pull-right bg-green">88</small></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="header">LABELS</li>
|
||||
<li><a href="#"><i class="fa fa-circle-o text-danger"></i> Important</a></li>
|
||||
<li><a href="#"><i class="fa fa-circle-o text-warning"></i> Warning</a></li>
|
||||
<li><a href="#"><i class="fa fa-circle-o text-info"></i> Information</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar --> </aside>
|
||||
|
||||
<!-- Right side column. Contains the navbar and content of the page -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<div class="tab-content" style="background-color: white;padding: 0 20px 0 20px">
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||
<div class="tabs-content">
|
||||
<div class="tabs-pane active" id="tabA">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#">Home</a></li>
|
||||
<li><a href="#">My Preferences</a></li>
|
||||
<li><a href="#">Notification</a></li>
|
||||
<li><a href="#">Comments</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane" id="tabB">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#">Manage Tickets</a></li>
|
||||
<li><a href="#">Search</a></li>
|
||||
<li><a href="#">New Ticket</a></li>
|
||||
<li><a href="#">Views</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane" id="tabC">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#">Link5</a></li>
|
||||
<li><a href="#">Link6</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane" id="tabD">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#">Link7</a></li>
|
||||
<li><a href="#">Link8</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Timeline
|
||||
<small>example</small>
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li><a href="#">UI</a></li>
|
||||
<li class="active">Timeline</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
|
||||
<!-- Main content -->
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
|
||||
<h3 class="box-title"><i class="fa fa-user"> </i> Username </h3> ( organisation )
|
||||
<div class="pull-right">
|
||||
<button type="button" class="btn btn-default"><i class="fa fa-edit" style="color:green;"> </i> Edit</button>
|
||||
<button type="button" class="btn btn-default"><i class="fa fa-print" style="color:blue;"> </i> Print</button>
|
||||
<!-- </div> -->
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-exchange" style="color:teal;"> </i>
|
||||
Change Status <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#"><i class="fa fa-check" style="color:green;"> </i>Closed</a></li>
|
||||
<li><a href="#"><i class="fa fa-check-circle-o " style="color:green;"> </i> Resolved</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cogs" style="color:teal;"> </i>
|
||||
More <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<li><a href="#"><i class="fa fa-users" style="color:green;"> </i>Change Owner</a></li>
|
||||
<li><a href="#"><i class="fa fa-edit" style="color:blue;"> </i>Manage Forms</a></li>
|
||||
<li><a href="#"><i class="fa fa-trash" style="color:red;"> </i>Delete Ticket</a></li>
|
||||
<li><a href="#"><i class="fa fa-ban" style="color:red;"> </i> Ban Email</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<section class="content">
|
||||
<div class="col-md-12">
|
||||
<div class="callout callout-info">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<b>SLA Plan: </b> Default SLA Plan
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<b>Create Date: </b> 12/03/2015 1:40 Pm
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<b>Due Date: </b> 15/03/2015 1:05 pm
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<b>Last Response: </b> 15/03/2015 1:05 pm
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<table class="table table-hover">
|
||||
<!-- <tr><th></th><th></th></tr> -->
|
||||
<tr><td><b>Status:</b></td> <td>Open</td></tr>
|
||||
<tr><td><b>Priority:</b></td> <td>High</td></tr>
|
||||
<tr><td><b>Department:</b></td> <td>Support</td></tr>
|
||||
<tr><td><b>Email:</b></td> <td>Email@email.com</td></tr>
|
||||
</table>
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<!-- <div class="callout callout-success"> -->
|
||||
<table class="table table-hover">
|
||||
<!-- <tr><th></th><th></th></tr> -->
|
||||
<tr><td><b>Phone:</b></td> <td>9999999999</td></tr>
|
||||
<tr><td><b>Source:</b></td> <td>Email (IP address)</td></tr>
|
||||
<tr><td><b>Help Topic:</b></td> <td>— Unassigned —</td></tr>
|
||||
<tr><td><b>Last Message:</b></td> <td>Default SLA</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class='row'>
|
||||
<div class='col-xs-12'>
|
||||
<div class="nav-tabs-custom">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#General" data-toggle="tab" style="color:green;"><i class="fa fa-reply-all"> </i> Reply</a></li>
|
||||
<li><a href="#Reply" data-toggle="tab" style="color:orange;"><i class="fa fa-mail-forward" > </i> Forward</a></li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
|
||||
<div class="tab-pane active" id="General">
|
||||
<div class="form-group">
|
||||
<button type="button" class="btn btn-default"><i class="fa fa-check-square-o" style="color:green;"> </i> Update</button>
|
||||
<button type="button" class="btn btn-default"><i class="fa fa-hand-o-right" style="color:orange;"> </i> Assign</button>
|
||||
<button type="button" class="btn btn-default"><i class="fa fa-file-text" style="color:blue;"> </i> Internal Notes</button>
|
||||
<button type="button" class="btn btn-default"><i class="fa fa-arrows-alt" style="color:red;"> </i> Surrender</button>
|
||||
</div>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<label>From</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<input type="text" class="form-control" name="from" id="from" style="width:40%"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<label>To</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<input type="text" class="form-control" name="to" id="to" style="width:55%"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<label>Response</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<select class="form-control" style="width:55%" >
|
||||
<option>Select a canned response</option>
|
||||
<option>Original Message</option>
|
||||
<option>Last Message</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<label>Reply Content</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<textarea id="txtEditor"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="tab-pane" id="Reply" >
|
||||
<div class="form-group">
|
||||
<button type="button" class="btn btn-default"><i class="fa fa-mail-forward" style="color:green;"> </i> Send</button>
|
||||
<button type="button" class="btn btn-default"><i class="fa fa-th-large" style="color:teal;"> </i> Option</button>
|
||||
<button type="button" class="btn btn-default"><i class="fa fa-file-text" style="color:blue;"> </i> Internal Notes</button>
|
||||
</div>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<label>From</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<input type="text" class="form-control" name="from" id="from" style="width:40%" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<label>To</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<input type="text" class="form-control" name="to" id="to" style="width:55%" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<label>Subject</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<input type="text" class="form-control" name="from" id="from" style="width:100%" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<label>Response</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<select class="form-control" style="width:55%" >
|
||||
<option>Select a canned response</option>
|
||||
<option>Original Message</option>
|
||||
<option>Last Message</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<label>Reply Content</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<textarea id="editor2" name="editor2" rows="5" cols="80">
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- row -->
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<!-- The time line -->
|
||||
<ul class="timeline">
|
||||
<!-- timeline time label -->
|
||||
<li class="time-label">
|
||||
<span class="bg-red">
|
||||
10 Feb. 2014
|
||||
</span>
|
||||
<ul class="pagination pagination-sm no-margin pull-right">
|
||||
<li><a href="#"><i class="fa fa-chevron-left"></i></a></li>
|
||||
<li><a href="#">1</a></li>
|
||||
<li><a href="#">2</a></li>
|
||||
<li><a href="#">3</a></li>
|
||||
<li><a href="#"><i class="fa fa-chevron-right"></i></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- /.timeline-label -->
|
||||
<!-- timeline item -->
|
||||
<li>
|
||||
<i class="fa fa-user bg-aqua" title="Posted by Customer"></i>
|
||||
<div class="timeline-item">
|
||||
<span class="time"><i class="fa fa-clock-o"></i> 5 mins ago </span>
|
||||
<h3 class="timeline-header"><a href="#">Customer Reply</a></h3>
|
||||
<div class="timeline-body">
|
||||
Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles,
|
||||
weebly ning heekya handango imeem plugg dopplr jibjab, movity
|
||||
jajah plickers sifteo edmodo ifttt zimbra. Babblely odeo kaboodle
|
||||
quora plaxo ideeli hulu weebly balihoo...
|
||||
</div>
|
||||
<div class='timeline-footer'>
|
||||
<a class="btn btn-primary btn-xs"> <i class="fa fa-file-o" style="color:#fff;"> </i> Read more</a>
|
||||
<button type="button" class="btn btn-success btn-xs"><i class="fa fa-edit" style="color:#fff;"> </i> Edit</button>
|
||||
<a class="btn btn-danger btn-xs"><i class="fa fa-trash" style="color:#fff;"> </i> Delete</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i class="fa fa-envelope bg-blue" title="Posted by Customer"></i>
|
||||
<div class="timeline-item">
|
||||
<span class="time"><i class="fa fa-clock-o"></i> 12:05</span>
|
||||
<h3 class="timeline-header"><a href="#">Reseller Club</a></h3>
|
||||
<div class="timeline-body">
|
||||
Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles,
|
||||
weebly ning heekya handango imeem plugg dopplr jibjab, movity
|
||||
jajah plickers sifteo edmodo ifttt zimbra. Babblely odeo kaboodle
|
||||
quora plaxo ideeli hulu weebly balihoo...
|
||||
</div>
|
||||
<div class='timeline-footer'>
|
||||
<a class="btn btn-primary btn-xs"> <i class="fa fa-file-o" style="color:#fff;"> </i> Read more</a>
|
||||
<button type="button" class="btn btn-success btn-xs"><i class="fa fa-edit" style="color:#fff;"> </i> Edit</button>
|
||||
<a class="btn btn-danger btn-xs"><i class="fa fa-trash" style="color:#fff;"> </i> Delete</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<!-- END timeline item -->
|
||||
<!-- timeline item -->
|
||||
|
||||
<!-- END timeline item -->
|
||||
<!-- timeline item -->
|
||||
<li>
|
||||
<i class="fa fa-group bg-yellow" title="Posted by Support Team"></i>
|
||||
<div class="timeline-item">
|
||||
<span class="time"><i class="fa fa-clock-o"></i> 27 mins ago</span>
|
||||
<h3 class="timeline-header"><a href="#">Team Reply</a></h3>
|
||||
<div class="timeline-body">
|
||||
Take me to your leader!
|
||||
Switzerland is small and neutral!
|
||||
We are more like Germany, ambitious and misunderstood!
|
||||
</div>
|
||||
<div class='timeline-footer'>
|
||||
|
||||
<a class="btn btn-primary btn-xs"> <i class="fa fa-file-o" style="color:#fff;"> </i> Read more</a>
|
||||
<button type="button" class="btn btn-success btn-xs"><i class="fa fa-edit" style="color:#fff;"> </i> Edit</button>
|
||||
<a class="btn btn-danger btn-xs"><i class="fa fa-trash" style="color:#fff;"> </i> Delete</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<!-- END timeline item -->
|
||||
<!-- timeline time label -->
|
||||
<li class="time-label">
|
||||
<span class="bg-green">
|
||||
3 Jan. 2014
|
||||
</span>
|
||||
</li>
|
||||
<!-- /.timeline-label -->
|
||||
<!-- timeline item -->
|
||||
<li>
|
||||
<i class="fa fa-mail-reply-all bg-purple" title="Posted by System"></i>
|
||||
<div class="timeline-item">
|
||||
<span class="time"><i class="fa fa-clock-o"></i> 2 days ago</span>
|
||||
<h3 class="timeline-header"><a href="#">System Reply</a></h3>
|
||||
<div class="timeline-body">
|
||||
this is a system reply
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i class="fa fa-clock-o bg-gray"></i>
|
||||
<ul class="pagination pagination-sm no-margin pull-right">
|
||||
<li><a href="#"><i class="fa fa-chevron-left"></i></a></li>
|
||||
<li><a href="#">1</a></li>
|
||||
<li><a href="#">2</a></li>
|
||||
<li><a href="#">3</a></li>
|
||||
<li><a href="#"><i class="fa fa-chevron-right"></i></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- /.col -->
|
||||
</div><!-- /.row -->
|
||||
</div>
|
||||
</div>
|
||||
</section><!-- /.content -->
|
||||
</div><!-- /.content-wrapper -->
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> 2.0
|
||||
</div>
|
||||
<strong>Copyright © 2014-2015 <a href="http://www.ladybirdweb.com">Ladybird Web Solution</a>.</strong> All rights reserved.
|
||||
</footer>
|
||||
</div><!-- ./wrapper -->
|
||||
|
||||
<!-- jQuery 2.1.3 -->
|
||||
<!-- // <script src="../plugins/jQuery/jQuery-2.1.3.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>
|
||||
<!-- FastClick -->
|
||||
<script src='plugins/fastclick/fastclick.min.js'></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="dist/js/app.min.js" type="text/javascript"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
<script src="dist/js/demo.js" type="text/javascript"></script>
|
||||
<script src="dist/js/tabby.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../dist/js/editor.js"></script>
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="../js/froala_editor_ie8.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#txtEditor").Editor();
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user