mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-20 23:16:49 +00:00
Beginnings of the wallet summary
Changes width of menu to be smaller
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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"></a>
|
||||
<a mat-button class="docs-button" routerLink="/" aria-label="Angular Material">
|
||||
<span>GoCryptoTrader</span>
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
width:20%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.dashboard-highlight {
|
||||
color: green !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user