mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-18 19:50:58 -04:00
Updated all relative references to '/.common/' to absolute paths
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<body>
|
||||
<!-- 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>
|
||||
<div id="widgetUrlInputWrapper">
|
||||
<span id="urlLabel">Click to copy URL</span>
|
||||
@@ -64,5 +64,5 @@
|
||||
|
||||
</html>
|
||||
|
||||
<script src="../../../.common/utils/helpers.js"></script>
|
||||
<script src="/.common/utils/helpers.js"></script>
|
||||
<script src="script.js"></script>
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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" />
|
||||
<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>
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<!-- 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>
|
||||
<div id="header-end">
|
||||
<button id="sb-actions-button" class="icon-button" onclick="OpenRequiredActionsDialog()">
|
||||
@@ -60,7 +60,7 @@
|
||||
<button class="dialog-nav-button" onclick="ClosenConnectDialog()">×</button>
|
||||
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="../../../.common/styles/global.css" />
|
||||
<link rel="stylesheet" href="/.common/styles/global.css" />
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
</head>
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="../.common/styles/global.css" />
|
||||
<link rel="icon" href="../../.common/resources/logo.png" type="image/png">
|
||||
<link rel="stylesheet" href="/.common/styles/global.css" />
|
||||
<link rel="icon" href="/.common/resources/logo.png" type="image/png">
|
||||
<title>nutty</title>
|
||||
<style>
|
||||
#dock-wrapper {
|
||||
|
||||
@@ -9,7 +9,7 @@ const configJson = "?config=" + baseURL + "config.json";
|
||||
|
||||
// Implement widget dock core
|
||||
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.contentWindow.content.src = baseURL + '/contents';
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
<style>
|
||||
body {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const widgetContainer = document.getElementById('widgetContainer');
|
||||
|
||||
const settingsPageURL = '../../.common/core/settings-core';
|
||||
const settingsPageURL = '/.common/core/settings-core';
|
||||
|
||||
const currentURL = window.location.href;
|
||||
|
||||
|
||||
@@ -38,5 +38,5 @@
|
||||
</template>
|
||||
</body>
|
||||
|
||||
<script src="../.common/utils/helpers.js"></script>
|
||||
<script src="/.common/utils/helpers.js"></script>
|
||||
<script src="./script.js"></script>
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
<style>
|
||||
body {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const widgetContainer = document.getElementById('widgetContainer');
|
||||
|
||||
const settingsPageURL = '../../.common/core/settings-core';
|
||||
const settingsPageURL = '/.common/core/settings-core';
|
||||
|
||||
const currentURL = window.location.href;
|
||||
|
||||
|
||||
@@ -107,5 +107,5 @@
|
||||
</template>
|
||||
</body>
|
||||
|
||||
<script src="../.common/utils/helpers.js"></script>
|
||||
<script src="/.common/utils/helpers.js"></script>
|
||||
<script src="./script.js"></script>
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
<style>
|
||||
body {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const widgetContainer = document.getElementById('widgetContainer');
|
||||
|
||||
const settingsPageURL = '../../.common/core/settings-core';
|
||||
const settingsPageURL = '/.common/core/settings-core';
|
||||
|
||||
const currentURL = window.location.href;
|
||||
|
||||
|
||||
@@ -44,5 +44,5 @@
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script src="../.common/utils/helpers.js"></script>
|
||||
<script src="/.common/utils/helpers.js"></script>
|
||||
<script src="./script.js"></script>
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
<style>
|
||||
body {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const widgetContainer = document.getElementById('widgetContainer');
|
||||
|
||||
const settingsPageURL = '../../.common/core/settings-core';
|
||||
const settingsPageURL = '/.common/core/settings-core';
|
||||
|
||||
const currentURL = window.location.href;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="../../../.common/styles/global.css" />
|
||||
<link rel="stylesheet" href="/.common/styles/global.css" />
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
</head>
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="../.common/styles/global.css" />
|
||||
<link rel="icon" href="../../.common/resources/logo.png" type="image/png">
|
||||
<link rel="stylesheet" href="/.common/styles/global.css" />
|
||||
<link rel="icon" href="/.common/resources/logo.png" type="image/png">
|
||||
<title>nutty</title>
|
||||
<style>
|
||||
#dock-wrapper {
|
||||
|
||||
@@ -9,7 +9,7 @@ const configJson = "?config=" + baseURL + "config.json";
|
||||
|
||||
// Implement widget dock core
|
||||
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.contentWindow.content.src = baseURL + '/contents';
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
<style>
|
||||
body {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const widgetContainer = document.getElementById('widgetContainer');
|
||||
|
||||
const settingsPageURL = '../../.common/core/settings-core';
|
||||
const settingsPageURL = '/.common/core/settings-core';
|
||||
|
||||
const currentURL = window.location.href;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="../../../.common/styles/global.css" />
|
||||
<link rel="stylesheet" href="/.common/styles/global.css" />
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/luxon@3/build/global/luxon.min.js"></script>
|
||||
</head>
|
||||
@@ -73,5 +73,5 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script src="../../../.common/utils/helpers.js"></script>
|
||||
<script src="/.common/utils/helpers.js"></script>
|
||||
<script src="script.js"></script>
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="../.common/styles/global.css" />
|
||||
<link rel="icon" href="../../.common/resources/logo.png" type="image/png">
|
||||
<link rel="stylesheet" href="/.common/styles/global.css" />
|
||||
<link rel="icon" href="/.common/resources/logo.png" type="image/png">
|
||||
<title>nutty</title>
|
||||
<style>
|
||||
#dock-wrapper {
|
||||
|
||||
@@ -9,7 +9,7 @@ const configJson = "?config=" + baseURL + "config.json";
|
||||
|
||||
// Implement widget dock core
|
||||
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.contentWindow.content.src = baseURL + '/contents';
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
<style>
|
||||
body {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const widgetContainer = document.getElementById('widgetContainer');
|
||||
|
||||
const settingsPageURL = '../../.common/core/settings-core';
|
||||
const settingsPageURL = '/.common/core/settings-core';
|
||||
|
||||
const currentURL = window.location.href;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
<style>
|
||||
body {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const widgetContainer = document.getElementById('widgetContainer');
|
||||
|
||||
const settingsPageURL = '../../.common/core/settings-core';
|
||||
const settingsPageURL = '/.common/core/settings-core';
|
||||
|
||||
const currentURL = window.location.href;
|
||||
|
||||
|
||||
@@ -25,5 +25,5 @@
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script src="../.common/utils/helpers.js"></script>
|
||||
<script src="/.common/utils/helpers.js"></script>
|
||||
<script src="./script.js"></script>
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
<style>
|
||||
body {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const widgetContainer = document.getElementById('widgetContainer');
|
||||
|
||||
const settingsPageURL = '../../.common/core/settings-core';
|
||||
const settingsPageURL = '/.common/core/settings-core';
|
||||
|
||||
const currentURL = window.location.href;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
<style>
|
||||
body {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const widgetContainer = document.getElementById('widgetContainer');
|
||||
|
||||
const settingsPageURL = '../../.common/core/settings-core';
|
||||
const settingsPageURL = '/.common/core/settings-core';
|
||||
|
||||
const currentURL = window.location.href;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user