Added api calls for setting css stylesheet

This commit is contained in:
db-2001
2023-10-26 23:23:08 -04:00
parent 7e6ea37d14
commit 5abebcf3b5
5 changed files with 28 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Tranga</title>
<link rel="stylesheet" href="style_mangahover.css">
<link id='pagestyle' rel="stylesheet" href="styles/style_default.css">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
@ -91,6 +91,10 @@
<div>Configured: <span id="lunaseaConfigured">✅❌</span></div>
<label for="lunaseaWebhook"></label><input placeholder="device/:id or user/:id" id="lunaseaWebhook" type="text">
</div>
<div>
<input type="checkbox" id="mangaHoverCheckbox" name="css-style" value="style_mangahover.css">
<label for="css-style"> Show manga titles and sources on hover</label><br>
</div>
<div>
<input type="submit" value="Update" onclick="UpdateSettings()">
</div>