My first commit of codes
This commit is contained in:
@@ -0,0 +1,249 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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\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">
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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-4 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',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<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">
|
||||
<div class="form-group {{ $errors->has('role') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('role',Lang::get('lang.role')) !!}
|
||||
{!! $errors->first('role', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('role','admin',true) !!}{{Lang::get('lang.admin')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('role','agent',null) !!}{{Lang::get('lang.agent')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div 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 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>
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
<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,259 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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">
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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-4 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>
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
<div class="form-group {{ $errors->has('role') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('role',Lang::get('lang.role')) !!}
|
||||
{!! $errors->first('role', '<spam class="help-block">:message</spam>') !!}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('role','admin',true) !!}{{Lang::get('lang.admin')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('role','agent',null) !!}{{Lang::get('lang.agent')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div 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 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>
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
<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('location','location'),null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<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,120 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.agents')}}</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">
|
||||
|
||||
<!-- 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
|
||||
|
||||
|
||||
<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.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)
|
||||
<tr>
|
||||
<td><a href="{{route('agents.edit', $use->id)}}"> {{$use -> user_name }}</a></td>
|
||||
<td> {{$use -> user_name }}</a></td>
|
||||
<td>
|
||||
@if($use->account_type=='1')
|
||||
<p style="color:green">{{'Active'}}</p>
|
||||
@else
|
||||
<p style="color:red">{{'Inactive'}}</p>
|
||||
@endif
|
||||
|
||||
|
||||
<td>{{$use -> assign_group }}</td>
|
||||
<td>{{$use -> primary_dpt }}</td>
|
||||
<td>{{$use -> created_at}}</td>
|
||||
<td>{{$use -> Lastlogin_at}}</td>
|
||||
<td>
|
||||
{!! Form::open(['route'=>['agents.destroy', $use->id],'method'=>'DELETE']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-star"></i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'actions-line icon-trash',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
@@ -0,0 +1,205 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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\DepartmentController@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">
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('ticket_assignment',Lang::get('lang.ticket_assignment')) !!}<br/>
|
||||
{!! Form::checkbox('ticket_assignment',1,null,['class' => 'form-control']) !!}
|
||||
{{Lang::get('lang.restrict_ticket_assignment_to_department_members')}}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-6 form-group {{ $errors->has('outgoing_email') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('outgoing_email',Lang::get('lang.outgoing_emails')) !!}
|
||||
{!! $errors->first('outgoing_email', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('outgoing_email', [''=>'Select an Email','Outgoing Emails'=>$emails->lists('email_address','email_address')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 form-group {{ $errors->has('template_set') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('template_set',Lang::get('lang.template_set')) !!}
|
||||
{!! $errors->first('template_set', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('template_set', [''=>'Select a Template','Templates'=>$templates->lists('name','name')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class='form-group'>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-6">
|
||||
{!! Form::label('auto_ticket_response',Lang::get('lang.auto_responding_settings')) !!}<br>
|
||||
{!! Form::checkbox('auto_ticket_response',1,null,['class' => 'checkbox']) !!}
|
||||
{{Lang::get('lang.disable_for_this_department')}}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-xs-6">
|
||||
{!! Form::label('auto_message_response',Lang::get('lang.new_message')) !!}<br>
|
||||
{!! Form::checkbox('auto_message_response',1,null,['class' => 'checkbox']) !!}
|
||||
{{Lang::get('lang.disable_for_this_department')}}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-6 form-group {{ $errors->has('auto_response_email') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('auto_response_email',Lang::get('lang.auto_response_email')) !!}
|
||||
{!! $errors->first('auto_response_email', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('auto_response_email', [''=>'Select a Email','Auto-Response Email'=>$emails->lists('email_address','email_address')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-xs-6 form-group {{ $errors->has('recipient') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('recipient',Lang::get('lang.recipient')) !!}
|
||||
{!! $errors->first('recipient', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('recipient',['No One','Department Members','Department and Group Members'],2,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="{{ $errors->has('group_id') ? 'has-error' : '' }}">
|
||||
|
||||
<h4>{{Lang::get('lang.group_access')}}</h4>
|
||||
{!! $errors->first('group_id', '<spam class="help-block" style="color:red">Assign Group is Required</spam>') !!}
|
||||
|
||||
</div>
|
||||
|
||||
@while (list($key, $val) = each($groups))
|
||||
<div class="form-group">
|
||||
<input type="checkbox" name="group_id[]" value="<?php echo $val;?>" class="form-control" >
|
||||
<label><?php echo $key;?></label>
|
||||
</div>
|
||||
@endwhile
|
||||
|
||||
<div>
|
||||
|
||||
<h4>{{Lang::get('lang.department_signature')}}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="">
|
||||
|
||||
{!! Form::textarea('department_sign',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
{!!Form::close()!!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
|
||||
|
||||
|
@@ -0,0 +1,204 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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="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">
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('ticket_assignment',Lang::get('lang.ticket_assignment')) !!}<br/>
|
||||
{!! Form::checkbox('ticket_assignment',1,null,['class' => 'form-control']) !!}
|
||||
{{Lang::get('lang.restrict_ticket_assignment_to_department_members')}}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-6 form-group {{ $errors->has('outgoing_email') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('outgoing_email',Lang::get('lang.outgoing_emails')) !!}
|
||||
{!! $errors->first('outgoing_email', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('outgoing_email', [''=>'Select an Email','Outgoing Emails'=>$emails->lists('email_address','email_address')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 form-group {{ $errors->has('template_set') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('template_set',Lang::get('lang.template_set')) !!}
|
||||
{!! $errors->first('template_set', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('template_set', [''=>'Select a Template','Templates'=>$templates->lists('name','name')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class='form-group'>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-6">
|
||||
{!! Form::label('auto_ticket_response',Lang::get('lang.auto_responding_settings')) !!}<br>
|
||||
{!! Form::checkbox('auto_ticket_response',1,null,['class' => 'checkbox']) !!}
|
||||
{{Lang::get('lang.disable_for_this_department')}}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-xs-6">
|
||||
{!! Form::label('auto_message_response',Lang::get('lang.new_message')) !!}<br>
|
||||
{!! Form::checkbox('auto_message_response',1,null,['class' => 'checkbox']) !!}
|
||||
{{Lang::get('lang.disable_for_this_department')}}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-6 form-group {{ $errors->has('auto_response_email') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('auto_response_email',Lang::get('lang.auto_response_email')) !!}
|
||||
{!! $errors->first('auto_response_email', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('auto_response_email', [''=>'Select a Email','Auto-Response Email'=>$emails->lists('email_address','email_address')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-xs-6 form-group {{ $errors->has('recipient') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('recipient',Lang::get('lang.recipient')) !!}
|
||||
{!! $errors->first('recipient', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('recipient',['No One','Department Members','Department and Group Members'],2,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="{{ $errors->has('group_id') ? 'has-error' : '' }}">
|
||||
|
||||
<h4>{{Lang::get('lang.group_access')}}</h4>
|
||||
{!! $errors->first('group_id', '<spam class="help-block" style="color:red">Assign Group is Required</spam>') !!}
|
||||
|
||||
</div>
|
||||
|
||||
@while (list($key, $val) = each($groups))
|
||||
<div class="form-group">
|
||||
<input type="checkbox" name="group_id[]" value="<?php echo $val;?>" <?php if (in_array($val, $assign)) {
|
||||
echo ('checked');
|
||||
}
|
||||
?> ><?php echo $key;?><br/>
|
||||
</div>
|
||||
@endwhile
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
<h4>{{Lang::get('lang.department_signature')}}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="">
|
||||
|
||||
{!! Form::textarea('department_sign',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
{!!Form::close()!!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
@@ -0,0 +1,114 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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">{{Lang::get('lang.department')}}</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 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.user')}}</th>
|
||||
<th>{{Lang::get('lang.email_address')}}</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')
|
||||
<p style="color:green">{{'Public'}}</p>
|
||||
@else
|
||||
<p style="color:red">{{'Private'}}</p>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
<td></td>
|
||||
<td>{{$department -> outgoing_email}}</td>
|
||||
<td>{{$department -> manager}}</td>
|
||||
<td>
|
||||
{!! Form::open(['route'=>['departments.destroy', $department->id],'method'=>'DELETE']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-star"></i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'actions-line icon-trash',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
@@ -0,0 +1,206 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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\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">
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
{!! Form::label('can_trasfer_ticket',Lang::get('lang.can_transfer_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_trasfer_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<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 class="row">
|
||||
{!! Form::label('can_manage_canned',Lang::get('lang.can_manage_premade')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_manage_canned',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
{!! Form::label('can_manage_faq',Lang::get('lang.can_manage_FAQ')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_manage_faq',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
{!! Form::label('can_view_agent_stats',Lang::get('lang.can_view_agent_stats')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_view_agent_stats',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
{!! Form::label('department_access',Lang::get('lang.department_access')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('department_access',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('admin_notes',Lang::get('lang.admin_notes')) !!}
|
||||
{!! Form::textarea('admin_notes',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{!!Form::close()!!}
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
@@ -0,0 +1,208 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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">
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
{!! Form::label('can_trasfer_ticket',Lang::get('lang.can_transfer_ticket')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_trasfer_ticket',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<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 class="row">
|
||||
{!! Form::label('can_manage_canned',Lang::get('lang.can_manage_premade')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_manage_canned',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
{!! Form::label('can_manage_faq',Lang::get('lang.can_manage_FAQ')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_manage_faq',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
{!! Form::label('can_view_agent_stats',Lang::get('lang.can_view_agent_stats')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('can_view_agent_stats',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
{!! Form::label('department_access',Lang::get('lang.department_access')) !!}
|
||||
<div class="col-xs-1">
|
||||
{!! Form::checkbox('department_access',1,null,['class' => 'checkbox']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('admin_notes',Lang::get('lang.admin_notes')) !!}
|
||||
{!! Form::textarea('admin_notes',null,['class' => 'form-control','size' => '30x5']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{!!Form::close()!!}
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
@@ -0,0 +1,116 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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">{{Lang::get('lang.group')}}</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 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.group_members')}}</th>
|
||||
|
||||
<th>{{Lang::get('lang.created')}}</th>
|
||||
<th>{{Lang::get('lang.last_updated')}}</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')
|
||||
<p style="color:green">{{'Active'}}</p>
|
||||
@else
|
||||
<p style="color:red">{{'Inactive'}}</p>
|
||||
@endif
|
||||
|
||||
|
||||
<td>{{count($group_assign_department->where('group_id',$group->id))}}</td>
|
||||
|
||||
<td>{{$group -> created_at}}</td>
|
||||
<td>{{$group -> updated_at}}</td>
|
||||
<td>
|
||||
{!! Form::open(['route'=>['groups.destroy', $group->id],'method'=>'DELETE']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-star"></i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'actions-line icon-trash',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
@@ -0,0 +1,113 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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\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">
|
||||
|
||||
<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>
|
||||
|
||||
<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>') !!}
|
||||
{!!Form::select('team_lead',[''=>'Select a Team Lead','Team Members'=>$user->where('role','agent')->lists('user_name','user_name')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
<div class="row form-group">
|
||||
|
||||
<div class="col-xs-2">
|
||||
{!! Form::label('assign_alert',Lang::get('lang.assignment_alert')) !!}
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
{!! Form::checkbox('assign_alert',1,null,null,['class' => 'form-control']) !!}
|
||||
{{Lang::get('lang.disable_for_this_team')}}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<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 -->
|
120
resources/views/themes/default1/admin/agent/teams/edit.blade.php
Normal file
120
resources/views/themes/default1/admin/agent/teams/edit.blade.php
Normal file
@@ -0,0 +1,120 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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">
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
<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>') !!}
|
||||
|
||||
<select name="team_lead" class="form-control">
|
||||
<option value="">Select Team leader</option>
|
||||
<?php foreach ($agent_id as $aaaaa) {
|
||||
$user = $user->where('id', $aaaaa)->first();?>
|
||||
<option value="{{$user->user_name}}">{{$user->user_name}}</option>
|
||||
<?php }?>
|
||||
</select>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
<div class="row form-group">
|
||||
|
||||
<div class="col-xs-2">
|
||||
{!! Form::label('assign_alert',Lang::get('lang.assignment_alert')) !!}
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
{!! Form::checkbox('assign_alert',1,null,null,['class' => 'form-control']) !!}
|
||||
{{Lang::get('lang.disable_for_this_team')}}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<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,114 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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.created')}}</th>
|
||||
<th>{{Lang::get('lang.last_updated')}}</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')
|
||||
<p style="color:green">{{'Active'}}</p>
|
||||
@else
|
||||
<p style="color:red">{{'Inactive'}}</p>
|
||||
@endif
|
||||
|
||||
|
||||
<td>{{count($assign_team_agent->where('team_id',$team->id))}}</td>
|
||||
<td>{{$team->team_lead}}</td>
|
||||
<td>{{$team -> created_at}}</td>
|
||||
<td>{{$team -> updated_at}}</td>
|
||||
<td>
|
||||
{!! Form::open(['route'=>['teams.destroy', $team->id],'method'=>'DELETE']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-star"></i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'actions-line icon-trash',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
28
resources/views/themes/default1/admin/dashboard.blade.php
Normal file
28
resources/views/themes/default1/admin/dashboard.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
@extends('themes.default1.layouts.blank')
|
||||
@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,88 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
|
||||
@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\BanlistController@store','method' => 'post']) !!}
|
||||
|
||||
<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','active',true) !!}{{Lang::get('lang.active')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('ban_status','disabled') !!}{{Lang::get('lang.disabled')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- email Address : Text form : Required -->
|
||||
|
||||
<div class="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>
|
||||
|
||||
<!-- intrnal Notes : Textarea : -->
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('internal_notes',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_notes',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.layouts.blank')
|
||||
|
||||
@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_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>
|
||||
|
||||
<!-- email Address : Text form : Required -->
|
||||
|
||||
<div class="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>
|
||||
|
||||
<!-- intrnal Notes : Textarea : -->
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('internal_notes',Lang::get('lang.internal_notes')) !!}
|
||||
{!! Form::textarea('internal_notes',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
@@ -0,0 +1,126 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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.status')}}</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 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_address !!}</a></td>
|
||||
<!-- Ban Status : if status==1 active -->
|
||||
<td>
|
||||
@if($ban->ban_status=='active')
|
||||
<p style="color:green">Active</p>
|
||||
@else
|
||||
<p style="color:red">Disable</p>
|
||||
@endif
|
||||
</td>
|
||||
<!-- Date Added -->
|
||||
<td>{!! $ban->created_at !!}</td>
|
||||
<!-- Last Updated -->
|
||||
<td> {!! $ban->updated_at !!} </td>
|
||||
<!-- Deleting Fields -->
|
||||
<td>
|
||||
{!! Form::open(['route'=>['banlist.destroy', $ban->id],'method'=>'DELETE']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-star"></i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'actions-line icon-trash',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
|
||||
</div>
|
||||
{!! 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,278 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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\EmailsController@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">
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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','name')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<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('name','name')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-6 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>
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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>') !!}
|
||||
{!!Form::select('mailbox_protocol', [''=>'Select a Mailbox Protocol','Mailbox Protocols'=>$mailbox_protocols->lists('name','name')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div> -->
|
||||
|
||||
<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">
|
||||
|
||||
<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">
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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">
|
||||
|
||||
<div class="col-xs-2">
|
||||
|
||||
{!! Form::label('',Lang::get('lang.header_spoofing')) !!}
|
||||
{!! Form::checkbox('header_spoofing',1,null,['class' => 'checkbox']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<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,278 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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="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">
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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','name')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<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('name','name')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-6 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>
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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>') !!}
|
||||
{!!Form::select('mailbox_protocol', [''=>'Select a Mailbox Protocol','Mailbox Protocols'=>$mailbox_protocols->lists('name','name')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div> -->
|
||||
|
||||
<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">
|
||||
|
||||
<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">
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
|
||||
<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">
|
||||
|
||||
<div class="col-xs-2">
|
||||
|
||||
{!! Form::label('',Lang::get('lang.header_spoofing')) !!}
|
||||
{!! Form::checkbox('header_spoofing',1,null,['class' => 'checkbox']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<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,104 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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">{{Lang::get('lang.email')}}</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 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>{{$email -> priority }}</td>
|
||||
<td>{{$email -> department }}</td>
|
||||
<td>{{$email -> created_at}}</td>
|
||||
<td>{{$email -> updated_at}}</td>
|
||||
<td>
|
||||
{!! Form::open(['route'=>['emails.destroy', $email->id],'method'=>'DELETE']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-star"></i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'actions-line icon-trash',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
@@ -0,0 +1 @@
|
||||
Your Email connection Checking Success !!
|
@@ -0,0 +1,113 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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\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.layouts.blank')
|
||||
|
||||
@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,95 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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')
|
||||
|
||||
|
||||
{!! Form::open(['method'=>'post' , 'action'=>'Admin\TemplateController@postDiagno']) !!}
|
||||
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="content-header">
|
||||
|
||||
<h4>{{Lang::get('lang.diagnostics')}} {!! Form::submit(Lang::get('lang.send'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<!-- Form for define From Address : Drop down : required -->
|
||||
|
||||
<div class="form-group {{ $errors->has('from') ? 'has-error' : '' }}">
|
||||
{!! Form::label('from',Lang::get('lang.from')) !!}
|
||||
{!! $errors->first('from', '<spam class="help-block">:message</spam>') !!}
|
||||
{!!Form::select('from', [''=>'Select a Email','Emails'=>$emails->lists('email_address','email_address')],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- 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>
|
||||
|
||||
<!-- Subject : define the Subject of the Mail : Text form : Required -->
|
||||
|
||||
<div class="form-group {{ $errors->has('subject') ? 'has-error' : '' }}">
|
||||
{!! Form::label('subject',Lang::get('lang.subject')) !!}
|
||||
{!! $errors->first('subject', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('subject',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Email message to Send : Textarea : -->
|
||||
|
||||
<div class="form-group {{ $errors->has('message') ? 'has-error' : '' }}">
|
||||
{!! Form::label('message',Lang::get('lang.message')) !!}
|
||||
{!! $errors->first('message', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::textarea('message',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
@@ -0,0 +1,120 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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>{!! $template->created_at !!}</td>
|
||||
<!-- Last Updated -->
|
||||
<td> {!! $template->updated_at !!} </td>
|
||||
<!-- Deleting Fields -->
|
||||
<td>
|
||||
{!! Form::open(['route'=>['template.destroy', $template->id],'method'=>'DELETE']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-star"></i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'actions-line icon-trash',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
|
||||
<!-- Set a link to Create Page -->
|
||||
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
38
resources/views/themes/default1/admin/login.blade.php
Normal file
38
resources/views/themes/default1/admin/login.blade.php
Normal file
@@ -0,0 +1,38 @@
|
||||
@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">
|
||||
<input type="text" class="form-control" placeholder="Email"/>
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
</div>
|
||||
<div class="form-group has-feedback">
|
||||
<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.layouts.blank')
|
||||
|
||||
@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\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 -->
|
112
resources/views/themes/default1/admin/manage/form/edit.blade.php
Normal file
112
resources/views/themes/default1/admin/manage/form/edit.blade.php
Normal file
@@ -0,0 +1,112 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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,120 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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')
|
||||
<div class="row">
|
||||
<div class="col-xs-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.forms')}}</h2><a href="{{route('form.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_form')}}</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.Custom_form')}}</th>
|
||||
<th width="100px">{{Lang::get('lang.last_updated')}}</th>
|
||||
<th width="100px">Action</th>
|
||||
</tr>
|
||||
<!-- Foreach @var$forms as @var form -->
|
||||
@foreach($forms as $form)
|
||||
<tr>
|
||||
|
||||
<!-- form Name with Link to Edit page along Id -->
|
||||
<td><a href="{{route('form.edit',$form->id)}}">{!! $form->title !!}</a></td>
|
||||
|
||||
<!-- Last Updated -->
|
||||
<td> {!! $form->updated_at !!} </td>
|
||||
<!-- Deleting Fields -->
|
||||
<td>
|
||||
{!! Form::open(['route'=>['form.destroy', $form->id],'method'=>'DELETE']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-star"></i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'actions-line icon-trash',
|
||||
'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>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
@@ -0,0 +1,207 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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\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('name','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','name')],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('name','name')],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 a 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-6">
|
||||
<div class="form-group {{ $errors->has('auto_response') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('auto_response',Lang::get('lang.auto_response')) !!}
|
||||
{!! $errors->first('auto_response', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::checkbox('auto_response',1,true) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Ticket Number Format: radio: System Default | Custom -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('ticket_num_format') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('ticket_num_format',Lang::get('lang.ticket_number_format')) !!}
|
||||
{!! $errors->first('ticket_num_format', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::radio('ticket_num_format','1',true) !!}System Default
|
||||
{!! Form::radio('ticket_num_format','0') !!}Custom
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 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,207 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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="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.edit')}}</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,['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','topic')],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('name','name')],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','name')],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('name','name')],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')],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-6">
|
||||
<div class="form-group {{ $errors->has('auto_response') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('auto_response',Lang::get('lang.auto_response')) !!}
|
||||
{!! $errors->first('auto_response', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::checkbox('auto_response',1,true) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Ticket Number Format: radio: System Default | Custom -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('ticket_num_format') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('ticket_num_format',Lang::get('lang.ticket_number_format')) !!}
|
||||
{!! $errors->first('ticket_num_format', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::radio('ticket_num_format','1',true) !!}System Default
|
||||
{!! Form::radio('ticket_num_format','0') !!}Custom
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 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,149 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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="row">
|
||||
<div class="col-xs-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.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')
|
||||
<p style="color:green">Active</p>
|
||||
@else
|
||||
<p style="color:red">Disable</p>
|
||||
@endif
|
||||
</td>
|
||||
|
||||
<!-- Type -->
|
||||
|
||||
<td>
|
||||
@if($topic->type=='1')
|
||||
<p style="color:green">Public</p>
|
||||
@else
|
||||
<p style="color:red">Private</p>
|
||||
@endif
|
||||
</td>
|
||||
<!-- Priority -->
|
||||
<td>{!! $topic->priority !!}</td>
|
||||
<!-- Department -->
|
||||
<td>{!! $topic->department !!}</td>
|
||||
<!-- Last Updated -->
|
||||
<td> {!! $topic->updated_at !!} </td>
|
||||
<!-- Deleting Fields -->
|
||||
<td>
|
||||
{!! Form::open(['route'=>['helptopic.destroy', $topic->id],'method'=>'DELETE']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-star"></i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'actions-line icon-trash',
|
||||
'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,129 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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\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>
|
||||
|
||||
|
||||
<!-- Transient: checkbox : SLA can be overridden on ticket transfer or help topic change -->
|
||||
|
||||
<div class="form-group {{ $errors->has('transient') ? 'has-error' : '' }}">
|
||||
{!! Form::checkbox('transient',1) !!}
|
||||
{!! Form::label('transient',Lang::get('lang.transient')) !!}
|
||||
{!! $errors->first('transient', '<spam class="help-block">:message</spam>') !!}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Ticket Overdue Alerts: Disable overdue alerts notices. (Override global setting) -->
|
||||
|
||||
<div class="form-group {{ $errors->has('ticket_overdue') ? 'has-error' : '' }}">
|
||||
{!! Form::checkbox('ticket_overdue',1) !!}
|
||||
{!! Form::label('ticket_overdue',Lang::get('lang.ticket_overdue_alert')) !!}
|
||||
{!! $errors->first('ticket_overdue', '<spam class="help-block">:message</spam>') !!}
|
||||
|
||||
</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 -->
|
129
resources/views/themes/default1/admin/manage/sla/edit.blade.php
Normal file
129
resources/views/themes/default1/admin/manage/sla/edit.blade.php
Normal file
@@ -0,0 +1,129 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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>
|
||||
|
||||
|
||||
<!-- Transient: checkbox : SLA can be overridden on ticket transfer or help topic change -->
|
||||
|
||||
<div class="form-group {{ $errors->has('transient') ? 'has-error' : '' }}">
|
||||
{!! Form::checkbox('transient') !!}
|
||||
{!! Form::label('transient',Lang::get('lang.transient')) !!}
|
||||
{!! $errors->first('transient', '<spam class="help-block">:message</spam>') !!}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Ticket Overdue Alerts: Disable overdue alerts notices. (Override global setting) -->
|
||||
|
||||
<div class="form-group {{ $errors->has('ticket_overdue') ? 'has-error' : '' }}">
|
||||
{!! Form::checkbox('ticket_overdue') !!}
|
||||
{!! Form::label('ticket_overdue',Lang::get('lang.ticket_overdue_alert')) !!}
|
||||
{!! $errors->first('ticket_overdue', '<spam class="help-block">:message</spam>') !!}
|
||||
|
||||
</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 -->
|
125
resources/views/themes/default1/admin/manage/sla/index.blade.php
Normal file
125
resources/views/themes/default1/admin/manage/sla/index.blade.php
Normal file
@@ -0,0 +1,125 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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')
|
||||
<p style="color:green">Active</p>
|
||||
@else
|
||||
<p style="color:red">Disable</p>
|
||||
@endif
|
||||
</td>
|
||||
<!-- To show the sla's Time Period -->
|
||||
<td>{!! $sla->grace_period !!}</td>
|
||||
<!-- Created Date -->
|
||||
<td>{!! $sla->created_at !!}</td>
|
||||
<!-- Last Updated -->
|
||||
<td> {!! $sla->updated_at !!} </td>
|
||||
<!-- Deleting Fields -->
|
||||
<td>
|
||||
{!! Form::open(['route'=>['sla.destroy', $sla->id],'method'=>'DELETE']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
<!-- To pop up a confirm Message -->
|
||||
{!! Form::button('<i class="fa fa-star"></i> Delete',
|
||||
['type' => 'submit',
|
||||
'class'=> 'actions-line icon-trash',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
!!}
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
|
||||
<!-- Set a link to Create Page -->
|
||||
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
185
resources/views/themes/default1/admin/profile.blade.php
Normal file
185
resources/views/themes/default1/admin/profile.blade.php
Normal file
@@ -0,0 +1,185 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
@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
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<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">
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
<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
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<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
|
8
resources/views/themes/default1/admin/setting.php
Normal file
8
resources/views/themes/default1/admin/setting.php
Normal file
@@ -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.
|
||||
*/
|
||||
|
203
resources/views/themes/default1/admin/settings/access.blade.php
Normal file
203
resources/views/themes/default1/admin/settings/access.blade.php
Normal file
@@ -0,0 +1,203 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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 -->
|
407
resources/views/themes/default1/admin/settings/alert.blade.php
Normal file
407
resources/views/themes/default1/admin/settings/alert.blade.php
Normal file
@@ -0,0 +1,407 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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="content-header">
|
||||
|
||||
<h4>{{Lang::get('lang.alert_notices')}} {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- check whether success or not -->
|
||||
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<b>Success!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<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 -->
|
||||
|
||||
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<!-- Status: Enable Disable -->
|
||||
{!! Form::checkbox('ticket_status',1) !!}
|
||||
{!! Form::label('ticket_status',Lang::get('lang.status')) !!}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<!-- Admin Email (admin@jamboreebliss.com) -->
|
||||
{!! Form::checkbox('ticket_admin_email',1) !!}
|
||||
{!! Form::label('ticket_admin_email',Lang::get('lang.admin_email')) !!}
|
||||
</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 -->
|
||||
|
||||
<div class="box-body">
|
||||
<!-- Status: Enable Disable -->
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('message_status',1) !!}
|
||||
{!! Form::label('message_status',Lang::get('lang.status')) !!}
|
||||
</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><!-- /.box-header -->
|
||||
<!-- form start -->
|
||||
|
||||
<div class="box-body">
|
||||
<!-- Status: Enable Disable -->
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('transfer_status',1) !!}
|
||||
{!! Form::label('transfer_status',Lang::get('lang.status')) !!}
|
||||
|
||||
|
||||
</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 -->
|
||||
|
||||
<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 -->
|
||||
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('overdue_status',1) !!}
|
||||
{!! Form::label('overdue_status',Lang::get('lang.status')) !!}
|
||||
</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.new_internal_note_alert')}}</h3>
|
||||
<div class="pull-right">
|
||||
|
||||
</div>
|
||||
</div><!-- /.box-header -->
|
||||
<!-- form start -->
|
||||
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<!-- Status: Enable Disable -->
|
||||
|
||||
|
||||
{!! Form::checkbox('internal_status',1) !!}
|
||||
{!! Form::label('internal_status',Lang::get('lang.status')) !!}
|
||||
|
||||
|
||||
</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 -->
|
||||
|
||||
<div class="box-body">
|
||||
<!-- Status: Enable Disable -->
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('assignment_status',1) !!}
|
||||
{!! Form::label('assignment_status',Lang::get('lang.status')) !!}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Assigned Agent / Team -->
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('assignment_assigned_agent',1) !!}
|
||||
{!! Form::label('assignment_assigned_agent',Lang::get('lang.assigned_agent_team')) !!}
|
||||
|
||||
|
||||
</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) -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
159
resources/views/themes/default1/admin/settings/company.blade.php
Normal file
159
resources/views/themes/default1/admin/settings/company.blade.php
Normal file
@@ -0,0 +1,159 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="content-header">
|
||||
|
||||
<div>
|
||||
<h4>{{Lang::get('lang.company')}}{!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
|
||||
</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
|
||||
|
||||
<!-- Name text form Required -->
|
||||
<div class="box-body table-responsive"style="overflow:hidden;">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<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">
|
||||
<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">
|
||||
<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">
|
||||
<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">
|
||||
<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">
|
||||
<div class="form-group">
|
||||
|
||||
{!! Form::label('offline_page',Lang::get('lang.offline')) !!}
|
||||
{!!Form::select('offline_page', ['offline page'],null,['class' => 'form-control select']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<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-4">
|
||||
<div class="">
|
||||
|
||||
{!! Form::label('logo',Lang::get('lang.logo')) !!}
|
||||
{!! Form::file('logo') !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div></div>
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
189
resources/views/themes/default1/admin/settings/email.blade.php
Normal file
189
resources/views/themes/default1/admin/settings/email.blade.php
Normal file
@@ -0,0 +1,189 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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,118 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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')}}
|
||||
{!! Form::checkbox('partcipants',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 -->
|
256
resources/views/themes/default1/admin/settings/system.blade.php
Normal file
256
resources/views/themes/default1/admin/settings/system.blade.php
Normal file
@@ -0,0 +1,256 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
|
||||
<div class="content-header">
|
||||
|
||||
<h4>{{Lang::get('lang.system')}} {!! Form::submit('Save',['onclick'=>'sendForm()','class'=>'btn btn-primary pull-right'])!!}</h4>
|
||||
<!-- <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 table-responsive"style="overflow:hidden;">
|
||||
|
||||
<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 class="row">
|
||||
<!-- 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','name')],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('location','location')],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-3">
|
||||
<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 type="text/javascript">
|
||||
// // Replace the <textarea id="editor1"> with a CKEditor
|
||||
// // instance, using default configuration.
|
||||
// CKEDITOR.replace( 'content' );
|
||||
// </script>
|
||||
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
CKEDITOR.replace( 'content',
|
||||
{
|
||||
filebrowserUploadUrl : '/uploader/upload.php'
|
||||
});
|
||||
|
||||
CKEDITOR.replace( 'content', { toolbar : 'MyToolbar' } );
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
|
241
resources/views/themes/default1/admin/settings/ticket.blade.php
Normal file
241
resources/views/themes/default1/admin/settings/ticket.blade.php
Normal file
@@ -0,0 +1,241 @@
|
||||
@extends('themes.default1.layouts.blank')
|
||||
|
||||
@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>') !!}
|
||||
{!!Form::select('status', ['open'],null,['class' => 'form-control']) !!}
|
||||
</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('name','name')],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','grace_period'),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','topic'),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 -->
|
437
resources/views/themes/default1/admin/tickets/ticket.blade.php
Normal file
437
resources/views/themes/default1/admin/tickets/ticket.blade.php
Normal file
@@ -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>
|
621
resources/views/themes/default1/admin/tickets/timeline.blade.php
Normal file
621
resources/views/themes/default1/admin/tickets/timeline.blade.php
Normal file
@@ -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