jekyll-theme-centos 2.3.0.beta.67 → 2.3.0.beta.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/default/header.html +4 -4
- data/_includes/download/cards-body-convert.html +6 -8
- data/_includes/download/cards-body-doc.html +7 -4
- data/_includes/download/cards-body-eol.html +13 -4
- data/_includes/download/cards-body-screenshot.html +3 -0
- data/_includes/download/cards-body.html +6 -5
- data/_includes/download/cards-header-convert.html +7 -8
- data/_includes/download/cards-header-doc.html +7 -8
- data/_includes/download/cards-header-eol.html +7 -8
- data/_includes/download/cards-header-screenshot.html +8 -0
- data/_includes/download/cards-header.html +12 -10
- data/_includes/download/cards.html +47 -52
- data/_includes/editbar.html +4 -41
- data/_includes/footer.html +28 -31
- data/_includes/home/header.html +1 -1
- data/_includes/people/about.html +1 -1
- data/_includes/people/header.html +1 -1
- data/_includes/people/posts.html +1 -1
- data/_includes/people/projects.html +1 -1
- data/_includes/people/pubkeys.html +2 -2
- data/_includes/people/support.html +1 -1
- data/_includes/scripts.html +65 -0
- data/_includes/toc-accordion.html +4 -2
- data/_layouts/default.html +7 -12
- data/_layouts/people.html +16 -40
- data/_sass/centos/_adjustments.scss +57 -0
- data/_sass/centos/_variables.scss +72 -14
- data/assets/css/stylesheet.lists.min.scss +2 -1
- data/assets/css/stylesheet.min.scss +2 -1
- data/assets/img/distributions/centos-linux/7/screenshot-n.png +0 -0
- data/assets/img/distributions/centos-linux/8/screenshot-n.png +0 -0
- data/assets/img/distributions/centos-stream/8/screenshot-n.png +0 -0
- data/assets/img/distributions/centos-stream/9/screenshot-n.png +0 -0
- data/assets/img/distributions/name/release/screenshot-n.png +0 -0
- data/assets/img/distributions/name/release/screenshot-n.svg +128 -0
- data/assets/js/jquery.dataTables.min.js +4 -0
- data/assets/js/vanilla-back-to-top.min.js +1 -0
- data/default.md +36 -25
- data/download.md +91 -0
- data/people.md +3 -1
- metadata +15 -14
- data/_includes/top.html +0 -3
- data/_layouts/default-datatables.html +0 -35
- data/_sass/centos/_headings.scss +0 -32
- data/_sass/centos/_links.scss +0 -11
- data/assets/js/clipboard.js +0 -890
- data/assets/js/dataTables.bootstrap5.js +0 -212
- data/assets/js/dataTables.bootstrap5.min.mjs +0 -4
- data/assets/js/dataTables.bootstrap5.mjs +0 -168
- data/assets/js/jquery.js +0 -10965
- data/assets/js/jquery.min.map +0 -1
- data/assets/js/jquery.slim.js +0 -8866
- data/assets/js/jquery.slim.min.map +0 -1
@@ -1,212 +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
|
-
var jq = require('jquery');
|
15
|
-
var cjsRequires = function (root, $) {
|
16
|
-
if ( ! $.fn.dataTable ) {
|
17
|
-
require('datatables.net')(root, $);
|
18
|
-
}
|
19
|
-
};
|
20
|
-
|
21
|
-
if (typeof window !== 'undefined') {
|
22
|
-
module.exports = function (root, $) {
|
23
|
-
if ( ! root ) {
|
24
|
-
// CommonJS environments without a window global must pass a
|
25
|
-
// root. This will give an error otherwise
|
26
|
-
root = window;
|
27
|
-
}
|
28
|
-
|
29
|
-
if ( ! $ ) {
|
30
|
-
$ = jq( root );
|
31
|
-
}
|
32
|
-
|
33
|
-
cjsRequires( root, $ );
|
34
|
-
return factory( $, root, root.document );
|
35
|
-
};
|
36
|
-
}
|
37
|
-
else {
|
38
|
-
cjsRequires( window, jq );
|
39
|
-
module.exports = factory( jq, window, window.document );
|
40
|
-
}
|
41
|
-
}
|
42
|
-
else {
|
43
|
-
// Browser
|
44
|
-
factory( jQuery, window, document );
|
45
|
-
}
|
46
|
-
}(function( $, window, document, undefined ) {
|
47
|
-
'use strict';
|
48
|
-
var DataTable = $.fn.dataTable;
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
/**
|
53
|
-
* DataTables integration for Bootstrap 5. This requires Bootstrap 5 and
|
54
|
-
* DataTables 1.10 or newer.
|
55
|
-
*
|
56
|
-
* This file sets the defaults and adds options to DataTables to style its
|
57
|
-
* controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
|
58
|
-
* for further information.
|
59
|
-
*/
|
60
|
-
|
61
|
-
/* Set the defaults for DataTables initialisation */
|
62
|
-
$.extend( true, DataTable.defaults, {
|
63
|
-
dom:
|
64
|
-
"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>>" +
|
65
|
-
"<'row dt-row'<'col-sm-12'tr>>" +
|
66
|
-
"<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
|
67
|
-
renderer: 'bootstrap'
|
68
|
-
} );
|
69
|
-
|
70
|
-
|
71
|
-
/* Default class modification */
|
72
|
-
$.extend( DataTable.ext.classes, {
|
73
|
-
sWrapper: "dataTables_wrapper dt-bootstrap5",
|
74
|
-
sFilterInput: "form-control form-control-sm",
|
75
|
-
sLengthSelect: "form-select form-select-sm",
|
76
|
-
sProcessing: "dataTables_processing card",
|
77
|
-
sPageButton: "paginate_button page-item"
|
78
|
-
} );
|
79
|
-
|
80
|
-
|
81
|
-
/* Bootstrap paging button renderer */
|
82
|
-
DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) {
|
83
|
-
var api = new DataTable.Api( settings );
|
84
|
-
var classes = settings.oClasses;
|
85
|
-
var lang = settings.oLanguage.oPaginate;
|
86
|
-
var aria = settings.oLanguage.oAria.paginate || {};
|
87
|
-
var btnDisplay, btnClass;
|
88
|
-
|
89
|
-
var attach = function( container, buttons ) {
|
90
|
-
var i, ien, node, button;
|
91
|
-
var clickHandler = function ( e ) {
|
92
|
-
e.preventDefault();
|
93
|
-
if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
|
94
|
-
api.page( e.data.action ).draw( 'page' );
|
95
|
-
}
|
96
|
-
};
|
97
|
-
|
98
|
-
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
99
|
-
button = buttons[i];
|
100
|
-
|
101
|
-
if ( Array.isArray( button ) ) {
|
102
|
-
attach( container, button );
|
103
|
-
}
|
104
|
-
else {
|
105
|
-
btnDisplay = '';
|
106
|
-
btnClass = '';
|
107
|
-
|
108
|
-
switch ( button ) {
|
109
|
-
case 'ellipsis':
|
110
|
-
btnDisplay = '…';
|
111
|
-
btnClass = 'disabled';
|
112
|
-
break;
|
113
|
-
|
114
|
-
case 'first':
|
115
|
-
btnDisplay = lang.sFirst;
|
116
|
-
btnClass = button + (page > 0 ?
|
117
|
-
'' : ' disabled');
|
118
|
-
break;
|
119
|
-
|
120
|
-
case 'previous':
|
121
|
-
btnDisplay = lang.sPrevious;
|
122
|
-
btnClass = button + (page > 0 ?
|
123
|
-
'' : ' disabled');
|
124
|
-
break;
|
125
|
-
|
126
|
-
case 'next':
|
127
|
-
btnDisplay = lang.sNext;
|
128
|
-
btnClass = button + (page < pages-1 ?
|
129
|
-
'' : ' disabled');
|
130
|
-
break;
|
131
|
-
|
132
|
-
case 'last':
|
133
|
-
btnDisplay = lang.sLast;
|
134
|
-
btnClass = button + (page < pages-1 ?
|
135
|
-
'' : ' disabled');
|
136
|
-
break;
|
137
|
-
|
138
|
-
default:
|
139
|
-
btnDisplay = button + 1;
|
140
|
-
btnClass = page === button ?
|
141
|
-
'active' : '';
|
142
|
-
break;
|
143
|
-
}
|
144
|
-
|
145
|
-
if ( btnDisplay ) {
|
146
|
-
var disabled = btnClass.indexOf('disabled') !== -1;
|
147
|
-
|
148
|
-
node = $('<li>', {
|
149
|
-
'class': classes.sPageButton+' '+btnClass,
|
150
|
-
'id': idx === 0 && typeof button === 'string' ?
|
151
|
-
settings.sTableId +'_'+ button :
|
152
|
-
null
|
153
|
-
} )
|
154
|
-
.append( $('<a>', {
|
155
|
-
'href': disabled ? null : '#',
|
156
|
-
'aria-controls': settings.sTableId,
|
157
|
-
'aria-disabled': disabled ? 'true' : null,
|
158
|
-
'aria-label': aria[ button ],
|
159
|
-
'aria-role': 'link',
|
160
|
-
'aria-current': btnClass === 'active' ? 'page' : null,
|
161
|
-
'data-dt-idx': button,
|
162
|
-
'tabindex': settings.iTabIndex,
|
163
|
-
'class': 'page-link'
|
164
|
-
} )
|
165
|
-
.html( btnDisplay )
|
166
|
-
)
|
167
|
-
.appendTo( container );
|
168
|
-
|
169
|
-
settings.oApi._fnBindAction(
|
170
|
-
node, {action: button}, clickHandler
|
171
|
-
);
|
172
|
-
}
|
173
|
-
}
|
174
|
-
}
|
175
|
-
};
|
176
|
-
|
177
|
-
var hostEl = $(host);
|
178
|
-
// IE9 throws an 'unknown error' if document.activeElement is used
|
179
|
-
// inside an iframe or frame.
|
180
|
-
var activeEl;
|
181
|
-
|
182
|
-
try {
|
183
|
-
// Because this approach is destroying and recreating the paging
|
184
|
-
// elements, focus is lost on the select button which is bad for
|
185
|
-
// accessibility. So we want to restore focus once the draw has
|
186
|
-
// completed
|
187
|
-
activeEl = hostEl.find(document.activeElement).data('dt-idx');
|
188
|
-
}
|
189
|
-
catch (e) {}
|
190
|
-
|
191
|
-
var paginationEl = hostEl.children('ul.pagination');
|
192
|
-
|
193
|
-
if (paginationEl.length) {
|
194
|
-
paginationEl.empty();
|
195
|
-
}
|
196
|
-
else {
|
197
|
-
paginationEl = hostEl.html('<ul/>').children('ul').addClass('pagination');
|
198
|
-
}
|
199
|
-
|
200
|
-
attach(
|
201
|
-
paginationEl,
|
202
|
-
buttons
|
203
|
-
);
|
204
|
-
|
205
|
-
if ( activeEl !== undefined ) {
|
206
|
-
hostEl.find('[data-dt-idx='+activeEl+']').trigger('focus');
|
207
|
-
}
|
208
|
-
};
|
209
|
-
|
210
|
-
|
211
|
-
return DataTable;
|
212
|
-
}));
|
@@ -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(o,a,d,e,n,c){function p(a,e){function t(a){a.preventDefault(),$(a.currentTarget).hasClass("disabled")||g.page()==a.data.action||g.page(a.data.action).draw("page")}for(var l,r,s=0,i=e.length;s<i;s++)if(l=e[s],Array.isArray(l))p(a,l);else{switch(u=b="",l){case"ellipsis":b="…",u="disabled";break;case"first":b=f.sFirst,u=l+(0<n?"":" disabled");break;case"previous":b=f.sPrevious,u=l+(0<n?"":" disabled");break;case"next":b=f.sNext,u=l+(n<c-1?"":" disabled");break;case"last":b=f.sLast,u=l+(n<c-1?"":" disabled");break;default:b=l+1,u=n===l?"active":""}b&&(r=-1!==u.indexOf("disabled"),r=$("<li>",{class:m.sPageButton+" "+u,id:0===d&&"string"==typeof l?o.sTableId+"_"+l:null}).append($("<a>",{href:r?null:"#","aria-controls":o.sTableId,"aria-disabled":r?"true":null,"aria-label":x[l],"aria-role":"link","aria-current":"active"===u?"page":null,"data-dt-idx":l,tabindex:o.iTabIndex,class:"page-link"}).html(b)).appendTo(a),o.oApi._fnBindAction(r,{action:l},t))}}var b,u,t,g=new DataTable.Api(o),m=o.oClasses,f=o.oLanguage.oPaginate,x=o.oLanguage.oAria.paginate||{},a=$(a);try{t=a.find(document.activeElement).data("dt-idx")}catch(a){}var l=a.children("ul.pagination");l.length?l.empty():l=a.html("<ul/>").children("ul").addClass("pagination"),p(l,e),void 0!==t&&a.find("[data-dt-idx="+t+"]").trigger("focus")};export default DataTable;
|
@@ -1,168 +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
|
-
* DataTables integration for Bootstrap 5. This requires Bootstrap 5 and
|
11
|
-
* DataTables 1.10 or newer.
|
12
|
-
*
|
13
|
-
* This file sets the defaults and adds options to DataTables to style its
|
14
|
-
* controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
|
15
|
-
* for further information.
|
16
|
-
*/
|
17
|
-
|
18
|
-
/* Set the defaults for DataTables initialisation */
|
19
|
-
$.extend( true, DataTable.defaults, {
|
20
|
-
dom:
|
21
|
-
"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>>" +
|
22
|
-
"<'row dt-row'<'col-sm-12'tr>>" +
|
23
|
-
"<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
|
24
|
-
renderer: 'bootstrap'
|
25
|
-
} );
|
26
|
-
|
27
|
-
|
28
|
-
/* Default class modification */
|
29
|
-
$.extend( DataTable.ext.classes, {
|
30
|
-
sWrapper: "dataTables_wrapper dt-bootstrap5",
|
31
|
-
sFilterInput: "form-control form-control-sm",
|
32
|
-
sLengthSelect: "form-select form-select-sm",
|
33
|
-
sProcessing: "dataTables_processing card",
|
34
|
-
sPageButton: "paginate_button page-item"
|
35
|
-
} );
|
36
|
-
|
37
|
-
|
38
|
-
/* Bootstrap paging button renderer */
|
39
|
-
DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) {
|
40
|
-
var api = new DataTable.Api( settings );
|
41
|
-
var classes = settings.oClasses;
|
42
|
-
var lang = settings.oLanguage.oPaginate;
|
43
|
-
var aria = settings.oLanguage.oAria.paginate || {};
|
44
|
-
var btnDisplay, btnClass;
|
45
|
-
|
46
|
-
var attach = function( container, buttons ) {
|
47
|
-
var i, ien, node, button;
|
48
|
-
var clickHandler = function ( e ) {
|
49
|
-
e.preventDefault();
|
50
|
-
if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
|
51
|
-
api.page( e.data.action ).draw( 'page' );
|
52
|
-
}
|
53
|
-
};
|
54
|
-
|
55
|
-
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
56
|
-
button = buttons[i];
|
57
|
-
|
58
|
-
if ( Array.isArray( button ) ) {
|
59
|
-
attach( container, button );
|
60
|
-
}
|
61
|
-
else {
|
62
|
-
btnDisplay = '';
|
63
|
-
btnClass = '';
|
64
|
-
|
65
|
-
switch ( button ) {
|
66
|
-
case 'ellipsis':
|
67
|
-
btnDisplay = '…';
|
68
|
-
btnClass = 'disabled';
|
69
|
-
break;
|
70
|
-
|
71
|
-
case 'first':
|
72
|
-
btnDisplay = lang.sFirst;
|
73
|
-
btnClass = button + (page > 0 ?
|
74
|
-
'' : ' disabled');
|
75
|
-
break;
|
76
|
-
|
77
|
-
case 'previous':
|
78
|
-
btnDisplay = lang.sPrevious;
|
79
|
-
btnClass = button + (page > 0 ?
|
80
|
-
'' : ' disabled');
|
81
|
-
break;
|
82
|
-
|
83
|
-
case 'next':
|
84
|
-
btnDisplay = lang.sNext;
|
85
|
-
btnClass = button + (page < pages-1 ?
|
86
|
-
'' : ' disabled');
|
87
|
-
break;
|
88
|
-
|
89
|
-
case 'last':
|
90
|
-
btnDisplay = lang.sLast;
|
91
|
-
btnClass = button + (page < pages-1 ?
|
92
|
-
'' : ' disabled');
|
93
|
-
break;
|
94
|
-
|
95
|
-
default:
|
96
|
-
btnDisplay = button + 1;
|
97
|
-
btnClass = page === button ?
|
98
|
-
'active' : '';
|
99
|
-
break;
|
100
|
-
}
|
101
|
-
|
102
|
-
if ( btnDisplay ) {
|
103
|
-
var disabled = btnClass.indexOf('disabled') !== -1;
|
104
|
-
|
105
|
-
node = $('<li>', {
|
106
|
-
'class': classes.sPageButton+' '+btnClass,
|
107
|
-
'id': idx === 0 && typeof button === 'string' ?
|
108
|
-
settings.sTableId +'_'+ button :
|
109
|
-
null
|
110
|
-
} )
|
111
|
-
.append( $('<a>', {
|
112
|
-
'href': disabled ? null : '#',
|
113
|
-
'aria-controls': settings.sTableId,
|
114
|
-
'aria-disabled': disabled ? 'true' : null,
|
115
|
-
'aria-label': aria[ button ],
|
116
|
-
'aria-role': 'link',
|
117
|
-
'aria-current': btnClass === 'active' ? 'page' : null,
|
118
|
-
'data-dt-idx': button,
|
119
|
-
'tabindex': settings.iTabIndex,
|
120
|
-
'class': 'page-link'
|
121
|
-
} )
|
122
|
-
.html( btnDisplay )
|
123
|
-
)
|
124
|
-
.appendTo( container );
|
125
|
-
|
126
|
-
settings.oApi._fnBindAction(
|
127
|
-
node, {action: button}, clickHandler
|
128
|
-
);
|
129
|
-
}
|
130
|
-
}
|
131
|
-
}
|
132
|
-
};
|
133
|
-
|
134
|
-
var hostEl = $(host);
|
135
|
-
// IE9 throws an 'unknown error' if document.activeElement is used
|
136
|
-
// inside an iframe or frame.
|
137
|
-
var activeEl;
|
138
|
-
|
139
|
-
try {
|
140
|
-
// Because this approach is destroying and recreating the paging
|
141
|
-
// elements, focus is lost on the select button which is bad for
|
142
|
-
// accessibility. So we want to restore focus once the draw has
|
143
|
-
// completed
|
144
|
-
activeEl = hostEl.find(document.activeElement).data('dt-idx');
|
145
|
-
}
|
146
|
-
catch (e) {}
|
147
|
-
|
148
|
-
var paginationEl = hostEl.children('ul.pagination');
|
149
|
-
|
150
|
-
if (paginationEl.length) {
|
151
|
-
paginationEl.empty();
|
152
|
-
}
|
153
|
-
else {
|
154
|
-
paginationEl = hostEl.html('<ul/>').children('ul').addClass('pagination');
|
155
|
-
}
|
156
|
-
|
157
|
-
attach(
|
158
|
-
paginationEl,
|
159
|
-
buttons
|
160
|
-
);
|
161
|
-
|
162
|
-
if ( activeEl !== undefined ) {
|
163
|
-
hostEl.find('[data-dt-idx='+activeEl+']').trigger('focus');
|
164
|
-
}
|
165
|
-
};
|
166
|
-
|
167
|
-
|
168
|
-
export default DataTable;
|