mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
59 lines
1.7 KiB
PHP
59 lines
1.7 KiB
PHP
@extends('public.header')
|
|
|
|
@section('content')
|
|
|
|
<style type="text/css">
|
|
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 }
|
|
|
|
</style>
|
|
|
|
<div class="container" id="main-container">
|
|
|
|
<p> </p>
|
|
|
|
<!--
|
|
<div id="top_right_buttons" class="pull-right">
|
|
<input id="tableFilter" type="text" style="width:140px;margin-right:17px" class="form-control pull-left" placeholder="{{ trans('texts.filter') }}"/>
|
|
</div>
|
|
-->
|
|
|
|
<h2>{{ $title }}</h2>
|
|
|
|
{!! Datatable::table()
|
|
->addColumn($columns)
|
|
->setUrl(route('api.client.' . $entityType . 's'))
|
|
->setOptions('sPaginationType', 'bootstrap')
|
|
->render('datatable') !!}
|
|
|
|
</div>
|
|
|
|
<p> </p>
|
|
<p> </p>
|
|
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
$('#main-container').height($(window).height() - ($('.navbar').height() + $('footer').height() + 20));
|
|
});
|
|
</script>
|
|
|
|
@stop
|
|
|