diff --git a/contributors/TechMiX.txt b/contributors/TechMiX.txt
new file mode 100644
index 000000000..e6a382eae
--- /dev/null
+++ b/contributors/TechMiX.txt
@@ -0,0 +1,3 @@
+I hereby accept the terms of the Contributor License Agreement in the CONTRIBUTING.md file of the mempool/mempool git repository as of January 25, 2022.
+
+Signed: TechMiX
diff --git a/frontend/src/app/components/address/address.component.html b/frontend/src/app/components/address/address.component.html
index 0c030f5de..0ac64f86d 100644
--- a/frontend/src/app/components/address/address.component.html
+++ b/frontend/src/app/components/address/address.component.html
@@ -55,7 +55,7 @@
-
+
{{ (transactions?.length | number) || '?' }} of {{ txCount | number }} transaction
1">{{ (transactions?.length | number) || '?' }} of {{ txCount | number }} transactions
diff --git a/frontend/src/app/components/block/block.component.html b/frontend/src/app/components/block/block.component.html
index 8970bd372..8b511b30c 100644
--- a/frontend/src/app/components/block/block.component.html
+++ b/frontend/src/app/components/block/block.component.html
@@ -163,7 +163,7 @@
-
+
{{ i }} transaction
{{ i }} transactions
diff --git a/frontend/src/app/components/docs/docs.component.ts b/frontend/src/app/components/docs/docs.component.ts
index 7ef6cade6..e2de9113d 100644
--- a/frontend/src/app/components/docs/docs.component.ts
+++ b/frontend/src/app/components/docs/docs.component.ts
@@ -1,4 +1,4 @@
-import { Component, OnInit } from '@angular/core';
+import { Component, OnInit, HostBinding } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Env, StateService } from 'src/app/services/state.service';
@@ -13,6 +13,8 @@ export class DocsComponent implements OnInit {
env: Env;
showWebSocketTab = true;
+ @HostBinding('attr.dir') dir = 'ltr';
+
constructor(
private route: ActivatedRoute,
private stateService: StateService,
diff --git a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts
index fd2a52b5e..de62989bf 100644
--- a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts
+++ b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts
@@ -1,4 +1,4 @@
-import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, Input, LOCALE_ID, OnInit } from '@angular/core';
+import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, Input, LOCALE_ID, OnInit, HostBinding } from '@angular/core';
import { EChartsOption, graphic } from 'echarts';
import { Observable } from 'rxjs';
import { delay, map, retryWhen, share, startWith, switchMap, tap } from 'rxjs/operators';
@@ -35,6 +35,8 @@ export class HashrateChartComponent implements OnInit {
renderer: 'svg',
};
+ @HostBinding('attr.dir') dir = 'ltr';
+
hashrateObservable$: Observable;
isLoading = true;
formatNumber = formatNumber;
diff --git a/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts b/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts
index abfa8f61d..d664650d0 100644
--- a/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts
+++ b/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts
@@ -1,4 +1,4 @@
-import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, Input, LOCALE_ID, OnInit } from '@angular/core';
+import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, Input, LOCALE_ID, OnInit, HostBinding } from '@angular/core';
import { EChartsOption } from 'echarts';
import { Observable } from 'rxjs';
import { delay, map, retryWhen, share, startWith, switchMap, tap } from 'rxjs/operators';
@@ -33,6 +33,8 @@ export class HashrateChartPoolsComponent implements OnInit {
renderer: 'svg',
};
+ @HostBinding('attr.dir') dir = 'ltr';
+
hashrateObservable$: Observable;
isLoading = true;
diff --git a/frontend/src/app/components/pool-ranking/pool-ranking.component.ts b/frontend/src/app/components/pool-ranking/pool-ranking.component.ts
index 236ac3b2d..bf78266e0 100644
--- a/frontend/src/app/components/pool-ranking/pool-ranking.component.ts
+++ b/frontend/src/app/components/pool-ranking/pool-ranking.component.ts
@@ -1,4 +1,4 @@
-import { ChangeDetectionStrategy, Component, Input, NgZone, OnInit } from '@angular/core';
+import { ChangeDetectionStrategy, Component, Input, NgZone, OnInit, HostBinding } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { Router } from '@angular/router';
import { EChartsOption, PieSeriesOption } from 'echarts';
@@ -31,6 +31,8 @@ export class PoolRankingComponent implements OnInit {
};
chartInstance: any = undefined;
+ @HostBinding('attr.dir') dir = 'ltr';
+
miningStatsObservable$: Observable;
constructor(
diff --git a/frontend/src/app/components/transaction/transaction.component.html b/frontend/src/app/components/transaction/transaction.component.html
index a0c92cbb4..1b6844cda 100644
--- a/frontend/src/app/components/transaction/transaction.component.html
+++ b/frontend/src/app/components/transaction/transaction.component.html
@@ -200,7 +200,7 @@
-
+
Details
diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss
index 09c885987..aee1456e4 100644
--- a/frontend/src/styles.scss
+++ b/frontend/src/styles.scss
@@ -698,6 +698,16 @@ th {
margin-right: 0px;
text-align: right;
}
+
+ .nav-pills {
+ @extend .nav-pills;
+ display: inline-block;
+ }
+
+ .description {
+ direction: rtl;
+ }
+
.dropdown {
margin-right: 1rem;
margin-left: 0;
@@ -712,12 +722,29 @@ th {
left: 0px;
right: auto;
}
- .fa-arrow-alt-circle-right {
- @extend .fa-arrow-alt-circle-right;
+ .fa-circle-right {
+ @extend .fa-circle-right;
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
}
+ .btn.ml-2 {
+ margin-right: 0.5rem !important;
+ }
+
+ .pool-name {
+ @extend .pool-name;
+ padding-right: 10px;
+ }
+
+ .endpoint-container {
+ @extend .endpoint-container;
+ .section-header {
+ @extend .section-header;
+ text-align: left;
+ }
+ }
+
.table td {
text-align: right;
.fiat {
@@ -809,6 +836,14 @@ th {
}
}
+ .full-container {
+ @extend .full-container;
+ .formRadioGroup {
+ @extend .formRadioGroup;
+ direction: ltr;
+ }
+ }
+
.mempool-graph {
@extend .mempool-graph;
direction: ltr;