update for version 1.0.2

This commit is contained in:
sujitprasad
2015-11-30 16:38:59 +05:30
parent d0a69a8df1
commit 7e17edab1e
425 changed files with 14241 additions and 3410 deletions

View File

@@ -0,0 +1,74 @@
@extends('themes.default1.agent.layout.agent')
@section('comment')
class="active"
@stop
@section('content')
<body>
<div class="box box-primary">
<div class="box-header">
<h2 class="box-title">{{Lang::get('lang.comments')}}</h2></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">&times;</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">&times;</button>
{{Session::get('fails')}}
</div>
@endif
<section class="content">
<div class="row">
<div class="col-xs-12">
<div id="example1_wrapper" class="dataTables_wrapper form-inline dt-bootstrap table table-hover" style="overflow:hidden;">
<div class="row">
<div class="col-sm-12">
<table id="example2" class="table table-bordered table-striped dataTable" >
<thead>
<tr>
<th>{{Lang::get('lang.name')}}</th>
<th>{{Lang::get('lang.email')}}</th>
<th>{{Lang::get('lang.website')}}</th>
<th>{{Lang::get('lang.comment')}}</th>
<th>{{Lang::get('lang.status')}}</th>
<th>{{Lang::get('lang.created')}}</th>
<th>{{Lang::get('lang.action')}}</th>
</tr>
</thead>
<tbody>
{!! Datatable::table()
->addColumn('id','name') // these are the column headings to be shown
->setUrl(route('api.category')) // this is the route where data will be retrieved
->render() !!}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</body>
<script>
$(function () {
$("#example1").DataTable();
$('#example2').DataTable({
"paging": true,
"lengthChange": false,
"searching": false,
"ordering": true,
"info": true,
"autoWidth": false
});
});
</script>
@stop

View File

@@ -0,0 +1,75 @@
@extends('themes.default1.admin.layout.kb')
@section('content')
<!-- open a form -->
{!! Form::model($faq,['url' => 'post-create-faq/'.$faq->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>Faqs {!! Form::submit('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">&times;</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">&times;</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-10 form-group {{ $errors->has('faq') ? 'has-error' : '' }}">
{!! Form::label('faq','Description') !!}
{!! $errors->first('faq', '<spam class="help-block">:message</spam>') !!}
{!! Form::textarea('faq',null,['class' => 'form-control','size' => '30x5','id'=>'faq']) !!}
</div>
<script language="JavaScript" type="text/javascript">
CKEDITOR.replace( 'faq',
{
filebrowserUploadUrl : '/uploader/upload.php',
});
CKEDITOR.replace( 'faq', { toolbar : 'MyToolbar' } );
</script>
</div>
</div>
</div></div>
@stop
</div><!-- /.box -->
@section('FooterInclude')
@stop
@stop
<!-- /content -->
@stop

View File

@@ -0,0 +1,51 @@
@extends('themes.default1.admin.layout.kb')
@section('widget')
active
@stop
@section('footer1')
class="active"
@stop
<script type="text/javascript" src="{{asset('dist/js/SetnicEdit.js')}}"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
</script>
@section('content')
{!! Form::model($footer,['url' => 'post-create-footer/'.$footer->id, 'method' => 'PATCH','files'=>true]) !!}
<!-- <div class="form-group {{ $errors->has('company_name') ? 'has-error' : '' }}"> -->
<!-- table -->
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">{{Lang::get('lang.footer1')}}</h3> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
</div>
<div class="box-body">
<div class="row">
<div class="col-md-10">
<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 class="form-group {{ $errors->has('footer') ? 'has-error' : '' }}">
{!! Form::label('footer',Lang::get('lang.footer')) !!}
{!! $errors->first('footer', '<spam class="help-block">:message</spam>') !!}
{!! Form::textarea('footer',null,['class' => 'form-control','size' => '128x10','id'=>'footer','placeholder'=>'Enter the description']) !!}
</div>
</div>
</div>
</div>
@stop
@section('FooterInclude')
@stop
<!-- /content -->

View File

@@ -0,0 +1,59 @@
@extends('themes.default1.admin.layout.kb')
@section('widget')
active
@stop
@section('footer2')
class="active"
@stop
<script type="text/javascript" src="{{asset('dist/js/SetnicEdit.js')}}"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
</script>
@section('content')
{!! Form::model($footer2,['url' => 'post-create-footer2/'.$footer2->id, 'method' => 'PATCH','files'=>true]) !!}
<!-- <div class="form-group {{ $errors->has('company_name') ? 'has-error' : '' }}"> -->
<!-- table -->
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">{{Lang::get('lang.footer2')}}</h3> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
</div>
<div class="box-body">
<div class="row">
<div class="col-md-10">
<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 class="form-group {{ $errors->has('footer') ? 'has-error' : '' }}">
{!! Form::label('footer',Lang::get('lang.footer')) !!}
{!! $errors->first('footer', '<spam class="help-block">:message</spam>') !!}
{!! Form::textarea('footer',null,['class' => 'form-control','size' => '128x10','id'=>'footer','placeholder'=>'Enter the description']) !!}
</div>
</div>
</div>
</div>
@stop
@section('FooterInclude')
@stop
<!-- /content -->

View File

@@ -0,0 +1,55 @@
@extends('themes.default1.admin.layout.kb')
@section('widget')
active
@stop
@section('footer3')
class="active"
@stop
<script type="text/javascript" src="{{asset('dist/js/SetnicEdit.js')}}"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
</script>
@section('content')
{!! Form::model($footer3,['url' => 'post-create-footer3/'.$footer3->id, 'method' => 'PATCH','files'=>true]) !!}
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">{{Lang::get('lang.footer3')}}</h3> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
</div>
<div class="box-body">
<div class="row">
<div class="col-md-10">
<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 class="form-group {{ $errors->has('footer') ? 'has-error' : '' }}">
{!! Form::label('footer',Lang::get('lang.footer')) !!}
{!! $errors->first('footer', '<spam class="help-block">:message</spam>') !!}
{!! Form::textarea('footer',null,['class' => 'form-control','size' => '128x10','id'=>'footer','placeholder'=>'Enter the description']) !!}
</div>
</div>
</div>
</div>
@stop
@section('FooterInclude')
@stop
<!-- /content -->

View File

@@ -0,0 +1,56 @@
@extends('themes.default1.admin.layout.kb')
@section('widget')
active
@stop
@section('footer4')
class="active"
@stop
<script type="text/javascript" src="{{asset('dist/js/SetnicEdit.js')}}"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
</script>
@section('content')
{!! Form::model($footer4,['url' => 'post-create-footer4/'.$footer4->id, 'method' => 'PATCH','files'=>true]) !!}
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">{{Lang::get('lang.footer4')}}</h3> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
</div>
<div class="box-body">
<div class="row">
<div class="col-md-10">
<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 class="form-group {{ $errors->has('footer') ? 'has-error' : '' }}">
{!! Form::label('footer',Lang::get('lang.footer')) !!}
{!! $errors->first('footer', '<spam class="help-block">:message</spam>') !!}
{!! Form::textarea('footer',null,['class' => 'form-control','size' => '128x10','id'=>'footer','placeholder'=>'Enter the description']) !!}
</div>
</div>
</div>
</div>
@stop
@section('FooterInclude')
@stop
<!-- /content -->

View File

@@ -0,0 +1,197 @@
@extends('themes.default1.admin.layout.kb')
@section('content')
<div class="row">
<div class="col-md-6">
{!! Form::model($user,['url'=>'post-profile' , 'method' => 'PATCH','files'=>true]) !!}
<div class="box box-primary">
<div class="content-header">
<h4>Profile {!! Form::submit('Save',['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
</div>
<div class="box-body">
@if(Session::has('success1'))
<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">&times;</button>
{{Session::get('success1')}}
</div>
@endif
<!-- fail message -->
@if(Session::has('fails1'))
<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">&times;</button>
{{Session::get('fails1')}}
</div>
@endif
<div class="row">
<div class="form-group col-md-6 {{ $errors->has('firstname') ? 'has-error' : '' }}">
{!! Form::label('firstname',Lang::get('lang.firstname')) !!}
{!! $errors->first('firstname', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('firstname',null,['class' => 'form-control']) !!}
</div>
<div class="form-group col-md-6 {{ $errors->has('lastname') ? 'has-error' : '' }}">
{!! Form::label('lastname',Lang::get('lang.lastname')) !!}
{!! $errors->first('lastname', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('lastname',null,['class' => 'form-control']) !!}
</div>
</div>
<div class="row">
<div class="form-group col-md-6">
{!! Form::label('gender',Lang::get('lang.gender')) !!}
<div class="row">
<div class="col-xs-6">
{!! Form::radio('gender','1',true) !!}{{Lang::get('lang.male')}}
</div>
<div class="col-xs-6">
{!! Form::radio('gender','0') !!}{{Lang::get('lang.female')}}
</div>
</div>
</div>
<div class="col-md-6 form-group">
{!! Form::label('timezone',Lang::get('lang.timezone')) !!}
{!!Form::select('timezone',$time->lists('location','name') ,null,['class' => 'form-control select']) !!}
</div>
</div>
<div class="form-group">
{!! Form::label('email',Lang::get('lang.email')) !!}
<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')) !!}
{!! $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' : '' }}">
<div class="btn btn-default btn-file">
{!! Form::label('profile_pic',Lang::get('lang.profilepicture')) !!}
{!! $errors->first('profile_pic', '<spam class="help-block">:message</spam>') !!}
{!! Form::file('profile_pic') !!}
</div>
</div>
{!! Form::token() !!}
{!! Form::close() !!}
</div>
</div>
</div>
<div class="col-md-6">
{!! Form::model($user,['url'=>'post-profile-password/'.$user->id, 'method' => 'PATCH']) !!}
<div class="box box-primary">
<div class="content-header">
<h4>Change Password {!! Form::submit('Save',['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
</div>
<div class="box-body">
@if(Session::has('success2'))
<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">&times;</button>
{{Session::get('success2')}}
</div>
@endif
<!-- fail message -->
@if(Session::has('fails2'))
<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">&times;</button>
{{Session::get('fails2')}}
</div>
@endif
<div class="form-group has-feedback {{ $errors->has('old_password') ? 'has-error' : '' }}">
{!! Form::label('old_password',Lang::get('lang.oldpassword')) !!}
{!! 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.newpassword')) !!}
{!! 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.confirmpassword')) !!}
{!! 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

View File

@@ -0,0 +1,131 @@
@extends('themes.default1.admin.layout.kb')
@section('settings')
class="active"
@stop
<script type="text/javascript" src="{{asset('dist/js/SetnicEdit.js')}}"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
</script>
@section('content')
<!-- open a form -->
{!! Form::model($settings,['url' => 'postsettings/'.$settings->id, 'method' => 'PATCH','files'=>true]) !!}
<div class="box-header">
<h3 class="box-title">{{Lang::get('lang.settings')}}</h3> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
</div>
<div class="box-body">
<!-- Custom Tabs -->
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab_1" data-toggle="tab">{{Lang::get('lang.system')}}</a></li>
<li><a href="#tab_2" data-toggle="tab">{{Lang::get('lang.smtp')}}</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab_1">
{{-- For Form --}}
<!-- 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">&times;</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">&times;</button>
{{Session::get('fails')}}
</div>
@endif
<!-- Name text form Required -->
<div class="row">
<div class="col-md-3 form-group {{ $errors->has('company_name') ? 'has-error' : '' }}">
{!! Form::label('company_name',Lang::get('lang.companyname')) !!}
{!! $errors->first('company_name', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('company_name',$settings->company_name,['class' => 'form-control']) !!}
</div>
<div class="col-md-3 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',$settings->website,['class' => 'form-control']) !!}
</div>
<div class="col-md-3 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',$settings->phone,['class' => 'form-control']) !!}
</div>
{{-- <div class="col-md-3 form-group {{ $errors->has('phone') ? 'has-error' : '' }}">
{!! Form::label('language',Lang::get('lang.language')) !!}
{!!Form::select('language',['en'=>'English','ch'=>'Chinese'] ,null,['class' => 'form-control select']) !!}
</div>
--}}
<div class="col-md-12 form-group {{ $errors->has('address') ? 'has-error' : '' }}">
{!! Form::label('address',Lang::get('lang.address')) !!}
{!! $errors->first('address', '<spam class="help-block">:message</spam>') !!}
{!! Form::textarea('address',null,['class' => 'form-control','size' => '128x10','id'=>'address','placeholder'=>'Enter the address']) !!}
</div>
<div class="col-md-3 form-group">
{!! Form::label('logo',Lang::get('lang.logo')) !!}
{!! Form::file('logo') !!}
@if($settings->logo)
<img src="{{asset('lb-faveo/dist/image/'.$settings->logo)}}" />
<a href="{{url('delete-logo/'.$settings->id)}}">{{Lang::get('lang.delete')}}</a>
@endif
</div>
<div class="col-md-3 form-group">
{!! Form::label('pagination',Lang::get('lang.numberofelementstodisplay')) !!}
{!! $errors->first('pagination', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('pagination',$settings->pagination,['class' => 'form-control']) !!}
</div>
<div class="col-md-3 form-group">
{!! Form::label('timezone',Lang::get('lang.timezone')) !!}
{!!Form::select('timezone',$time->lists('location','location') ,null,['class' => 'form-control select']) !!}
</div>
</div>
</div><!-- /.tab-pane -->
<div class="tab-pane" id="tab_2">
<div class="row">
<div class="col-md-4 form-group {{ $errors->has('port') ? 'has-error' : '' }}">
{!! Form::label('port',Lang::get('lang.portnumber')) !!}
{!! $errors->first('port', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('port',$settings->port,['class' => 'form-control']) !!}
</div>
<div class="col-md-4 form-group {{ $errors->has('host') ? 'has-error' : '' }}">
{!! Form::label('host',Lang::get('lang.host')) !!}
{!! $errors->first('host', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('host',$settings->host,['class' => 'form-control']) !!}
</div>
<div class="col-md-4 form-group {{ $errors->has('encryption') ? 'has-error' : '' }}">
{!! Form::label('encryption',Lang::get('lang.encryption')) !!}
{!! $errors->first('encryption', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('encryption',$settings->encryption,['class' => 'form-control']) !!}
</div>
<div class="col-md-4 form-group {{ $errors->has('email') ? 'has-error' : '' }}">
{!! Form::label('email',Lang::get('lang.settingsemail')) !!}
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('email',$settings->email,['class' => 'form-control']) !!}
</div>
<div class="col-md-4 form-group {{ $errors->has('password') ? 'has-error' : '' }}">
{!! Form::label('password',Lang::get('lang.password')) !!}
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
{!! Form::password('password',['class' => 'form-control']) !!}
</div>
<div class="col-md-4 form-group">
{!! Form::label('dateformat',Lang::get('lang.dateformat')) !!}
{!!Form::select('dateformat',$date->lists('format','format') ,null,['class' => 'form-control select']) !!}
</div>
</div>
</div><!-- /.tab-pane -->
</div><!-- /.tab-content -->
</div><!-- nav-tabs-custom -->
</div><!-- /.col -->
@stop
@section('FooterInclude')
@stop
<!-- /content -->

View File

@@ -0,0 +1,73 @@
@extends('themes.default1.admin.layout.kb')
@section('widget')
active
@stop
@section('side1')
class="active"
@stop
<script type="text/javascript" src="{{asset('dist/js/SetnicEdit.js')}}"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
</script>
@section('content')
{!! Form::model($side,['url' => 'side1/'.$side->id, 'method' => 'PATCH','files'=>true]) !!}
<!-- <div class="form-group {{ $errors->has('company_name') ? 'has-error' : '' }}"> -->
<!-- table -->
<div class="box box-primary">
@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">&times;</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">&times;</button>
{{Session::get('fails')}}
</div>
@endif
<div class="box-header">
<h3 class="box-title">{{Lang::get('lang.sidewidget1')}}</h3> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
</div>
<div class="box-body">
<div class="row">
<div class="col-md-10">
<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 class="form-group {{ $errors->has('content') ? 'has-error' : '' }}">
{!! Form::label('content',Lang::get('lang.content')) !!}
{!! $errors->first('content', '<spam class="help-block">:message</spam>') !!}
{!! Form::textarea('content',null,['class' => 'form-control','size' => '128x10','id'=>'footer','placeholder'=>'Enter the description']) !!}
</div>
</div>
</div>
</div>
@stop
@section('FooterInclude')
@stop
<!-- /content -->

View File

@@ -0,0 +1,72 @@
@extends('themes.default1.admin.layout.kb')
@section('widget')
active
@stop
@section('side2')
class="active"
@stop
<script type="text/javascript" src="{{asset('dist/js/SetnicEdit.js')}}"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
</script>
@section('content')
{!! Form::model($side,['url' => 'side2/'.$side->id, 'method' => 'PATCH','files'=>true]) !!}
<!-- <div class="form-group {{ $errors->has('company_name') ? 'has-error' : '' }}"> -->
<!-- table -->
<div class="box box-primary">
@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">&times;</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">&times;</button>
{{Session::get('fails')}}
</div>
@endif
<div class="box-header">
<h3 class="box-title">{{Lang::get('lang.sidewidget2')}}</h3> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
</div>
<div class="box-body">
<div class="row">
<div class="col-md-10">
<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 class="form-group {{ $errors->has('content') ? 'has-error' : '' }}">
{!! Form::label('content',Lang::get('lang.content')) !!}
{!! $errors->first('content', '<spam class="help-block">:message</spam>') !!}
{!! Form::textarea('content',null,['class' => 'form-control','size' => '128x10','id'=>'footer','placeholder'=>'Enter the description']) !!}
</div>
</div>
</div>
</div>
@stop
@section('FooterInclude')
@stop
<!-- /content -->

View File

@@ -0,0 +1,190 @@
@extends('themes.default1.admin.layout.kb')
@section('widget')
active
@stop
@section('social')
class="active"
@stop
@section('content')
<!-- open a form -->
{!! Form::model($social,['url' => 'postsocial', '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="box-header">
<h3 class="box-title">{{Lang::get('lang.social')}}</h3> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
</div>
<!-- check whether success or not -->
@if(Session::has('success'))
<div class="alert alert-success alert-dismissable">
<i class="fa fa-check-circle"></i>
<b>Success!</b>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</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">&times;</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-xs-4 form-group {{ $errors->has('google') ? 'has-error' : '' }}">
{!! Form::label('google','google') !!}
{!! $errors->first('google', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('google',null,['class' => 'form-control']) !!}
</div>
<div class=" col-xs-4 form-group {{ $errors->has('twitter') ? 'has-error' : '' }}">
{!! Form::label('twitter','twitter') !!}
{!! $errors->first('twitter', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('twitter',null,['class' => 'form-control']) !!}
</div>
<div class=" col-xs-4 form-group {{ $errors->has('facebook') ? 'has-error' : '' }}">
{!! Form::label('facebook','facebook') !!}
{!! $errors->first('facebook', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('facebook',null,['class' => 'form-control']) !!}
</div>
</div>
<div class="row">
<div class=" col-xs-4 form-group {{ $errors->has('linkedin') ? 'has-error' : '' }}">
{!! Form::label('linkedin','linkedin') !!}
{!! $errors->first('linkedin', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('linkedin',null,['class' => 'form-control']) !!}
</div>
<div class=" col-xs-4 form-group {{ $errors->has('stumble') ? 'has-error' : '' }}">
{!! Form::label('stumble','stumble') !!}
{!! $errors->first('stumble', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('stumble',null,['class' => 'form-control']) !!}
</div>
<div class=" col-xs-4 form-group {{ $errors->has('deviantart') ? 'has-error' : '' }}">
{!! Form::label('deviantart','deviantart') !!}
{!! $errors->first('deviantart', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('deviantart',null,['class' => 'form-control']) !!}
</div>
</div>
<div class="row">
<div class=" col-xs-4 form-group {{ $errors->has('flickr') ? 'has-error' : '' }}">
{!! Form::label('flickr','flickr') !!}
{!! $errors->first('flickr', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('flickr',null,['class' => 'form-control']) !!}
</div>
<div class=" col-xs-4 form-group {{ $errors->has('skype') ? 'has-error' : '' }}">
{!! Form::label('skype','skype') !!}
{!! $errors->first('skype', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('skype',null,['class' => 'form-control']) !!}
</div>
<div class=" col-xs-4 form-group {{ $errors->has('rss') ? 'has-error' : '' }}">
{!! Form::label('rss','rss') !!}
{!! $errors->first('rss', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('rss',null,['class' => 'form-control']) !!}
</div>
</div>
<div class="row">
<div class=" col-xs-4 form-group {{ $errors->has('youtube') ? 'has-error' : '' }}">
{!! Form::label('youtube','youtube') !!}
{!! $errors->first('youtube', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('youtube',null,['class' => 'form-control']) !!}
</div>
<div class=" col-xs-4 form-group {{ $errors->has('vimeo') ? 'has-error' : '' }}">
{!! Form::label('vimeo','vimeo') !!}
{!! $errors->first('vimeo', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('vimeo',null,['class' => 'form-control']) !!}
</div>
<div class=" col-xs-4 form-group {{ $errors->has('pinterest') ? 'has-error' : '' }}">
{!! Form::label('pinterest','pinterest') !!}
{!! $errors->first('pinterest', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('pinterest',null,['class' => 'form-control']) !!}
</div>
</div>
<div class="row">
<div class=" col-xs-6 form-group {{ $errors->has('dribbble') ? 'has-error' : '' }}">
{!! Form::label('dribbble','dribbble') !!}
{!! $errors->first('dribbble', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('dribbble',null,['class' => 'form-control']) !!}
</div>
<div class=" col-xs-6 form-group {{ $errors->has('instagram') ? 'has-error' : '' }}">
{!! Form::label('instagram','instagram') !!}
{!! $errors->first('instagram', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('instagram',null,['class' => 'form-control']) !!}
</div>
</div>
</div>
</div>
</div></div>
@stop
</div><!-- /.box -->
@section('FooterInclude')
@stop
@stop
<!-- /content -->
@stop