-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
10dacba3ab69306f27acd2d1eeeaafab3f2ed4d2 Fix: Tidy up dates for copyr…
…ight message in integration files Sync to source repo @10dacba3ab69306f27acd2d1eeeaafab3f2ed4d2
- Loading branch information
dtbuild
committed
Apr 17, 2024
1 parent
b4dc5ef
commit fe13ee1
Showing
5 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/*! DataTables Bootstrap 3 integration | ||
* ©2011-2015 SpryMedia Ltd - datatables.net/license | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;$.extend(!0,DataTable.defaults,{renderer:"bootstrap"}),$.extend(!0,DataTable.ext.classes,{container:"dt-container form-inline dt-bootstrap",search:{input:"form-control input-sm"},length:{select:"form-control input-sm"},processing:{container:"dt-processing panel panel-default"}}),DataTable.ext.renderer.pagingButton.bootstrap=function(t,e,a,n,r){var l=["dt-paging-button","page-item"],n=(n&&l.push("active"),r&&l.push("disabled"),$("<li>").addClass(l.join(" ")));return{display:n,clicker:$("<a>",{href:r?null:"#",class:"page-link"}).html(a).appendTo(n)}},DataTable.ext.renderer.pagingContainer.bootstrap=function(t,e){return $("<ul/>").addClass("pagination").append(e)},DataTable.ext.renderer.layout.bootstrap=function(t,e,a){var n=$("<div/>",{class:"row"}).appendTo(e);$.each(a,function(t,e){var a="";"start"===t?a+="col-sm-6 text-left":"end"===t?(a+="col-sm-6 text-right",0===n.find(".col-sm-6").length&&(a+=" col-sm-offset-6")):"full"===t&&(a+="col-sm-12",e.table||(a+=" text-center")),$("<div/>",{id:e.id||null,class:a+" "+(e.className||"")}).append(e.contents).appendTo(n)})};export default DataTable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters