From 2cd1f36b60e191a0e3cdc1117f552c6dd5d4fcc7 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 30 Nov 2024 16:13:00 +0200 Subject: create navigation header for all pages --- src/js/ui/sections/stellarBalancesSection.js | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'src/js/ui/sections/stellarBalancesSection.js') diff --git a/src/js/ui/sections/stellarBalancesSection.js b/src/js/ui/sections/stellarBalancesSection.js index 867599f..9b68b5a 100644 --- a/src/js/ui/sections/stellarBalancesSection.js +++ b/src/js/ui/sections/stellarBalancesSection.js @@ -9,22 +9,26 @@ import { makeElement } from "../../arching-kaos-generator.js"; export function stellarBalancesSection() { + 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: "Balances" } + ] + }; var stellarBalancesSection = { element: "div", id: "stellar-balances", - innerHTML: ` -
- - > -

Stellar

- > -

Balances

-
- No data found (yet?)! -
- ` + innerHTML: [ + whereAmI, + { element: "em", id: "stellar-balances-not-found", innerText: "No data found (yet?)!" }, + { element: "table", id:"stellar-balances-table" } + ] }; - makeElement(stellarBalancesSection, document.querySelector('.main')); } // @license-end -- cgit v1.2.3