Merge claude/2
This commit is contained in:
commit
6e7cf40236
@ -415,8 +415,9 @@ table.sys-apps tr:hover td { background: rgba(var(--text-rgb), 0.03); }
|
||||
}
|
||||
.sys-metric-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 10px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
.sys-detail-range { display: inline-flex; gap: 4px; padding: 4px; background: rgba(var(--text-rgb), 0.06); border-radius: 999px; }
|
||||
|
||||
@ -175,14 +175,14 @@ class SystemMetricPage {
|
||||
<p class="sys-metric-sub">${fmt.escape(this._subline())}</p>
|
||||
</div>
|
||||
<div class="sys-metric-actions">
|
||||
${this.metricKey === 'disk' ? `<button type="button" class="sys-storage-cta" data-go-storage title="Open the full storage breakdown">
|
||||
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.21 15.89A10 10 0 1 1 8 2.83"/><path d="M22 12A10 10 0 0 0 12 2v10z"/></svg>
|
||||
View storage breakdown
|
||||
</button>` : ''}
|
||||
<div class="sys-detail-range" role="tablist" aria-label="Time range">
|
||||
${[[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('')}
|
||||
</div>
|
||||
${this.metricKey === 'disk' ? `<button type="button" class="sys-storage-cta" data-go-storage title="Open the full storage breakdown">
|
||||
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.21 15.89A10 10 0 1 1 8 2.83"/><path d="M22 12A10 10 0 0 0 12 2v10z"/></svg>
|
||||
View storage breakdown
|
||||
</button>` : ''}
|
||||
</div>
|
||||
</div>
|
||||
<section class="sys-detail-stats">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user