Compare commits
15 Commits
v2.5.0-dev
...
v2.5.0-dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf5821c8c8 | ||
|
|
a2e23014f4 | ||
|
|
811c14a6bd | ||
|
|
a34d87148b | ||
|
|
a45a8db479 | ||
|
|
672f71c515 | ||
|
|
2c16bbb0e9 | ||
|
|
63f7709e82 | ||
|
|
15b13ef4a4 | ||
|
|
75303c7a34 | ||
|
|
1a6048f0ab | ||
|
|
ae6a408c05 | ||
|
|
1015cbfa94 | ||
|
|
876feef53f | ||
|
|
f5f0329d39 |
@@ -10,7 +10,9 @@ cp /etc/nginx/nginx.conf /patch/nginx.conf
|
|||||||
sed -i "s/__MEMPOOL_FRONTEND_HTTP_PORT__/${__MEMPOOL_FRONTEND_HTTP_PORT__}/g" /patch/nginx.conf
|
sed -i "s/__MEMPOOL_FRONTEND_HTTP_PORT__/${__MEMPOOL_FRONTEND_HTTP_PORT__}/g" /patch/nginx.conf
|
||||||
cat /patch/nginx.conf > /etc/nginx/nginx.conf
|
cat /patch/nginx.conf > /etc/nginx/nginx.conf
|
||||||
|
|
||||||
[ "${APP_LIGHTNING_NODE_PORT}" = "9735" ] && LIGHTNING=true
|
if [ "${LIGHTNING_DETECTED_PORT}" != "" ];then
|
||||||
|
export LIGHTNING=true
|
||||||
|
fi
|
||||||
|
|
||||||
# Runtime overrides - read env vars defined in docker compose
|
# Runtime overrides - read env vars defined in docker compose
|
||||||
|
|
||||||
|
|||||||
@@ -156,4 +156,5 @@
|
|||||||
|
|
||||||
.symbol {
|
.symbol {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
<div class="symbol" i18n="difficulty-box.average-block-time">Average block time</div>
|
<div class="symbol" i18n="difficulty-box.average-block-time">Average block time</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div *ngIf="epochData.remainingBlocks < 1870; else recentlyAdjusted" class="card-text" [ngStyle]="{'color': epochData.colorAdjustments}">
|
<div *ngIf="epochData.remainingBlocks < 1870; else recentlyAdjusted" class="card-text bigger" [ngStyle]="{'color': epochData.colorAdjustments}">
|
||||||
<span *ngIf="epochData.change > 0; else arrowDownDifficulty" >
|
<span *ngIf="epochData.change > 0; else arrowDownDifficulty" >
|
||||||
<fa-icon class="retarget-sign" [icon]="['fas', 'caret-up']" [fixedWidth]="true"></fa-icon>
|
<fa-icon class="retarget-sign" [icon]="['fas', 'caret-up']" [fixedWidth]="true"></fa-icon>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -30,9 +30,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.card-text {
|
.card-text {
|
||||||
font-size: 20px;
|
font-size: 18px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
margin-bottom: 0.2rem;
|
||||||
|
&.bigger {
|
||||||
|
font-size: 20px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -160,6 +165,7 @@
|
|||||||
|
|
||||||
.symbol {
|
.symbol {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.epoch-progress {
|
.epoch-progress {
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
<h2 i18n="lightning.node-fee-distribution">Fee distribution</h2>
|
<h2 i18n="lightning.node-fee-distribution">Fee distribution</h2>
|
||||||
<div class="chart" echarts [initOpts]="chartInitOptions" [options]="chartOptions" (chartInit)="onChartInit($event)"></div>
|
<div class="chart" echarts [initOpts]="chartInitOptions" [options]="chartOptions" (chartInit)="onChartInit($event)"></div>
|
||||||
<div class="text-center loadingGraphs" *ngIf="isLoading">
|
<div class="text-center loadingGraphs" *ngIf="isLoading">
|
||||||
<div class="spinner-border text-light"></div>d
|
<div class="spinner-border text-light"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ export class NodeStatisticsChartComponent implements OnInit {
|
|||||||
color: 'grey',
|
color: 'grey',
|
||||||
fontSize: 15
|
fontSize: 15
|
||||||
},
|
},
|
||||||
text: `Loading`,
|
text: $localize`No data to display yet. Try again later.`,
|
||||||
left: 'center',
|
left: 'center',
|
||||||
top: 'center'
|
top: 'center'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -18,8 +18,5 @@
|
|||||||
<div class="text-center loading-spinner" [class]="style" *ngIf="isLoading && !disableSpinner">
|
<div class="text-center loading-spinner" [class]="style" *ngIf="isLoading && !disableSpinner">
|
||||||
<div class="spinner-border text-light"></div>
|
<div class="spinner-border text-light"></div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="showIndexingInProgress" class="indexing-message">
|
|
||||||
<span class="badge badge-pill badge-warning" i18n="lightning.indexing-in-progress">Indexing in progress</span>
|
|
||||||
</div>
|
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
@@ -36,7 +36,6 @@ export class NodesChannelsMap implements OnInit {
|
|||||||
channelCurve = 0;
|
channelCurve = 0;
|
||||||
nodeSize = 4;
|
nodeSize = 4;
|
||||||
isLoading = false;
|
isLoading = false;
|
||||||
showIndexingInProgress = false;
|
|
||||||
|
|
||||||
chartInstance = undefined;
|
chartInstance = undefined;
|
||||||
chartOptions: EChartsOption = {};
|
chartOptions: EChartsOption = {};
|
||||||
@@ -206,20 +205,13 @@ export class NodesChannelsMap implements OnInit {
|
|||||||
prepareChartOptions(nodes, channels) {
|
prepareChartOptions(nodes, channels) {
|
||||||
let title: object;
|
let title: object;
|
||||||
if (channels.length === 0 && !this.placeholder) {
|
if (channels.length === 0 && !this.placeholder) {
|
||||||
this.chartOptions = null;
|
|
||||||
this.showIndexingInProgress = true;
|
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// empty map fallback
|
|
||||||
if (channels.length === 0 && this.placeholder) {
|
|
||||||
title = {
|
title = {
|
||||||
textStyle: {
|
textStyle: {
|
||||||
color: 'white',
|
color: 'white',
|
||||||
fontSize: 18
|
fontSize: 18
|
||||||
},
|
},
|
||||||
text: $localize`No geolocation data available`,
|
text: $localize`No data to display yet. Try again later.`,
|
||||||
left: 'center',
|
left: 'center',
|
||||||
top: 'center'
|
top: 'center'
|
||||||
};
|
};
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 31 KiB |
Reference in New Issue
Block a user