Files
faveo/resources/views/themes/default1/admin/helpdesk/theme/widgets.blade.php
2016-06-17 20:28:31 +05:30

51 lines
1.5 KiB
PHP

@extends('themes.default1.admin.layout.admin')
@section('Themes')
active
@stop
@section('theme-bar')
active
@stop
@section('widget')
class="active"
@stop
@section('PageHeader')
<h1>{!! Lang::get('lang.widgets') !!}</h1>
@stop
@section('content')
<div class="box box-primary">
<div class="box-header with-border">
<h4 class="box-title">{!! Lang::get('lang.widget-settings') !!} </h4>
</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>
<b>{!! Lang::get('lang.alert') !!} !</b>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
{{Session::get('fails')}}
</div>
@endif
{!! Datatable::table()
->addColumn(Lang::get('lang.name'),
Lang::get('lang.title'),
Lang::get('lang.content'),
Lang::get('lang.action')) // these are the column headings to be shown
->setUrl('list-widget') // this is the route where data will be retrieved
->render() !!}
</div>
</div>
@stop