Skip to content

Commit

Permalink
Deploying to gh-pages from @ 8b1c0a6 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin committed Feb 27, 2024
1 parent a112dac commit 95ee8d5
Show file tree
Hide file tree
Showing 37 changed files with 838 additions and 709 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=871&url=' + url_
var url = template + '.html?v=884&url=' + url_
if (window._config.isDebug) {
url = template + '.html?t=' + (+new Date()) + '&url=' + url_
}
if (window._config.isViewSource) {
url = template + '.html?v=871&view-source&url=' + url_ + '#view-source'
url = template + '.html?v=884&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/[email protected].2/dist/',
cdnUrl: 'https://cdn.jsdelivr.net/npm/[email protected].3/dist/',
localUrl: '../bootstrap-table/src/',
testUrl: '/src/'
}
Expand Down
1 change: 1 addition & 0 deletions extensions/addrbar-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

<table
id="table"
data-sort-reset="true"
data-addrbar="true"
data-pagination="true"
data-search="true"
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=871&url=extensions/addrbar-page.html')
$('#launch').attr('href', template + '?v=884&url=extensions/addrbar-page.html')
}
</script>
11 changes: 6 additions & 5 deletions extensions/export.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
'bootstrap-table.min.css'
],
scripts: [
'https://cdn.jsdelivr.net/npm/[email protected]/tableExport.min.js',
'https://cdn.jsdelivr.net/npm/[email protected]/libs/jsPDF/jspdf.min.js',
'https://cdn.jsdelivr.net/npm/[email protected]/libs/jsPDF-AutoTable/jspdf.plugin.autotable.js',
'https://cdn.jsdelivr.net/npm/[email protected]/tableExport.min.js',
'https://cdn.jsdelivr.net/npm/[email protected]/libs/jsPDF/jspdf.umd.min.js',
'bootstrap-table.min.js',
'extensions/export/bootstrap-table-export.min.js'
]
Expand Down Expand Up @@ -57,10 +56,12 @@
{
field: 'id',
title: 'ID'
}, {
},
{
field: 'name',
title: 'Item Name'
}, {
},
{
field: 'price',
title: 'Item Price'
}
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/[email protected]/dist/js/bootstrap.min.js"></script>
<script src="assets/js/template.js?v=871"></script>
<script src="assets/js/template.js?v=884"></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/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/template.js?v=871"></script>
<script src="assets/js/template.js?v=884"></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/[email protected]/css/all.min.css">

<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="assets/js/template.js?v=871"></script>
<script src="assets/js/template.js?v=884"></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/[email protected]/dist/js/foundation.min.js"></script>
<script src="assets/js/template.js?v=871"></script>
<script src="assets/js/template.js?v=884"></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/[email protected]/dist/js/materialize.min.js"></script>
<script src="assets/js/template.js?v=871"></script>
<script src="assets/js/template.js?v=884"></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/[email protected]/dist/semantic.min.js"></script>
<script src="assets/js/template.js?v=871"></script>
<script src="assets/js/template.js?v=884"></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/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/template.js?v=871"></script>
<script src="assets/js/template.js?v=884"></script>
</head>
<body>
<div id="example"></div>
Expand Down
7 changes: 4 additions & 3 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/[email protected]/themes/algolia-min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/hover.min.css">
<link href="assets/css/docs.min.css" rel="stylesheet">
<link href="assets/css/index.css?v=871" rel="stylesheet">
<link href="assets/css/index.css?v=884" rel="stylesheet">
<!-- Favicons -->
<link rel="apple-touch-icon" href="favicon.png">
<link rel="icon" href="favicon.png">
Expand Down Expand Up @@ -186,8 +186,9 @@
<li><a href="#options/detail-view-unique-id.html">Detail View Unique ID</a></li>
<li><a href="#options/table-escape.html">Escape</a></li>
<li><a href="#options/table-escape-title.html">Escape Title</a></li>
<li><a href="#options/footer-field.html">Footer Field</a></li>
<li><a href="#options/filter-options.html">Filter Options</a></li>
<li><a href="#options/fixed-scroll.html">Fixed Scroll</a></li>
<li><a href="#options/footer-field.html">Footer Field</a></li>
<li><a href="#options/footer-style.html">Footer Style</a></li>
<li><a href="#options/header-style.html">Header Style</a></li>
<li><a href="#options/table-height.html">Height</a></li>
Expand Down Expand Up @@ -594,5 +595,5 @@
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/algoliasearchLite.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.production.min.js"></script>
<script src="assets/js/docs.min.js"></script>
<script src="assets/js/index.js?v=871"></script>
<script src="assets/js/index.js?v=884"></script>
</body></html>
12 changes: 7 additions & 5 deletions issues/137.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@
var $table = $('#table')
function mounted() {
$table.bootstrapTable({
data: [{
'id': 0,
'name': 'Item 0',
'price': '$0'
}]
data: [
{
id: 0,
name: 'Item 0',
price: '$0'
}
]
})
$('#button').click(function () {
$table.bootstrapTable('refresh', {url: 'json/data1.json'})
Expand Down
27 changes: 15 additions & 12 deletions issues/177.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,22 @@
function mounted() {
$('#table').bootstrapTable({
data: data,
columns: [{
field: 'fullName',
title: 'Full Name',
formatter: function (value, row) {
return [row.firstName, row.lastName].join(' ')
columns: [
{
field: 'fullName',
title: 'Full Name',
formatter: function (value, row) {
return [row.firstName, row.lastName].join(' ')
}
},
{
field: 'field',
title: 'Field',
formatter: function (value, row) {
return [row.field1, row.field2, row.field3].join('+')
}
}
}, {
field: 'field',
title: 'Field',
formatter: function (value, row) {
return [row.field1, row.field2, row.field3].join('+')
}
}]
]
})
}
</script>
6 changes: 4 additions & 2 deletions issues/4586.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@
{
field: 'id',
title: 'ID'
}, {
},
{
field: 'name',
title: 'Item Name'
}, {
},
{
field: 'price',
title: 'Item Price'
}
Expand Down
28 changes: 17 additions & 11 deletions issues/579.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,23 @@

function mounted() {
$table.bootstrapTable({
data: [{
name: 'Name 1'
}, {
name: 'Name 2'
}, {
name: 'Name 3'
}, {
name: 'Name 4'
}, {
name: 'Name 5'
}]
data: [
{
name: 'Name 1'
},
{
name: 'Name 2'
},
{
name: 'Name 3'
},
{
name: 'Name 4'
},
{
name: 'Name 5'
}
]
})
}

Expand Down
Loading

0 comments on commit 95ee8d5

Please sign in to comment.