This commit is contained in:
parent
b8efc3f601
commit
4c840bf318
@ -240,10 +240,21 @@ Date.prototype.timeNow = function () {
|
|||||||
function UpdateAprilFoolsMode() {
|
function UpdateAprilFoolsMode() {
|
||||||
checkBox = document.getElementById("aprilFoolsMode");
|
checkBox = document.getElementById("aprilFoolsMode");
|
||||||
var uri = `${apiUri}/Settings/AprilFoolsMode?enabled=${checkBox.checked}`;
|
var uri = `${apiUri}/Settings/AprilFoolsMode?enabled=${checkBox.checked}`;
|
||||||
console.log(uri);
|
|
||||||
PostData(uri);
|
PostData(uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function ResetRateLimits() {
|
||||||
|
var uri = `${apiUri}/Settings/customRequestLimit/Reset`;
|
||||||
|
PostData(uri);
|
||||||
|
OpenSettings();
|
||||||
|
}
|
||||||
|
|
||||||
|
function ResetUserAgent() {
|
||||||
|
var uri = `${apiUri}/Settings/userAgent/Reset`;
|
||||||
|
PostData(uri);
|
||||||
|
OpenSettings();
|
||||||
|
}
|
||||||
|
|
||||||
//Komga
|
//Komga
|
||||||
function UpdateKomga(komgaUrl, komgaAuth){
|
function UpdateKomga(komgaUrl, komgaAuth){
|
||||||
var uri = `${apiUri}/LibraryConnectors/Update?libraryConnector=Komga&komgaUrl=${komgaUrl}&komgaAuth=${komgaAuth}`;
|
var uri = `${apiUri}/LibraryConnectors/Update?libraryConnector=Komga&komgaUrl=${komgaUrl}&komgaAuth=${komgaAuth}`;
|
||||||
|
@ -104,7 +104,7 @@
|
|||||||
</label>
|
</label>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<border-bar-button class="section" onclick="RefreshLibraryMetadata()">Refresh Library Metadata</border-bar-button>
|
<border-bar-button class="section" onclick="ResetUserAgent()">Reset User Agent</border-bar-button>
|
||||||
<border-bar-button class="section" onclick="DownloadLogs()">Download Logs</border-bar-button>
|
<border-bar-button class="section" onclick="DownloadLogs()">Download Logs</border-bar-button>
|
||||||
</row>
|
</row>
|
||||||
</div>
|
</div>
|
||||||
@ -114,13 +114,19 @@
|
|||||||
<row><label for="CoverRL">Manga Covers:</label><input id="coverRL" type="text"></row>
|
<row><label for="CoverRL">Manga Covers:</label><input id="coverRL" type="text"></row>
|
||||||
<row><label for="ImageRL">Manga Images:</label><input id="imageRL" type="text"></row>
|
<row><label for="ImageRL">Manga Images:</label><input id="imageRL" type="text"></row>
|
||||||
<row><label for="InfoRL">Manga Info:</label><input id="infoRL" type="text"></row>
|
<row><label for="InfoRL">Manga Info:</label><input id="infoRL" type="text"></row>
|
||||||
|
<row>
|
||||||
|
<border-bar-button class="section" onclick="ResetRateLimits()">Reset All Rate Limits</border-bar-button>
|
||||||
|
</row>
|
||||||
</div>
|
</div>
|
||||||
<div class="section-item dyn-height">
|
<div class="section-item dyn-height">
|
||||||
<span class="title">Appearance</span>
|
<span class="title">Library</span>
|
||||||
<row><label for="cssStyle">Library Style:</label><select id="cssStyle">
|
<row><label for="cssStyle">Appearance Style:</label><select id="cssStyle">
|
||||||
<option id="card_compact" value="card_compact">Cards (Compact)</option>
|
<option id="card_compact" value="card_compact">Cards (Compact)</option>
|
||||||
<option id="card_hover" value="card_hover">Cards (Hover)</option>
|
<option id="card_hover" value="card_hover">Cards (Hover)</option>
|
||||||
</select></row>
|
</select></row>
|
||||||
|
<row>
|
||||||
|
<border-bar-button class="section" onclick="RefreshLibraryMetadata()">Refresh Library Metadata</border-bar-button>
|
||||||
|
</row>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user