mirror of
https://github.com/benjamin-wilson/public-pool-ui.git
synced 2025-09-28 21:05:20 +02:00
info and colors
This commit is contained in:
@@ -64,18 +64,22 @@ export class DashboardComponent {
|
|||||||
label: '2 Hour',
|
label: '2 Hour',
|
||||||
data: hourlyData,
|
data: hourlyData,
|
||||||
fill: false,
|
fill: false,
|
||||||
backgroundColor: documentStyle.getPropertyValue('--primary-color'),
|
backgroundColor: documentStyle.getPropertyValue('--yellow-600'),
|
||||||
borderColor: documentStyle.getPropertyValue('--primary-color'),
|
borderColor: documentStyle.getPropertyValue('--yellow-600'),
|
||||||
tension: .4
|
tension: .4,
|
||||||
|
pointRadius: 1,
|
||||||
|
borderWidth: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'line',
|
type: 'line',
|
||||||
label: '10 Minute',
|
label: '10 Minute',
|
||||||
data: data,
|
data: data,
|
||||||
fill: false,
|
fill: false,
|
||||||
backgroundColor: documentStyle.getPropertyValue('--bluegray-700'),
|
backgroundColor: documentStyle.getPropertyValue('--primary-color'),
|
||||||
borderColor: documentStyle.getPropertyValue('--bluegray-700'),
|
borderColor: documentStyle.getPropertyValue('--primary-color'),
|
||||||
tension: .4
|
tension: .4,
|
||||||
|
pointRadius: 1,
|
||||||
|
borderWidth: 1
|
||||||
},
|
},
|
||||||
|
|
||||||
]
|
]
|
||||||
|
@@ -24,9 +24,9 @@
|
|||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
<code>Pleb mining (under 10TH/s miners) mine with <b>NO FEES*</b></code>
|
<code>Pleb mining (under 50TH/s miners) mine with <b>NO FEES*</b></code>
|
||||||
<br>
|
<br>
|
||||||
<code>Miners with > 10TH/s will incur a 1.5% fee, a portion of which will go back into <a href="https://discord.gg/pF9smpe3yE" target="_blank">open source Bitcoin mining</a>*</code>
|
<code>Miners with > 50TH/s will incur a 1.5% fee, a portion of which will go back into <a href="https://discord.gg/pF9smpe3yE" target="_blank">open source Bitcoin mining</a>*</code>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<code>No second best.</code>
|
<code>No second best.</code>
|
||||||
|
@@ -33,9 +33,11 @@ export class SplashComponent {
|
|||||||
label: 'Public-Pool Hashrate',
|
label: 'Public-Pool Hashrate',
|
||||||
data: info.chartData.map((d: any) => d.data),
|
data: info.chartData.map((d: any) => d.data),
|
||||||
fill: false,
|
fill: false,
|
||||||
backgroundColor: documentStyle.getPropertyValue('--bluegray-700'),
|
backgroundColor: documentStyle.getPropertyValue('--primary-color'),
|
||||||
borderColor: documentStyle.getPropertyValue('--bluegray-700'),
|
borderColor: documentStyle.getPropertyValue('--primary-color'),
|
||||||
tension: .4
|
tension: .4,
|
||||||
|
pointRadius: 1,
|
||||||
|
borderWidth: 1
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -38,9 +38,11 @@ export class WorkerGroupComponent {
|
|||||||
label: workerInfo.name,
|
label: workerInfo.name,
|
||||||
data: workerInfo.chartData.map((d: any) => d.data),
|
data: workerInfo.chartData.map((d: any) => d.data),
|
||||||
fill: false,
|
fill: false,
|
||||||
backgroundColor: documentStyle.getPropertyValue('--bluegray-700'),
|
backgroundColor: documentStyle.getPropertyValue('--primary-color'),
|
||||||
borderColor: documentStyle.getPropertyValue('--bluegray-700'),
|
borderColor: documentStyle.getPropertyValue('--primary-color'),
|
||||||
tension: .4
|
tension: .4,
|
||||||
|
pointRadius: 1,
|
||||||
|
borderWidth: 1
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -38,9 +38,11 @@ export class WorkerComponent {
|
|||||||
label: workerInfo.name,
|
label: workerInfo.name,
|
||||||
data: workerInfo.chartData.map((d: any) => d.data),
|
data: workerInfo.chartData.map((d: any) => d.data),
|
||||||
fill: false,
|
fill: false,
|
||||||
backgroundColor: documentStyle.getPropertyValue('--bluegray-700'),
|
backgroundColor: documentStyle.getPropertyValue('--primary-color'),
|
||||||
borderColor: documentStyle.getPropertyValue('--bluegray-700'),
|
borderColor: documentStyle.getPropertyValue('--primary-color'),
|
||||||
tension: .4
|
tension: .4,
|
||||||
|
pointRadius: 1,
|
||||||
|
borderWidth: 1
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user