Compare commits
No commits in common. "b9cc88488fa224462c344e166d14b9e2a6ee70c0" and "4e49a3bd42a3bb812b2135abaaf51ee9af927efc" have entirely different histories.
b9cc88488f
...
4e49a3bd42
@ -112,11 +112,6 @@ class SystemMetricPage {
|
|||||||
const back = e.target.closest('[data-back]');
|
const back = e.target.closest('[data-back]');
|
||||||
if (back && window.navigateToRoute) {
|
if (back && window.navigateToRoute) {
|
||||||
window.navigateToRoute('/admin/config/system');
|
window.navigateToRoute('/admin/config/system');
|
||||||
return;
|
|
||||||
}
|
|
||||||
const go = e.target.closest('[data-go-storage]');
|
|
||||||
if (go && window.navigateToRoute) {
|
|
||||||
window.navigateToRoute('/admin/config/system/storage');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,7 +170,6 @@ class SystemMetricPage {
|
|||||||
<p class="sys-metric-sub">${fmt.escape(this._subline())}</p>
|
<p class="sys-metric-sub">${fmt.escape(this._subline())}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="sys-metric-actions">
|
<div class="sys-metric-actions">
|
||||||
${this.metricKey === 'disk' ? `<button type="button" class="sys-storage-more" data-go-storage>View storage breakdown →</button>` : ''}
|
|
||||||
<div class="sys-detail-range" role="tablist" aria-label="Time range">
|
<div class="sys-detail-range" role="tablist" aria-label="Time range">
|
||||||
${[[60,'1h'],[360,'6h'],[1440,'24h'],[10080,'7d']]
|
${[[60,'1h'],[360,'6h'],[1440,'24h'],[10080,'7d']]
|
||||||
.map(([m,l]) => `<button type="button" role="tab" class="sys-detail-range-btn ${this.rangeMin===m?'active':''}" data-rng="${m}">${l}</button>`).join('')}
|
.map(([m,l]) => `<button type="button" role="tab" class="sys-detail-range-btn ${this.rangeMin===m?'active':''}" data-rng="${m}">${l}</button>`).join('')}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user