Skip to content

Commit

Permalink
deploy: 197b754
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed May 9, 2024
1 parent ee5435c commit b6d9c04
Show file tree
Hide file tree
Showing 176 changed files with 2,555 additions and 1,888 deletions.
29 changes: 20 additions & 9 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);

if ($darkModeToggles.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
Expand All @@ -91,6 +82,13 @@

<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<h3>4.7.0 (2024-05-10)</h3>
<p><strong>Feature</strong></p>
<ul>
<li>Improve global throttler</li>
<li>Improve global log interceptor format</li>
<li>Upgrade dependencies</li>
</ul>
<h3>4.4.0 (2023-10-09)</h3>
<p><strong>Breaking Change</strong></p>
<ul>
Expand Down Expand Up @@ -614,6 +612,19 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
var MAX_SEARCH_RESULTS = 15;
</script>

<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<script src="./js/libs/custom-elements.min.js"></script>
<script src="./js/libs/lit-html.js"></script>

Expand Down
22 changes: 13 additions & 9 deletions classes/Announcement.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);

if ($darkModeToggles.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
Expand Down Expand Up @@ -477,6 +468,19 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
var MAX_SEARCH_RESULTS = 15;
</script>

<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>

Expand Down
22 changes: 13 additions & 9 deletions classes/AnnouncementPaginateQueryDTO.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);

if ($darkModeToggles.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
Expand Down Expand Up @@ -303,6 +294,19 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
var MAX_SEARCH_RESULTS = 15;
</script>

<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>

Expand Down
22 changes: 13 additions & 9 deletions classes/AnnouncementsDTO.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);

if ($darkModeToggles.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
Expand Down Expand Up @@ -289,6 +280,19 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
var MAX_SEARCH_RESULTS = 15;
</script>

<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>

Expand Down
22 changes: 13 additions & 9 deletions classes/AppMeta.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);

if ($darkModeToggles.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
Expand Down Expand Up @@ -405,6 +396,19 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
var MAX_SEARCH_RESULTS = 15;
</script>

<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>

Expand Down
22 changes: 13 additions & 9 deletions classes/Article.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);

if ($darkModeToggles.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
Expand Down Expand Up @@ -1242,6 +1233,19 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
var MAX_SEARCH_RESULTS = 15;
</script>

<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>

Expand Down
22 changes: 13 additions & 9 deletions classes/ArticleCalendarQueryDTO.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);

if ($darkModeToggles.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
Expand Down Expand Up @@ -362,6 +353,19 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
var MAX_SEARCH_RESULTS = 15;
</script>

<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>

Expand Down
22 changes: 13 additions & 9 deletions classes/ArticleIDsDTO.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);

if ($darkModeToggles.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
Expand Down Expand Up @@ -360,6 +351,19 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
var MAX_SEARCH_RESULTS = 15;
</script>

<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>

Expand Down
22 changes: 13 additions & 9 deletions classes/ArticleMeta.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);

if ($darkModeToggles.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
Expand Down Expand Up @@ -538,6 +529,19 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
var MAX_SEARCH_RESULTS = 15;
</script>

<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>

Expand Down
22 changes: 13 additions & 9 deletions classes/ArticlePaginateQueryDTO.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);

if ($darkModeToggles.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
Expand Down Expand Up @@ -666,6 +657,19 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
var MAX_SEARCH_RESULTS = 15;
</script>

<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>

Expand Down
Loading

0 comments on commit b6d9c04

Please sign in to comment.