From 6880f54178591e5f92099edc2ea92088e463d63d Mon Sep 17 00:00:00 2001 From: billz Date: Fri, 11 Oct 2019 20:42:13 +0100 Subject: [PATCH] Replace sb-admin2 bootstrap 3.x dependencies --- dist/datatables/dataTables.bootstrap.css | 185 - dist/datatables/dataTables.bootstrap.js | 182 - dist/datatables/dataTables.bootstrap.min.css | 1 - dist/datatables/dataTables.bootstrap.min.js | 8 - dist/datatables/dataTables.bootstrap4.css | 193 - dist/datatables/dataTables.bootstrap4.js | 184 - dist/datatables/dataTables.bootstrap4.min.css | 1 - dist/datatables/dataTables.bootstrap4.min.js | 8 - dist/datatables/dataTables.foundation.css | 116 - dist/datatables/dataTables.foundation.js | 174 - dist/datatables/dataTables.foundation.min.css | 1 - dist/datatables/dataTables.foundation.min.js | 8 - dist/datatables/dataTables.jqueryui.css | 481 - dist/datatables/dataTables.jqueryui.js | 164 - dist/datatables/dataTables.jqueryui.min.css | 1 - dist/datatables/dataTables.jqueryui.min.js | 9 - dist/datatables/dataTables.material.css | 87 - dist/datatables/dataTables.material.js | 191 - dist/datatables/dataTables.material.min.css | 1 - dist/datatables/dataTables.material.min.js | 8 - dist/datatables/dataTables.semanticui.css | 103 - dist/datatables/dataTables.semanticui.js | 208 - dist/datatables/dataTables.semanticui.min.css | 1 - dist/datatables/dataTables.semanticui.min.js | 9 - dist/datatables/dataTables.uikit.css | 146 - dist/datatables/dataTables.uikit.js | 176 - dist/datatables/dataTables.uikit.min.css | 1 - dist/datatables/dataTables.uikit.min.js | 8 - dist/datatables/jquery.dataTables.css | 452 - dist/datatables/jquery.dataTables.js | 15278 ---------------- dist/datatables/jquery.dataTables.min.css | 1 - dist/datatables/jquery.dataTables.min.js | 166 - .../jquery.dataTables_themeroller.css | 416 - dist/datatables/jquery.js | 5 - dist/font-awesome/HELP-US-OUT.txt | 7 - dist/font-awesome/css/font-awesome.css | 2199 --- dist/font-awesome/css/font-awesome.css.map | 7 - dist/font-awesome/css/font-awesome.min.css | 4 - dist/font-awesome/fonts/FontAwesome.otf | Bin 124988 -> 0 bytes .../fonts/fontawesome-webfont.eot | Bin 76518 -> 0 bytes .../fonts/fontawesome-webfont.svg | 685 - .../fonts/fontawesome-webfont.ttf | Bin 152796 -> 0 bytes .../fonts/fontawesome-webfont.woff | Bin 90412 -> 0 bytes .../fonts/fontawesome-webfont.woff2 | Bin 71896 -> 0 bytes dist/font-awesome/less/animated.less | 34 - dist/font-awesome/less/bordered-pulled.less | 25 - dist/font-awesome/less/core.less | 12 - dist/font-awesome/less/extras.less | 2 - dist/font-awesome/less/fixed-width.less | 6 - dist/font-awesome/less/font-awesome.less | 18 - dist/font-awesome/less/icons.less | 733 - dist/font-awesome/less/larger.less | 13 - dist/font-awesome/less/list.less | 19 - dist/font-awesome/less/mixins.less | 60 - dist/font-awesome/less/path.less | 15 - dist/font-awesome/less/rotated-flipped.less | 20 - dist/font-awesome/less/screen-reader.less | 5 - dist/font-awesome/less/spinning.less | 29 - dist/font-awesome/less/stacked.less | 20 - dist/font-awesome/less/variables.less | 744 - dist/font-awesome/scss/_animated.scss | 34 - dist/font-awesome/scss/_bordered-pulled.scss | 25 - dist/font-awesome/scss/_core.scss | 12 - dist/font-awesome/scss/_extras.scss | 44 - dist/font-awesome/scss/_fixed-width.scss | 6 - dist/font-awesome/scss/_icons.scss | 733 - dist/font-awesome/scss/_larger.scss | 13 - dist/font-awesome/scss/_list.scss | 19 - dist/font-awesome/scss/_mixins.scss | 60 - dist/font-awesome/scss/_path.scss | 15 - dist/font-awesome/scss/_rotated-flipped.scss | 20 - dist/font-awesome/scss/_screen-reader.scss | 5 - dist/font-awesome/scss/_spinning.scss | 29 - dist/font-awesome/scss/_stacked.scss | 20 - dist/font-awesome/scss/_variables.scss | 744 - dist/font-awesome/scss/font-awesome.scss | 18 - dist/metisMenu/metisMenu.css | 64 - dist/metisMenu/metisMenu.js | 120 - dist/metisMenu/metisMenu.min.css | 10 - dist/metisMenu/metisMenu.min.js | 9 - dist/morrisjs/morris.css | 2 - dist/morrisjs/morris.js | 1892 -- dist/morrisjs/morris.min.js | 7 - dist/raphael/raphael.js | 8293 --------- dist/raphael/raphael.min.js | 3 - 85 files changed, 35827 deletions(-) delete mode 100644 dist/datatables/dataTables.bootstrap.css delete mode 100644 dist/datatables/dataTables.bootstrap.js delete mode 100644 dist/datatables/dataTables.bootstrap.min.css delete mode 100644 dist/datatables/dataTables.bootstrap.min.js delete mode 100644 dist/datatables/dataTables.bootstrap4.css delete mode 100644 dist/datatables/dataTables.bootstrap4.js delete mode 100644 dist/datatables/dataTables.bootstrap4.min.css delete mode 100644 dist/datatables/dataTables.bootstrap4.min.js delete mode 100644 dist/datatables/dataTables.foundation.css delete mode 100644 dist/datatables/dataTables.foundation.js delete mode 100644 dist/datatables/dataTables.foundation.min.css delete mode 100644 dist/datatables/dataTables.foundation.min.js delete mode 100644 dist/datatables/dataTables.jqueryui.css delete mode 100644 dist/datatables/dataTables.jqueryui.js delete mode 100644 dist/datatables/dataTables.jqueryui.min.css delete mode 100644 dist/datatables/dataTables.jqueryui.min.js delete mode 100644 dist/datatables/dataTables.material.css delete mode 100644 dist/datatables/dataTables.material.js delete mode 100644 dist/datatables/dataTables.material.min.css delete mode 100644 dist/datatables/dataTables.material.min.js delete mode 100644 dist/datatables/dataTables.semanticui.css delete mode 100644 dist/datatables/dataTables.semanticui.js delete mode 100644 dist/datatables/dataTables.semanticui.min.css delete mode 100644 dist/datatables/dataTables.semanticui.min.js delete mode 100644 dist/datatables/dataTables.uikit.css delete mode 100644 dist/datatables/dataTables.uikit.js delete mode 100644 dist/datatables/dataTables.uikit.min.css delete mode 100644 dist/datatables/dataTables.uikit.min.js delete mode 100644 dist/datatables/jquery.dataTables.css delete mode 100644 dist/datatables/jquery.dataTables.js delete mode 100644 dist/datatables/jquery.dataTables.min.css delete mode 100644 dist/datatables/jquery.dataTables.min.js delete mode 100644 dist/datatables/jquery.dataTables_themeroller.css delete mode 100644 dist/datatables/jquery.js delete mode 100644 dist/font-awesome/HELP-US-OUT.txt delete mode 100644 dist/font-awesome/css/font-awesome.css delete mode 100644 dist/font-awesome/css/font-awesome.css.map delete mode 100644 dist/font-awesome/css/font-awesome.min.css delete mode 100644 dist/font-awesome/fonts/FontAwesome.otf delete mode 100644 dist/font-awesome/fonts/fontawesome-webfont.eot delete mode 100644 dist/font-awesome/fonts/fontawesome-webfont.svg delete mode 100644 dist/font-awesome/fonts/fontawesome-webfont.ttf delete mode 100644 dist/font-awesome/fonts/fontawesome-webfont.woff delete mode 100644 dist/font-awesome/fonts/fontawesome-webfont.woff2 delete mode 100644 dist/font-awesome/less/animated.less delete mode 100644 dist/font-awesome/less/bordered-pulled.less delete mode 100644 dist/font-awesome/less/core.less delete mode 100644 dist/font-awesome/less/extras.less delete mode 100644 dist/font-awesome/less/fixed-width.less delete mode 100644 dist/font-awesome/less/font-awesome.less delete mode 100644 dist/font-awesome/less/icons.less delete mode 100644 dist/font-awesome/less/larger.less delete mode 100644 dist/font-awesome/less/list.less delete mode 100644 dist/font-awesome/less/mixins.less delete mode 100644 dist/font-awesome/less/path.less delete mode 100644 dist/font-awesome/less/rotated-flipped.less delete mode 100644 dist/font-awesome/less/screen-reader.less delete mode 100644 dist/font-awesome/less/spinning.less delete mode 100644 dist/font-awesome/less/stacked.less delete mode 100644 dist/font-awesome/less/variables.less delete mode 100644 dist/font-awesome/scss/_animated.scss delete mode 100644 dist/font-awesome/scss/_bordered-pulled.scss delete mode 100644 dist/font-awesome/scss/_core.scss delete mode 100644 dist/font-awesome/scss/_extras.scss delete mode 100644 dist/font-awesome/scss/_fixed-width.scss delete mode 100644 dist/font-awesome/scss/_icons.scss delete mode 100644 dist/font-awesome/scss/_larger.scss delete mode 100644 dist/font-awesome/scss/_list.scss delete mode 100644 dist/font-awesome/scss/_mixins.scss delete mode 100644 dist/font-awesome/scss/_path.scss delete mode 100644 dist/font-awesome/scss/_rotated-flipped.scss delete mode 100644 dist/font-awesome/scss/_screen-reader.scss delete mode 100644 dist/font-awesome/scss/_spinning.scss delete mode 100644 dist/font-awesome/scss/_stacked.scss delete mode 100644 dist/font-awesome/scss/_variables.scss delete mode 100644 dist/font-awesome/scss/font-awesome.scss delete mode 100644 dist/metisMenu/metisMenu.css delete mode 100644 dist/metisMenu/metisMenu.js delete mode 100644 dist/metisMenu/metisMenu.min.css delete mode 100644 dist/metisMenu/metisMenu.min.js delete mode 100644 dist/morrisjs/morris.css delete mode 100644 dist/morrisjs/morris.js delete mode 100644 dist/morrisjs/morris.min.js delete mode 100644 dist/raphael/raphael.js delete mode 100644 dist/raphael/raphael.min.js diff --git a/dist/datatables/dataTables.bootstrap.css b/dist/datatables/dataTables.bootstrap.css deleted file mode 100644 index 60bef77e..00000000 --- a/dist/datatables/dataTables.bootstrap.css +++ /dev/null @@ -1,185 +0,0 @@ -table.dataTable { - clear: both; - margin-top: 6px !important; - margin-bottom: 6px !important; - max-width: none !important; - border-collapse: separate !important; -} -table.dataTable td, -table.dataTable th { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; -} -table.dataTable td.dataTables_empty, -table.dataTable th.dataTables_empty { - text-align: center; -} -table.dataTable.nowrap th, -table.dataTable.nowrap td { - white-space: nowrap; -} - -div.dataTables_wrapper div.dataTables_length label { - font-weight: normal; - text-align: left; - white-space: nowrap; -} -div.dataTables_wrapper div.dataTables_length select { - width: 75px; - display: inline-block; -} -div.dataTables_wrapper div.dataTables_filter { - text-align: right; -} -div.dataTables_wrapper div.dataTables_filter label { - font-weight: normal; - white-space: nowrap; - text-align: left; -} -div.dataTables_wrapper div.dataTables_filter input { - margin-left: 0.5em; - display: inline-block; - width: auto; -} -div.dataTables_wrapper div.dataTables_info { - padding-top: 8px; - white-space: nowrap; -} -div.dataTables_wrapper div.dataTables_paginate { - margin: 0; - white-space: nowrap; - text-align: right; -} -div.dataTables_wrapper div.dataTables_paginate ul.pagination { - margin: 2px 0; - white-space: nowrap; -} -div.dataTables_wrapper div.dataTables_processing { - position: absolute; - top: 50%; - left: 50%; - width: 200px; - margin-left: -100px; - margin-top: -26px; - text-align: center; - padding: 1em 0; -} - -table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, -table.dataTable thead > tr > td.sorting_asc, -table.dataTable thead > tr > td.sorting_desc, -table.dataTable thead > tr > td.sorting { - padding-right: 30px; -} -table.dataTable thead > tr > th:active, -table.dataTable thead > tr > td:active { - outline: none; -} -table.dataTable thead .sorting, -table.dataTable thead .sorting_asc, -table.dataTable thead .sorting_desc, -table.dataTable thead .sorting_asc_disabled, -table.dataTable thead .sorting_desc_disabled { - cursor: pointer; - position: relative; -} -table.dataTable thead .sorting:after, -table.dataTable thead .sorting_asc:after, -table.dataTable thead .sorting_desc:after, -table.dataTable thead .sorting_asc_disabled:after, -table.dataTable thead .sorting_desc_disabled:after { - position: absolute; - bottom: 8px; - right: 8px; - display: block; - font-family: 'Glyphicons Halflings'; - opacity: 0.5; -} -table.dataTable thead .sorting:after { - opacity: 0.2; - content: "\e150"; - /* sort */ -} -table.dataTable thead .sorting_asc:after { - content: "\e155"; - /* sort-by-attributes */ -} -table.dataTable thead .sorting_desc:after { - content: "\e156"; - /* sort-by-attributes-alt */ -} -table.dataTable thead .sorting_asc_disabled:after, -table.dataTable thead .sorting_desc_disabled:after { - color: #eee; -} - -div.dataTables_scrollHead table.dataTable { - margin-bottom: 0 !important; -} - -div.dataTables_scrollBody table { - border-top: none; - margin-top: 0 !important; - margin-bottom: 0 !important; -} -div.dataTables_scrollBody table thead .sorting:after, -div.dataTables_scrollBody table thead .sorting_asc:after, -div.dataTables_scrollBody table thead .sorting_desc:after { - display: none; -} -div.dataTables_scrollBody table tbody tr:first-child th, -div.dataTables_scrollBody table tbody tr:first-child td { - border-top: none; -} - -div.dataTables_scrollFoot table { - margin-top: 0 !important; - border-top: none; -} - -@media screen and (max-width: 767px) { - div.dataTables_wrapper div.dataTables_length, - div.dataTables_wrapper div.dataTables_filter, - div.dataTables_wrapper div.dataTables_info, - div.dataTables_wrapper div.dataTables_paginate { - text-align: center; - } -} -table.dataTable.table-condensed > thead > tr > th { - padding-right: 20px; -} -table.dataTable.table-condensed .sorting:after, -table.dataTable.table-condensed .sorting_asc:after, -table.dataTable.table-condensed .sorting_desc:after { - top: 6px; - right: 6px; -} - -table.table-bordered.dataTable th, -table.table-bordered.dataTable td { - border-left-width: 0; -} -table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child, -table.table-bordered.dataTable td:last-child, -table.table-bordered.dataTable td:last-child { - border-right-width: 0; -} -table.table-bordered.dataTable tbody th, -table.table-bordered.dataTable tbody td { - border-bottom-width: 0; -} - -div.dataTables_scrollHead table.table-bordered { - border-bottom-width: 0; -} - -div.table-responsive > div.dataTables_wrapper > div.row { - margin: 0; -} -div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child { - padding-left: 0; -} -div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child { - padding-right: 0; -} diff --git a/dist/datatables/dataTables.bootstrap.js b/dist/datatables/dataTables.bootstrap.js deleted file mode 100644 index 417aec3d..00000000 --- a/dist/datatables/dataTables.bootstrap.js +++ /dev/null @@ -1,182 +0,0 @@ -/*! DataTables Bootstrap 3 integration - * ©2011-2015 SpryMedia Ltd - datatables.net/license - */ - -/** - * DataTables integration for Bootstrap 3. This requires Bootstrap 3 and - * DataTables 1.10 or newer. - * - * This file sets the defaults and adds options to DataTables to style its - * controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap - * for further information. - */ -(function( factory ){ - if ( typeof define === 'function' && define.amd ) { - // AMD - define( ['jquery', 'datatables.net'], function ( $ ) { - return factory( $, window, document ); - } ); - } - else if ( typeof exports === 'object' ) { - // CommonJS - module.exports = function (root, $) { - if ( ! root ) { - root = window; - } - - if ( ! $ || ! $.fn.dataTable ) { - // Require DataTables, which attaches to jQuery, including - // jQuery if needed and have a $ property so we can access the - // jQuery object that is used - $ = require('datatables.net')(root, $).$; - } - - return factory( $, root, root.document ); - }; - } - else { - // Browser - factory( jQuery, window, document ); - } -}(function( $, window, document, undefined ) { -'use strict'; -var DataTable = $.fn.dataTable; - - -/* Set the defaults for DataTables initialisation */ -$.extend( true, DataTable.defaults, { - dom: - "<'row'<'col-sm-6'l><'col-sm-6'f>>" + - "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-5'i><'col-sm-7'p>>", - renderer: 'bootstrap' -} ); - - -/* Default class modification */ -$.extend( DataTable.ext.classes, { - sWrapper: "dataTables_wrapper form-inline dt-bootstrap", - sFilterInput: "form-control input-sm", - sLengthSelect: "form-control input-sm", - sProcessing: "dataTables_processing panel panel-default" -} ); - - -/* Bootstrap paging button renderer */ -DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) { - var api = new DataTable.Api( settings ); - var classes = settings.oClasses; - var lang = settings.oLanguage.oPaginate; - var aria = settings.oLanguage.oAria.paginate || {}; - var btnDisplay, btnClass, counter=0; - - var attach = function( container, buttons ) { - var i, ien, node, button; - var clickHandler = function ( e ) { - e.preventDefault(); - if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) { - api.page( e.data.action ).draw( 'page' ); - } - }; - - for ( i=0, ien=buttons.length ; i 0 ? - '' : ' disabled'); - break; - - case 'previous': - btnDisplay = lang.sPrevious; - btnClass = button + (page > 0 ? - '' : ' disabled'); - break; - - case 'next': - btnDisplay = lang.sNext; - btnClass = button + (page < pages-1 ? - '' : ' disabled'); - break; - - case 'last': - btnDisplay = lang.sLast; - btnClass = button + (page < pages-1 ? - '' : ' disabled'); - break; - - default: - btnDisplay = button + 1; - btnClass = page === button ? - 'active' : ''; - break; - } - - if ( btnDisplay ) { - node = $('
  • ', { - 'class': classes.sPageButton+' '+btnClass, - 'id': idx === 0 && typeof button === 'string' ? - settings.sTableId +'_'+ button : - null - } ) - .append( $('', { - 'href': '#', - 'aria-controls': settings.sTableId, - 'aria-label': aria[ button ], - 'data-dt-idx': counter, - 'tabindex': settings.iTabIndex - } ) - .html( btnDisplay ) - ) - .appendTo( container ); - - settings.oApi._fnBindAction( - node, {action: button}, clickHandler - ); - - counter++; - } - } - } - }; - - // IE9 throws an 'unknown error' if document.activeElement is used - // inside an iframe or frame. - var activeEl; - - try { - // Because this approach is destroying and recreating the paging - // elements, focus is lost on the select button which is bad for - // accessibility. So we want to restore focus once the draw has - // completed - activeEl = $(host).find(document.activeElement).data('dt-idx'); - } - catch (e) {} - - attach( - $(host).empty().html('