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

51 lines
1.5 KiB
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
@extends('layouts/default')
{{-- Page title --}}
@section('title')
{{ trans('general.companies') }}
@parent
2016-03-25 01:18:05 -07:00
@stop
@section('header_right')
<a href="{{ route('companies.create') }}" class="btn btn-primary pull-right">
{{ trans('general.create') }}</a>
2016-03-25 01:18:05 -07:00
@stop
{{-- Page content --}}
@section('content')
<div class="row">
<div class="col-md-9">
<div class="box box-default">
<div class="box-body">
<div class="table-responsive">
<table
name="companies"
class="table table-striped snipe-table"
id="table"
data-url="{{ route('api.companies.index') }}"
data-cookie="true"
data-click-to-select="true"
data-cookie-id-table="companiesTable-{{ config('version.hash_version') }}">
</table>
</div>
</div>
</div>
</div>
<!-- side address column -->
<div class="col-md-3">
<h4>About Companies</h4>
<p>
You can use companies as a simple informative field, or you can use them to restrict asset visibility and availability to users with a specific company by enabling Full Company Support in your Admin Settings.
</p>
2016-03-25 01:18:05 -07:00
</div>
@stop
2016-03-25 01:18:05 -07:00
@section('moar_scripts')
@include ('partials.bootstrap-table', [
'exportFile' => 'companies-export',
'search' => true,
'columns' => \App\Presenters\CompanyPresenter::dataTableLayout()
])
2016-03-25 01:18:05 -07:00
@stop