移除SSH密钥入口并收紧密码认证边界

删除未注册的密钥 CLI、HTTP 处理和前端残留样式,保留 HTTPS 证书私钥路径与历史数据库兼容迁移;更新生产验收记录并记录后端、前端测试和构建结果。
This commit is contained in:
xuans committed 2026-10-02 09:18:55 +08:00
1 parent 1b9b6ecec4
commit 266eea723c
8 files changed
+39 -330

No files matched your search

-152
View File
@@ -434,162 +434,10 @@ code {
color: #63748c !important;
}
.ssh-server-list {
display: grid;
gap: 14px;
}
.ssh-server-card {
display: grid;
gap: 14px;
padding: 18px;
border: 1px solid #dfe7f1;
border-radius: 16px;
background: linear-gradient(135deg, #ffffff, #f8fbff);
}
.ssh-server-card-heading,
.ssh-orphaned-heading,
.ssh-server-command {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.ssh-server-meta {
display: flex;
flex-wrap: wrap;
gap: 8px 18px;
color: #718198;
font-size: 12px;
}
.ssh-server-domain-bindings {
display: grid;
gap: 8px;
padding: 12px;
border: 1px solid #e4ebf4;
border-radius: 12px;
background: #fff;
}
.ssh-server-domain-list {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.ssh-server-details {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.ssh-server-detail {
display: grid;
gap: 5px;
min-width: 0;
padding: 12px;
border: 1px solid #e4ebf4;
border-radius: 12px;
background: #fff;
color: #718198;
font-size: 12px;
line-height: 1.5;
}
.ssh-server-detail strong {
color: #30435f;
font-size: 13px;
}
.detail-label {
color: #8a98ab;
font-size: 11px;
letter-spacing: 0.04em;
}
.ssh-server-detail code,
.ssh-server-command code {
overflow-wrap: anywhere;
color: #345f94;
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
font-size: 12px;
}
.inline-error {
margin: 0;
}
.ssh-server-command {
padding: 10px 12px;
border: 1px solid #d8e5f4;
border-radius: 12px;
background: #f3f8ff;
}
.ssh-server-command > div {
display: grid;
gap: 5px;
min-width: 0;
}
.ssh-orphaned-keys {
display: grid;
gap: 10px;
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid #e7edf5;
}
.ssh-orphaned-heading > div {
display: grid;
gap: 3px;
}
.ssh-orphaned-list {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.ssh-orphaned-item {
display: inline-flex !important;
align-items: center;
gap: 8px;
padding: 7px 10px;
border: 1px solid #e1e8f1;
border-radius: 9px;
background: #fbfcfe;
color: #6f7f94;
font-size: 12px;
}
@media (max-width: 900px) {
.ssh-server-details {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 640px) {
.ssh-server-card-heading,
.ssh-orphaned-heading,
.ssh-server-command {
align-items: stretch;
flex-direction: column;
}
.ssh-server-details {
grid-template-columns: minmax(0, 1fr);
}
.ssh-server-command .inline-button {
align-self: flex-start;
}
}
.modal-backdrop {
position: fixed;
inset: 0;
@@ -1,131 +0,0 @@
.modal-backdrop.ssh-key-backdrop {
padding: 16px;
}
.ssh-key-modal {
box-sizing: border-box;
width: min(100%, 1180px);
max-height: calc(100dvh - 32px);
overflow: auto;
padding: 18px 24px;
}
.ssh-key-modal .modal-heading {
margin-bottom: 10px;
padding-bottom: 10px;
}
.ssh-key-modal form {
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
gap: 18px;
}
.ssh-key-modal .ssh-key-guide,
.ssh-key-modal .ssh-key-form-fields {
min-width: 0;
padding: 12px;
}
.ssh-key-modal .ssh-key-guide-heading {
margin-bottom: 8px;
}
.ssh-key-modal .ssh-key-guide-heading > div:first-child,
.ssh-key-modal .ssh-key-steps article > div,
.ssh-key-modal .field > span,
.ssh-key-modal .field-label-row > span {
display: flex;
align-items: center;
gap: 6px;
}
.ssh-key-modal .ssh-key-steps {
gap: 6px;
}
.ssh-key-modal .ssh-key-steps article {
gap: 5px;
padding: 7px 5px;
}
.ssh-key-modal .ssh-key-steps strong {
font-size: 12px;
}
.ssh-key-modal .ssh-key-platforms {
margin: 8px 0;
padding: 3px;
}
.ssh-key-modal .platform-tab {
padding: 6px 8px;
}
.ssh-key-modal .ssh-key-path-line,
.ssh-key-modal .ssh-key-path-summary {
gap: 5px;
padding: 6px 8px;
margin: 6px 0;
}
.ssh-key-modal .ssh-key-path-summary {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ssh-key-modal .ssh-key-path-summary > div:last-child {
grid-column: auto;
}
.ssh-key-modal .ssh-command-card {
margin-top: 6px;
padding: 7px 8px;
}
.ssh-key-modal .ssh-command-heading {
margin-bottom: 4px;
}
.ssh-key-modal .ssh-command-card > code {
font-size: 11px;
line-height: 1.4;
}
.ssh-key-modal .field {
margin-bottom: 10px;
gap: 5px;
}
.ssh-key-modal .field input,
.ssh-key-modal .field textarea {
min-height: 36px;
padding: 8px 10px;
}
.ssh-key-modal .ssh-key-form-fields .field textarea {
min-height: 130px;
}
.ssh-key-modal .ssh-key-form-fields .modal-actions {
margin-top: 10px;
padding-top: 10px;
}
@media (max-width: 900px) {
.ssh-key-modal form {
grid-template-columns: minmax(0, 1fr);
}
.ssh-key-modal .ssh-key-form-fields {
grid-column: 1;
}
}
@media (max-width: 640px) {
.ssh-key-modal {
padding: 16px;
}
.ssh-key-modal .ssh-key-path-summary {
grid-template-columns: minmax(0, 1fr);
}
}
@@ -1,3 +0,0 @@
<template>
<span v-if="false" aria-hidden="true"></span>
</template>