Beginnings of the wallet summary

Changes width of menu to be smaller
This commit is contained in:
GloriousCode
2017-10-16 17:47:01 +11:00
parent a36f5cc13e
commit ffd3e05ca9
12 changed files with 143 additions and 76 deletions

View File

@@ -2,48 +2,21 @@
export interface CoinTotal {
coin: string;
balance: number;
}
export interface CoinsOffline {
coin: string;
balance: number;
percentage: number;
}
export interface BTC {
address: string;
balance: number;
percentage: number;
icon:string;
}
export interface ETH {
address: string;
balance: number;
percentage: number;
}
export interface LTC {
address: string;
balance: number;
percentage: number;
}
export interface OfflineSummary {
BTC: BTC[];
ETH: ETH[];
LTC: LTC[];
}
export interface OnlineSummary {
BTC: BTC[];
ETH: ETH[];
LTC: LTC[];
export interface Summary {
BTC: CoinTotal[];
ETH: CoinTotal[];
LTC: CoinTotal[];
}
export interface Wallet {
coin_totals: CoinTotal[];
coins_offline: CoinsOffline[];
offline_summary: OfflineSummary;
coins_online?: any;
online_summary: OnlineSummary;
coins_offline: CoinTotal[];
offline_summary: Summary;
coins_online: CoinTotal[];
online_summary: Summary;
}

View File

@@ -1,6 +1,6 @@
<!-- TODO: figure out if the <nav> should go inside of a <header> element. -->
<nav class="docs-navbar">
<mat-toolbar color="primary" class="mat-elevation-z25">
<mat-toolbar color="primary">
<a (click)="sidebarService.toggle()" class="material-icons">&#xE5D2;</a>
<a mat-button class="docs-button" routerLink="/" aria-label="Angular Material">
<span>GoCryptoTrader</span>

View File

@@ -3,6 +3,8 @@
width:20%;
}
.dashboard-highlight {
color: green !important;
}