-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53ef517
commit b67b751
Showing
32 changed files
with
756 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
web-ui/src/app/components/blocks/block-list/block-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 15 additions & 19 deletions
34
web-ui/src/app/components/nodes/masternodes/masternodes.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
web-ui/src/app/components/nodes/node-list/node-list.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.block-table-wrapper { | ||
width: 100%; | ||
padding: 0; | ||
margin-top: 15px; | ||
} | ||
|
||
.blocks-info { | ||
float: right; | ||
background-color: #1C202E; | ||
border-radius: 20px; | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
padding: 2px 6px; | ||
font-size: 12px; | ||
} | ||
|
||
.blocks-info>div { | ||
margin: 10px; | ||
} |
21 changes: 21 additions & 0 deletions
21
web-ui/src/app/components/nodes/node-list/node-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<div class="row"> | ||
<app-node-ticker class="col-xs-12"></app-node-ticker> | ||
|
||
<div class="node-table-container col-xs-12 col-md-6 no-left"> | ||
<div class="tab-content"> | ||
<div class="page-title col-xs-12"> | ||
{{'label.masternodes' | translate}} | ||
</div> | ||
<app-masternodes></app-masternodes> | ||
</div> | ||
</div> | ||
|
||
<div class="node-table-container col-xs-12 col-md-6 no-right"> | ||
<div class="tab-content"> | ||
<div class="page-title col-xs-12"> | ||
{{'label.tposNodes' | translate}} | ||
</div> | ||
<app-tposnodes></app-tposnodes> | ||
</div> | ||
</div> | ||
</div> |
36 changes: 36 additions & 0 deletions
36
web-ui/src/app/components/nodes/node-list/node-list.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { TranslateModule } from '@ngx-translate/core'; | ||
|
||
import { NodeListComponent } from './node-list.component'; | ||
|
||
import { NO_ERRORS_SCHEMA, } from '@angular/core'; | ||
|
||
describe('NodeListComponent', () => { | ||
let component: NodeListComponent; | ||
let fixture: ComponentFixture<NodeListComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ | ||
NodeListComponent | ||
], | ||
imports: [ | ||
TranslateModule.forRoot() | ||
], | ||
schemas: [NO_ERRORS_SCHEMA], | ||
providers: [ | ||
] | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(NodeListComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
14 changes: 14 additions & 0 deletions
14
web-ui/src/app/components/nodes/node-list/node-list.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-node-list', | ||
templateUrl: './node-list.component.html', | ||
styleUrls: ['./node-list.component.css'] | ||
}) | ||
export class NodeListComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
web-ui/src/app/components/nodes/node-ticker/node-ticker.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.ticker-container | ||
{ | ||
display: flex; | ||
flex-direction: row; | ||
align-items: stretch; | ||
justify-content: space-between; | ||
flex-wrap: wrap; | ||
margin-left: -30px; | ||
margin-right: -30px; | ||
} | ||
|
||
div.data { | ||
font-size: 18px; | ||
color: #FFFFFF; | ||
letter-spacing: 0; | ||
margin-bottom: 10px; | ||
font-weight: 300; | ||
} | ||
|
||
div.lbl-bottom { | ||
font-size: 12px; | ||
color: #989DCC; | ||
letter-spacing: 0.9px; | ||
margin-bottom: 5px; | ||
} |
Oops, something went wrong.