mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-08-17 16:37:18 +02:00
Add files via upload
This commit is contained in:
@@ -25060,7 +25060,7 @@ button.chat-files-dropdown-item:hover:not(:disabled) {
|
|||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
padding: 20px 24px 18px;
|
padding: 16px 24px 14px;
|
||||||
border-bottom: 1px solid #eef2f7;
|
border-bottom: 1px solid #eef2f7;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
@@ -25119,10 +25119,28 @@ button.chat-files-dropdown-item:hover:not(:disabled) {
|
|||||||
border-color: #e2e8f0;
|
border-color: #e2e8f0;
|
||||||
}
|
}
|
||||||
.projects-detail-meta {
|
.projects-detail-meta {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 5px;
|
||||||
|
flex-shrink: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 0.8125rem;
|
padding: 5px 10px;
|
||||||
color: #94a3b8;
|
font-size: 0.75rem;
|
||||||
line-height: 1.4;
|
color: #64748b;
|
||||||
|
line-height: 1.2;
|
||||||
|
white-space: nowrap;
|
||||||
|
border-radius: 999px;
|
||||||
|
background: #f8fafc;
|
||||||
|
border: 1px solid #e8edf3;
|
||||||
|
font-variant-numeric: tabular-nums;
|
||||||
|
}
|
||||||
|
.projects-detail-meta-icon {
|
||||||
|
flex-shrink: 0;
|
||||||
|
opacity: 0.65;
|
||||||
|
}
|
||||||
|
.projects-detail-meta-time {
|
||||||
|
font-weight: 500;
|
||||||
|
color: #64748b;
|
||||||
}
|
}
|
||||||
.projects-detail-desc {
|
.projects-detail-desc {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -25188,8 +25206,7 @@ button.chat-files-dropdown-item:hover:not(:disabled) {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
align-self: flex-start;
|
align-self: center;
|
||||||
margin-top: 2px;
|
|
||||||
}
|
}
|
||||||
@media (max-width: 860px) {
|
@media (max-width: 860px) {
|
||||||
.projects-detail-header {
|
.projects-detail-header {
|
||||||
|
|||||||
@@ -722,9 +722,12 @@ function updateProjectStatusPill(status) {
|
|||||||
|
|
||||||
function renderProjectDetailMeta(updatedAt) {
|
function renderProjectDetailMeta(updatedAt) {
|
||||||
const metaEl = document.getElementById('projects-detail-meta');
|
const metaEl = document.getElementById('projects-detail-meta');
|
||||||
if (!metaEl) return;
|
const timeEl = document.getElementById('projects-detail-meta-time');
|
||||||
|
if (!metaEl || !timeEl) return;
|
||||||
const time = formatProjectTime(updatedAt);
|
const time = formatProjectTime(updatedAt);
|
||||||
metaEl.textContent = tpFmt('projects.updatedPrefix', `Updated ${time}`, { time });
|
const full = tpFmt('projects.updatedPrefix', `Updated ${time}`, { time });
|
||||||
|
timeEl.textContent = time;
|
||||||
|
metaEl.title = full;
|
||||||
}
|
}
|
||||||
|
|
||||||
function refreshProjectDetailMetaI18n() {
|
function refreshProjectDetailMetaI18n() {
|
||||||
|
|||||||
@@ -1713,10 +1713,13 @@
|
|||||||
<span class="projects-stat-chip projects-stat-chip--warn" id="project-stat-sparse" hidden>0 待补全</span>
|
<span class="projects-stat-chip projects-stat-chip--warn" id="project-stat-sparse" hidden>0 待补全</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p id="projects-detail-meta" class="projects-detail-meta"></p>
|
|
||||||
<p id="projects-detail-desc" class="projects-detail-desc" hidden></p>
|
<p id="projects-detail-desc" class="projects-detail-desc" hidden></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="projects-detail-header-actions">
|
<div class="projects-detail-header-actions">
|
||||||
|
<span id="projects-detail-meta" class="projects-detail-meta" aria-live="polite">
|
||||||
|
<svg class="projects-detail-meta-icon" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
|
||||||
|
<span id="projects-detail-meta-time" class="projects-detail-meta-time"></span>
|
||||||
|
</span>
|
||||||
<button type="button" class="btn-secondary btn-small" onclick="openVulnerabilitiesForProject()" data-i18n="projects.vulnerabilityManagement">漏洞管理</button>
|
<button type="button" class="btn-secondary btn-small" onclick="openVulnerabilitiesForProject()" data-i18n="projects.vulnerabilityManagement">漏洞管理</button>
|
||||||
<button type="button" class="btn-primary btn-small" onclick="showAddFactModal()" data-i18n="projects.addFactCta">+ 添加事实</button>
|
<button type="button" class="btn-primary btn-small" onclick="showAddFactModal()" data-i18n="projects.addFactCta">+ 添加事实</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user