mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -08:00
Merge branch 'develop' of github.com:snipe/snipe-it into develop
This commit is contained in:
commit
3514ae2c0d
File diff suppressed because it is too large
Load diff
|
@ -75,6 +75,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'accessories-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -80,6 +80,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'maintenances-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -77,6 +77,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'categories-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -96,6 +96,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'components-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -80,6 +80,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'consumables-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -75,6 +75,9 @@ $('#table').bootstrapTable({
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'depreciations-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -70,6 +70,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'groups-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -161,6 +161,9 @@
|
||||||
paginationPreText: "{{ trans('general.previous') }}",
|
paginationPreText: "{{ trans('general.previous') }}",
|
||||||
paginationNextText: "{{ trans('general.next') }}",
|
paginationNextText: "{{ trans('general.next') }}",
|
||||||
pageList: ['10','25','50','100','150','200','500','1000'],
|
pageList: ['10','25','50','100','150','200','500','1000'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'assets-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
icons: {
|
icons: {
|
||||||
paginationSwitchDown: 'fa-caret-square-o-down',
|
paginationSwitchDown: 'fa-caret-square-o-down',
|
||||||
paginationSwitchUp: 'fa-caret-square-o-up',
|
paginationSwitchUp: 'fa-caret-square-o-up',
|
||||||
|
|
|
@ -85,6 +85,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'licenses-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
|
|
||||||
<table
|
<table
|
||||||
name="categories"
|
name="locations"
|
||||||
class="table table-striped"
|
class="table table-striped"
|
||||||
id="table"
|
id="table"
|
||||||
data-url="{{ route('api.locations.list') }}"
|
data-url="{{ route('api.locations.list') }}"
|
||||||
|
@ -77,6 +77,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'locations-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -74,6 +74,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'manufacturers-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -76,11 +76,16 @@
|
||||||
pagination: true,
|
pagination: true,
|
||||||
sidePagination: 'server',
|
sidePagination: 'server',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
mobileResponsive: true,
|
|
||||||
showExport: true,
|
|
||||||
cookie: true,
|
cookie: true,
|
||||||
cookieExpire: '2y',
|
cookieExpire: '2y',
|
||||||
|
mobileResponsive: true,
|
||||||
|
showExport: true,
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
|
exportDataType: 'all',
|
||||||
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'models-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -72,6 +72,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'statuslabels-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -75,6 +75,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'suppliers-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
|
|
||||||
<table
|
<table
|
||||||
name="assets"
|
name="users"
|
||||||
data-toolbar="#toolbar"
|
data-toolbar="#toolbar"
|
||||||
class="table table-striped"
|
class="table table-striped"
|
||||||
id="table"
|
id="table"
|
||||||
|
@ -149,6 +149,9 @@
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
exportDataType: 'all',
|
exportDataType: 'all',
|
||||||
exportTypes: ['csv', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'txt','json', 'xml'],
|
||||||
|
exportOptions: {
|
||||||
|
fileName: 'users-export-' + (new Date()).toISOString().slice(0,10),
|
||||||
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
|
|
|
@ -259,7 +259,7 @@ case $distro in
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y lamp-server^ >> /var/log/snipeit-install.log 2>&1
|
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y lamp-server^ >> /var/log/snipeit-install.log 2>&1
|
||||||
|
|
||||||
if [ "$version" == "16.04" ]; then
|
if [ "$version" == "16.04" ]; then
|
||||||
sudo apt-get install -y git unzip php php-mcrypt php-curl php-mysql php-gd php-ldap php-mbstring >> /var/log/snipeit-install.log 2>&1
|
sudo apt-get install -y git unzip php php-mcrypt php-curl php-mysql php-gd php-ldap php-zip php-mbstring >> /var/log/snipeit-install.log 2>&1
|
||||||
#Enable mcrypt and rewrite
|
#Enable mcrypt and rewrite
|
||||||
echo "## Enabling mcrypt and rewrite"
|
echo "## Enabling mcrypt and rewrite"
|
||||||
sudo phpenmod mcrypt >> /var/log/snipeit-install.log 2>&1
|
sudo phpenmod mcrypt >> /var/log/snipeit-install.log 2>&1
|
||||||
|
|
Loading…
Reference in a new issue