aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/css/akn.css65
-rw-r--r--src/index.html19
-rw-r--r--src/js/arching-kaos-web-ui-settings.js3
-rw-r--r--src/js/environment-setup.js1
4 files changed, 39 insertions, 49 deletions
diff --git a/src/css/akn.css b/src/css/akn.css
index 6106c2a..a16c1b3 100644
--- a/src/css/akn.css
+++ b/src/css/akn.css
@@ -33,6 +33,11 @@ body {
display: block;
}
+div {
+ padding: 0;
+ margin: 0;
+}
+
p {
text-align: justify;
margin: 0px;
@@ -72,9 +77,6 @@ a:hover{
border: 1px;
}
-#menu {
- text-align: center;
-}
#menu a {display:inline-block;}
@@ -101,15 +103,6 @@ h1 {
text-align: left;
}
-p {
- text-align: justify;
-}
-
-div {
- margin: auto;
- padding: 10px;
-}
-
#contact {
border-style: dashed;
border-width: 3px;
@@ -165,26 +158,6 @@ textarea {
color: black;
}
-.button {
- border: 0px;
- padding: 7px;
- color: white;
-}
-
-button {
- color: rgb(51, 200, 234);
- text-decoration: none;
- font-family: 'Hack Nerd Font';
- background: #1c241c;
- border: 1px solid #17392e;
- padding: 10px;
- margin: 1px;
-}
-
-button:hover {
- background: #008033;
-}
-
pre { white-space: pre-wrap; }
#stellar-freigher-connect-address {
@@ -258,6 +231,9 @@ article {
overflow-y: auto;
z-index: 1;
}
+.main div {
+ height: 100%;
+}
.page-layout {
display: flex;
@@ -282,13 +258,27 @@ h1 {
}
#menu {
+ text-align: center;
padding: 2px;
overflow-y: auto;
display: flex;
color:rgb(51, 200, 234);
}
-#menu button, #modules-submenu-link, .menu-clickable {
+.button {
+ border: 0px;
+ padding: 7px;
+ color: white;
+}
+
+button {
+ color: rgb(51, 200, 234);
+ text-decoration: none;
+ font-family: 'Hack Nerd Font';
+ background: #1c241c;
+ border: 1px solid #17392e;
+ padding: 10px;
+ margin: 1px;
cursor: pointer;
display: flex;
background: #1c241c;
@@ -297,7 +287,8 @@ h1 {
margin: 1px;
}
-#menu button:hover, #modules-submenu-link:hover, .menu-clickable:hover {
+button:hover {
+ background: #008033;
background: #008033;
}
@@ -361,11 +352,6 @@ h1 {
}
}
-div {
- padding: 0;
- margin: 0;
-}
-
.hsm {
z-index: 999;
position: fixed;
@@ -377,6 +363,7 @@ div {
text-shadow: 1px 2px #461551;
right: 1vw;
}
+
audio {
width: -webkit-fill-available;
width: -moz-available;
diff --git a/src/index.html b/src/index.html
index 0e8bad7..38cdb4f 100644
--- a/src/index.html
+++ b/src/index.html
@@ -26,8 +26,8 @@
<h1 style="text-align: center;">Arching Kaos</h1>
</div>
<button class="menu-clickable" id="mobile-menu" onclick="toggleMenu(this)">Show menu</button>
- <nav id="double-floor" class="linkin">
- <div id="menu" class="linkin upper-floor">
+ <nav id="double-floor" class="">
+ <div id="menu" class="upper-floor">
<button class="menu-clickable" id="#/welcome-section" onclick="menusel(this)">Home</button>
<button class="has-dropdown menu-clickable" id="modules-submenu-link" onclick="modulesSubToggle(this)">Modules</button>
<button class="has-dropdown menu-clickable" id="explore-submenu-link" onclick="exploreSubToggle(this)">Explore</button>
@@ -36,7 +36,7 @@
<button class="has-dropdown menu-clickable" id="#/stellar-section" onclick="stellarSubToggle(this)">Stellar</button>
<button class="menu-clickable" id="#/about-section" onclick="menusel(this)">About</button>
</div>
- <div id="menu" class="linkin lower-floor">
+ <div id="menu" class="lower-floor">
<div class="dropdown" id="modules-submenu">
<button class="menu-clickable" onclick="modulesSubToggle(this)">..</button>
<button class="menu-clickable" id="#/mixtapes-section" onclick="menusel(this)">Mixtapes</button>
@@ -70,12 +70,14 @@
<p>Please wait for your web browser to find the content!</p>
<button onclick="scanStellarNetworkForPeers()">Scan Stellar Network</button>
<button onclick="ringlocalbell()">Ask local API</button>
- <div style="padding: 10%;" class="dialog">
+ <div class="dialog">
<p>Loading ...</p>
<progress id="total-progress"></progress>
<pre id="current-log-message"></pre>
- <details id="logs-area-element">
- <summary>Logs</summary>
+ <details id="logs-area">
+ <summary>Logs (click to expand)</summary>
+ <div id="logs-area-element">
+ </div>
</details>
</div>
</div>
@@ -157,9 +159,8 @@
</select>
</div>
</div>
- <div id="chat-section">
- <h2>Chat</h2>
- <iframe src="https://irc.arching-kaos.net" style="width: -webkit-fill-available; width: -moz-available; height: 64vh;"></iframe>
+ <div id="chat-section" style="height: 100%;">
+ <iframe src="https://irc.arching-kaos.net" style="width: 100%; height: 100%;"></iframe>
</div>
<div id="stats-section">
<h2>Stats</h2>
diff --git a/src/js/arching-kaos-web-ui-settings.js b/src/js/arching-kaos-web-ui-settings.js
index 1e6a008..92e27e2 100644
--- a/src/js/arching-kaos-web-ui-settings.js
+++ b/src/js/arching-kaos-web-ui-settings.js
@@ -40,7 +40,8 @@ var default_settings = {
'kh-config'
],
horizonAddresses: [
- 'https://horizon.stellar.org/'
+ 'https://horizon.stellar.org/',
+ 'http://horizon.stellar.z.kaotisk-hund.com/'
],
horizonSelectedAddress: 0,
stellarDefaultAsset: 0,
diff --git a/src/js/environment-setup.js b/src/js/environment-setup.js
index 30b102d..ab5568a 100644
--- a/src/js/environment-setup.js
+++ b/src/js/environment-setup.js
@@ -6,6 +6,7 @@ var holders = [];
var participants = [];
var stellarNetworkConfiguredAddresses = 0;
var stellarParticipants = 0;
+var stellarParticipantsScanned = 0;
var zchain = [];
var zchains = new Array;
var zblocks = new Array;