Skip to content

Commit 85672f9

Browse files
author
github-actions
committed
Site Update. [skip ci]
1 parent 9c946e8 commit 85672f9

81 files changed

Lines changed: 12652 additions & 1359 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404.html

Lines changed: 97 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="generator" content="MarkBind 5.5.2">
7-
<meta name="viewport" content="width=device-width, initial-scale=1"><title>MarkBind - Page not found</title> <link rel="stylesheet" href="/markbind/css/bootstrap.min.css"><link rel="stylesheet" href="/markbind/css/codeblock-light.min.css"><link rel="stylesheet" href="/markbind/css/markbind.min.css"><link rel="stylesheet" href="/plugins/markbind-plugin-anchors/markbind-plugin-anchors.css"><link rel="stylesheet" href="/plugins/markbind-plugin-tree/markbind-plugin-tree.css"><link rel="icon" href="/favicon.ico"></head>
6+
<meta name="generator" content="MarkBind 5.5.3">
7+
<meta name="viewport" content="width=device-width, initial-scale=1"><title>MarkBind - Page not found</title> <link rel="stylesheet" href="/markbind/css/bootstrap.min.css"><link rel="stylesheet" href="/markbind/css/codeblock-light.min.css"><link rel="stylesheet" href="/markbind/css/markbind.min.css"><link rel="stylesheet" href="/plugins/web3Form/web-3-form.css"><link rel="stylesheet" href="/plugins/dataTable/datatables.min.css"><link rel="stylesheet" href="/plugins/dataTable/datatables-additional.css"><link rel="stylesheet" href="/plugins/markbind-plugin-anchors/markbind-plugin-anchors.css"><link rel="stylesheet" href="/plugins/markbind-plugin-tree/markbind-plugin-tree.css"><link rel="icon" href="/favicon.ico"></head>
88
<script>
99
const baseUrl = ''
1010
</script>
@@ -18,6 +18,50 @@
1818
<script>
1919
MarkBind.setupWithSearch()
2020
</script>
21+
<script>
22+
function toggleCodeBlockWrap(element) {
23+
const pre = element.parentElement.parentElement;
24+
const classList = pre.querySelector('code').classList;
25+
if (classList.contains('wrap')) {
26+
classList.remove('wrap');
27+
} else {
28+
classList.add('wrap')
29+
}
30+
}
31+
</script>
32+
33+
<script>
34+
function submitForm(element) {
35+
event.preventDefault();
36+
const formData = new FormData(element);
37+
const formProps = Object.fromEntries(formData);
38+
const json = JSON.stringify(formProps);
39+
const submitButton = element.querySelector('button[type="submit"]');
40+
const submitButtonText = submitButton.innerText;
41+
submitButton.innerText = 'Please wait...'
42+
fetch('https://api.web3forms.com/submit', {
43+
method: 'POST',
44+
headers: {
45+
'Content-Type': 'application/json',
46+
'Accept': 'application/json'
47+
},
48+
body: json,
49+
})
50+
.then(async (response) => {
51+
if (response.status == 200) {
52+
alert('Form submitted! Thank you for your response');
53+
} else {
54+
alert('Error submitting form! Please try again later.');
55+
}
56+
})
57+
.catch(error => {
58+
alert('Error submitting form! Please try again later.');
59+
})
60+
.finally(() => {
61+
submitButton.innerText = submitButtonText;
62+
})
63+
}
64+
</script>
2165
<script>
2266
function copyCodeBlock(element) {
2367
const pre = element.parentElement.parentElement;
@@ -33,4 +77,55 @@
3377
document.body.removeChild(textElement);
3478
}
3579
</script>
80+
<script src="/plugins/dataTable/datatables.min.js"></script>
81+
82+
<script>
83+
function getTableOptions(el) {
84+
const options = {};
85+
if ($(el).hasClass('sortable-table')) {
86+
options.searching = false;
87+
options.paging = false;
88+
options.info = false;
89+
} else if ($(el).hasClass('searchable-table')) {
90+
options.ordering = false;
91+
options.paging = false;
92+
options.info = false;
93+
options.dom = '<"row"<"col-sm-12"f>>' + '<"row"<"col-sm-12"t>>';
94+
} else if ($(el).hasClass('sortable-searchable-table')) {
95+
options.paging = false;
96+
options.info = false;
97+
options.dom = '<"row"<"col-sm-12"f>>' + '<"row"<"col-sm-12"t>>';
98+
}
99+
return options;
100+
}
101+
102+
Vue.directive('datatable', {
103+
inserted: function(el, binding) {
104+
const options = binding.value || {};
105+
const tableOptions = getTableOptions(el);
106+
$(el).DataTable({ ...tableOptions, ...options });
107+
}
108+
});
109+
110+
document.addEventListener('DOMContentLoaded', function() {
111+
$('table.sortable-table, table.searchable-table, table.sortable-searchable-table').each(function() {
112+
const options = getTableOptions(this);
113+
$(this).DataTable(options);
114+
});
115+
});
116+
</script>
117+
118+
<script type="module">
119+
import mermaid from 'https://unpkg.com/mermaid@10/dist/mermaid.esm.min.mjs';
120+
document.addEventListener('DOMContentLoaded', () => {
121+
mermaid.initialize({});
122+
Vue.directive('mermaid', {
123+
inserted: function(el) {
124+
mermaid.run({
125+
nodes: [el]
126+
});
127+
}
128+
});
129+
});
130+
</script>
36131
</html>

about.html

Lines changed: 99 additions & 4 deletions
Large diffs are not rendered by default.

about.page-vue-render.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 100 additions & 5 deletions
Large diffs are not rendered by default.

index.page-vue-render.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

markbind/css/markbind.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

markbind/js/markbind.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* Make the search box left-aligned */
2+
div.dt-container div.dt-search {
3+
text-align: left;
4+
padding: 10px 0;
5+
}
6+
7+
div.dt-container {
8+
/* Necessary to suppress the vertical scrollbar */
9+
overflow-y: hidden;
10+
}

plugins/dataTable/datatables.min.css

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)