diff --git a/assets/dashboard/css/style.css b/assets/dashboard/css/style.css index 4c49004..f58bf5c 100644 --- a/assets/dashboard/css/style.css +++ b/assets/dashboard/css/style.css @@ -2784,10 +2784,10 @@ section.content { .btn:not(.btn-link):not(.btn-circle) i { font-size: 20px; position: relative; - top: 3px; } +} .btn:not(.btn-link):not(.btn-circle) span { position: relative; - top: -2px; + top: -4px; margin-left: 3px; } .btn-warning, diff --git a/assets/images/markets/chainex.png b/assets/images/markets/chainex.png new file mode 100755 index 0000000..ad368ca Binary files /dev/null and b/assets/images/markets/chainex.png differ diff --git a/assets/images/markets/cw.png b/assets/images/markets/cw.png new file mode 100755 index 0000000..e8cacb9 Binary files /dev/null and b/assets/images/markets/cw.png differ diff --git a/assets/images/markets/graviex.png b/assets/images/markets/graviex.png new file mode 100755 index 0000000..3ac7f0a Binary files /dev/null and b/assets/images/markets/graviex.png differ diff --git a/assets/images/markets/mercatoxlogo.png b/assets/images/markets/mercatoxlogo.png new file mode 100755 index 0000000..9390efa Binary files /dev/null and b/assets/images/markets/mercatoxlogo.png differ diff --git a/assets/images/markets/safe.png b/assets/images/markets/safe.png new file mode 100755 index 0000000..cba216b Binary files /dev/null and b/assets/images/markets/safe.png differ diff --git a/assets/images/markets/stex.svg b/assets/images/markets/stex.svg new file mode 100755 index 0000000..d1794b3 --- /dev/null +++ b/assets/images/markets/stex.svg @@ -0,0 +1,424 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +S + + +STEX + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/markets/tradecx.png b/assets/images/markets/tradecx.png new file mode 100644 index 0000000..24b10a1 Binary files /dev/null and b/assets/images/markets/tradecx.png differ diff --git a/assets/styles/about.css b/assets/styles/about.css new file mode 100644 index 0000000..9ac5e0e --- /dev/null +++ b/assets/styles/about.css @@ -0,0 +1,11 @@ +button { + display: block; + margin-left: auto; + margin-right: auto; + width: 40%; +} + +h4 { + text-align: center; + color: white; +} diff --git a/assets/templates/about.html b/assets/templates/about.html index c8dfc27..d101f28 100644 --- a/assets/templates/about.html +++ b/assets/templates/about.html @@ -1,7 +1,55 @@ + + + + +
- About Ether-1 +

About Ether-1

-

- Coming Soon -

+
+

Buy Ether-1

+
+ +
+ +
+
+ + + + +
+ +
+
+
+
+
+ + diff --git a/main.js b/main.js index 32e7a2a..dd5fd52 100755 --- a/main.js +++ b/main.js @@ -8,6 +8,13 @@ const { const singleInstance = require("single-instance"); const path = require("path"); const fs = require("fs"); +let shell = require('electron').shell +document.addEventListener('click', function(event) { + if (event.target.tagName === 'A' && event.target.href.startsWith('http')) { + event.preventDefault() + shell.openExternal(event.target.href) + } +}) var locker = new singleInstance("Ether1DesktopWallet"); diff --git a/renderer/about.js b/renderer/about.js index 0c45f75..9f527c2 100644 --- a/renderer/about.js +++ b/renderer/about.js @@ -1,4 +1,6 @@ -const {ipcRenderer} = require("electron"); +const { + ipcRenderer +} = require("electron"); class About { constructor() {} @@ -6,6 +8,13 @@ class About { renderAbout() { EthoMainGUI.renderTemplate("about.html", {}); $(document).trigger("render_about"); + let shell = require('electron').shell + document.addEventListener('click', function(event) { + if (event.target.tagName === 'A' && event.target.href.startsWith('http')) { + event.preventDefault() + shell.openExternal(event.target.href) + } + }) } }