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,44 @@
@extends('themes.default1.agent.layout.agent')
@extends('themes.default1.agent.layout.sidebar')
@section('comment')
class="active"
@stop
@section('content')
<div class="box box-primary">
<div class="box-header">
<h2 class="box-title">{{Lang::get('lang.comments')}}</h2></div>
<div class="box-body">
<!-- 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
<div class="row">
<div class="col-sm-12">
{!! Datatable::table()
->addColumn(Lang::get('lang.name'),
Lang::get('lang.email'),
Lang::get('lang.website'),
Lang::get('lang.comment'),
Lang::get('lang.status'),
Lang::get('lang.created'),
Lang::get('lang.action')) // these are the column headings to be shown
->setUrl(route('api.comment')) // this is the route where data will be retrieved
->render() !!}
</div>
</div>
</div>
</div>
@stop

View File

@@ -0,0 +1,80 @@
@extends('themes.default1.agent.layout.agent')
@extends('themes.default1.agent.layout.sidebar')
@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>
<script type="text/javascript">
$(function () {
$("textarea").wysihtml5();
});
</script>
@stop
</div><!-- /.box -->
@stop
<!-- /content -->
@stop

View File

@@ -0,0 +1,199 @@
@extends('themes.default1.agent.layout.agent')
@extends('themes.default1.agent.layout.sidebar')
@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,63 @@
@extends('themes.default1.agent.layout.agent')
@extends('themes.default1.agent.layout.sidebar')
@section('settings')
class="active"
@stop
@section('content')
<!-- open a form -->
{!! Form::model($settings,['url' => 'postsettings/'.$settings->id, 'method' => 'PATCH','files'=>true]) !!}
<div class="box-header" style="margin:-5px;margin-top:-25px;">
<h3 class="box-title">{{Lang::get('lang.settings')}}</h3> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
</div>
<!-- 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>
</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">
{!! 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>
</div><!-- /.tab-pane -->
</div><!-- /.tab-pane -->
</div><!-- /.tab-content -->
</div><!-- nav-tabs-custom -->
<script type="text/javascript">
$(function () {
$("textarea").wysihtml5();
});
</script>
@stop
<!-- /content -->

View File

@@ -0,0 +1,78 @@
@extends('themes.default1.agent.layout.agent')
@extends('themes.default1.agent.layout.sidebar')
@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'=>Lang::get('lang.enter_the_description')]) !!}
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
$("textarea").wysihtml5();
});
</script>
@stop
@section('FooterInclude')
@stop
<!-- /content -->

View File

@@ -0,0 +1,77 @@
@extends('themes.default1.agent.layout.agent')
@extends('themes.default1.agent.layout.sidebar')
@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'=>Lang::get('lang.enter_the_description')]) !!}
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
$("textarea").wysihtml5();
});
</script>
@stop
@section('FooterInclude')
@stop
<!-- /content -->

View File

@@ -0,0 +1,192 @@
@extends('themes.default1.agent.layout.agent')
@extends('themes.default1.agent.layout.sidebar')
@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