jekyll-theme-centos 2.2.21 → 2.3.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (301) hide show
  1. checksums.yaml +4 -4
  2. data/_data/aws-images.csv +81 -0
  3. data/_data/full-altarchlist.csv +74 -0
  4. data/_data/full-mirrorlist.csv +609 -0
  5. data/_includes/blog/header.html +22 -0
  6. data/_includes/breadcrumbs.html +13 -0
  7. data/_includes/default/alert-danger.html +4 -0
  8. data/_includes/default/alert-info.html +4 -0
  9. data/_includes/default/alert-success.html +4 -0
  10. data/_includes/default/alert-warning.html +4 -0
  11. data/_includes/default/figure.html +3 -0
  12. data/_includes/default/header.html +10 -0
  13. data/_includes/default/video.html +3 -0
  14. data/_includes/download/cards-body-convert.html +8 -6
  15. data/_includes/download/cards-body-doc.html +4 -7
  16. data/_includes/download/cards-body-eol.html +4 -13
  17. data/_includes/download/cards-body.html +5 -6
  18. data/_includes/download/cards-footer.html +0 -0
  19. data/_includes/download/cards-header-convert.html +8 -7
  20. data/_includes/download/cards-header-doc.html +8 -7
  21. data/_includes/download/cards-header-eol.html +8 -7
  22. data/_includes/download/cards-header.html +10 -12
  23. data/_includes/download/cards.html +58 -53
  24. data/_includes/editbar.html +43 -0
  25. data/_includes/footer.html +36 -0
  26. data/_includes/head-datatables.html +8 -0
  27. data/_includes/head.html +7 -0
  28. data/_includes/header.html +7 -0
  29. data/_includes/home/header.html +1 -1
  30. data/_includes/home/planet.html +6 -3
  31. data/_includes/navbar.html +28 -0
  32. data/_includes/people/about.html +10 -10
  33. data/_includes/people/header.html +2 -2
  34. data/_includes/people/posts.html +13 -10
  35. data/_includes/people/projects.html +17 -21
  36. data/_includes/people/pubkeys.html +7 -9
  37. data/_includes/people/support.html +9 -9
  38. data/_includes/post/header.html +23 -0
  39. data/_includes/search.html +81 -0
  40. data/_includes/{base/toc-accordion.html → toc-accordion.html} +4 -4
  41. data/_includes/{base/toc.html → toc.html} +0 -0
  42. data/_includes/top.html +3 -0
  43. data/_layouts/default-datatables.html +35 -0
  44. data/_layouts/default.html +34 -0
  45. data/_layouts/home.html +11 -9
  46. data/_layouts/people.html +59 -0
  47. data/_sass/bootstrap/_accordion.scss +0 -9
  48. data/_sass/bootstrap/_alert.scss +11 -8
  49. data/_sass/bootstrap/_button-group.scss +2 -2
  50. data/_sass/bootstrap/_buttons.scss +3 -3
  51. data/_sass/bootstrap/_card.scss +0 -5
  52. data/_sass/bootstrap/_carousel.scss +2 -20
  53. data/_sass/bootstrap/_close.scss +9 -32
  54. data/_sass/bootstrap/_dropdown.scss +0 -1
  55. data/_sass/bootstrap/_functions.scss +1 -1
  56. data/_sass/bootstrap/_grid.scss +0 -6
  57. data/_sass/bootstrap/_helpers.scss +0 -2
  58. data/_sass/bootstrap/_list-group.scss +7 -12
  59. data/_sass/bootstrap/_maps.scss +0 -120
  60. data/_sass/bootstrap/_mixins.scss +2 -1
  61. data/_sass/bootstrap/_nav.scss +3 -40
  62. data/_sass/bootstrap/_navbar.scss +4 -15
  63. data/_sass/bootstrap/_offcanvas.scss +2 -4
  64. data/_sass/bootstrap/_pagination.scss +1 -1
  65. data/_sass/bootstrap/_progress.scss +1 -10
  66. data/_sass/bootstrap/_reboot.scss +3 -3
  67. data/_sass/bootstrap/_root.scss +10 -121
  68. data/_sass/bootstrap/_tables.scss +11 -18
  69. data/_sass/bootstrap/_tooltip.scss +5 -4
  70. data/_sass/bootstrap/_utilities.scss +13 -172
  71. data/_sass/bootstrap/_variables.scss +153 -262
  72. data/_sass/bootstrap/bootstrap-grid.scss +3 -1
  73. data/_sass/bootstrap/bootstrap-reboot.scss +0 -1
  74. data/_sass/bootstrap/bootstrap-utilities.scss +0 -1
  75. data/_sass/bootstrap/bootstrap.scss +0 -1
  76. data/_sass/bootstrap/forms/_floating-labels.scss +3 -22
  77. data/_sass/bootstrap/forms/_form-check.scss +11 -24
  78. data/_sass/bootstrap/forms/_form-control.scss +3 -23
  79. data/_sass/bootstrap/forms/_form-select.scss +2 -11
  80. data/_sass/bootstrap/forms/_input-group.scss +1 -1
  81. data/_sass/bootstrap/helpers/_color-bg.scss +2 -0
  82. data/_sass/bootstrap/helpers/_colored-links.scss +2 -20
  83. data/_sass/bootstrap/mixins/_alert.scss +1 -4
  84. data/_sass/bootstrap/mixins/_banner.scss +4 -2
  85. data/_sass/bootstrap/mixins/_caret.scss +25 -30
  86. data/_sass/bootstrap/mixins/_forms.scss +7 -8
  87. data/_sass/bootstrap/mixins/_list-group.scss +0 -2
  88. data/_sass/bootstrap/mixins/_utilities.scss +1 -1
  89. data/_sass/bootstrap/mixins/_visually-hidden.scss +1 -5
  90. data/_sass/bootstrap/vendor/_rfs.scss +29 -23
  91. data/_sass/centos/_headings.scss +17 -0
  92. data/_sass/centos/_links.scss +11 -0
  93. data/_sass/centos/_sponsors.scss +112 -0
  94. data/_sass/centos/_variables.scss +23 -0
  95. data/_sass/centos/sites/lists/mmcfg.scss +9 -0
  96. data/_sass/fontawesome-free/_animated.scss +153 -0
  97. data/_sass/fontawesome-free/_bordered-pulled.scss +20 -0
  98. data/_sass/fontawesome-free/_core.scss +43 -0
  99. data/_sass/fontawesome-free/_fixed-width.scss +7 -0
  100. data/_sass/fontawesome-free/_functions.scss +57 -0
  101. data/_sass/fontawesome-free/_icons.scss +9 -0
  102. data/_sass/fontawesome-free/_list.scss +18 -0
  103. data/_sass/fontawesome-free/_mixins.scss +75 -0
  104. data/_sass/fontawesome-free/_rotated-flipped.scss +31 -0
  105. data/_sass/fontawesome-free/_screen-reader.scss +14 -0
  106. data/_sass/fontawesome-free/_shims.scss +2042 -0
  107. data/_sass/fontawesome-free/_sizing.scss +16 -0
  108. data/_sass/fontawesome-free/_stacked.scss +32 -0
  109. data/_sass/fontawesome-free/_variables.scss +4957 -0
  110. data/_sass/fontawesome-free/brands.scss +30 -0
  111. data/_sass/fontawesome-free/fontawesome.scss +21 -0
  112. data/_sass/fontawesome-free/regular.scss +26 -0
  113. data/_sass/fontawesome-free/solid.scss +26 -0
  114. data/_sass/fontawesome-free/v4-shims.scss +11 -0
  115. data/_sass/montserrat/_montserrat.scss +79 -0
  116. data/_sass/overpass-mono/_overpass-mono.scss +33 -0
  117. data/assets/css/dataTables.bootstrap5.css +5 -19
  118. data/assets/css/dataTables.bootstrap5.min.css +2 -2
  119. data/assets/css/sites/lists/mmcfg.min.scss +4 -0
  120. data/assets/css/stylesheet.min.scss +20 -0
  121. data/assets/img/anaconda-symbolic.svg +0 -0
  122. data/assets/img/anaconda.svg +0 -0
  123. data/assets/img/centos-dynamicmsg-logo.svg +0 -0
  124. data/assets/img/centos-dynamicmsg-type.svg +0 -0
  125. data/assets/img/centos-dynamicmsg-whitelogo.svg +0 -0
  126. data/assets/img/centos-dynamicmsg-whitetype.svg +0 -0
  127. data/assets/img/centos-gdm-whitelogo.svg +0 -0
  128. data/assets/img/centos-ipa-whiteheader.svg +0 -0
  129. data/assets/img/centos-logo-2bits.svg +0 -0
  130. data/assets/img/centos-logo.svg +0 -0
  131. data/assets/img/centos-message-logo.svg +0 -0
  132. data/assets/img/centos-motif.png +0 -0
  133. data/assets/img/centos-poweredby-logo.svg +0 -0
  134. data/assets/img/centos-symbol-2bits.svg +0 -0
  135. data/assets/img/centos-symbol.svg +0 -0
  136. data/assets/img/centos-type.svg +0 -0
  137. data/assets/img/centos-vertical-logo.svg +0 -0
  138. data/assets/img/centos-vertical-message-logo.svg +0 -0
  139. data/assets/img/centos-whitelogo.svg +0 -0
  140. data/assets/img/people/username.png +0 -0
  141. data/assets/js/bootstrap.bundle.js +1473 -704
  142. data/assets/js/bootstrap.bundle.js.map +1 -1
  143. data/assets/js/bootstrap.bundle.min.js +3 -3
  144. data/assets/js/bootstrap.bundle.min.js.map +1 -1
  145. data/assets/js/bootstrap.esm.js +1423 -660
  146. data/assets/js/bootstrap.esm.js.map +1 -1
  147. data/assets/js/bootstrap.esm.min.js +3 -3
  148. data/assets/js/bootstrap.esm.min.js.map +1 -1
  149. data/assets/js/bootstrap.js +1432 -669
  150. data/assets/js/bootstrap.js.map +1 -1
  151. data/assets/js/bootstrap.min.js +3 -3
  152. data/assets/js/bootstrap.min.js.map +1 -1
  153. data/assets/js/clipboard.js +890 -0
  154. data/assets/js/dataTables.bootstrap5.js +200 -0
  155. data/assets/js/dataTables.bootstrap5.min.js +1 -1
  156. data/assets/js/dataTables.bootstrap5.min.mjs +4 -0
  157. data/assets/js/dataTables.bootstrap5.mjs +164 -0
  158. data/assets/js/jquery.js +10993 -0
  159. data/assets/js/jquery.min.js +2 -2
  160. data/assets/js/jquery.min.map +1 -0
  161. data/assets/js/jquery.slim.js +8894 -0
  162. data/assets/js/jquery.slim.min.js +2 -2
  163. data/assets/js/jquery.slim.min.map +1 -0
  164. data/assets/webfonts/Montserrat-Black.woff +0 -0
  165. data/assets/webfonts/Montserrat-Black.woff2 +0 -0
  166. data/assets/webfonts/Montserrat-BlackItalic.woff +0 -0
  167. data/assets/webfonts/Montserrat-BlackItalic.woff2 +0 -0
  168. data/assets/webfonts/Montserrat-Bold.woff +0 -0
  169. data/assets/webfonts/Montserrat-Bold.woff2 +0 -0
  170. data/assets/webfonts/Montserrat-BoldItalic.woff +0 -0
  171. data/assets/webfonts/Montserrat-BoldItalic.woff2 +0 -0
  172. data/assets/webfonts/Montserrat-ExtraBold.woff +0 -0
  173. data/assets/webfonts/Montserrat-ExtraBold.woff2 +0 -0
  174. data/assets/webfonts/Montserrat-ExtraBoldItalic.woff +0 -0
  175. data/assets/webfonts/Montserrat-ExtraBoldItalic.woff2 +0 -0
  176. data/assets/webfonts/Montserrat-ExtraLight.woff +0 -0
  177. data/assets/webfonts/Montserrat-ExtraLight.woff2 +0 -0
  178. data/assets/webfonts/Montserrat-ExtraLightItalic.woff +0 -0
  179. data/assets/webfonts/Montserrat-ExtraLightItalic.woff2 +0 -0
  180. data/assets/webfonts/Montserrat-Italic.woff +0 -0
  181. data/assets/webfonts/Montserrat-Italic.woff2 +0 -0
  182. data/assets/webfonts/Montserrat-Light.woff +0 -0
  183. data/assets/webfonts/Montserrat-Light.woff2 +0 -0
  184. data/assets/webfonts/Montserrat-LightItalic.woff +0 -0
  185. data/assets/webfonts/Montserrat-LightItalic.woff2 +0 -0
  186. data/assets/webfonts/Montserrat-Medium.woff +0 -0
  187. data/assets/webfonts/Montserrat-Medium.woff2 +0 -0
  188. data/assets/webfonts/Montserrat-MediumItalic.woff +0 -0
  189. data/assets/webfonts/Montserrat-MediumItalic.woff2 +0 -0
  190. data/assets/webfonts/Montserrat-Regular.woff +0 -0
  191. data/assets/webfonts/Montserrat-Regular.woff2 +0 -0
  192. data/assets/webfonts/Montserrat-SemiBold.woff +0 -0
  193. data/assets/webfonts/Montserrat-SemiBold.woff2 +0 -0
  194. data/assets/webfonts/Montserrat-SemiBoldItalic.woff +0 -0
  195. data/assets/webfonts/Montserrat-SemiBoldItalic.woff2 +0 -0
  196. data/assets/webfonts/Montserrat-Thin.woff +0 -0
  197. data/assets/webfonts/Montserrat-Thin.woff2 +0 -0
  198. data/assets/webfonts/Montserrat-ThinItalic.woff +0 -0
  199. data/assets/webfonts/Montserrat-ThinItalic.woff2 +0 -0
  200. data/assets/webfonts/MontserratAlternates-Black.woff +0 -0
  201. data/assets/webfonts/MontserratAlternates-Black.woff2 +0 -0
  202. data/assets/webfonts/MontserratAlternates-BlackItalic.woff +0 -0
  203. data/assets/webfonts/MontserratAlternates-BlackItalic.woff2 +0 -0
  204. data/assets/webfonts/MontserratAlternates-Bold.woff +0 -0
  205. data/assets/webfonts/MontserratAlternates-Bold.woff2 +0 -0
  206. data/assets/webfonts/MontserratAlternates-BoldItalic.woff +0 -0
  207. data/assets/webfonts/MontserratAlternates-BoldItalic.woff2 +0 -0
  208. data/assets/webfonts/MontserratAlternates-ExtraBold.woff +0 -0
  209. data/assets/webfonts/MontserratAlternates-ExtraBold.woff2 +0 -0
  210. data/assets/webfonts/MontserratAlternates-ExtraBoldItalic.woff +0 -0
  211. data/assets/webfonts/MontserratAlternates-ExtraBoldItalic.woff2 +0 -0
  212. data/assets/webfonts/MontserratAlternates-ExtraLight.woff +0 -0
  213. data/assets/webfonts/MontserratAlternates-ExtraLight.woff2 +0 -0
  214. data/assets/webfonts/MontserratAlternates-ExtraLightItalic.woff +0 -0
  215. data/assets/webfonts/MontserratAlternates-ExtraLightItalic.woff2 +0 -0
  216. data/assets/webfonts/MontserratAlternates-Italic.woff +0 -0
  217. data/assets/webfonts/MontserratAlternates-Italic.woff2 +0 -0
  218. data/assets/webfonts/MontserratAlternates-Light.woff +0 -0
  219. data/assets/webfonts/MontserratAlternates-Light.woff2 +0 -0
  220. data/assets/webfonts/MontserratAlternates-LightItalic.woff +0 -0
  221. data/assets/webfonts/MontserratAlternates-LightItalic.woff2 +0 -0
  222. data/assets/webfonts/MontserratAlternates-Medium.woff +0 -0
  223. data/assets/webfonts/MontserratAlternates-Medium.woff2 +0 -0
  224. data/assets/webfonts/MontserratAlternates-MediumItalic.woff +0 -0
  225. data/assets/webfonts/MontserratAlternates-MediumItalic.woff2 +0 -0
  226. data/assets/webfonts/MontserratAlternates-Regular.woff +0 -0
  227. data/assets/webfonts/MontserratAlternates-Regular.woff2 +0 -0
  228. data/assets/webfonts/MontserratAlternates-SemiBold.woff +0 -0
  229. data/assets/webfonts/MontserratAlternates-SemiBold.woff2 +0 -0
  230. data/assets/webfonts/MontserratAlternates-SemiBoldItalic.woff +0 -0
  231. data/assets/webfonts/MontserratAlternates-SemiBoldItalic.woff2 +0 -0
  232. data/assets/webfonts/MontserratAlternates-Thin.woff +0 -0
  233. data/assets/webfonts/MontserratAlternates-Thin.woff2 +0 -0
  234. data/assets/webfonts/MontserratAlternates-ThinItalic.woff +0 -0
  235. data/assets/webfonts/MontserratAlternates-ThinItalic.woff2 +0 -0
  236. data/assets/webfonts/fa-brands-400.ttf +0 -0
  237. data/assets/webfonts/fa-brands-400.woff2 +0 -0
  238. data/assets/webfonts/fa-regular-400.ttf +0 -0
  239. data/assets/webfonts/fa-regular-400.woff2 +0 -0
  240. data/assets/webfonts/fa-solid-900.ttf +0 -0
  241. data/assets/webfonts/fa-solid-900.woff2 +0 -0
  242. data/assets/webfonts/fa-v4compatibility.ttf +0 -0
  243. data/assets/webfonts/fa-v4compatibility.woff2 +0 -0
  244. data/assets/webfonts/overpass-mono-bold.woff +0 -0
  245. data/assets/webfonts/overpass-mono-bold.woff2 +0 -0
  246. data/assets/webfonts/overpass-mono-light.woff +0 -0
  247. data/assets/webfonts/overpass-mono-light.woff2 +0 -0
  248. data/assets/webfonts/overpass-mono-regular.woff +0 -0
  249. data/assets/webfonts/overpass-mono-regular.woff2 +0 -0
  250. data/assets/webfonts/overpass-mono-semibold.woff +0 -0
  251. data/assets/webfonts/overpass-mono-semibold.woff2 +0 -0
  252. data/default.md +165 -0
  253. data/index.md +9 -0
  254. data/people.md +63 -0
  255. metadata +197 -63
  256. data/_config.yml +0 -144
  257. data/_data/base/footer.yml +0 -32
  258. data/_data/base/identity.yml +0 -20
  259. data/_data/base/navbar.yml +0 -57
  260. data/_data/base/navbar_absolute.yml +0 -74
  261. data/_data/base/navbar_www.yml +0 -74
  262. data/_data/download/cards.yml +0 -148
  263. data/_data/download/navbar.yml +0 -48
  264. data/_data/people/navbar.yml +0 -34
  265. data/_includes/base/announcements.html +0 -6
  266. data/_includes/base/breadcrumbs.html +0 -13
  267. data/_includes/base/footer.html +0 -61
  268. data/_includes/base/head.html +0 -17
  269. data/_includes/base/header.html +0 -17
  270. data/_includes/base/navbar.html +0 -32
  271. data/_includes/base/script.html +0 -70
  272. data/_includes/download/cards-body-screenshot.html +0 -26
  273. data/_includes/download/cards-header-screenshot.html +0 -8
  274. data/_layouts/base/default.html +0 -31
  275. data/_layouts/download/default.html +0 -7
  276. data/_layouts/people/default.html +0 -20
  277. data/_sass/base/_centos.scss +0 -75
  278. data/_sass/base/_variables.scss +0 -24
  279. data/_sass/bootstrap/_variables-dark.scss +0 -85
  280. data/_sass/bootstrap/helpers/_focus-ring.scss +0 -5
  281. data/_sass/bootstrap/helpers/_icon-link.scss +0 -25
  282. data/_sass/bootstrap/mixins/_color-mode.scss +0 -21
  283. data/assets/css/base/stylesheet.min.scss +0 -6
  284. data/assets/icons/android-chrome-192.png +0 -0
  285. data/assets/icons/android-chrome-512.png +0 -0
  286. data/assets/icons/apple-touch-icon.png +0 -0
  287. data/assets/icons/favicon-16.png +0 -0
  288. data/assets/icons/favicon-32.png +0 -0
  289. data/assets/icons/favicon.ico +0 -0
  290. data/assets/icons/favicon.svg +0 -1
  291. data/assets/img/base/screenshot.svg +0 -135
  292. data/assets/img/download/centos-linux-7-2009-screenshot-n.png +0 -0
  293. data/assets/img/download/centos-stream-8-screenshot-n.png +0 -0
  294. data/assets/img/download/centos-stream-9-screenshot-n.png +0 -0
  295. data/assets/img/download/distribution-release-screenshot-n.png +0 -0
  296. data/assets/img/download/distribution-release-screenshot-n.svg +0 -128
  297. data/assets/img/people/YourUsername.svg +0 -58
  298. data/assets/img/people/screenshot.svg +0 -135
  299. data/assets/js/jquery.dataTables.min.js +0 -4
  300. data/assets/js/vanilla-back-to-top.min.js +0 -1
  301. data/site.webmanifest +0 -11
@@ -0,0 +1,200 @@
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 = '&#x2026;';
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 +1,4 @@
1
1
  /*! DataTables Bootstrap 5 integration
2
2
  * 2020 SpryMedia Ltd - datatables.net/license
3
3
  */
4
- !function(t){var n,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(n=require("jquery"),r=function(e,a){a.fn.dataTable||require("datatables.net")(e,a)},"undefined"!=typeof window?module.exports=function(e,a){return e=e||window,a=a||n(e),r(e,a),t(a,0,e.document)}:(r(window,n),module.exports=t(n,window,window.document))):t(jQuery,window,document)}(function(x,e,r,i){"use strict";var o=x.fn.dataTable;return x.extend(!0,o.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"}),x.extend(o.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"}),o.ext.renderer.pageButton.bootstrap=function(d,e,s,a,l,c){function u(e,a){for(var t,n,r=function(e){e.preventDefault(),x(e.currentTarget).hasClass("disabled")||b.page()==e.data.action||b.page(e.data.action).draw("page")},i=0,o=a.length;i<o;i++)if(t=a[i],Array.isArray(t))u(e,t);else{switch(f=p="",t){case"ellipsis":p="&#x2026;",f="disabled";break;case"first":p=g.sFirst,f=t+(0<l?"":" disabled");break;case"previous":p=g.sPrevious,f=t+(0<l?"":" disabled");break;case"next":p=g.sNext,f=t+(l<c-1?"":" disabled");break;case"last":p=g.sLast,f=t+(l<c-1?"":" disabled");break;default:p=t+1,f=l===t?"active":""}p&&(n=-1!==f.indexOf("disabled"),n=x("<li>",{class:m.sPageButton+" "+f,id:0===s&&"string"==typeof t?d.sTableId+"_"+t:null}).append(x("<a>",{href:n?null:"#","aria-controls":d.sTableId,"aria-disabled":n?"true":null,"aria-label":w[t],"aria-role":"link","aria-current":"active"===f?"page":null,"data-dt-idx":t,tabindex:d.iTabIndex,class:"page-link"}).html(p)).appendTo(e),d.oApi._fnBindAction(n,{action:t},r))}}var p,f,t,b=new o.Api(d),m=d.oClasses,g=d.oLanguage.oPaginate,w=d.oLanguage.oAria.paginate||{},e=x(e);try{t=e.find(r.activeElement).data("dt-idx")}catch(e){}var n=e.children("ul.pagination");n.length?n.empty():n=e.html("<ul/>").children("ul").addClass("pagination"),u(n,a),t!==i&&e.find("[data-dt-idx="+t+"]").trigger("focus")},o});
4
+ !function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,a){return e=e||window,(a=a||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,a),t(a,0,e.document)}:t(jQuery,window,document)}(function(x,e,r,s){"use strict";var o=x.fn.dataTable;return x.extend(!0,o.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"}),x.extend(o.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"}),o.ext.renderer.pageButton.bootstrap=function(i,e,d,a,l,c){function u(e,a){for(var t,n,r=function(e){e.preventDefault(),x(e.currentTarget).hasClass("disabled")||b.page()==e.data.action||b.page(e.data.action).draw("page")},s=0,o=a.length;s<o;s++)if(n=a[s],Array.isArray(n))u(e,n);else{switch(f=p="",n){case"ellipsis":p="&#x2026;",f="disabled";break;case"first":p=m.sFirst,f=n+(0<l?"":" disabled");break;case"previous":p=m.sPrevious,f=n+(0<l?"":" disabled");break;case"next":p=m.sNext,f=n+(l<c-1?"":" disabled");break;case"last":p=m.sLast,f=n+(l<c-1?"":" disabled");break;default:p=n+1,f=l===n?"active":""}p&&(t=x("<li>",{class:g.sPageButton+" "+f,id:0===d&&"string"==typeof n?i.sTableId+"_"+n:null}).append(x("<a>",{href:"#","aria-controls":i.sTableId,"aria-label":w[n],"data-dt-idx":n,tabindex:i.iTabIndex,class:"page-link"}).html(p)).appendTo(e),i.oApi._fnBindAction(t,{action:n},r))}}var p,f,t,b=new o.Api(i),g=i.oClasses,m=i.oLanguage.oPaginate,w=i.oLanguage.oAria.paginate||{},e=x(e);try{t=e.find(r.activeElement).data("dt-idx")}catch(e){}var n=e.children("ul.pagination");n.length?n.empty():n=e.html("<ul/>").children("ul").addClass("pagination"),u(n,a),t!==s&&e.find("[data-dt-idx="+t+"]").trigger("focus")},o});
@@ -0,0 +1,4 @@
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="&#x2026;",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;
@@ -0,0 +1,164 @@
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 = '&#x2026;';
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;