aboutsummaryrefslogtreecommitdiff
path: root/src/js/ui/sections/stellarDataConfigSection.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/ui/sections/stellarDataConfigSection.js')
-rw-r--r--src/js/ui/sections/stellarDataConfigSection.js26
1 files changed, 15 insertions, 11 deletions
diff --git a/src/js/ui/sections/stellarDataConfigSection.js b/src/js/ui/sections/stellarDataConfigSection.js
index 8deff87..268051f 100644
--- a/src/js/ui/sections/stellarDataConfigSection.js
+++ b/src/js/ui/sections/stellarDataConfigSection.js
@@ -9,21 +9,25 @@ import { makeElement } from "../../arching-kaos-generator.js";
export function stellarDataConfigSection()
{
+ var whereAmI = {
+ element: "div",
+ className: "where-am-i",
+ innerHTML: [
+ { element: "img", src:"./img/logo.png", onclick:"menusel({id:'#/welcome-section'})"},
+ { element: "span", innerText:">"},
+ { element: "h2", innerText:"Stellar"},
+ { element: "span", innerText:">"},
+ { element: "h2", innerText:"Data"}
+ ]
+ };
var stellarDataConfigSection = {
element: "div",
id: "stellar-data-config",
- innerHTML: `
- <div class="where-am-i">
- <img src="./img/logo.png" onclick="menusel({id:'#/welcome-section'})"/>
- <span>&gt;</span>
- <h2>Stellar</h2>
- <span>&gt;</span>
- <h2>Data</h2>
- </div>
- <em id="stellar-data-config-not-found">No data found (yet?)!</em>
- `
+ innerHTML: [
+ whereAmI,
+ { element: "em", id:"stellar-data-config-not-found", innerText:"No data found (yet?)!" }
+ ]
};
-
makeElement(stellarDataConfigSection, document.querySelector('.main'));
}
// @license-end