实例页增加远程更新客户端:下发 git pull + pm2 restart,并轮询版本确认上线。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -330,6 +330,36 @@ button, .btn {
|
||||
}
|
||||
.check { display: flex !important; align-items: center; gap: 8px; }
|
||||
.inst-row { margin: 10px 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
|
||||
.inst-row > summary {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.inst-version {
|
||||
font-size: 0.78rem;
|
||||
font-variant-numeric: tabular-nums;
|
||||
margin-left: auto;
|
||||
}
|
||||
.inst-version.online { color: var(--ok); }
|
||||
.inst-version.offline { color: var(--bad); }
|
||||
.inst-remote-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin: 10px 0 4px;
|
||||
}
|
||||
.inst-remote-actions .btn { margin-top: 0; }
|
||||
.inst-update-hint { margin: 0 0 12px; font-size: 0.78rem; }
|
||||
.inst-update-status {
|
||||
font-size: 0.8rem;
|
||||
min-height: 1.2em;
|
||||
}
|
||||
.inst-update-status.pending { color: var(--accent-2); }
|
||||
.inst-update-status.ok { color: var(--ok); }
|
||||
.inst-update-status.err { color: var(--bad); }
|
||||
.overview-table-wrap {
|
||||
overflow-x: auto;
|
||||
margin-top: 12px;
|
||||
|
||||
Reference in New Issue
Block a user