diff --git a/web/src/app/app.component.scss b/web/src/app/app.component.scss index 1cd6e354..95f7680b 100644 --- a/web/src/app/app.component.scss +++ b/web/src/app/app.component.scss @@ -1,20 +1,20 @@ .container { border: 1px solid rgba(0, 0, 0, 0.5); - height:100vh; + height: 96vh; } - .main { display: flex; align-items: center; justify-content: center; padding: 20px 70px 0; - min-width:94%; + min-width: 86%; margin: 10px auto; + overflow-x: hidden; } -.sidebar{ - width:16%; +.sidebar { + width: 14%; } .dashboard-highlight { diff --git a/web/src/app/app.module.ts b/web/src/app/app.module.ts index cdce2a10..b9c9f051 100644 --- a/web/src/app/app.module.ts +++ b/web/src/app/app.module.ts @@ -21,7 +21,9 @@ import { MatProgressSpinnerModule, MatSidenavModule, MatListModule, - MatSortModule + MatSortModule, + MatExpansionModule, + MatLineModule, } from '@angular/material'; @@ -82,6 +84,8 @@ import * as Rx from 'rxjs/Rx'; MatSidenavModule, MatListModule, MatSortModule, + MatExpansionModule, + MatLineModule, ], providers: [ElectronService,WebsocketService,WebsocketHandlerService, SidebarService], bootstrap: [AppComponent] diff --git a/web/src/app/pages/settings/settings.component.html b/web/src/app/pages/settings/settings.component.html index ed6955b7..a62a3eeb 100644 --- a/web/src/app/pages/settings/settings.component.html +++ b/web/src/app/pages/settings/settings.component.html @@ -2,92 +2,80 @@
+ -
- - - SMS Global Settings - - - - - - -
- Enabled -
- - - - - - - - - - - - - - - Enabled - - - - - - - - - - - - -
-
-
-
- - - {{exchange.Name}} Exchange Settings - - - - - - -
- Enabled -
- - - - - - - - - - - - - - - - - - + + + + + SMS Global + + + SMS configuration and contact management + + + + Enabled +
+ + + + + + - - - {{currency}} - - -
-
-
+
+ Enabled +
+ + + + + + +
+ + + + + + {{exchange.Name}} + + + Exchange Settings + + +
+ Enabled +
+
+ + + + + + + + + +
+ + + Enabled Currency pairs + +
+ + + {{currency}} + + +
+
+
+ +
\ No newline at end of file diff --git a/web/src/app/pages/settings/settings.component.scss b/web/src/app/pages/settings/settings.component.scss index 982c89c3..91b50f73 100644 --- a/web/src/app/pages/settings/settings.component.scss +++ b/web/src/app/pages/settings/settings.component.scss @@ -5,4 +5,8 @@ bottom: 20px; left: auto; position: fixed; +} + +.form-content { + margin: 20px; } \ No newline at end of file diff --git a/web/src/app/pages/wallet/wallet.component.html b/web/src/app/pages/wallet/wallet.component.html index f26ab348..9ee7db84 100644 --- a/web/src/app/pages/wallet/wallet.component.html +++ b/web/src/app/pages/wallet/wallet.component.html @@ -1,83 +1,111 @@ - - - Wallet Summary - - - -

Coin Totals

- - {{coin.icon}} -

{{coin.coin}}

-

{{coin.balance}}

-
-
- - - -

Coins Offline

- - {{coin.icon}} -

{{coin.coin}}

-

{{coin.balance}}

-
-
- - - -

Coins Online

- - {{coin.icon}} -

{{coin.coin}}

-

{{coin.balance}}

-
-
- - - -

Online Summary

- - {{coinIcon('BTC')}} -

Address: {{coin.address}}

-

{{coin.balance}}{{coin.coin}} - {{coin.percentage}}%

-
- - - - {{coinIcon('LTC')}} -

Address: {{coin.address}}

-

{{coin.balance}}{{coin.coin}} - {{coin.percentage}}%

-
- - - - {{coinIcon('ETH')}} -

Address: {{coin.address}}

-

{{coin.balance}}{{coin.coin}} - {{coin.percentage}}%

-
-
- + + + + + Coin Totals + + -

Offline Summary

- - {{coinIcon('BTC')}} -

Address: {{coin.address}}

-

{{coin.balance}}{{coin.coin}} - {{coin.percentage}}%

-
- - - + + {{coin.icon}} +

{{coin.coin}}

+

{{coin.balance}}

+
+
+
+ + + + + Online Summary + + + + + {{coinIcon('BTC')}} +

Address: {{coin.address}}

+

{{coin.balance}}{{coin.coin}} - {{coin.percentage}}%

+
+ + + {{coinIcon('LTC')}}

Address: {{coin.address}}

{{coin.balance}}{{coin.coin}} - {{coin.percentage}}%

- + + + + {{coinIcon('ETH')}} +

Address: {{coin.address}}

+

{{coin.balance}}{{coin.coin}} - {{coin.percentage}}%

+
+
+
+ + + + + Offline Summary + + + + + {{coinIcon('BTC')}} +

Address: {{coin.address}}

+

{{coin.balance}}{{coin.coin}} - {{coin.percentage}}%

+
+ + + + {{coinIcon('LTC')}} +

Address: {{coin.address}}

+

{{coin.balance}}{{coin.coin}} - {{coin.percentage}}%

+
+ - {{coinIcon('ETH')}} -

Address: {{coin.address}}

-

{{coin.balance}}{{coin.coin}} - {{coin.percentage}}%

-
-
-
-
\ No newline at end of file + {{coinIcon('ETH')}} +

Address: {{coin.address}}

+

{{coin.balance}}{{coin.coin}} - {{coin.percentage}}%

+ + + + + + + + Online Coins + + + + + + {{coin.icon}} +

{{coin.coin}}

+

{{coin.balance}}

+
+
+
+ + + + + Offline Coins + + + + + + {{coin.icon}} +

{{coin.coin}}

+

{{coin.balance}}

+
+
+
+ + + + + \ No newline at end of file diff --git a/web/src/styles.scss b/web/src/styles.scss index f14345bf..a17f4bdb 100644 --- a/web/src/styles.scss +++ b/web/src/styles.scss @@ -5,15 +5,13 @@ body { margin: 0; padding: 0; overflow-y: hidden; - } - - .loading-spinner { - margin-left:50%; - margin-right:50%; + margin-left: 50%; + margin-right: 50%; } + //////////////////////////////////////////////////////////////// // Default settings for cards //////////////////////////////////////////////////////////////// @@ -22,13 +20,24 @@ body { margin: 10px auto; } +//////////////////////////////////////////////////////////////// +// Default settings for expandable tile menus +//////////////////////////////////////////////////////////////// +.mat-expansion-panel { + width: 80%; + margin: 0px auto !important; +} + +.mat-expansion-panel-header-description { + flex-grow: 0 !important; +} + .mat-drawer { background: none !important; } @import '~@angular/material/prebuilt-themes/indigo-pink.css'; - /* deeppurple-amber.css indigo-pink.css