diff --git a/apps/samourai-server/nginx/connect/css/style.css b/apps/samourai-server/nginx/connect/css/style.css index 360868b..b582955 100644 --- a/apps/samourai-server/nginx/connect/css/style.css +++ b/apps/samourai-server/nginx/connect/css/style.css @@ -18,6 +18,10 @@ body { opacity: 0.8; } +.text-small { + font-size: 14px; +} + hr { width: 100%; height: 2px; @@ -54,8 +58,6 @@ hr { margin: 10px 0 0 0; } - - .app > .app-details > .app-name { font-size: 52px; line-height: 52px; @@ -79,6 +81,7 @@ hr { font-weight: bold; box-shadow: 0 0 20px 0 rgba(0,0,0,0.8); } + .heading > .text { font-size: 52px; line-height: 52px; @@ -120,4 +123,21 @@ hr { height: 60px; margin: 3px 0 0 3px; border-radius: 15%; +} + +.note { + margin-top: 30px; + background: #111010; + border-radius: 8px; + padding: 30px; + border: 2px dashed #3D3838; +} + +.note > .note-heading { + margin: 0 0 20px 0; + font-weight: 300; +} + +.note > .note-text { + word-wrap: break-word } \ No newline at end of file diff --git a/apps/samourai-server/nginx/connect/index.html b/apps/samourai-server/nginx/connect/index.html index 8445240..bbbf0da 100644 --- a/apps/samourai-server/nginx/connect/index.html +++ b/apps/samourai-server/nginx/connect/index.html @@ -56,6 +56,15 @@ Network Options by tapping the WiFi-like icon on the top to verify if “Dojo Full Node” is successfully enabled (it should display a green dot). +
+
Advanced
+

+ If you need to access the Dojo Maintenance Tool, click here. +

+

+ Admin key: +

+

diff --git a/apps/samourai-server/nginx/connect/js/conf.template.js b/apps/samourai-server/nginx/connect/js/conf.template.js index 0bf6c36..0b8f661 100644 --- a/apps/samourai-server/nginx/connect/js/conf.template.js +++ b/apps/samourai-server/nginx/connect/js/conf.template.js @@ -1,5 +1,5 @@ var dojoHiddenService = "$DOJO_HIDDEN_SERVICE"; var whirlpoolHiddenService = "http://$WHIRLPOOL_HIDDEN_SERVICE"; var bitcoinNetwork = "$COMMON_BTC_NETWORK"; -var apiKey = "$NODE_ADMIN_KEY"; +var dojoAdminKey = "$NODE_ADMIN_KEY"; var supportPrefix = "$NODE_PREFIX_SUPPORT"; diff --git a/apps/samourai-server/nginx/connect/js/script.js b/apps/samourai-server/nginx/connect/js/script.js index ba406ec..cec272a 100644 --- a/apps/samourai-server/nginx/connect/js/script.js +++ b/apps/samourai-server/nginx/connect/js/script.js @@ -1,3 +1,5 @@ +document.getElementById('dojo-admin-key').innerText = dojoAdminKey; + var baseRoute = bitcoinNetwork == "testnet" ? "test/v2" : "v2"; fetch(`http://${window.location.host}/${baseRoute}/auth/login`, { @@ -5,7 +7,7 @@ fetch(`http://${window.location.host}/${baseRoute}/auth/login`, { headers: new Headers({ 'Content-Type': 'application/x-www-form-urlencoded' }), - body: `apikey=${apiKey}` + body: `apikey=${dojoAdminKey}` }) .then(response => response.json()) .then(data => {