Updated all relative references to '/.common/' to absolute paths

This commit is contained in:
nutty
2026-03-19 22:46:12 +11:00
parent 4f66ecf500
commit 7cc6a093fe
33 changed files with 40 additions and 40 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
<body> <body>
<!-- Header --> <!-- Header -->
<div id="header"> <div id="header">
<img src="../../resources/logo.png" style="height: 40px;" /> <img src="/.common/resources/logo.png" style="height: 40px;" />
<button id="membershipsButton" onclick="OpenMembershipPage()">Check out my member exclusive widgets!</button> <button id="membershipsButton" onclick="OpenMembershipPage()">Check out my member exclusive widgets!</button>
<div id="widgetUrlInputWrapper"> <div id="widgetUrlInputWrapper">
<span id="urlLabel">Click to copy URL</span> <span id="urlLabel">Click to copy URL</span>
@@ -64,5 +64,5 @@
</html> </html>
<script src="../../../.common/utils/helpers.js"></script> <script src="/.common/utils/helpers.js"></script>
<script src="script.js"></script> <script src="script.js"></script>
+3 -3
View File
@@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="shortcut icon" href="#" /> <link rel="shortcut icon" href="#" />
<link rel="stylesheet" href="../../styles/global.css" /> <link rel="stylesheet" href="/.common/styles/global.css" />
<link rel="stylesheet" href="./style.css" /> <link rel="stylesheet" href="./style.css" />
<script type="text/javascript" src="https://unpkg.com/@streamerbot/client/dist/streamerbot-client.js"></script> <script type="text/javascript" src="https://unpkg.com/@streamerbot/client/dist/streamerbot-client.js"></script>
<script src="https://cdn.jsdelivr.net/npm/luxon@3/build/global/luxon.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/luxon@3/build/global/luxon.min.js"></script>
@@ -13,7 +13,7 @@
<!-- Header --> <!-- Header -->
<div id="header"> <div id="header">
<img src="../../resources/logo.png" style="height: 40px;" /> <img src="/.common/resources/logo.png" style="height: 40px;" />
<label id="title" class="title"></label> <label id="title" class="title"></label>
<div id="header-end"> <div id="header-end">
<button id="sb-actions-button" class="icon-button" onclick="OpenRequiredActionsDialog()"> <button id="sb-actions-button" class="icon-button" onclick="OpenRequiredActionsDialog()">
@@ -60,7 +60,7 @@
<button class="dialog-nav-button" onclick="ClosenConnectDialog()">×</button> <button class="dialog-nav-button" onclick="ClosenConnectDialog()">×</button>
<div style="display: flex; flex-direction: row; align-items: center; gap: 1em"> <div style="display: flex; flex-direction: row; align-items: center; gap: 1em">
<img src="../../resources/streamer.bot.png" style="height: 40px;" /> <img src="/.common/resources/streamer.bot.png" style="height: 40px;" />
<label class="title">Streamer.bot</label> <label class="title">Streamer.bot</label>
</div> </div>
+1 -1
View File
@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<link rel="stylesheet" href="../../../.common/styles/global.css" /> <link rel="stylesheet" href="/.common/styles/global.css" />
<link rel="stylesheet" href="./style.css" /> <link rel="stylesheet" href="./style.css" />
</head> </head>
+2 -2
View File
@@ -1,8 +1,8 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="stylesheet" href="../.common/styles/global.css" /> <link rel="stylesheet" href="/.common/styles/global.css" />
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
#dock-wrapper { #dock-wrapper {
+1 -1
View File
@@ -9,7 +9,7 @@ const configJson = "?config=" + baseURL + "config.json";
// Implement widget dock core // Implement widget dock core
window.dockWrapper = document.getElementById('dock-wrapper'); window.dockWrapper = document.getElementById('dock-wrapper');
dockWrapper.src = `../../.common/core/widget-dock-core${configJson}`; dockWrapper.src = `/.common/core/widget-dock-core${configJson}`;
dockWrapper.addEventListener('load', () => { dockWrapper.addEventListener('load', () => {
dockWrapper.contentWindow.content.src = baseURL + '/contents'; dockWrapper.contentWindow.content.src = baseURL + '/contents';
+1 -1
View File
@@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
body { body {
+1 -1
View File
@@ -1,6 +1,6 @@
const widgetContainer = document.getElementById('widgetContainer'); const widgetContainer = document.getElementById('widgetContainer');
const settingsPageURL = '../../.common/core/settings-core'; const settingsPageURL = '/.common/core/settings-core';
const currentURL = window.location.href; const currentURL = window.location.href;
+1 -1
View File
@@ -38,5 +38,5 @@
</template> </template>
</body> </body>
<script src="../.common/utils/helpers.js"></script> <script src="/.common/utils/helpers.js"></script>
<script src="./script.js"></script> <script src="./script.js"></script>
+1 -1
View File
@@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
body { body {
+1 -1
View File
@@ -1,6 +1,6 @@
const widgetContainer = document.getElementById('widgetContainer'); const widgetContainer = document.getElementById('widgetContainer');
const settingsPageURL = '../../.common/core/settings-core'; const settingsPageURL = '/.common/core/settings-core';
const currentURL = window.location.href; const currentURL = window.location.href;
+1 -1
View File
@@ -107,5 +107,5 @@
</template> </template>
</body> </body>
<script src="../.common/utils/helpers.js"></script> <script src="/.common/utils/helpers.js"></script>
<script src="./script.js"></script> <script src="./script.js"></script>
+1 -1
View File
@@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
body { body {
+1 -1
View File
@@ -1,6 +1,6 @@
const widgetContainer = document.getElementById('widgetContainer'); const widgetContainer = document.getElementById('widgetContainer');
const settingsPageURL = '../../.common/core/settings-core'; const settingsPageURL = '/.common/core/settings-core';
const currentURL = window.location.href; const currentURL = window.location.href;
+1 -1
View File
@@ -44,5 +44,5 @@
</div> </div>
</body> </body>
<script src="../.common/utils/helpers.js"></script> <script src="/.common/utils/helpers.js"></script>
<script src="./script.js"></script> <script src="./script.js"></script>
+1 -1
View File
@@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
body { body {
+1 -1
View File
@@ -1,6 +1,6 @@
const widgetContainer = document.getElementById('widgetContainer'); const widgetContainer = document.getElementById('widgetContainer');
const settingsPageURL = '../../.common/core/settings-core'; const settingsPageURL = '/.common/core/settings-core';
const currentURL = window.location.href; const currentURL = window.location.href;
@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<link rel="stylesheet" href="../../../.common/styles/global.css" /> <link rel="stylesheet" href="/.common/styles/global.css" />
<link rel="stylesheet" href="./style.css" /> <link rel="stylesheet" href="./style.css" />
</head> </head>
+2 -2
View File
@@ -1,8 +1,8 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="stylesheet" href="../.common/styles/global.css" /> <link rel="stylesheet" href="/.common/styles/global.css" />
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
#dock-wrapper { #dock-wrapper {
+1 -1
View File
@@ -9,7 +9,7 @@ const configJson = "?config=" + baseURL + "config.json";
// Implement widget dock core // Implement widget dock core
window.dockWrapper = document.getElementById('dock-wrapper'); window.dockWrapper = document.getElementById('dock-wrapper');
dockWrapper.src = `../../.common/core/widget-dock-core${configJson}`; dockWrapper.src = `/.common/core/widget-dock-core${configJson}`;
dockWrapper.addEventListener('load', () => { dockWrapper.addEventListener('load', () => {
dockWrapper.contentWindow.content.src = baseURL + '/contents'; dockWrapper.contentWindow.content.src = baseURL + '/contents';
+1 -1
View File
@@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
body { body {
+1 -1
View File
@@ -1,6 +1,6 @@
const widgetContainer = document.getElementById('widgetContainer'); const widgetContainer = document.getElementById('widgetContainer');
const settingsPageURL = '../../.common/core/settings-core'; const settingsPageURL = '/.common/core/settings-core';
const currentURL = window.location.href; const currentURL = window.location.href;
+2 -2
View File
@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<link rel="stylesheet" href="../../../.common/styles/global.css" /> <link rel="stylesheet" href="/.common/styles/global.css" />
<link rel="stylesheet" href="./style.css" /> <link rel="stylesheet" href="./style.css" />
<script src="https://cdn.jsdelivr.net/npm/luxon@3/build/global/luxon.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/luxon@3/build/global/luxon.min.js"></script>
</head> </head>
@@ -73,5 +73,5 @@
</div> </div>
</template> </template>
<script src="../../../.common/utils/helpers.js"></script> <script src="/.common/utils/helpers.js"></script>
<script src="script.js"></script> <script src="script.js"></script>
+2 -2
View File
@@ -1,8 +1,8 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="stylesheet" href="../.common/styles/global.css" /> <link rel="stylesheet" href="/.common/styles/global.css" />
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
#dock-wrapper { #dock-wrapper {
+1 -1
View File
@@ -9,7 +9,7 @@ const configJson = "?config=" + baseURL + "config.json";
// Implement widget dock core // Implement widget dock core
window.dockWrapper = document.getElementById('dock-wrapper'); window.dockWrapper = document.getElementById('dock-wrapper');
dockWrapper.src = `../../.common/core/widget-dock-core${configJson}`; dockWrapper.src = `/.common/core/widget-dock-core${configJson}`;
dockWrapper.addEventListener('load', () => { dockWrapper.addEventListener('load', () => {
dockWrapper.contentWindow.content.src = baseURL + '/contents'; dockWrapper.contentWindow.content.src = baseURL + '/contents';
+1 -1
View File
@@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
body { body {
+1 -1
View File
@@ -1,6 +1,6 @@
const widgetContainer = document.getElementById('widgetContainer'); const widgetContainer = document.getElementById('widgetContainer');
const settingsPageURL = '../../.common/core/settings-core'; const settingsPageURL = '/.common/core/settings-core';
const currentURL = window.location.href; const currentURL = window.location.href;
+1 -1
View File
@@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
body { body {
+1 -1
View File
@@ -1,6 +1,6 @@
const widgetContainer = document.getElementById('widgetContainer'); const widgetContainer = document.getElementById('widgetContainer');
const settingsPageURL = '../../.common/core/settings-core'; const settingsPageURL = '/.common/core/settings-core';
const currentURL = window.location.href; const currentURL = window.location.href;
+1 -1
View File
@@ -25,5 +25,5 @@
</div> </div>
</body> </body>
<script src="../.common/utils/helpers.js"></script> <script src="/.common/utils/helpers.js"></script>
<script src="./script.js"></script> <script src="./script.js"></script>
@@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
body { body {
+1 -1
View File
@@ -1,6 +1,6 @@
const widgetContainer = document.getElementById('widgetContainer'); const widgetContainer = document.getElementById('widgetContainer');
const settingsPageURL = '../../.common/core/settings-core'; const settingsPageURL = '/.common/core/settings-core';
const currentURL = window.location.href; const currentURL = window.location.href;
+1 -1
View File
@@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="../../.common/resources/logo.png" type="image/png"> <link rel="icon" href="/.common/resources/logo.png" type="image/png">
<title>nutty</title> <title>nutty</title>
<style> <style>
body { body {
+1 -1
View File
@@ -1,6 +1,6 @@
const widgetContainer = document.getElementById('widgetContainer'); const widgetContainer = document.getElementById('widgetContainer');
const settingsPageURL = '../../.common/core/settings-core'; const settingsPageURL = '/.common/core/settings-core';
const currentURL = window.location.href; const currentURL = window.location.href;