diff options
Diffstat (limited to 'src/js/ui')
-rw-r--r-- | src/js/ui/footer.js | 8 | ||||
-rw-r--r-- | src/js/ui/header.js | 8 | ||||
-rw-r--r-- | src/js/ui/main.js | 8 | ||||
-rw-r--r-- | src/js/ui/mainLayout.js | 8 | ||||
-rw-r--r-- | src/js/ui/menu.js | 17 | ||||
-rw-r--r-- | src/js/ui/sections/aboutSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/akNodeInfoSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/chatSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/commentsSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/filesSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/mixtapesSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/myPageSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/newsSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/notFoundSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/radioSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/settingsSection.js | 24 | ||||
-rw-r--r-- | src/js/ui/sections/statsSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/stellarBalancesSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/stellarDataConfigSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/stellarSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/welcomeSection.js | 8 | ||||
-rw-r--r-- | src/js/ui/sections/zchainDataSection.js | 8 |
22 files changed, 179 insertions, 22 deletions
diff --git a/src/js/ui/footer.js b/src/js/ui/footer.js index fbde422..c447189 100644 --- a/src/js/ui/footer.js +++ b/src/js/ui/footer.js @@ -1,3 +1,10 @@ +// Arching Kaos Footer +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../arching-kaos-generator.js"; export function footerSpawn() @@ -44,3 +51,4 @@ export function footerSpawn() makeElement(footer, document.querySelector('.footer')); } +// @license-end diff --git a/src/js/ui/header.js b/src/js/ui/header.js index 27c16ac..03b2332 100644 --- a/src/js/ui/header.js +++ b/src/js/ui/header.js @@ -1,3 +1,10 @@ +// Arching Kaos Header +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../arching-kaos-generator.js"; export function headerSpawn() @@ -17,3 +24,4 @@ export function headerSpawn() makeElement(header, document.querySelector('#logo-title-placeholder')); } +// @license-end diff --git a/src/js/ui/main.js b/src/js/ui/main.js index a24d77e..a1a9ddc 100644 --- a/src/js/ui/main.js +++ b/src/js/ui/main.js @@ -1,3 +1,10 @@ +// Arching Kaos Main +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { aboutSection } from "./sections/aboutSection.js"; import { akNodeInfoSection } from "./sections/akNodeInfoSection.js"; import { chatSection } from "./sections/chatSection.js"; @@ -36,3 +43,4 @@ export function mainSpawn() welcomeSection(); zchainDataSection(); } +// @license-end diff --git a/src/js/ui/mainLayout.js b/src/js/ui/mainLayout.js index 66f1d25..715d95c 100644 --- a/src/js/ui/mainLayout.js +++ b/src/js/ui/mainLayout.js @@ -1,3 +1,10 @@ +// Arching Kaos Main Layout +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { headerSpawn } from "./header.js"; import { menuSpawn } from "./menu.js"; import { mainSpawn } from "./main.js"; @@ -10,3 +17,4 @@ export function mainLayoutSpawn() mainSpawn(); footerSpawn(); } +// @license-end diff --git a/src/js/ui/menu.js b/src/js/ui/menu.js index 1c4a8e3..6d2efd6 100644 --- a/src/js/ui/menu.js +++ b/src/js/ui/menu.js @@ -1,13 +1,14 @@ -/* Arching Kaos Menu - * - * Kaotisk Hund - 2024 - * - * @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 - * - */ +// Arching Kaos Menu +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../arching-kaos-generator.js"; import { locationHashSetter } from "../arching-kaos-spa-router.js"; import { mainContainer } from "../app.js"; +import { debugLog } from "../utils.js"; export function doubleFloorMenu() { @@ -179,7 +180,7 @@ export function menuinit(){ } else { - console.log(`menuinit: ${menuids()[i]} was not found`); + debugLog(`menuinit: ${menuids()[i]} was not found`); } } } diff --git a/src/js/ui/sections/aboutSection.js b/src/js/ui/sections/aboutSection.js index 3a11a43..3ab4d1e 100644 --- a/src/js/ui/sections/aboutSection.js +++ b/src/js/ui/sections/aboutSection.js @@ -1,3 +1,10 @@ +// Arching Kaos About Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function aboutSection() @@ -30,3 +37,4 @@ export function aboutSection() makeElement(aboutSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/akNodeInfoSection.js b/src/js/ui/sections/akNodeInfoSection.js index 38ad961..e6f82ac 100644 --- a/src/js/ui/sections/akNodeInfoSection.js +++ b/src/js/ui/sections/akNodeInfoSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Node Info Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// +// import { makeElement } from "../../arching-kaos-generator.js"; export function akNodeInfoSection() @@ -13,3 +20,4 @@ export function akNodeInfoSection() makeElement(akNodeInfoSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/chatSection.js b/src/js/ui/sections/chatSection.js index 36348b3..b6d2ce3 100644 --- a/src/js/ui/sections/chatSection.js +++ b/src/js/ui/sections/chatSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Chat Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function chatSection() @@ -24,3 +31,4 @@ export function chatSection() makeElement(chatSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/commentsSection.js b/src/js/ui/sections/commentsSection.js index 1519ad9..5d520cf 100644 --- a/src/js/ui/sections/commentsSection.js +++ b/src/js/ui/sections/commentsSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Comments Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function commentsSection() @@ -13,3 +20,4 @@ export function commentsSection() makeElement(commentsSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/filesSection.js b/src/js/ui/sections/filesSection.js index 06ae29a..7a65187 100644 --- a/src/js/ui/sections/filesSection.js +++ b/src/js/ui/sections/filesSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Files Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function filesSection() @@ -19,3 +26,4 @@ export function filesSection() makeElement(filesSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/mixtapesSection.js b/src/js/ui/sections/mixtapesSection.js index 34bf1b6..6710c11 100644 --- a/src/js/ui/sections/mixtapesSection.js +++ b/src/js/ui/sections/mixtapesSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Mixtapes Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function mixtapesSection() @@ -19,3 +26,4 @@ export function mixtapesSection() makeElement(mixtapesSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/myPageSection.js b/src/js/ui/sections/myPageSection.js index 9926141..2cabcd5 100644 --- a/src/js/ui/sections/myPageSection.js +++ b/src/js/ui/sections/myPageSection.js @@ -1,3 +1,10 @@ +// Arching Kaos My Page Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function myPageSection() @@ -25,3 +32,4 @@ export function myPageSection() makeElement(myPageSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/newsSection.js b/src/js/ui/sections/newsSection.js index b983b48..51cb0de 100644 --- a/src/js/ui/sections/newsSection.js +++ b/src/js/ui/sections/newsSection.js @@ -1,3 +1,10 @@ +// Arching Kaos News Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function newsSection() @@ -19,3 +26,4 @@ export function newsSection() makeElement(newsSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/notFoundSection.js b/src/js/ui/sections/notFoundSection.js index a400d6a..3e3d000 100644 --- a/src/js/ui/sections/notFoundSection.js +++ b/src/js/ui/sections/notFoundSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Not Found Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function notFoundSection() @@ -24,3 +31,4 @@ export function notFoundSection() makeElement(notFoundSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/radioSection.js b/src/js/ui/sections/radioSection.js index f430023..cddd3f6 100644 --- a/src/js/ui/sections/radioSection.js +++ b/src/js/ui/sections/radioSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Radio Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function radioSection() @@ -25,3 +32,4 @@ export function radioSection() makeElement(radioSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/settingsSection.js b/src/js/ui/sections/settingsSection.js index 3a0e410..e2e2fe3 100644 --- a/src/js/ui/sections/settingsSection.js +++ b/src/js/ui/sections/settingsSection.js @@ -1,8 +1,16 @@ +// Arching Kaos Settings Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; import { getSettings, showSettings } from "../../arching-kaos-web-ui-settings.js"; +import { debugLog } from "../../utils.js"; var settings = getSettings(); -console.log(settings); +debugLog(settings); export function settingsSection() { @@ -30,19 +38,6 @@ export function getSettingsPage() return document.querySelector('#settings-section'); } -// var scripts = [ -// { -// element:"script", -// type: "module", -// src:"./js/arching-kaos-web-ui-settings.js" -// } -// ]; -// -// for ( var i = 0; i < scripts.length; i++ ) -// { -// makeElement(scripts[i], document.querySelector('body')); -// } - // var server = new StellarSdk.Server(settings.stellar.horizon.list[settings.stellar.horizon.active], {allowHttp:true}); // if ( getSettings().stellar.scan ) @@ -55,3 +50,4 @@ export function getSettingsPage() // ringlocalbell(); // setInterval(ringlocalbell, 10*60*1000); // } +// @license-end diff --git a/src/js/ui/sections/statsSection.js b/src/js/ui/sections/statsSection.js index d54962a..8d99448 100644 --- a/src/js/ui/sections/statsSection.js +++ b/src/js/ui/sections/statsSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Stellar Balances Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function statsSection() @@ -30,3 +37,4 @@ export function statsSection() makeElement(statsSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/stellarBalancesSection.js b/src/js/ui/sections/stellarBalancesSection.js index 21ffaa7..867599f 100644 --- a/src/js/ui/sections/stellarBalancesSection.js +++ b/src/js/ui/sections/stellarBalancesSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Stellar Balances Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function stellarBalancesSection() @@ -20,3 +27,4 @@ export function stellarBalancesSection() makeElement(stellarBalancesSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/stellarDataConfigSection.js b/src/js/ui/sections/stellarDataConfigSection.js index 509ae57..8deff87 100644 --- a/src/js/ui/sections/stellarDataConfigSection.js +++ b/src/js/ui/sections/stellarDataConfigSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Stellar Data Config Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function stellarDataConfigSection() @@ -19,3 +26,4 @@ export function stellarDataConfigSection() makeElement(stellarDataConfigSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/stellarSection.js b/src/js/ui/sections/stellarSection.js index ddc5b91..587142b 100644 --- a/src/js/ui/sections/stellarSection.js +++ b/src/js/ui/sections/stellarSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Stellar Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function stellarSection() @@ -22,3 +29,4 @@ export function stellarSection() makeElement(stellarSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/welcomeSection.js b/src/js/ui/sections/welcomeSection.js index 025b1e8..c382050 100644 --- a/src/js/ui/sections/welcomeSection.js +++ b/src/js/ui/sections/welcomeSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Welcome Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; var whereAmI = { @@ -131,3 +138,4 @@ export function welcomeSection() makeElement(welcomeSection, document.querySelector('.main')); } +// @license-end diff --git a/src/js/ui/sections/zchainDataSection.js b/src/js/ui/sections/zchainDataSection.js index 0549249..95f8518 100644 --- a/src/js/ui/sections/zchainDataSection.js +++ b/src/js/ui/sections/zchainDataSection.js @@ -1,3 +1,10 @@ +// Arching Kaos Zchain Data Section +// +// Kaotisk Hund - 2024 +// +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 +// + import { makeElement } from "../../arching-kaos-generator.js"; export function zchainDataSection() @@ -19,3 +26,4 @@ export function zchainDataSection() makeElement(zchainDataSection, document.querySelector('.main')); } +// @license-end |