2015-03-16 22:45:25 +01:00
|
|
|
@extends('public.header')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<style type="text/css">
|
2015-10-13 17:44:01 +02:00
|
|
|
table.dataTable thead > tr > th, table.invoice-table thead > tr > th {
|
|
|
|
background-color: {{ $color }} !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination>.active>a,
|
|
|
|
.pagination>.active>span,
|
|
|
|
.pagination>.active>a:hover,
|
|
|
|
.pagination>.active>span:hover,
|
|
|
|
.pagination>.active>a:focus,
|
|
|
|
.pagination>.active>span:focus {
|
|
|
|
background-color: {{ $color }};
|
|
|
|
border-color: {{ $color }};
|
|
|
|
}
|
|
|
|
|
|
|
|
table.table thead .sorting:after { content: '' !important }
|
|
|
|
table.table thead .sorting_asc:after { content: '' !important }
|
|
|
|
table.table thead .sorting_desc:after { content: '' !important }
|
|
|
|
table.table thead .sorting_asc_disabled:after { content: '' !important }
|
|
|
|
table.table thead .sorting_desc_disabled:after { content: '' !important }
|
2015-03-16 22:45:25 +01:00
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<div class="container" id="main-container">
|
|
|
|
|
|
|
|
<p> </p>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<div id="top_right_buttons" class="pull-right">
|
2015-10-13 17:44:01 +02:00
|
|
|
<input id="tableFilter" type="text" style="width:140px;margin-right:17px" class="form-control pull-left" placeholder="{{ trans('texts.filter') }}"/>
|
2015-03-16 22:45:25 +01:00
|
|
|
</div>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<h2>{{ $title }}</h2>
|
|
|
|
|
2015-04-06 08:58:47 +02:00
|
|
|
{!! Datatable::table()
|
2015-03-16 22:45:25 +01:00
|
|
|
->addColumn($columns)
|
|
|
|
->setUrl(route('api.client.' . $entityType . 's'))
|
|
|
|
->setOptions('sPaginationType', 'bootstrap')
|
2015-04-06 08:58:47 +02:00
|
|
|
->render('datatable') !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2015-06-10 10:34:20 +02:00
|
|
|
<p> </p>
|
|
|
|
<p> </p>
|
|
|
|
|
2015-03-16 22:45:25 +01:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
|
|
|
$('#main-container').height($(window).height() - ($('.navbar').height() + $('footer').height() + 20));
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
@stop
|
|
|
|
|