update for version 1.0.2
This commit is contained in:
@@ -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">×</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
|
||||
<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
|
Reference in New Issue
Block a user