-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
118 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
window._config = { | ||
isDebug: location.hash.slice(1) === 'is-debug' || | ||
['localhost', '127.0.0.1', 'dev.bootstrap-table.com'].indexOf(location.hostname) > -1, | ||
cdnUrl: 'https://cdn.jsdelivr.net/npm/[email protected].1/dist/', | ||
cdnUrl: 'https://cdn.jsdelivr.net/npm/[email protected].2/dist/', | ||
localUrl: '../bootstrap-table/src/', | ||
testUrl: '/src/' | ||
} | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
<meta charset="utf-8"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].1/dist/bootstrap-table.min.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].2/dist/bootstrap-table.min.css"> | ||
<style> | ||
.mr10 { margin-right: 10px; } | ||
.alert { | ||
|
@@ -17,7 +17,7 @@ | |
<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/bootstrap-table.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected].2/dist/bootstrap-table.min.js"></script> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<script> | ||
init({ | ||
title: 'Buttons Attribute Title', | ||
desc: 'Customize the title attribute of the toolbar buttons, which is mainly used to customize the toolbar style.', | ||
links: [ | ||
'https://unpkg.com/[email protected]/src/hint-css.css', | ||
'bootstrap-table.min.css' | ||
], | ||
scripts: [ | ||
'https://unpkg.com/[email protected]/src/hint-css.js', | ||
'bootstrap-table.min.js' | ||
] | ||
}) | ||
</script> | ||
|
||
<table | ||
id="table" | ||
data-toggle="table" | ||
data-height="460" | ||
data-search="true" | ||
data-show-pagination-switch="true" | ||
data-show-refresh="true" | ||
data-show-toggle="true" | ||
data-show-columns="true" | ||
data-show-fullscreen="true" | ||
data-buttons-attribute-title="data-hint" | ||
data-url="json/data1.json"> | ||
<thead> | ||
<tr> | ||
<th data-field="id">ID</th> | ||
<th data-field="name">Item Name</th> | ||
<th data-field="price">Item Price</th> | ||
</tr> | ||
</thead> | ||
</table> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
links: ['bootstrap-table.min.css'], | ||
scripts: [ | ||
'bootstrap-table.min.js', | ||
'https://cdn.jsdelivr.net/npm/[email protected].1/dist/bootstrap-table-locale-all.min.js' | ||
'https://cdn.jsdelivr.net/npm/[email protected].2/dist/bootstrap-table-locale-all.min.js' | ||
] | ||
}) | ||
</script> | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
scripts: [ | ||
'https://cdn.jsdelivr.net/npm/[email protected]/tableExport.min.js', | ||
'bootstrap-table.min.js', | ||
'https://cdn.jsdelivr.net/npm/[email protected].1/dist/bootstrap-table-locale-all.min.js', | ||
'https://cdn.jsdelivr.net/npm/[email protected].2/dist/bootstrap-table-locale-all.min.js', | ||
'extensions/export/bootstrap-table-export.min.js' | ||
] | ||
}) | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
scripts: [ | ||
'https://unpkg.com/vue@3/dist/vue.global.js', | ||
'bootstrap-table.min.js', | ||
'https://cdn.jsdelivr.net/npm/[email protected].1/dist/bootstrap-table-vue.umd.js' | ||
'https://cdn.jsdelivr.net/npm/[email protected].2/dist/bootstrap-table-vue.umd.js' | ||
] | ||
}) | ||
</script> | ||
|