-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web-ui: Create a PoC for the new explorer UI
update the principal page of the block explorer UI
- Loading branch information
Showing
21 changed files
with
219 additions
and
61 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
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,38 @@ | ||
.btn-search { | ||
background: #2C80FF; | ||
border-radius: 0 8px 8px 0; | ||
border-radius: 0px 8px 8px 0px; | ||
} | ||
|
||
::-webkit-input-placeholder { | ||
/* Edge */ | ||
opacity: 0.8; | ||
font-family: InterUI-Regular; | ||
font-size: 12px; | ||
color: #141829; | ||
} | ||
|
||
:-ms-input-placeholder { | ||
/* Internet Explorer */ | ||
opacity: 0.8; | ||
font-family: InterUI-Regular; | ||
font-size: 12px; | ||
color: #141829; | ||
} | ||
|
||
::placeholder { | ||
opacity: 0.8; | ||
font-family: InterUI-Regular; | ||
font-size: 12px; | ||
color: #141829; | ||
} | ||
|
||
.input-group-addon { | ||
background-color: #ffffff; | ||
border-left: #ffffff; | ||
border-right: #ffffff; | ||
} | ||
|
||
.input-lg { | ||
border-left: #ffffff; | ||
} |
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 |
---|---|---|
@@ -1,31 +1,32 @@ | ||
<form [formGroup]="form" (ngSubmit)="onSubmit()" novalidate role="form"> | ||
<div class="row"> | ||
<div class="col-xs-12 col-md-offset-2 col-md-8"> | ||
<form [formGroup]="form" (ngSubmit)="onSubmit()" novalidate role="form"> | ||
|
||
<div | ||
class="form-group" | ||
[ngClass]="{ | ||
'has-success': errorService.hasCorrectValue(form, 'searchField'), | ||
'has-error': errorService.hasWrongValue(form, 'searchField') | ||
}" | ||
> | ||
<div class="row"> | ||
<div class="col-xs-9 col-md-offset-3 col-md-6"> | ||
<input | ||
maxlength="64" | ||
formControlName="searchField" | ||
type="text" | ||
id="searchField" | ||
class="form-control" | ||
placeholder="{{ 'label.searchField' | translate }}" | ||
> | ||
</div> | ||
<div [ngClass]="{ | ||
'has-success': errorService.hasCorrectValue(form, 'searchField'), | ||
'has-error': errorService.hasWrongValue(form, 'searchField') | ||
}"> | ||
<div class="input-group"> | ||
<div class="input-group-addon"> | ||
<span class="glyphicon glyphicon-search text-primary"></span> | ||
</div> | ||
<input type="text" class="form-control input-lg" maxlength="64" formControlName="searchField" type="text" | ||
id="searchField" placeholder="{{ 'label.searchField' | translate }}"> | ||
|
||
<span class="input-group-btn"> | ||
<button class="btn btn-primary btn-serach btn-lg" type="button" [disabled]="!form.valid"> | ||
{{ 'action.find' | translate }} | ||
</button> | ||
</span> | ||
|
||
<div class="col-xs-3"> | ||
<input type="submit" [disabled]="!form.valid" value="{{ 'action.find' | translate }}" class="btn btn-primary"> | ||
</div> | ||
</div> | ||
|
||
<div [hidden]="!errorService.hasWrongValue(form, 'searchField')" class="col-xs-9 col-md-offset-3 col-md-6"> | ||
<span class="help-block">{{ errorService.getFieldError(form, 'searchField') | translate }}</span> | ||
<div [hidden]="!errorService.hasWrongValue(form, 'searchField')"> | ||
<span class="text-danger">{{ errorService.getFieldError(form, 'searchField') | translate }}</span> | ||
</div> | ||
</div> | ||
|
||
</form> | ||
</div> | ||
</form> | ||
</div> | ||
<br *ngIf="!errorService.hasWrongValue(form, 'searchField')"> |
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,15 @@ | ||
.table-container { | ||
background-color: white; | ||
border-radius: 4px; | ||
-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75); | ||
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75); | ||
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75); | ||
} | ||
|
||
tabset > ul > li > a > span { | ||
font-family: InterUI-Medium; | ||
font-size: 22px; | ||
color: #6672A6; | ||
letter-spacing: -0.17px; | ||
text-align: center; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.table-borderless > tbody > tr > td, | ||
.table-borderless > tbody > tr > th, | ||
.table-borderless > tfoot > tr > td, | ||
.table-borderless > tfoot > tr > th, | ||
.table-borderless > thead > tr > td, | ||
.table-borderless > thead > tr > th { | ||
border: none; | ||
} |
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
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
Oops, something went wrong.