jekyll-theme-centos 2.2.0.beta.10 → 2.2.0.pre.staging.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/breadcrumbs.html +1 -1
- data/_includes/default/header.html +2 -10
- data/_includes/footer.html +1 -1
- data/_includes/head-datatables.html +3 -3
- data/_includes/head.html +1 -1
- data/_includes/home/distributions.html +1 -1
- data/_includes/home/header.html +2 -2
- data/_includes/home/news-and-events.html +9 -6
- data/_includes/home/planet.html +10 -9
- data/_includes/home/sponsors.html +1 -1
- data/_includes/people/about.html +14 -12
- data/_includes/people/posts.html +14 -16
- data/_includes/people/projects.html +17 -19
- data/_includes/people/pubkeys.html +16 -15
- data/_includes/people/support.html +10 -13
- data/_includes/post-nav-explorer.html +1 -1
- data/_includes/search.html +2 -2
- data/_layouts/blog.html +1 -1
- data/_layouts/default.html +10 -2
- data/_layouts/home.html +1 -0
- data/_sass/centos/_links.scss +56 -5
- data/_sass/centos/_variables.scss +4 -2
- data/_sass/centos/centos-blog.scss +46 -0
- data/_sass/centos/centos-httpd.scss +27 -0
- data/_sass/centos/centos-lists.scss +161 -0
- data/_sass/centos/fonts/_montserrat.scss +253 -0
- data/_sass/centos/fonts/_overpass.scss +43 -0
- data/assets/css/dataTables.bootstrap5.min.css +2 -2
- data/assets/css/stylesheet.min.scss +12 -15
- data/assets/img/centos-logo.svg +103 -1
- data/assets/img/centos-motif.png +0 -0
- data/assets/img/centos-symbol-with-shadow.svg +89 -0
- data/assets/img/centos-symbol.png +0 -0
- data/assets/img/centos-symbol.svg +69 -1
- data/assets/img/centos-whitelogo.svg +109 -1
- data/assets/img/distributions/centos-linux/7/screenshot-1.png +0 -0
- data/assets/img/distributions/centos-linux/7/screenshot-2.png +0 -0
- data/assets/img/distributions/centos-linux/7/screenshot-3.png +0 -0
- data/assets/img/distributions/centos-linux/7/screenshot-4.png +0 -0
- data/assets/img/distributions/centos-stream/9/screenshot-1.png +0 -0
- data/assets/img/distributions/centos-stream/9/screenshot-2.png +0 -0
- data/assets/img/distributions/centos-stream/9/screenshot-3.png +0 -0
- data/assets/img/favicon.png +0 -0
- data/assets/img/sponsors/15minuteservers.png +0 -0
- data/assets/img/sponsors/2014-11-10-vi.gif +0 -0
- data/assets/img/sponsors/45drives.png +0 -0
- data/assets/img/sponsors/BackupVault.png +0 -0
- data/assets/img/sponsors/Banner_Castlegem_240x60.gif +0 -0
- data/assets/img/sponsors/CentOS-CBSL-02.png +0 -0
- data/assets/img/sponsors/GameHost.png +0 -0
- data/assets/img/sponsors/HOST1PLUS_240x60.jpg +0 -0
- data/assets/img/sponsors/HostDime_Logo_Slogan_300_71.png +0 -0
- data/assets/img/sponsors/NDCHost.png +0 -0
- data/assets/img/sponsors/OffshoreServers.png +0 -0
- data/assets/img/sponsors/OffshoreVPS.png +0 -0
- data/assets/img/sponsors/PNAP-Logo-CMYK.JPG +0 -0
- data/assets/img/sponsors/PNAP_Banner.gif +0 -0
- data/assets/img/sponsors/PSW_Banner_240x60.jpg +0 -0
- data/assets/img/sponsors/ad_lfcpxen_240x60.png +0 -0
- data/assets/img/sponsors/altushost.png +0 -0
- data/assets/img/sponsors/am-logo.png +0 -0
- data/assets/img/sponsors/aws.png +0 -0
- data/assets/img/sponsors/baseip_240x60.jpg +0 -0
- data/assets/img/sponsors/cdn77.png +0 -0
- data/assets/img/sponsors/centos-serverhub.png +0 -0
- data/assets/img/sponsors/clientvps.png +0 -0
- data/assets/img/sponsors/codero.png +0 -0
- data/assets/img/sponsors/codero_small.gif +0 -0
- data/assets/img/sponsors/coloau.png +0 -0
- data/assets/img/sponsors/colocation-america.png +0 -0
- data/assets/img/sponsors/cologuard.png +0 -0
- data/assets/img/sponsors/constant.png +0 -0
- data/assets/img/sponsors/coreix.jpg +0 -0
- data/assets/img/sponsors/cpanel.png +0 -0
- data/assets/img/sponsors/dbd_240_60.jpg +0 -0
- data/assets/img/sponsors/dedicatednow.gif +0 -0
- data/assets/img/sponsors/dedicatedsolutions.png +0 -0
- data/assets/img/sponsors/dtsnet.png +0 -0
- data/assets/img/sponsors/eStruxture.png +0 -0
- data/assets/img/sponsors/equinix.png +0 -0
- data/assets/img/sponsors/eukhost.png +0 -0
- data/assets/img/sponsors/exabytes.png +0 -0
- data/assets/img/sponsors/fasthosts.png +0 -0
- data/assets/img/sponsors/galaxy_small.gif +0 -0
- data/assets/img/sponsors/globotech.png +0 -0
- data/assets/img/sponsors/godaddy.jpg +0 -0
- data/assets/img/sponsors/heficed.png +0 -0
- data/assets/img/sponsors/host-engine.png +0 -0
- data/assets/img/sponsors/host-stage.png +0 -0
- data/assets/img/sponsors/host1plus_logo.png +0 -0
- data/assets/img/sponsors/hostasaurus240x60banner.gif +0 -0
- data/assets/img/sponsors/hostdime_br_small.jpg +0 -0
- data/assets/img/sponsors/hostingswift240x60.gif +0 -0
- data/assets/img/sponsors/hostiserver.png +0 -0
- data/assets/img/sponsors/hostkey_small.gif +0 -0
- data/assets/img/sponsors/internap.png +0 -0
- data/assets/img/sponsors/internetx.gif +0 -0
- data/assets/img/sponsors/intevation.png +0 -0
- data/assets/img/sponsors/iomart-240x60.gif +0 -0
- data/assets/img/sponsors/iomart.png +0 -0
- data/assets/img/sponsors/itsyndicate.png +0 -0
- data/assets/img/sponsors/leaseweb.png +0 -0
- data/assets/img/sponsors/liquidweb.png +0 -0
- data/assets/img/sponsors/lyrahosting.png +0 -0
- data/assets/img/sponsors/miva.png +0 -0
- data/assets/img/sponsors/multacom-240x60.gif +0 -0
- data/assets/img/sponsors/ndc_host_240.gif +0 -0
- data/assets/img/sponsors/netelligent_small.png +0 -0
- data/assets/img/sponsors/nexcess.png +0 -0
- data/assets/img/sponsors/packet.png +0 -0
- data/assets/img/sponsors/pidginhost.png +0 -0
- data/assets/img/sponsors/profvds.png +0 -0
- data/assets/img/sponsors/psychz-234x60.jpg +0 -0
- data/assets/img/sponsors/psychz_net.gif +0 -0
- data/assets/img/sponsors/ptisp.png +0 -0
- data/assets/img/sponsors/redstation.png +0 -0
- data/assets/img/sponsors/scaleway_logo.png +0 -0
- data/assets/img/sponsors/seedvps.png +0 -0
- data/assets/img/sponsors/serverel.png +0 -0
- data/assets/img/sponsors/servermania.gif +0 -0
- data/assets/img/sponsors/serverpoint.png +0 -0
- data/assets/img/sponsors/serverpronto_small.gif +0 -0
- data/assets/img/sponsors/shinjirubanner260x60.gif +0 -0
- data/assets/img/sponsors/space-hosting.png +0 -0
- data/assets/img/sponsors/sponsor_placeholder-240-60.png +0 -0
- data/assets/img/sponsors/steadfast.png +0 -0
- data/assets/img/sponsors/steadfast_234x60.gif +0 -0
- data/assets/img/sponsors/tailoredservers.png +0 -0
- data/assets/img/sponsors/trabia.png +0 -0
- data/assets/img/sponsors/vhostvn.gif +0 -0
- data/assets/img/sponsors/vitelity.png +0 -0
- data/assets/img/sponsors/voyant.png +0 -0
- data/assets/img/sponsors/vsys.png +0 -0
- data/assets/img/sponsors/webnx1.png +0 -0
- data/assets/img/sponsors/wehaveservers.png +0 -0
- data/assets/img/sponsors/whitelabelitsolutions.gif +0 -0
- data/assets/img/sponsors/wow.234x60.gif +0 -0
- data/assets/js/bootstrap.bundle.min.js +2 -2
- data/assets/js/bootstrap.bundle.min.js.map +1 -1
- data/assets/js/clipboard.min.js +0 -0
- data/assets/js/dataTables.bootstrap5.min.js +14 -4
- data/assets/js/jquery.dataTables.min.js +192 -0
- data/assets/js/jquery.min.js +2 -2
- data/assets/js/jquery.min.map +1 -1
- data/assets/webfonts/Overpass-Black.woff2 +0 -0
- data/assets/webfonts/Overpass-BlackItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-Bold.woff2 +0 -0
- data/assets/webfonts/Overpass-BoldItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-ExtraBold.woff2 +0 -0
- data/assets/webfonts/Overpass-ExtraBoldItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-ExtraLight.woff2 +0 -0
- data/assets/webfonts/Overpass-ExtraLightItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-Italic.woff2 +0 -0
- data/assets/webfonts/Overpass-Light.woff2 +0 -0
- data/assets/webfonts/Overpass-LightItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-Medium.woff2 +0 -0
- data/assets/webfonts/Overpass-MediumItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-Regular.woff2 +0 -0
- data/assets/webfonts/Overpass-SemiBold.woff2 +0 -0
- data/assets/webfonts/Overpass-SemiBoldItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-Thin.woff2 +0 -0
- data/assets/webfonts/Overpass-ThinItalic.woff2 +0 -0
- data/assets/webfonts/OverpassMono-Bold.woff2 +0 -0
- data/assets/webfonts/OverpassMono-Light.woff2 +0 -0
- data/assets/webfonts/OverpassMono-Medium.woff2 +0 -0
- data/assets/webfonts/OverpassMono-Regular.woff2 +0 -0
- data/assets/webfonts/OverpassMono-SemiBold.woff2 +0 -0
- data/assets/webfonts/fa-brands-400.woff +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.woff +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.woff +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- metadata +143 -184
- data/_data/aws-images.csv +0 -81
- data/_data/full-altarchlist.csv +0 -74
- data/_data/full-mirrorlist.csv +0 -609
- data/_sass/bootstrap/_accordion.scss +0 -149
- data/_sass/bootstrap/_alert.scss +0 -71
- data/_sass/bootstrap/_badge.scss +0 -38
- data/_sass/bootstrap/_breadcrumb.scss +0 -40
- data/_sass/bootstrap/_button-group.scss +0 -142
- data/_sass/bootstrap/_buttons.scss +0 -207
- data/_sass/bootstrap/_card.scss +0 -234
- data/_sass/bootstrap/_carousel.scss +0 -226
- data/_sass/bootstrap/_close.scss +0 -40
- data/_sass/bootstrap/_containers.scss +0 -41
- data/_sass/bootstrap/_dropdown.scss +0 -249
- data/_sass/bootstrap/_forms.scss +0 -9
- data/_sass/bootstrap/_functions.scss +0 -302
- data/_sass/bootstrap/_grid.scss +0 -33
- data/_sass/bootstrap/_helpers.scss +0 -10
- data/_sass/bootstrap/_images.scss +0 -42
- data/_sass/bootstrap/_list-group.scss +0 -192
- data/_sass/bootstrap/_maps.scss +0 -54
- data/_sass/bootstrap/_mixins.scss +0 -43
- data/_sass/bootstrap/_modal.scss +0 -237
- data/_sass/bootstrap/_nav.scss +0 -172
- data/_sass/bootstrap/_navbar.scss +0 -278
- data/_sass/bootstrap/_offcanvas.scss +0 -144
- data/_sass/bootstrap/_pagination.scss +0 -109
- data/_sass/bootstrap/_placeholders.scss +0 -51
- data/_sass/bootstrap/_popover.scss +0 -196
- data/_sass/bootstrap/_progress.scss +0 -59
- data/_sass/bootstrap/_reboot.scss +0 -610
- data/_sass/bootstrap/_root.scss +0 -73
- data/_sass/bootstrap/_spinners.scss +0 -85
- data/_sass/bootstrap/_tables.scss +0 -164
- data/_sass/bootstrap/_toasts.scss +0 -73
- data/_sass/bootstrap/_tooltip.scss +0 -120
- data/_sass/bootstrap/_transitions.scss +0 -27
- data/_sass/bootstrap/_type.scss +0 -106
- data/_sass/bootstrap/_utilities.scss +0 -647
- data/_sass/bootstrap/_variables.scss +0 -1634
- data/_sass/bootstrap/bootstrap-grid.scss +0 -64
- data/_sass/bootstrap/bootstrap-reboot.scss +0 -9
- data/_sass/bootstrap/bootstrap-utilities.scss +0 -18
- data/_sass/bootstrap/bootstrap.scss +0 -51
- data/_sass/bootstrap/forms/_floating-labels.scss +0 -75
- data/_sass/bootstrap/forms/_form-check.scss +0 -175
- data/_sass/bootstrap/forms/_form-control.scss +0 -194
- data/_sass/bootstrap/forms/_form-range.scss +0 -91
- data/_sass/bootstrap/forms/_form-select.scss +0 -71
- data/_sass/bootstrap/forms/_form-text.scss +0 -11
- data/_sass/bootstrap/forms/_input-group.scss +0 -132
- data/_sass/bootstrap/forms/_labels.scss +0 -36
- data/_sass/bootstrap/forms/_validation.scss +0 -12
- data/_sass/bootstrap/helpers/_clearfix.scss +0 -3
- data/_sass/bootstrap/helpers/_color-bg.scss +0 -10
- data/_sass/bootstrap/helpers/_colored-links.scss +0 -12
- data/_sass/bootstrap/helpers/_position.scss +0 -36
- data/_sass/bootstrap/helpers/_ratio.scss +0 -26
- data/_sass/bootstrap/helpers/_stacks.scss +0 -15
- data/_sass/bootstrap/helpers/_stretched-link.scss +0 -15
- data/_sass/bootstrap/helpers/_text-truncation.scss +0 -7
- data/_sass/bootstrap/helpers/_visually-hidden.scss +0 -8
- data/_sass/bootstrap/helpers/_vr.scss +0 -8
- data/_sass/bootstrap/mixins/_alert.scss +0 -15
- data/_sass/bootstrap/mixins/_backdrop.scss +0 -14
- data/_sass/bootstrap/mixins/_banner.scss +0 -9
- data/_sass/bootstrap/mixins/_border-radius.scss +0 -78
- data/_sass/bootstrap/mixins/_box-shadow.scss +0 -18
- data/_sass/bootstrap/mixins/_breakpoints.scss +0 -127
- data/_sass/bootstrap/mixins/_buttons.scss +0 -70
- data/_sass/bootstrap/mixins/_caret.scss +0 -64
- data/_sass/bootstrap/mixins/_clearfix.scss +0 -9
- data/_sass/bootstrap/mixins/_color-scheme.scss +0 -7
- data/_sass/bootstrap/mixins/_container.scss +0 -11
- data/_sass/bootstrap/mixins/_deprecate.scss +0 -10
- data/_sass/bootstrap/mixins/_forms.scss +0 -152
- data/_sass/bootstrap/mixins/_gradients.scss +0 -47
- data/_sass/bootstrap/mixins/_grid.scss +0 -151
- data/_sass/bootstrap/mixins/_image.scss +0 -16
- data/_sass/bootstrap/mixins/_list-group.scss +0 -24
- data/_sass/bootstrap/mixins/_lists.scss +0 -7
- data/_sass/bootstrap/mixins/_pagination.scss +0 -10
- data/_sass/bootstrap/mixins/_reset-text.scss +0 -17
- data/_sass/bootstrap/mixins/_resize.scss +0 -6
- data/_sass/bootstrap/mixins/_table-variants.scss +0 -24
- data/_sass/bootstrap/mixins/_text-truncate.scss +0 -8
- data/_sass/bootstrap/mixins/_transition.scss +0 -26
- data/_sass/bootstrap/mixins/_utilities.scss +0 -97
- data/_sass/bootstrap/mixins/_visually-hidden.scss +0 -29
- data/_sass/bootstrap/utilities/_api.scss +0 -47
- data/_sass/bootstrap/vendor/_rfs.scss +0 -354
- data/_sass/centos/_headings.scss +0 -17
- data/_sass/fontawesome-free/_animated.scss +0 -153
- data/_sass/fontawesome-free/_bordered-pulled.scss +0 -20
- data/_sass/fontawesome-free/_core.scss +0 -43
- data/_sass/fontawesome-free/_fixed-width.scss +0 -7
- data/_sass/fontawesome-free/_functions.scss +0 -57
- data/_sass/fontawesome-free/_icons.scss +0 -9
- data/_sass/fontawesome-free/_list.scss +0 -18
- data/_sass/fontawesome-free/_mixins.scss +0 -75
- data/_sass/fontawesome-free/_rotated-flipped.scss +0 -31
- data/_sass/fontawesome-free/_screen-reader.scss +0 -14
- data/_sass/fontawesome-free/_shims.scss +0 -2042
- data/_sass/fontawesome-free/_sizing.scss +0 -16
- data/_sass/fontawesome-free/_stacked.scss +0 -32
- data/_sass/fontawesome-free/_variables.scss +0 -4957
- data/_sass/fontawesome-free/brands.scss +0 -30
- data/_sass/fontawesome-free/fontawesome.scss +0 -21
- data/_sass/fontawesome-free/regular.scss +0 -26
- data/_sass/fontawesome-free/solid.scss +0 -26
- data/_sass/fontawesome-free/v4-shims.scss +0 -11
- data/_sass/montserrat/_montserrat.scss +0 -79
- data/_sass/overpass-mono/_overpass-mono.scss +0 -33
- data/assets/css/dataTables.bootstrap5.css +0 -416
- data/assets/img/anaconda-symbolic.svg +0 -1
- data/assets/img/anaconda.svg +0 -1
- data/assets/img/centos-dynamicmsg-logo.svg +0 -1
- data/assets/img/centos-dynamicmsg-type.svg +0 -1
- data/assets/img/centos-dynamicmsg-whitelogo.svg +0 -1
- data/assets/img/centos-dynamicmsg-whitetype.svg +0 -1
- data/assets/img/centos-gdm-whitelogo.svg +0 -1
- data/assets/img/centos-ipa-whiteheader.svg +0 -1
- data/assets/img/centos-logo-2bits.svg +0 -1
- data/assets/img/centos-message-logo.svg +0 -1
- data/assets/img/centos-poweredby-logo.svg +0 -1
- data/assets/img/centos-symbol-2bits.svg +0 -1
- data/assets/img/centos-type.svg +0 -1
- data/assets/img/centos-vertical-logo.svg +0 -1
- data/assets/img/centos-vertical-message-logo.svg +0 -1
- data/assets/js/bootstrap.bundle.js +0 -7075
- data/assets/js/bootstrap.bundle.js.map +0 -1
- data/assets/js/bootstrap.esm.js +0 -5202
- data/assets/js/bootstrap.esm.js.map +0 -1
- data/assets/js/bootstrap.esm.min.js +0 -7
- data/assets/js/bootstrap.esm.min.js.map +0 -1
- data/assets/js/bootstrap.js +0 -5249
- data/assets/js/bootstrap.js.map +0 -1
- data/assets/js/bootstrap.min.js +0 -7
- data/assets/js/bootstrap.min.js.map +0 -1
- data/assets/js/clipboard.js +0 -890
- data/assets/js/dataTables.bootstrap5.js +0 -200
- data/assets/js/dataTables.bootstrap5.min.mjs +0 -4
- data/assets/js/dataTables.bootstrap5.mjs +0 -164
- data/assets/js/jquery.js +0 -10993
- data/assets/js/jquery.slim.js +0 -8894
- data/assets/js/jquery.slim.min.js +0 -2
- data/assets/js/jquery.slim.min.map +0 -1
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-v4compatibility.ttf +0 -0
- data/assets/webfonts/fa-v4compatibility.woff2 +0 -0
- data/assets/webfonts/overpass-mono-bold.woff +0 -0
- data/assets/webfonts/overpass-mono-bold.woff2 +0 -0
- data/assets/webfonts/overpass-mono-light.woff +0 -0
- data/assets/webfonts/overpass-mono-light.woff2 +0 -0
- data/assets/webfonts/overpass-mono-regular.woff +0 -0
- data/assets/webfonts/overpass-mono-regular.woff2 +0 -0
- data/assets/webfonts/overpass-mono-semibold.woff +0 -0
- data/assets/webfonts/overpass-mono-semibold.woff2 +0 -0
- data/default.md +0 -165
- data/index.md +0 -9
- data/people.md +0 -63
@@ -1,200 +0,0 @@
|
|
1
|
-
/*! DataTables Bootstrap 5 integration
|
2
|
-
* 2020 SpryMedia Ltd - datatables.net/license
|
3
|
-
*/
|
4
|
-
|
5
|
-
(function( factory ){
|
6
|
-
if ( typeof define === 'function' && define.amd ) {
|
7
|
-
// AMD
|
8
|
-
define( ['jquery', 'datatables.net'], function ( $ ) {
|
9
|
-
return factory( $, window, document );
|
10
|
-
} );
|
11
|
-
}
|
12
|
-
else if ( typeof exports === 'object' ) {
|
13
|
-
// CommonJS
|
14
|
-
module.exports = function (root, $) {
|
15
|
-
if ( ! root ) {
|
16
|
-
// CommonJS environments without a window global must pass a
|
17
|
-
// root. This will give an error otherwise
|
18
|
-
root = window;
|
19
|
-
}
|
20
|
-
|
21
|
-
if ( ! $ ) {
|
22
|
-
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window
|
23
|
-
require('jquery') :
|
24
|
-
require('jquery')( root );
|
25
|
-
}
|
26
|
-
|
27
|
-
if ( ! $.fn.dataTable ) {
|
28
|
-
require('datatables.net')(root, $);
|
29
|
-
}
|
30
|
-
|
31
|
-
|
32
|
-
return factory( $, root, root.document );
|
33
|
-
};
|
34
|
-
}
|
35
|
-
else {
|
36
|
-
// Browser
|
37
|
-
factory( jQuery, window, document );
|
38
|
-
}
|
39
|
-
}(function( $, window, document, undefined ) {
|
40
|
-
'use strict';
|
41
|
-
var DataTable = $.fn.dataTable;
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
/**
|
46
|
-
* DataTables integration for Bootstrap 5. This requires Bootstrap 5 and
|
47
|
-
* DataTables 1.10 or newer.
|
48
|
-
*
|
49
|
-
* This file sets the defaults and adds options to DataTables to style its
|
50
|
-
* controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
|
51
|
-
* for further information.
|
52
|
-
*/
|
53
|
-
|
54
|
-
/* Set the defaults for DataTables initialisation */
|
55
|
-
$.extend( true, DataTable.defaults, {
|
56
|
-
dom:
|
57
|
-
"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>>" +
|
58
|
-
"<'row dt-row'<'col-sm-12'tr>>" +
|
59
|
-
"<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
|
60
|
-
renderer: 'bootstrap'
|
61
|
-
} );
|
62
|
-
|
63
|
-
|
64
|
-
/* Default class modification */
|
65
|
-
$.extend( DataTable.ext.classes, {
|
66
|
-
sWrapper: "dataTables_wrapper dt-bootstrap5",
|
67
|
-
sFilterInput: "form-control form-control-sm",
|
68
|
-
sLengthSelect: "form-select form-select-sm",
|
69
|
-
sProcessing: "dataTables_processing card",
|
70
|
-
sPageButton: "paginate_button page-item"
|
71
|
-
} );
|
72
|
-
|
73
|
-
|
74
|
-
/* Bootstrap paging button renderer */
|
75
|
-
DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) {
|
76
|
-
var api = new DataTable.Api( settings );
|
77
|
-
var classes = settings.oClasses;
|
78
|
-
var lang = settings.oLanguage.oPaginate;
|
79
|
-
var aria = settings.oLanguage.oAria.paginate || {};
|
80
|
-
var btnDisplay, btnClass;
|
81
|
-
|
82
|
-
var attach = function( container, buttons ) {
|
83
|
-
var i, ien, node, button;
|
84
|
-
var clickHandler = function ( e ) {
|
85
|
-
e.preventDefault();
|
86
|
-
if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
|
87
|
-
api.page( e.data.action ).draw( 'page' );
|
88
|
-
}
|
89
|
-
};
|
90
|
-
|
91
|
-
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
92
|
-
button = buttons[i];
|
93
|
-
|
94
|
-
if ( Array.isArray( button ) ) {
|
95
|
-
attach( container, button );
|
96
|
-
}
|
97
|
-
else {
|
98
|
-
btnDisplay = '';
|
99
|
-
btnClass = '';
|
100
|
-
|
101
|
-
switch ( button ) {
|
102
|
-
case 'ellipsis':
|
103
|
-
btnDisplay = '…';
|
104
|
-
btnClass = 'disabled';
|
105
|
-
break;
|
106
|
-
|
107
|
-
case 'first':
|
108
|
-
btnDisplay = lang.sFirst;
|
109
|
-
btnClass = button + (page > 0 ?
|
110
|
-
'' : ' disabled');
|
111
|
-
break;
|
112
|
-
|
113
|
-
case 'previous':
|
114
|
-
btnDisplay = lang.sPrevious;
|
115
|
-
btnClass = button + (page > 0 ?
|
116
|
-
'' : ' disabled');
|
117
|
-
break;
|
118
|
-
|
119
|
-
case 'next':
|
120
|
-
btnDisplay = lang.sNext;
|
121
|
-
btnClass = button + (page < pages-1 ?
|
122
|
-
'' : ' disabled');
|
123
|
-
break;
|
124
|
-
|
125
|
-
case 'last':
|
126
|
-
btnDisplay = lang.sLast;
|
127
|
-
btnClass = button + (page < pages-1 ?
|
128
|
-
'' : ' disabled');
|
129
|
-
break;
|
130
|
-
|
131
|
-
default:
|
132
|
-
btnDisplay = button + 1;
|
133
|
-
btnClass = page === button ?
|
134
|
-
'active' : '';
|
135
|
-
break;
|
136
|
-
}
|
137
|
-
|
138
|
-
if ( btnDisplay ) {
|
139
|
-
node = $('<li>', {
|
140
|
-
'class': classes.sPageButton+' '+btnClass,
|
141
|
-
'id': idx === 0 && typeof button === 'string' ?
|
142
|
-
settings.sTableId +'_'+ button :
|
143
|
-
null
|
144
|
-
} )
|
145
|
-
.append( $('<a>', {
|
146
|
-
'href': '#',
|
147
|
-
'aria-controls': settings.sTableId,
|
148
|
-
'aria-label': aria[ button ],
|
149
|
-
'data-dt-idx': button,
|
150
|
-
'tabindex': settings.iTabIndex,
|
151
|
-
'class': 'page-link'
|
152
|
-
} )
|
153
|
-
.html( btnDisplay )
|
154
|
-
)
|
155
|
-
.appendTo( container );
|
156
|
-
|
157
|
-
settings.oApi._fnBindAction(
|
158
|
-
node, {action: button}, clickHandler
|
159
|
-
);
|
160
|
-
}
|
161
|
-
}
|
162
|
-
}
|
163
|
-
};
|
164
|
-
|
165
|
-
var hostEl = $(host);
|
166
|
-
// IE9 throws an 'unknown error' if document.activeElement is used
|
167
|
-
// inside an iframe or frame.
|
168
|
-
var activeEl;
|
169
|
-
|
170
|
-
try {
|
171
|
-
// Because this approach is destroying and recreating the paging
|
172
|
-
// elements, focus is lost on the select button which is bad for
|
173
|
-
// accessibility. So we want to restore focus once the draw has
|
174
|
-
// completed
|
175
|
-
activeEl = hostEl.find(document.activeElement).data('dt-idx');
|
176
|
-
}
|
177
|
-
catch (e) {}
|
178
|
-
|
179
|
-
var paginationEl = hostEl.children('ul.pagination');
|
180
|
-
|
181
|
-
if (paginationEl.length) {
|
182
|
-
paginationEl.empty();
|
183
|
-
}
|
184
|
-
else {
|
185
|
-
paginationEl = hostEl.html('<ul/>').children('ul').addClass('pagination');
|
186
|
-
}
|
187
|
-
|
188
|
-
attach(
|
189
|
-
paginationEl,
|
190
|
-
buttons
|
191
|
-
);
|
192
|
-
|
193
|
-
if ( activeEl !== undefined ) {
|
194
|
-
hostEl.find('[data-dt-idx='+activeEl+']').trigger('focus');
|
195
|
-
}
|
196
|
-
};
|
197
|
-
|
198
|
-
|
199
|
-
return DataTable;
|
200
|
-
}));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! DataTables Bootstrap 5 integration
|
2
|
-
* 2020 SpryMedia Ltd - datatables.net/license
|
3
|
-
*/
|
4
|
-
import $ from"jquery";import DataTable from"datatables.net";$.extend(!0,DataTable.defaults,{dom:"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>><'row dt-row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",renderer:"bootstrap"}),$.extend(DataTable.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap5",sFilterInput:"form-control form-control-sm",sLengthSelect:"form-select form-select-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"}),DataTable.ext.renderer.pageButton.bootstrap=function(i,a,d,e,n,c){function p(a,e){function t(a){a.preventDefault(),$(a.currentTarget).hasClass("disabled")||m.page()==a.data.action||m.page(a.data.action).draw("page")}for(var s,r,l=0,o=e.length;l<o;l++)if(r=e[l],Array.isArray(r))p(a,r);else{switch(g=b="",r){case"ellipsis":b="…",g="disabled";break;case"first":b=f.sFirst,g=r+(0<n?"":" disabled");break;case"previous":b=f.sPrevious,g=r+(0<n?"":" disabled");break;case"next":b=f.sNext,g=r+(n<c-1?"":" disabled");break;case"last":b=f.sLast,g=r+(n<c-1?"":" disabled");break;default:b=r+1,g=n===r?"active":""}b&&(s=$("<li>",{class:u.sPageButton+" "+g,id:0===d&&"string"==typeof r?i.sTableId+"_"+r:null}).append($("<a>",{href:"#","aria-controls":i.sTableId,"aria-label":x[r],"data-dt-idx":r,tabindex:i.iTabIndex,class:"page-link"}).html(b)).appendTo(a),i.oApi._fnBindAction(s,{action:r},t))}}var b,g,t,m=new DataTable.Api(i),u=i.oClasses,f=i.oLanguage.oPaginate,x=i.oLanguage.oAria.paginate||{},a=$(a);try{t=a.find(document.activeElement).data("dt-idx")}catch(a){}var s=a.children("ul.pagination");s.length?s.empty():s=a.html("<ul/>").children("ul").addClass("pagination"),p(s,e),void 0!==t&&a.find("[data-dt-idx="+t+"]").trigger("focus")};export default DataTable;
|
@@ -1,164 +0,0 @@
|
|
1
|
-
/*! DataTables Bootstrap 5 integration
|
2
|
-
* 2020 SpryMedia Ltd - datatables.net/license
|
3
|
-
*/
|
4
|
-
|
5
|
-
import $ from 'jquery';
|
6
|
-
import DataTable from 'datatables.net';
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
/**
|
11
|
-
* DataTables integration for Bootstrap 5. This requires Bootstrap 5 and
|
12
|
-
* DataTables 1.10 or newer.
|
13
|
-
*
|
14
|
-
* This file sets the defaults and adds options to DataTables to style its
|
15
|
-
* controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
|
16
|
-
* for further information.
|
17
|
-
*/
|
18
|
-
|
19
|
-
/* Set the defaults for DataTables initialisation */
|
20
|
-
$.extend( true, DataTable.defaults, {
|
21
|
-
dom:
|
22
|
-
"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>>" +
|
23
|
-
"<'row dt-row'<'col-sm-12'tr>>" +
|
24
|
-
"<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
|
25
|
-
renderer: 'bootstrap'
|
26
|
-
} );
|
27
|
-
|
28
|
-
|
29
|
-
/* Default class modification */
|
30
|
-
$.extend( DataTable.ext.classes, {
|
31
|
-
sWrapper: "dataTables_wrapper dt-bootstrap5",
|
32
|
-
sFilterInput: "form-control form-control-sm",
|
33
|
-
sLengthSelect: "form-select form-select-sm",
|
34
|
-
sProcessing: "dataTables_processing card",
|
35
|
-
sPageButton: "paginate_button page-item"
|
36
|
-
} );
|
37
|
-
|
38
|
-
|
39
|
-
/* Bootstrap paging button renderer */
|
40
|
-
DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) {
|
41
|
-
var api = new DataTable.Api( settings );
|
42
|
-
var classes = settings.oClasses;
|
43
|
-
var lang = settings.oLanguage.oPaginate;
|
44
|
-
var aria = settings.oLanguage.oAria.paginate || {};
|
45
|
-
var btnDisplay, btnClass;
|
46
|
-
|
47
|
-
var attach = function( container, buttons ) {
|
48
|
-
var i, ien, node, button;
|
49
|
-
var clickHandler = function ( e ) {
|
50
|
-
e.preventDefault();
|
51
|
-
if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
|
52
|
-
api.page( e.data.action ).draw( 'page' );
|
53
|
-
}
|
54
|
-
};
|
55
|
-
|
56
|
-
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
57
|
-
button = buttons[i];
|
58
|
-
|
59
|
-
if ( Array.isArray( button ) ) {
|
60
|
-
attach( container, button );
|
61
|
-
}
|
62
|
-
else {
|
63
|
-
btnDisplay = '';
|
64
|
-
btnClass = '';
|
65
|
-
|
66
|
-
switch ( button ) {
|
67
|
-
case 'ellipsis':
|
68
|
-
btnDisplay = '…';
|
69
|
-
btnClass = 'disabled';
|
70
|
-
break;
|
71
|
-
|
72
|
-
case 'first':
|
73
|
-
btnDisplay = lang.sFirst;
|
74
|
-
btnClass = button + (page > 0 ?
|
75
|
-
'' : ' disabled');
|
76
|
-
break;
|
77
|
-
|
78
|
-
case 'previous':
|
79
|
-
btnDisplay = lang.sPrevious;
|
80
|
-
btnClass = button + (page > 0 ?
|
81
|
-
'' : ' disabled');
|
82
|
-
break;
|
83
|
-
|
84
|
-
case 'next':
|
85
|
-
btnDisplay = lang.sNext;
|
86
|
-
btnClass = button + (page < pages-1 ?
|
87
|
-
'' : ' disabled');
|
88
|
-
break;
|
89
|
-
|
90
|
-
case 'last':
|
91
|
-
btnDisplay = lang.sLast;
|
92
|
-
btnClass = button + (page < pages-1 ?
|
93
|
-
'' : ' disabled');
|
94
|
-
break;
|
95
|
-
|
96
|
-
default:
|
97
|
-
btnDisplay = button + 1;
|
98
|
-
btnClass = page === button ?
|
99
|
-
'active' : '';
|
100
|
-
break;
|
101
|
-
}
|
102
|
-
|
103
|
-
if ( btnDisplay ) {
|
104
|
-
node = $('<li>', {
|
105
|
-
'class': classes.sPageButton+' '+btnClass,
|
106
|
-
'id': idx === 0 && typeof button === 'string' ?
|
107
|
-
settings.sTableId +'_'+ button :
|
108
|
-
null
|
109
|
-
} )
|
110
|
-
.append( $('<a>', {
|
111
|
-
'href': '#',
|
112
|
-
'aria-controls': settings.sTableId,
|
113
|
-
'aria-label': aria[ button ],
|
114
|
-
'data-dt-idx': button,
|
115
|
-
'tabindex': settings.iTabIndex,
|
116
|
-
'class': 'page-link'
|
117
|
-
} )
|
118
|
-
.html( btnDisplay )
|
119
|
-
)
|
120
|
-
.appendTo( container );
|
121
|
-
|
122
|
-
settings.oApi._fnBindAction(
|
123
|
-
node, {action: button}, clickHandler
|
124
|
-
);
|
125
|
-
}
|
126
|
-
}
|
127
|
-
}
|
128
|
-
};
|
129
|
-
|
130
|
-
var hostEl = $(host);
|
131
|
-
// IE9 throws an 'unknown error' if document.activeElement is used
|
132
|
-
// inside an iframe or frame.
|
133
|
-
var activeEl;
|
134
|
-
|
135
|
-
try {
|
136
|
-
// Because this approach is destroying and recreating the paging
|
137
|
-
// elements, focus is lost on the select button which is bad for
|
138
|
-
// accessibility. So we want to restore focus once the draw has
|
139
|
-
// completed
|
140
|
-
activeEl = hostEl.find(document.activeElement).data('dt-idx');
|
141
|
-
}
|
142
|
-
catch (e) {}
|
143
|
-
|
144
|
-
var paginationEl = hostEl.children('ul.pagination');
|
145
|
-
|
146
|
-
if (paginationEl.length) {
|
147
|
-
paginationEl.empty();
|
148
|
-
}
|
149
|
-
else {
|
150
|
-
paginationEl = hostEl.html('<ul/>').children('ul').addClass('pagination');
|
151
|
-
}
|
152
|
-
|
153
|
-
attach(
|
154
|
-
paginationEl,
|
155
|
-
buttons
|
156
|
-
);
|
157
|
-
|
158
|
-
if ( activeEl !== undefined ) {
|
159
|
-
hostEl.find('[data-dt-idx='+activeEl+']').trigger('focus');
|
160
|
-
}
|
161
|
-
};
|
162
|
-
|
163
|
-
|
164
|
-
export default DataTable;
|