update v 1.0.7.5
This commit is contained in:
@@ -18,55 +18,110 @@ class="active"
|
||||
@section('PageHeader')
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
<!-- check whether success or not -->
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<b>Success!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
<!-- check whether success or not -->
|
||||
<form method="POST" action="{!! route('postdiagno') !!}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h4 class="box-title">{{Lang::get('lang.email_diagnostic')}}</h4>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
@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>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b><br/>
|
||||
<li class="error-message-padding">{{Session::get('fails')}}</li>
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('errors'))
|
||||
<?php //dd($errors); ?>
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<br/>
|
||||
@if($errors->first('from'))
|
||||
<li class="error-message-padding">{!! $errors->first('from', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('to'))
|
||||
<li class="error-message-padding">{!! $errors->first('to', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('subject'))
|
||||
<li class="error-message-padding">{!! $errors->first('subject', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('message'))
|
||||
<li class="error-message-padding">{!! $errors->first('message', ':message') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
<div class="row form-group no-padding {!! $errors->has('from') ? 'has-error' : '' !!}">
|
||||
<div class="col-md-2">
|
||||
<label>{!! Lang::get('lang.from') !!} <span class="text-red">*</span> :</label>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
{!! $errors->first('fetching_encryption', '<spam class="help-block">:message</spam>') !!}
|
||||
<select name="from" class="form-control" id="from">
|
||||
<option value="">{!! Lang::get('lang.choose_an_email') !!}</option>
|
||||
<optgroup label="{!! Lang::get('lang.email') !!}">
|
||||
@foreach($emails as $email)
|
||||
<?php
|
||||
if ($email->email_address == $email->email_name) {
|
||||
$email1 = $email->email_address;
|
||||
} else {
|
||||
$email1 = $email->email_name . ' ( ' . $email->email_address . ' ) ';
|
||||
}
|
||||
?>
|
||||
<option value="{!! $email->id !!}"> {{ $email1 }} </option>
|
||||
@endforeach
|
||||
</optgroup>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row form-group no-padding {!! $errors->has('to') ? 'has-error' : '' !!}">
|
||||
<div class="col-md-2">
|
||||
<label>{!! Lang::get('lang.to') !!} <span class="text-red">*</span> :</label>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
{!! Form::text('to',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row form-group no-padding {!! $errors->has('subject') ? 'has-error' : '' !!}">
|
||||
<div class="col-md-2">
|
||||
<label>{!! Lang::get('lang.subject') !!} <span class="text-red">*</span> :</label>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
{!! Form::text('subject',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row form-group no-padding {!! $errors->has('message') ? 'has-error' : '' !!}">
|
||||
<div class="col-md-2">
|
||||
<label>{!! Lang::get('lang.message') !!} <span class="text-red">*</span> :</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<textarea name="message" id="message" class="form-control" style="height:200px;"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<div class="row">
|
||||
<div class="col-md-2"></div>
|
||||
<div class="col-md-2">
|
||||
{!! Form::submit(Lang::get('lang.send'),['class'=>'form-group btn btn-primary'])!!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Fail!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{!! Form::open(['method'=>'post' , 'action'=>'Admin\helpdesk\TemplateController@postDiagno']) !!}
|
||||
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
|
||||
<h4 class="box-title">{{Lang::get('lang.diagnostics')}}</h4> {!! Form::submit(Lang::get('lang.send'),['class'=>'form-group btn btn-primary pull-right'])!!}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<!-- To : define To Address : Text form : Required -->
|
||||
<div class="form-group {{ $errors->has('to') ? 'has-error' : '' }}">
|
||||
{!! Form::label('to',Lang::get('lang.to')) !!}
|
||||
{!! $errors->first('to', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('to',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@stop
|
||||
</form>
|
||||
@stop
|
||||
@@ -28,8 +28,6 @@ class="active"
|
||||
<!-- /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.template_set')}}</h2>
|
||||
@@ -94,9 +92,9 @@ class="active"
|
||||
<th width="100px">{{Lang::get('lang.action')}}</th>
|
||||
</tr>
|
||||
<!-- Foreach @var templates as @var template -->
|
||||
|
||||
@foreach($directories as $dir)
|
||||
<?php if ($dir === '.' or $dir === '..' or $dir === 'notifications') continue; ?>
|
||||
<?php //dd($directory); ?>
|
||||
<tr>
|
||||
<!-- Template Name with Link to Edit page along Id -->
|
||||
<td><a href="{{route('template.list',[$dir,$directory])}}"><?php $parts = explode('.',$dir); $names = $parts[0]; $name = str_replace('_', ' ', $names);$name1 = ucfirst($name); echo $name1?></a></td>
|
||||
@@ -133,16 +131,7 @@ if($dir == 'default') {
|
||||
</div> </td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<!-- Set a link to Create Page -->
|
||||
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
@stop
|
||||
</div><!-- /.box -->
|
||||
@section('FooterInclude')
|
||||
<!-- page script -->
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
@@ -158,7 +147,7 @@ $(function() {
|
||||
});
|
||||
|
||||
</script>
|
||||
</div><!-- /.box -->
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@stop
|
||||
@stop
|
||||
<!-- /content -->
|
||||
Reference in New Issue
Block a user