Compare commits
2 Commits
48cb5d9380
...
0b0fe3de40
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b0fe3de40 | ||
|
|
5db36ac3c7 |
@ -1356,7 +1356,7 @@
|
|||||||
/* Snapshot detail panel. The shared .task-meta/.meta-item layout forces
|
/* Snapshot detail panel. The shared .task-meta/.meta-item layout forces
|
||||||
one nowrap line per item and clips long values (the full date, repo
|
one nowrap line per item and clips long values (the full date, repo
|
||||||
paths) mid-string, so the backup row gets its own label-over-value grid
|
paths) mid-string, so the backup row gets its own label-over-value grid
|
||||||
plus full-width blocks for tags and paths that wrap cleanly. */
|
plus a paired tags/paths row that wraps cleanly. */
|
||||||
.backup-snapshot-meta {
|
.backup-snapshot-meta {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -1398,12 +1398,20 @@
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
/* Tags and paths sit side by side on one row, dropping to a single column
|
||||||
|
when the panel is too narrow to give both a readable width. */
|
||||||
|
.backup-snapshot-meta .bsm-blocks {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||||
|
gap: 14px 18px;
|
||||||
|
padding-top: 13px;
|
||||||
|
border-top: 1px solid rgba(var(--text-rgb), 0.08);
|
||||||
|
}
|
||||||
.backup-snapshot-meta .bsm-block {
|
.backup-snapshot-meta .bsm-block {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
padding-top: 13px;
|
min-width: 0;
|
||||||
border-top: 1px solid rgba(var(--text-rgb), 0.08);
|
|
||||||
}
|
}
|
||||||
.backup-snapshot-meta .bsm-tags {
|
.backup-snapshot-meta .bsm-tags {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@ -109,6 +109,8 @@ Object.assign(BackupPage.prototype, {
|
|||||||
${field('When', `<span title="${this.escape(this._fmtFullTime(r.time))}">${this.escape(this._fmtNiceTime(r.time))}</span>`)}
|
${field('When', `<span title="${this.escape(this._fmtFullTime(r.time))}">${this.escape(this._fmtNiceTime(r.time))}</span>`)}
|
||||||
${engineName ? field('Engine', this.escape(engineName)) : ''}
|
${engineName ? field('Engine', this.escape(engineName)) : ''}
|
||||||
</div>
|
</div>
|
||||||
|
${otherTags.length || (r.paths && r.paths.length) ? `
|
||||||
|
<div class="bsm-blocks">
|
||||||
${otherTags.length ? `
|
${otherTags.length ? `
|
||||||
<div class="bsm-block">
|
<div class="bsm-block">
|
||||||
<span class="bsm-label">Tags</span>
|
<span class="bsm-label">Tags</span>
|
||||||
@ -119,6 +121,7 @@ Object.assign(BackupPage.prototype, {
|
|||||||
<span class="bsm-label">Paths</span>
|
<span class="bsm-label">Paths</span>
|
||||||
<ul class="bsm-paths">${r.paths.map(p => `<li><code>${this.escape(p)}</code></li>`).join('')}</ul>
|
<ul class="bsm-paths">${r.paths.map(p => `<li><code>${this.escape(p)}</code></li>`).join('')}</ul>
|
||||||
</div>` : ''}
|
</div>` : ''}
|
||||||
|
</div>` : ''}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|||||||
@ -129,6 +129,8 @@ class BackupAppCard {
|
|||||||
${field('When', `<span title="${this.escape(this._fmtFull(s.time))}">${this.escape(this._fmtNice(s.time))}</span>`)}
|
${field('When', `<span title="${this.escape(this._fmtFull(s.time))}">${this.escape(this._fmtNice(s.time))}</span>`)}
|
||||||
${engineName ? field('Engine', this.escape(engineName)) : ''}
|
${engineName ? field('Engine', this.escape(engineName)) : ''}
|
||||||
</div>
|
</div>
|
||||||
|
${otherTags.length || (s.paths && s.paths.length) ? `
|
||||||
|
<div class="bsm-blocks">
|
||||||
${otherTags.length ? `
|
${otherTags.length ? `
|
||||||
<div class="bsm-block">
|
<div class="bsm-block">
|
||||||
<span class="bsm-label">Tags</span>
|
<span class="bsm-label">Tags</span>
|
||||||
@ -139,6 +141,7 @@ class BackupAppCard {
|
|||||||
<span class="bsm-label">Paths</span>
|
<span class="bsm-label">Paths</span>
|
||||||
<ul class="bsm-paths">${s.paths.map(p => `<li><code>${this.escape(p)}</code></li>`).join('')}</ul>
|
<ul class="bsm-paths">${s.paths.map(p => `<li><code>${this.escape(p)}</code></li>`).join('')}</ul>
|
||||||
</div>` : ''}
|
</div>` : ''}
|
||||||
|
</div>` : ''}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|||||||
@ -30,7 +30,7 @@ CFG_TRIVY_HEADSCALE=false
|
|||||||
CFG_TRIVY_CATEGORY="security,recommended"
|
CFG_TRIVY_CATEGORY="security,recommended"
|
||||||
CFG_TRIVY_TITLE="Trivy"
|
CFG_TRIVY_TITLE="Trivy"
|
||||||
CFG_TRIVY_DESCRIPTION="Vulnerability scanner"
|
CFG_TRIVY_DESCRIPTION="Vulnerability scanner"
|
||||||
CFG_TRIVY_LONG_DESCRIPTION="Trivy checks the container images behind your installed apps for known vulnerabilities (CVEs) and powers the Security view in the App Center Overview. Scanning happens entirely on your box against a locally cached database — nothing about your apps is sent anywhere"
|
CFG_TRIVY_LONG_DESCRIPTION="Trivy checks the container images behind your installed apps for known vulnerabilities (CVEs)"
|
||||||
CFG_TRIVY_URL="https://github.com/aquasecurity/trivy"
|
CFG_TRIVY_URL="https://github.com/aquasecurity/trivy"
|
||||||
CFG_TRIVY_ACTIONS="configure|install|restart|shutdown|uninstall"
|
CFG_TRIVY_ACTIONS="configure|install|restart|shutdown|uninstall"
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user