Skip to content

Commit

Permalink
Deploying to gh-pages from @ 5e91e97 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin committed Dec 22, 2024
1 parent e10d85f commit 0ea7e4a
Show file tree
Hide file tree
Showing 27 changed files with 70 additions and 53 deletions.
4 changes: 2 additions & 2 deletions assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ function loadUrl(url_) {
if (window._config.themes.indexOf(window._config.theme) > -1) {
template += '-' + window._config.theme
}
var url = template + '.html?v=935&url=' + url_
var url = template + '.html?v=945&url=' + url_
if (window._config.isDebug) {
url = template + '.html?t=' + (+new Date()) + '&url=' + url_
}
if (window._config.isViewSource) {
url = template + '.html?v=935&view-source&url=' + url_ + '#view-source'
url = template + '.html?v=945&view-source&url=' + url_ + '#view-source'
}
$('iframe').attr('src', url)
}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/template.js
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/bootstrap-table@1.23.5/dist/',
cdnUrl: 'https://cdn.jsdelivr.net/npm/bootstrap-table@1.24.0/dist/',
localUrl: '../bootstrap-table/src/',
testUrl: '/src/'
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/addrbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
if (theme) {
template = 'template-' + theme + '.html'
}
$('#launch').attr('href', template + '?v=935&url=extensions/addrbar-page.html')
$('#launch').attr('href', template + '?v=945&url=extensions/addrbar-page.html')
}
</script>
1 change: 1 addition & 0 deletions extensions/cookie.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<th data-field="id" data-sortable="true">ID</th>
<th data-field="name" data-sortable="true">Item Name</th>
<th data-field="price" data-sortable="true">Item Price</th>
<th data-field="test" data-visible="false">Item Price</th>
</tr>
</thead>
</table>
Expand Down
2 changes: 1 addition & 1 deletion for-test-bootstrap3.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>
</head>
<body>
<div id="example"></div>
Expand Down
2 changes: 1 addition & 1 deletion for-test-bootstrap4.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>
</head>
<body>
<div id="example"></div>
Expand Down
2 changes: 1 addition & 1 deletion for-test-bulma.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.2/css/all.min.css">

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>
</head>
<body>
<div id="example"></div>
Expand Down
2 changes: 1 addition & 1 deletion for-test-foundation.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/foundation-sites@6.8.1/dist/js/foundation.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>
</head>
<body>
<div id="example"></div>
Expand Down
2 changes: 1 addition & 1 deletion for-test-materialize.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/materialize-css@1.0.0/dist/js/materialize.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>
</head>
<body>
<div id="example"></div>
Expand Down
2 changes: 1 addition & 1 deletion for-test-semantic.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.5.0/dist/semantic.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>
</head>
<body>
<div id="example"></div>
Expand Down
2 changes: 1 addition & 1 deletion for-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>
</head>
<body>
<div id="example"></div>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/instantsearch.css@7.1.0/themes/algolia-min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hover.css@2.3.2/css/hover.min.css">
<link rel="stylesheet" href="assets/css/docs.min.css">
<link rel="stylesheet" href="assets/css/index.css?v=935">
<link rel="stylesheet" href="assets/css/index.css?v=945">
<!-- Favicons -->
<link rel="apple-touch-icon" href="favicon.png">
<link rel="icon" href="favicon.png">
Expand Down Expand Up @@ -599,5 +599,5 @@
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@3.32.0/dist/algoliasearchLite.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@3.0.0/dist/instantsearch.production.min.js"></script>
<script src="assets/js/docs.min.js"></script>
<script src="assets/js/index.js?v=935"></script>
<script src="assets/js/index.js?v=945"></script>
</body></html>
2 changes: 1 addition & 1 deletion issues/563.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</script>

<style>
.active {
.active td {
color: red;
font-weight: bold;
}
Expand Down
1 change: 1 addition & 0 deletions methods/toggle-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
data-url="json/data1.json">
<thead>
<tr>
<th data-field="state" data-checkbox="true">ID</th>
<th data-field="id">ID</th>
<th data-field="name">Item Name</th>
<th data-field="price">Item Price</th>
Expand Down
13 changes: 12 additions & 1 deletion options/row-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
})
</script>

<style>
.table>:not(caption)>*>* {
color: inherit;
background-color: inherit;
}
</style>

<table
data-toggle="table"
data-url="json/data1.json"
Expand Down Expand Up @@ -42,7 +49,11 @@

if (index % 2 === 0 && index / 2 < classes.length) {
return {
classes: classes[index / 2]
classes: classes[index / 2],
css: {
color: 'white',
'font-weight': 'bold'
}
}
}
return {
Expand Down
2 changes: 1 addition & 1 deletion options/table-locale.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
links: ['bootstrap-table.min.css'],
scripts: [
'bootstrap-table.min.js',
'https://cdn.jsdelivr.net/npm/bootstrap-table@1.23.5/dist/bootstrap-table-locale-all.min.js'
'https://cdn.jsdelivr.net/npm/bootstrap-table@1.24.0/dist/bootstrap-table-locale-all.min.js'
]
})
</script>
Expand Down
4 changes: 2 additions & 2 deletions template-bootstrap-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.2/css/all.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hint.css@2.6.0/hint.min.css">
<link rel="stylesheet" href="assets/css/docs.min.css">
<link rel="stylesheet" href="assets/css/template.css?v=935">
<link rel="stylesheet" href="assets/css/template.css?v=945">
<style>
.form-inline .form-group {
display: inline;
Expand All @@ -31,7 +31,7 @@
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked@3.0.8/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flexibility@2.0.1/flexibility.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132747866-1"></script>
Expand Down
4 changes: 2 additions & 2 deletions template-bootstrap3.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/styles/default.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hint.css@2.6.0/hint.min.css">
<link rel="stylesheet" href="assets/css/docs.min.css">
<link rel="stylesheet" href="assets/css/template.css?v=935">
<link rel="stylesheet" href="assets/css/template.css?v=945">

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sprintf-js@1.1.3/dist/sprintf.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked@3.0.8/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flexibility@2.0.1/flexibility.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132747866-1"></script>
Expand Down
4 changes: 2 additions & 2 deletions template-bootstrap4.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/styles/default.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hint.css@2.6.0/hint.min.css">
<link rel="stylesheet" href="assets/css/docs.min.css">
<link rel="stylesheet" href="assets/css/template.css?v=935">
<link rel="stylesheet" href="assets/css/template.css?v=945">

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
Expand All @@ -22,7 +22,7 @@
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked@3.0.8/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flexibility@2.0.1/flexibility.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132747866-1"></script>
Expand Down
4 changes: 2 additions & 2 deletions template-bulma.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/styles/default.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hint.css@2.6.0/hint.min.css">
<link rel="stylesheet" href="assets/css/docs.min.css">
<link rel="stylesheet" href="assets/css/template.css?v=935">
<link rel="stylesheet" href="assets/css/template.css?v=945">

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sprintf-js@1.1.3/dist/sprintf.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked@3.0.8/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flexibility@2.0.1/flexibility.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132747866-1"></script>
Expand Down
4 changes: 2 additions & 2 deletions template-foundation.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/styles/default.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hint.css@2.6.0/hint.min.css">
<link rel="stylesheet" href="assets/css/docs.min.css">
<link rel="stylesheet" href="assets/css/template.css?v=935">
<link rel="stylesheet" href="assets/css/template.css?v=945">

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/foundation-sites@6.8.1/dist/js/foundation.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sprintf-js@1.1.3/dist/sprintf.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked@3.0.8/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flexibility@2.0.1/flexibility.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132747866-1"></script>
Expand Down
4 changes: 2 additions & 2 deletions template-materialize.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/styles/default.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hint.css@2.6.0/hint.min.css">
<link rel="stylesheet" href="assets/css/docs.min.css">
<link rel="stylesheet" href="assets/css/template.css?v=935">
<link rel="stylesheet" href="assets/css/template.css?v=945">
<style>
table.highlight {
padding: 0;
Expand All @@ -29,7 +29,7 @@
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked@3.0.8/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flexibility@2.0.1/flexibility.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132747866-1"></script>
Expand Down
4 changes: 2 additions & 2 deletions template-semantic.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/styles/default.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hint.css@2.6.0/hint.min.css">
<link rel="stylesheet" href="assets/css/docs.min.css">
<link rel="stylesheet" href="assets/css/template.css?v=935">
<link rel="stylesheet" href="assets/css/template.css?v=945">

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.5.0/dist/semantic.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sprintf-js@1.1.3/dist/sprintf.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked@3.0.8/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flexibility@2.0.1/flexibility.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132747866-1"></script>
Expand Down
4 changes: 2 additions & 2 deletions template.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/styles/default.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hint.css@2.6.0/hint.min.css">
<link rel="stylesheet" href="assets/css/docs.min.css">
<link rel="stylesheet" href="assets/css/template.css?v=935">
<link rel="stylesheet" href="assets/css/template.css?v=945">

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
</head>
Expand All @@ -41,7 +41,7 @@ <h2 class="bd-title" id="content">
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked@3.0.8/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flexibility@2.0.1/flexibility.min.js"></script>
<script src="assets/js/template.js?v=935"></script>
<script src="assets/js/template.js?v=945"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132747866-1"></script>
Expand Down
2 changes: 1 addition & 1 deletion welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
scripts: [
'https://cdn.jsdelivr.net/npm/tableexport.jquery.plugin@1.29.0/tableExport.min.js',
'bootstrap-table.min.js',
'https://cdn.jsdelivr.net/npm/bootstrap-table@1.23.5/dist/bootstrap-table-locale-all.min.js',
'https://cdn.jsdelivr.net/npm/bootstrap-table@1.24.0/dist/bootstrap-table-locale-all.min.js',
'extensions/export/bootstrap-table-export.min.js'
]
})
Expand Down
38 changes: 19 additions & 19 deletions welcomes/from-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,35 +22,35 @@

function mounted() {
var data = [
{
'id': 0,
'name': 'Item 0',
'price': '$0'
{
id: 0,
name: 'Item 0',
_name_rowspan: 2,
price: '$0'
},
{
'id': 1,
'name': 'Item 1',
'price': '$1'
id: 1,
price: '$1'
},
{
'id': 2,
'name': 'Item 2',
'price': '$2'
id: 2,
name: 'Item 2',
price: '$2'
},
{
'id': 3,
'name': 'Item 3',
'price': '$3'
id: 3,
name: 'Item 3',
price: '$3'
},
{
'id': 4,
'name': 'Item 4',
'price': '$4'
id: 4,
name: 'Item 4',
price: '$4'
},
{
'id': 5,
'name': 'Item 5',
'price': '$5'
id: 5,
name: 'Item 5',
price: '$5'
}
]
$table.bootstrapTable({data: data})
Expand Down
6 changes: 5 additions & 1 deletion welcomes/vue-component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
scripts: [
'https://unpkg.com/vue@3/dist/vue.global.js',
'bootstrap-table.min.js',
'https://cdn.jsdelivr.net/npm/bootstrap-table@1.23.5/dist/bootstrap-table-vue.umd.js'
'https://cdn.jsdelivr.net/npm/bootstrap-table@1.24.0/dist/bootstrap-table-vue.umd.js'
]
})
</script>
Expand Down Expand Up @@ -90,6 +90,10 @@
showColumns: true
})

setTimeout(() => {
options.value.showColumns = false
}, 10000)

return {
columns,
data,
Expand Down

0 comments on commit 0ea7e4a

Please sign in to comment.