forked from lthn/blockchain
loading screen fix & move text in contracts time
This commit is contained in:
parent
1140197586
commit
2d54f102dc
4 changed files with 13 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ export class VariablesService {
|
|||
public exp_med_ts = 0;
|
||||
public height_app = 0;
|
||||
public last_build_available = '';
|
||||
public daemon_state = 0;
|
||||
public daemon_state = 3;
|
||||
public sync = {
|
||||
progress_value: 0,
|
||||
progress_value_text: '0'
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
public translate: TranslateService,
|
||||
private backend: BackendService,
|
||||
private router: Router,
|
||||
private variablesService: VariablesService,
|
||||
public variablesService: VariablesService,
|
||||
private ngZone: NgZone,
|
||||
private intToMoneyPipe: IntToMoneyPipe,
|
||||
private modalService: ModalService
|
||||
|
|
|
|||
|
|
@ -246,10 +246,9 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="time-cancel-block-row" *ngIf="showTimeSelect && !newPurchase && currentContract.is_a && (currentContract.state == 201 || currentContract.state == 2 || currentContract.state == 120 || currentContract.state == 130)">
|
||||
<div>{{ 'PURCHASE.WAITING_TIME_QUESTION' | translate }}</div>
|
||||
<div class="time-cancel-block-row" *ngIf="'showTimeSelect && !newPurchase && currentContract.is_a && (currentContract.state == 201 || currentContract.state == 2 || currentContract.state == 120 || currentContract.state == 130)'">
|
||||
<div class="time-cancel-block-question">{{ 'PURCHASE.WAITING_TIME_QUESTION' | translate }}</div>
|
||||
<div class="input-block">
|
||||
<label for="purchase-timeCancel">{{ 'PURCHASE.WAITING_TIME' | translate }}</label>
|
||||
<ng-select id="purchase-timeCancel" class="lock-selection-select"
|
||||
[clearable]="false"
|
||||
[searchable]="false"
|
||||
|
|
@ -260,6 +259,7 @@
|
|||
</ng-option>
|
||||
</ng-select>
|
||||
</div>
|
||||
<label for="purchase-timeCancel">{{ 'PURCHASE.WAITING_TIME' | translate }}</label>
|
||||
<div class="time-cancel-block-buttons">
|
||||
<button type="button" class="blue-button" (click)="showTimeSelect = false;">{{ 'PURCHASE.CANCEL' | translate }}</button>
|
||||
<button type="button" class="blue-button" (click)="dealsDetailsCancel();">{{ 'PURCHASE.BUTTON_CANCEL_BUYER' | translate }}</button>
|
||||
|
|
|
|||
|
|
@ -136,10 +136,18 @@
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.time-cancel-block-question {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.input-block {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
label {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.time-cancel-block-buttons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue