mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 07:53:15 +08:00
Unify ops detail dialogs and rename workbench monitoring section.
LLDP job detail, config-sync cycle tasks, and UME fold panels now use the shared modal layout; workbench section label is 系统对接. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
5a77e36839
commit
b7a179d492
6 changed files with 1245 additions and 723 deletions
|
|
@ -8100,6 +8100,8 @@ pre {
|
|||
color: #94a3b8;
|
||||
}
|
||||
|
||||
/* Shared detail dialog for config view / LLDP jobs / config-sync cycles */
|
||||
.ops-detail-modal,
|
||||
.nm-config-modal {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -8108,6 +8110,7 @@ pre {
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ops-detail-modal__head,
|
||||
.nm-config-modal__head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
|
|
@ -8115,21 +8118,172 @@ pre {
|
|||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 12px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.ops-detail-modal__title h3,
|
||||
.nm-config-modal__title h3 {
|
||||
margin: 0 0 4px;
|
||||
}
|
||||
|
||||
.ops-detail-modal__title .muted,
|
||||
.nm-config-modal__title .muted {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.ops-detail-modal__actions,
|
||||
.nm-config-modal__actions {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.ops-detail-modal__toolbar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.ops-detail-modal__scroll {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
border: 1px solid rgba(148, 163, 184, 0.22);
|
||||
border-radius: 8px;
|
||||
background: rgba(2, 8, 23, 0.35);
|
||||
}
|
||||
|
||||
.ops-detail-modal__scroll .pt-list-table-wrap,
|
||||
.ops-detail-modal__scroll .data-table {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.ops-detail-modal__foot {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
margin-top: 12px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.ops-detail-modal__error {
|
||||
margin: 0 0 10px;
|
||||
color: #fca5a5;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.ops-detail-modal--xl {
|
||||
width: min(1100px, 100%);
|
||||
}
|
||||
|
||||
.ops-detail-modal__scroll--pad {
|
||||
padding: 12px 14px;
|
||||
}
|
||||
|
||||
.ume-entry-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.ume-page > .ume-entry-grid > .panel {
|
||||
padding: 16px 18px 18px;
|
||||
border-color: var(--nm-panel-border);
|
||||
box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06);
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
min-height: 118px;
|
||||
}
|
||||
|
||||
.ume-entry .panel__toolbar {
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.ume-entry__summary {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.ume-entry__pills {
|
||||
margin: 0;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.ume-modal-form {
|
||||
flex: 0 0 auto;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.ume-modal-form__grow {
|
||||
flex: 1 1 160px;
|
||||
min-width: 140px;
|
||||
}
|
||||
|
||||
.ume-modal-form__label {
|
||||
margin: 0 0 6px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.ume-modal-form__hint {
|
||||
margin: 6px 0 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.ume-modal-form__opts {
|
||||
margin-top: 8px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.ume-ne-types {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px 16px;
|
||||
max-height: 120px;
|
||||
overflow: auto;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid rgba(148, 163, 184, 0.22);
|
||||
border-radius: 8px;
|
||||
background: rgba(2, 8, 23, 0.35);
|
||||
}
|
||||
|
||||
.ume-ne-types--tall {
|
||||
max-height: 240px;
|
||||
}
|
||||
|
||||
.ume-ne-types__item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
white-space: nowrap;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.ume-ne-detail-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px 18px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.ume-ne-detail-grid > div > .muted {
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.nowrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.nm-config-modal__tabs {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue