aboutsummaryrefslogtreecommitdiff
path: root/src/js/ui/sections/zchainDataSection.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-12-03 12:15:31 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-12-03 12:15:31 +0200
commitad0f59fbc2dea546d1e33e2f4ee515827e698eed (patch)
treea0931bb97a482fa087d78a2218453f16c24a8a3c /src/js/ui/sections/zchainDataSection.js
parentfb2428fb2eff87150d40d84b83c66ccdd7ea47b3 (diff)
downloadarching-kaos-web-ui-ad0f59fbc2dea546d1e33e2f4ee515827e698eed.tar.gz
arching-kaos-web-ui-ad0f59fbc2dea546d1e33e2f4ee515827e698eed.tar.bz2
arching-kaos-web-ui-ad0f59fbc2dea546d1e33e2f4ee515827e698eed.zip
Separating content from layout
Diffstat (limited to 'src/js/ui/sections/zchainDataSection.js')
-rw-r--r--src/js/ui/sections/zchainDataSection.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/js/ui/sections/zchainDataSection.js b/src/js/ui/sections/zchainDataSection.js
index 7bedffa..37ef98e 100644
--- a/src/js/ui/sections/zchainDataSection.js
+++ b/src/js/ui/sections/zchainDataSection.js
@@ -20,12 +20,19 @@ export function zchainDataSection()
{ element: "h2", innerText:"zchains"}
]
};
+ var content = {
+ element: "div",
+ className: "content",
+ innerHTML: [
+ { element: "em", id:"zchain-data-sec-not-found", innerText:"No data found (yet?)!" }
+ ]
+ };
var zchainDataSection = {
element: "div",
id:"zchain-data-section",
innerHTML: [
whereAmI,
- { element: "em", id:"zchain-data-sec-not-found", innerText:"No data found (yet?)!" }
+ content
]
};
makeElement(zchainDataSection, document.querySelector('.main'));