snipe-it/resources/views/kits/index.blade.php

51 lines
1.5 KiB
PHP
Raw Normal View History

2018-10-19 07:30:25 -07:00
@extends('layouts/default')
{{-- Web site Title --}}
@section('title')
{{ trans('general.kits') }}
2018-10-19 07:30:25 -07:00
@parent
@stop
@section('header_right')
<a href="{{ route('kits.create') }}" class="btn btn-primary text-right">{{ trans('general.create') }}</a>
@stop
{{-- Content --}}
@section('content')
<div class="row">
<div class="col-md-12">
<div class="box box-default">
<div class="box-body">
<div class="table-responsive">
<table
data-cookie-id-table="kitsTable"
2018-10-31 06:06:38 -07:00
data-columns="{{ \App\Presenters\PredefinedKitPresenter::dataTableLayout() }}"
2018-10-19 07:30:25 -07:00
data-pagination="true"
data-search="true"
data-side-pagination="server"
data-show-columns="true"
data-show-export="true"
data-show-refresh="true"
data-sort-order="asc"
data-sort-name="name"
id="kitsTable"
class="table table-striped snipe-table"
data-url="{{ route('api.kits.index') }}"
data-export-options='{
"fileName": "export-kits-{{ date('Y-m-d') }}",
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
}'>
</table>
</div>
2018-10-19 07:30:25 -07:00
</div> <!--.box-body-->
</div> <!-- /.box.box-default-->
</div> <!-- .col-md-12-->
</div>
@stop
@section('moar_scripts')
@include ('partials.bootstrap-table', ['exportFile' => 'kits-export', 'search' => true])
@stop