update tool matrix
This commit is contained in:
parent
0c00512c99
commit
25cdc64f99
@ -1 +1 @@
|
|||||||
[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.11.1","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"static\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"entry.mjs\",\"redirects\":true,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":false,\"port\":4321,\"streaming\":true,\"allowedHosts\":[]},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[],\"remotePatterns\":[],\"responsiveStyles\":false},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":{\"type\":\"shiki\",\"excludeLangs\":[\"math\"]},\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"headingIdCompat\":false,\"preserveScriptOrder\":false,\"liveContentCollections\":false,\"csp\":false},\"legacy\":{\"collections\":false}}"]
|
[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.11.1","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"server\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"entry.mjs\",\"redirects\":true,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":true,\"port\":4321,\"streaming\":true,\"allowedHosts\":[]},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\",\"entrypoint\":\"astro/assets/endpoint/node\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[],\"remotePatterns\":[],\"responsiveStyles\":false},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":{\"type\":\"shiki\",\"excludeLangs\":[\"math\"]},\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"headingIdCompat\":false,\"preserveScriptOrder\":false,\"liveContentCollections\":false,\"csp\":false},\"legacy\":{\"collections\":false},\"session\":{\"driver\":\"fs-lite\",\"options\":{\"base\":\"/var/home/user01/Projekte/cc24-hub/node_modules/.astro/sessions\"}}}"]
|
@ -108,9 +108,10 @@ const sortedTags = Object.entries(tagFrequency)
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- View Toggle -->
|
<!-- View Toggle -->
|
||||||
<div style="display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: center; flex-wrap: wrap;">
|
<!--<div style="display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: center; flex-wrap: wrap;">-->
|
||||||
<button class="btn btn-secondary view-toggle active" data-view="grid">Kachelansicht</button>
|
<div style="display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: center;">
|
||||||
<button class="btn btn-secondary view-toggle" data-view="matrix">Matrix-Ansicht</button>
|
<button class="btn btn-secondary view-toggle active" style="height:50px" data-view="grid">Kachelansicht</button>
|
||||||
|
<button class="btn btn-secondary view-toggle" style="height:50px" data-view="matrix">Matrix-Ansicht</button>
|
||||||
|
|
||||||
<!-- AI Recommendations Button (only visible when authenticated) -->
|
<!-- AI Recommendations Button (only visible when authenticated) -->
|
||||||
<button
|
<button
|
||||||
@ -119,7 +120,7 @@ const sortedTags = Object.entries(tagFrequency)
|
|||||||
data-view="ai"
|
data-view="ai"
|
||||||
style="display: none; background-color: var(--color-accent); color: white; border-color: var(--color-accent);"
|
style="display: none; background-color: var(--color-accent); color: white; border-color: var(--color-accent);"
|
||||||
>
|
>
|
||||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="margin-right: 0.5rem;">
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="margin-right: 0.5rem; height:25px">
|
||||||
<path d="M9 11H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2h-4"/>
|
<path d="M9 11H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2h-4"/>
|
||||||
<path d="M9 11V7a3 3 0 0 1 6 0v4"/>
|
<path d="M9 11V7a3 3 0 0 1 6 0v4"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
@ -8,59 +8,82 @@ const yamlPath = path.join(process.cwd(), 'src/data/tools.yaml');
|
|||||||
const yamlContent = await fs.readFile(yamlPath, 'utf8');
|
const yamlContent = await fs.readFile(yamlPath, 'utf8');
|
||||||
const data = load(yamlContent) as any;
|
const data = load(yamlContent) as any;
|
||||||
|
|
||||||
const domains = data.domains;
|
|
||||||
const phases = data.phases;
|
|
||||||
const tools = data.tools;
|
const tools = data.tools;
|
||||||
|
const domains = data.domains;
|
||||||
|
const phases = data.phases.filter((p: any) => p.id !== 'collaboration-general'); // Exclude from matrix
|
||||||
|
|
||||||
// Separate collaboration tools from domain-specific tools
|
// Filter collaboration tools (tools with "collaboration-general" phase)
|
||||||
const collaborationTools = tools.filter((tool: any) =>
|
const collaborationTools = tools.filter((tool: any) =>
|
||||||
tool.phases && tool.phases.includes('collaboration-general')
|
tool.phases && tool.phases.includes('collaboration-general')
|
||||||
);
|
);
|
||||||
|
|
||||||
const domainTools = tools.filter((tool: any) =>
|
// Filter regular tools for matrix (excluding collaboration-only tools from matrix display)
|
||||||
!tool.phases || !tool.phases.includes('collaboration-general')
|
const matrixTools = tools.filter((tool: any) => {
|
||||||
);
|
if (!tool.phases || tool.phases.length === 0) return false;
|
||||||
|
// Include if has non-collaboration phases and non-empty domains
|
||||||
// Create matrix structure for domain-specific tools only
|
const hasRegularPhases = tool.phases.some((phase: string) => phase !== 'collaboration-general');
|
||||||
const matrix: Record<string, Record<string, any[]>> = {};
|
const hasDomains = tool.domains && tool.domains.length > 0;
|
||||||
domains.forEach((domain: any) => {
|
return hasRegularPhases && hasDomains;
|
||||||
matrix[domain.id] = {};
|
|
||||||
phases.filter((phase: any) => phase.id !== 'collaboration-general').forEach((phase: any) => {
|
|
||||||
matrix[domain.id][phase.id] = domainTools.filter((tool: any) =>
|
|
||||||
tool.domains && tool.domains.includes(domain.id) && tool.phases && tool.phases.includes(phase.id)
|
|
||||||
);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Also include collaboration tools in matrix if they have domains and regular phases
|
||||||
|
const collaborationToolsInMatrix = collaborationTools.filter((tool: any) => {
|
||||||
|
const hasRegularPhases = tool.phases && tool.phases.some((phase: string) => phase !== 'collaboration-general');
|
||||||
|
const hasDomains = tool.domains && tool.domains.length > 0;
|
||||||
|
return hasRegularPhases && hasDomains;
|
||||||
|
});
|
||||||
|
|
||||||
|
// Combine for matrix display
|
||||||
|
const allMatrixTools = [...matrixTools, ...collaborationToolsInMatrix];
|
||||||
---
|
---
|
||||||
|
|
||||||
<div id="matrix-container" class="matrix-wrapper" style="display: none;">
|
<!-- Matrix View Container -->
|
||||||
<!-- Collaboration Tools Section (compact horizontal layout for matrix view) -->
|
<section id="matrix-container" style="display: none; padding: 2rem 0;">
|
||||||
<div id="collaboration-tools-section" style="margin-bottom: 1.5rem;">
|
<div style="text-align: center; margin-bottom: 2rem;">
|
||||||
<h3 style="margin-bottom: 0.75rem; color: var(--color-text); font-size: 1.125rem;">Übergreifend & Kollaboration</h3>
|
<h2 style="margin-bottom: 1rem;">Tool-Matrix nach NIST-Framework</h2>
|
||||||
<div class="collaboration-tools-compact" id="collaboration-tools-container">
|
<p class="text-muted" style="max-width: 600px; margin: 0 auto;">
|
||||||
|
Übersicht der Tools nach forensischen Domänen und Untersuchungsphasen.
|
||||||
|
Bewegen Sie die Maus über Zeilen und Spalten für bessere Orientierung.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Collaboration Tools Section (above matrix) -->
|
||||||
|
<div id="collaboration-section" style="margin-bottom: 2rem;">
|
||||||
|
<h3 style="margin-bottom: 1rem; color: var(--color-accent); display: flex; align-items: center; gap: 0.5rem;">
|
||||||
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||||
|
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/>
|
||||||
|
<circle cx="8.5" cy="7" r="4"/>
|
||||||
|
<line x1="20" y1="8" x2="20" y2="14"/>
|
||||||
|
<line x1="23" y1="11" x2="17" y2="11"/>
|
||||||
|
</svg>
|
||||||
|
Übergreifende Tools & Kollaboration
|
||||||
|
</h3>
|
||||||
|
<div class="collaboration-tools-compact">
|
||||||
{collaborationTools.map((tool: any) => {
|
{collaborationTools.map((tool: any) => {
|
||||||
const hasValidProjectUrl = tool.projectUrl !== undefined &&
|
const hasValidProjectUrl = tool.projectUrl !== undefined &&
|
||||||
tool.projectUrl !== null &&
|
tool.projectUrl !== null &&
|
||||||
tool.projectUrl !== "" &&
|
tool.projectUrl !== "" &&
|
||||||
tool.projectUrl.trim() !== "";
|
tool.projectUrl.trim() !== "";
|
||||||
return (
|
return (
|
||||||
<div class={`collaboration-tool-compact ${hasValidProjectUrl ? 'hosted' : tool.license !== 'Proprietary' ? 'oss' : ''}`}
|
<div class={`collaboration-tool-compact ${hasValidProjectUrl ? 'hosted' : (tool.license !== 'Proprietary' ? 'oss' : '')}`}
|
||||||
onclick={`window.showToolDetails('${tool.name}')`}>
|
onclick={`window.showToolDetails('${tool.name}')`}>
|
||||||
<div class="tool-compact-header">
|
<div class="tool-compact-header">
|
||||||
<h4 style="margin: 0; font-size: 0.875rem; font-weight: 600;">{tool.name}</h4>
|
<h4 style="margin: 0; font-size: 1rem;">{tool.name}</h4>
|
||||||
<div style="display: flex; gap: 0.25rem;">
|
<div style="display: flex; gap: 0.25rem;">
|
||||||
{hasValidProjectUrl && <span class="badge-mini badge-primary">Self-Hosted</span>}
|
{hasValidProjectUrl && <span class="badge-mini badge-primary">Self-Hosted</span>}
|
||||||
{tool.license !== 'Proprietary' && <span class="badge-mini badge-success">OSS</span>}
|
{tool.license !== 'Proprietary' && <span class="badge-mini badge-success">OSS</span>}
|
||||||
{tool.knowledgebase === true && <span class="badge-mini badge-error">Infos 📖</span>}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p style="font-size: 0.75rem; color: var(--color-text-secondary); margin: 0.25rem 0; line-height: 1.3;">
|
<p style="font-size: 0.8125rem; color: var(--color-text-secondary); margin-bottom: 0.75rem; line-height: 1.4;">
|
||||||
{tool.description}
|
{tool.description.length > 120 ? `${tool.description.substring(0, 120)}...` : tool.description}
|
||||||
</p>
|
</p>
|
||||||
<div style="display: flex; gap: 0.75rem; font-size: 0.6875rem; color: var(--color-text-secondary);">
|
<div style="display: flex; flex-wrap: wrap; gap: 0.25rem;">
|
||||||
<span>{tool.platforms.join(', ')}</span>
|
{tool.tags && tool.tags.slice(0, 3).map((tag: string) => (
|
||||||
<span>•</span>
|
<span class="tag" style="font-size: 0.625rem;">{tag}</span>
|
||||||
<span>{tool.skillLevel}</span>
|
))}
|
||||||
|
{tool.tags && tool.tags.length > 3 && (
|
||||||
|
<span class="tag" style="font-size: 0.625rem; font-style: italic;">+{tool.tags.length - 3}</span>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@ -68,372 +91,253 @@ domains.forEach((domain: any) => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- DFIR Tools Matrix -->
|
<!-- Matrix Table -->
|
||||||
<div id="dfir-matrix-section">
|
<div class="matrix-wrapper">
|
||||||
<h2 style="margin-bottom: 1rem; color: var(--color-text);">DFIR Tools Matrix</h2>
|
<table class="matrix-table" id="matrix-table">
|
||||||
<table class="matrix-table">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 200px;">Domain / Phase</th>
|
<th style="background-color: var(--color-bg-secondary);">Domäne / Phase</th>
|
||||||
{phases.filter((phase: any) => phase.id !== 'collaboration-general').map((phase: any) => (
|
{phases.map((phase: any) => (
|
||||||
<th data-phase={phase.id}>{phase.name}</th>
|
<th data-phase={phase.id} style="text-align: center; min-width: 150px;">
|
||||||
|
{phase.name}
|
||||||
|
</th>
|
||||||
))}
|
))}
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{domains.map((domain: any) => (
|
{domains.map((domain: any) => (
|
||||||
<tr data-domain={domain.id}>
|
<tr data-domain={domain.id}>
|
||||||
<th>{domain.name}</th>
|
<th data-domain={domain.id} style="background-color: var(--color-bg-secondary); font-weight: 600;">
|
||||||
{phases.filter((phase: any) => phase.id !== 'collaboration-general').map((phase: any) => (
|
{domain.name}
|
||||||
<td class="matrix-cell" data-domain={domain.id} data-phase={phase.id}>
|
</th>
|
||||||
{matrix[domain.id][phase.id].map((tool: any) => {
|
{phases.map((phase: any) => {
|
||||||
const hasValidProjectUrl = tool.projectUrl !== undefined &&
|
// Find tools for this domain-phase combination
|
||||||
tool.projectUrl !== null &&
|
const cellTools = allMatrixTools.filter((tool: any) => {
|
||||||
tool.projectUrl !== "" &&
|
const hasPhase = tool.phases && tool.phases.includes(phase.id);
|
||||||
tool.projectUrl.trim() !== "";
|
const hasDomain = tool.domains && tool.domains.includes(domain.id);
|
||||||
return (
|
return hasPhase && hasDomain;
|
||||||
<span
|
});
|
||||||
class={`tool-chip ${hasValidProjectUrl ? 'tool-chip-hosted' : tool.license !== 'Proprietary' ? 'tool-chip-oss' : ''}`}
|
|
||||||
data-tool-name={tool.name}
|
return (
|
||||||
onclick={`window.showToolDetails('${tool.name}')`}
|
<td data-domain={domain.id} data-phase={phase.id} class="matrix-cell">
|
||||||
title={`${tool.name}${tool.knowledgebase === true ? ' (KB verfügbar)' : ''}`}
|
<div style="display: flex; flex-wrap: wrap; gap: 0.25rem;">
|
||||||
>
|
{cellTools.map((tool: any) => {
|
||||||
{tool.name}
|
const hasValidProjectUrl = tool.projectUrl !== undefined &&
|
||||||
{tool.knowledgebase === true && <span style="margin-left: 0.25rem; font-size: 0.6875rem;">📖</span>}
|
tool.projectUrl !== null &&
|
||||||
</span>
|
tool.projectUrl !== "" &&
|
||||||
);
|
tool.projectUrl.trim() !== "";
|
||||||
})}
|
return (
|
||||||
</td>
|
<span
|
||||||
))}
|
class={`tool-chip ${hasValidProjectUrl ? 'tool-chip-hosted' : (tool.license !== 'Proprietary' ? 'tool-chip-oss' : '')}`}
|
||||||
|
onclick={`window.showToolDetails('${tool.name}')`}
|
||||||
|
title={tool.description}
|
||||||
|
>
|
||||||
|
{tool.name}
|
||||||
|
</span>
|
||||||
|
);
|
||||||
|
})}
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
);
|
||||||
|
})}
|
||||||
</tr>
|
</tr>
|
||||||
))}
|
))}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Tool Details Modal -->
|
<!-- Matrix Statistics -->
|
||||||
<div class="modal-overlay" id="modal-overlay" onclick="window.hideToolDetails()"></div>
|
<div style="margin-top: 2rem; text-align: center;">
|
||||||
<div class="tool-details" id="tool-details">
|
<div style="display: inline-flex; gap: 2rem; background-color: var(--color-bg-secondary); padding: 1rem; border-radius: 0.5rem;">
|
||||||
<div style="display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem;">
|
<div>
|
||||||
<h2 id="tool-name" style="margin: 0;">Tool Name</h2>
|
<strong style="color: var(--color-primary);" id="matrix-total-tools">{allMatrixTools.length}</strong>
|
||||||
<button class="btn-icon" onclick="window.hideToolDetails()">
|
<span class="text-muted" style="font-size: 0.875rem;">Tools in Matrix</span>
|
||||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
</div>
|
||||||
<line x1="18" y1="6" x2="6" y2="18"></line>
|
<div>
|
||||||
<line x1="6" y1="6" x2="18" y2="18"></line>
|
<strong style="color: var(--color-accent);" id="collaboration-total-tools">{collaborationTools.length}</strong>
|
||||||
</svg>
|
<span class="text-muted" style="font-size: 0.875rem;">Collaboration Tools</span>
|
||||||
</button>
|
</div>
|
||||||
|
<div>
|
||||||
|
<strong style="color: var(--color-text);" id="matrix-visible-tools">{allMatrixTools.length + collaborationTools.length}</strong>
|
||||||
|
<span class="text-muted" style="font-size: 0.875rem;">Gesamt sichtbar</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
<p id="tool-description" class="text-muted"></p>
|
|
||||||
|
|
||||||
<div id="tool-badges" style="display: flex; gap: 0.5rem; margin-bottom: 1rem;"></div>
|
|
||||||
|
|
||||||
<div id="tool-metadata" style="margin-bottom: 1rem;"></div>
|
|
||||||
|
|
||||||
<div id="tool-tags" style="margin-bottom: 1rem;"></div>
|
|
||||||
|
|
||||||
<!-- Updated button container for dual buttons -->
|
|
||||||
<div id="tool-links" style="display: flex; gap: 0.5rem; flex-direction: column;"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script define:vars={{ toolsData: tools, collaborationTools, domainTools }}>
|
<script define:vars={{ allMatrixTools, collaborationTools, domains, phases }}>
|
||||||
// Helper function to get selected phase from active button
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
function getSelectedPhase() {
|
const matrixTable = document.getElementById('matrix-table');
|
||||||
const activePhaseButton = document.querySelector('.phase-button.active');
|
const collaborationSection = document.getElementById('collaboration-section');
|
||||||
return activePhaseButton ? activePhaseButton.getAttribute('data-phase') : '';
|
|
||||||
|
if (!matrixTable || !collaborationSection) return;
|
||||||
|
|
||||||
|
// Store original tools data
|
||||||
|
let currentMatrixTools = [...allMatrixTools];
|
||||||
|
let currentCollaborationTools = [...collaborationTools];
|
||||||
|
|
||||||
|
// Matrix hover effects
|
||||||
|
let hoveredRow = null;
|
||||||
|
let hoveredColumn = null;
|
||||||
|
|
||||||
|
function updateMatrixHighlight() {
|
||||||
|
// Clear all highlights
|
||||||
|
matrixTable.querySelectorAll('tr').forEach(row => row.classList.remove('highlight-row'));
|
||||||
|
matrixTable.querySelectorAll('th, td').forEach(cell => cell.classList.remove('highlight-column'));
|
||||||
|
|
||||||
|
// Apply current highlights
|
||||||
|
if (hoveredRow !== null) {
|
||||||
|
const rows = matrixTable.querySelectorAll('tr');
|
||||||
|
if (rows[hoveredRow]) {
|
||||||
|
rows[hoveredRow].classList.add('highlight-row');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (hoveredColumn !== null) {
|
||||||
|
const cells = matrixTable.querySelectorAll(`th:nth-child(${hoveredColumn + 1}), td:nth-child(${hoveredColumn + 1})`);
|
||||||
|
cells.forEach(cell => cell.classList.add('highlight-column'));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Helper function to get selected domain from dropdown
|
// Add hover listeners to matrix table
|
||||||
function getSelectedDomain() {
|
matrixTable.addEventListener('mouseover', (e) => {
|
||||||
const domainSelect = document.getElementById('domain-select');
|
const target = e.target.closest('tr');
|
||||||
return domainSelect ? domainSelect.value : '';
|
if (target) {
|
||||||
}
|
const rows = Array.from(matrixTable.querySelectorAll('tr'));
|
||||||
|
hoveredRow = rows.indexOf(target);
|
||||||
|
updateMatrixHighlight();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// Update matrix highlighting based on current filters
|
matrixTable.addEventListener('mouseout', (e) => {
|
||||||
function updateMatrixHighlighting() {
|
if (!e.relatedTarget || !matrixTable.contains(e.relatedTarget)) {
|
||||||
const matrixTable = document.querySelector('.matrix-table');
|
hoveredRow = null;
|
||||||
if (!matrixTable) return;
|
updateMatrixHighlight();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Add hover listeners to header cells
|
||||||
|
matrixTable.addEventListener('mouseover', (e) => {
|
||||||
|
if (e.target.matches('th[data-phase]')) {
|
||||||
|
const headers = Array.from(matrixTable.querySelectorAll('thead th'));
|
||||||
|
hoveredColumn = headers.indexOf(e.target);
|
||||||
|
updateMatrixHighlight();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
matrixTable.addEventListener('mouseout', (e) => {
|
||||||
|
if (e.target.matches('th[data-phase]') && (!e.relatedTarget || !matrixTable.contains(e.relatedTarget))) {
|
||||||
|
hoveredColumn = null;
|
||||||
|
updateMatrixHighlight();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Function to update matrix display based on filtered tools
|
||||||
|
function updateMatrixDisplay(filteredTools) {
|
||||||
|
// Separate collaboration tools from matrix tools
|
||||||
|
const filteredCollaborationTools = filteredTools.filter(tool =>
|
||||||
|
tool.phases && tool.phases.includes('collaboration-general')
|
||||||
|
);
|
||||||
|
|
||||||
// Clear existing highlights
|
const filteredMatrixTools = filteredTools.filter(tool => {
|
||||||
matrixTable.querySelectorAll('.highlight-row, .highlight-column').forEach(el => {
|
if (!tool.phases || tool.phases.length === 0) return false;
|
||||||
el.classList.remove('highlight-row', 'highlight-column');
|
const hasRegularPhases = tool.phases.some(phase => phase !== 'collaboration-general');
|
||||||
|
const hasDomains = tool.domains && tool.domains.length > 0;
|
||||||
|
return hasRegularPhases && hasDomains;
|
||||||
});
|
});
|
||||||
|
|
||||||
const selectedDomain = getSelectedDomain();
|
|
||||||
const selectedPhase = getSelectedPhase();
|
|
||||||
|
|
||||||
// Highlight selected domain row
|
|
||||||
if (selectedDomain) {
|
|
||||||
const domainRow = matrixTable.querySelector(`tr[data-domain="${selectedDomain}"]`);
|
|
||||||
if (domainRow) {
|
|
||||||
domainRow.classList.add('highlight-row');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Highlight selected phase column
|
|
||||||
if (selectedPhase) {
|
|
||||||
const phaseHeaders = matrixTable.querySelectorAll('thead th[data-phase]');
|
|
||||||
const phaseIndex = Array.from(phaseHeaders).findIndex(th =>
|
|
||||||
th.getAttribute('data-phase') === selectedPhase
|
|
||||||
);
|
|
||||||
|
|
||||||
if (phaseIndex >= 0) {
|
|
||||||
const columnIndex = phaseIndex + 1; // +1 because first column is domain names
|
|
||||||
matrixTable.querySelectorAll(`tr`).forEach(row => {
|
|
||||||
const cell = row.children[columnIndex];
|
|
||||||
if (cell) {
|
|
||||||
cell.classList.add('highlight-column');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Helper function to create compact collaboration tool cards for matrix view
|
// Update collaboration tools section visibility
|
||||||
function createCollaborationToolCardCompact(tool) {
|
if (filteredCollaborationTools.length === 0) {
|
||||||
const hasValidProjectUrl = tool.projectUrl !== undefined &&
|
collaborationSection.style.display = 'none';
|
||||||
tool.projectUrl !== null &&
|
|
||||||
tool.projectUrl !== "" &&
|
|
||||||
tool.projectUrl.trim() !== "";
|
|
||||||
|
|
||||||
const cardDiv = document.createElement('div');
|
|
||||||
const cardClass = `collaboration-tool-compact ${hasValidProjectUrl ? 'hosted' : tool.license !== 'Proprietary' ? 'oss' : ''}`;
|
|
||||||
cardDiv.className = cardClass;
|
|
||||||
cardDiv.onclick = () => window.showToolDetails(tool.name);
|
|
||||||
|
|
||||||
cardDiv.innerHTML = `
|
|
||||||
<div class="tool-compact-header">
|
|
||||||
<h4 style="margin: 0; font-size: 0.875rem; font-weight: 600;">${tool.name}</h4>
|
|
||||||
<div style="display: flex; gap: 0.25rem;">
|
|
||||||
${hasValidProjectUrl ? '<span class="badge-mini badge-primary">Self-Hosted</span>' : ''}
|
|
||||||
${tool.license !== 'Proprietary' ? '<span class="badge-mini badge-success">OSS</span>' : ''}
|
|
||||||
${tool.knowledgebase === true ? '<span class="badge-mini badge-error">Infos 📖</span>' : ''}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<p style="font-size: 0.75rem; color: var(--color-text-secondary); margin: 0.25rem 0; line-height: 1.3;">
|
|
||||||
${tool.description}
|
|
||||||
</p>
|
|
||||||
<div style="display: flex; gap: 0.75rem; font-size: 0.6875rem; color: var(--color-text-secondary);">
|
|
||||||
<span>${(tool.platforms || []).join(', ')}</span>
|
|
||||||
<span>•</span>
|
|
||||||
<span>${tool.skillLevel}</span>
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
|
|
||||||
return cardDiv;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Tool details functions
|
|
||||||
window.showToolDetails = function(toolName) {
|
|
||||||
const tool = toolsData.find(t => t.name === toolName);
|
|
||||||
if (!tool) return;
|
|
||||||
|
|
||||||
// Update modal content
|
|
||||||
document.getElementById('tool-name').textContent = tool.name;
|
|
||||||
document.getElementById('tool-description').textContent = tool.description;
|
|
||||||
|
|
||||||
// Badges
|
|
||||||
const badgesContainer = document.getElementById('tool-badges');
|
|
||||||
const hasValidProjectUrl = tool.projectUrl !== undefined &&
|
|
||||||
tool.projectUrl !== null &&
|
|
||||||
tool.projectUrl !== "" &&
|
|
||||||
tool.projectUrl.trim() !== "";
|
|
||||||
|
|
||||||
badgesContainer.innerHTML = '';
|
|
||||||
if (hasValidProjectUrl) {
|
|
||||||
badgesContainer.innerHTML += '<span class="badge badge-primary">Self-Hosted</span>';
|
|
||||||
}
|
|
||||||
if (tool.license !== 'Proprietary') {
|
|
||||||
badgesContainer.innerHTML += '<span class="badge badge-success">Open Source</span>';
|
|
||||||
}
|
|
||||||
if (tool.knowledgebase === true) {
|
|
||||||
badgesContainer.innerHTML += '<span class="badge badge-error">Infos 📖</span>';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Metadata - safe array handling
|
|
||||||
const metadataContainer = document.getElementById('tool-metadata');
|
|
||||||
const domains = tool.domains || [];
|
|
||||||
const phases = tool.phases || [];
|
|
||||||
const domainsText = domains.length > 0 ? domains.join(', ') : 'Domain-agnostic';
|
|
||||||
const phasesText = phases.join(', ');
|
|
||||||
metadataContainer.innerHTML = `
|
|
||||||
<div style="display: grid; gap: 0.5rem;">
|
|
||||||
<div><strong>Betriebssystem:</strong> ${(tool.platforms || []).join(', ')}</div>
|
|
||||||
<div><strong>Skill Level:</strong> ${tool.skillLevel}</div>
|
|
||||||
<div><strong>Lizenzmodell:</strong> ${tool.license}</div>
|
|
||||||
<div><strong>Deployment:</strong> ${tool.accessType}</div>
|
|
||||||
<div><strong>Einsatzgebiete:</strong> ${domainsText}</div>
|
|
||||||
<div><strong>Ermittlungsphasen:</strong> ${phasesText}</div>
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
|
|
||||||
// Tags - safe array handling
|
|
||||||
const tagsContainer = document.getElementById('tool-tags');
|
|
||||||
const tags = tool.tags || [];
|
|
||||||
tagsContainer.innerHTML = `
|
|
||||||
<div style="display: flex; flex-wrap: wrap; gap: 0.25rem;">
|
|
||||||
${tags.map(tag => `<span class="tag">${tag}</span>`).join('')}
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
|
|
||||||
// Links - Updated to handle dual buttons for hosted tools AND knowledgebase links
|
|
||||||
const linksContainer = document.getElementById('tool-links');
|
|
||||||
|
|
||||||
let linksHTML = '';
|
|
||||||
|
|
||||||
// Main action buttons
|
|
||||||
if (hasValidProjectUrl) {
|
|
||||||
// Two buttons for tools we're hosting
|
|
||||||
linksHTML += `
|
|
||||||
<div style="display: flex; gap: 0.5rem;">
|
|
||||||
<a href="${tool.url}" target="_blank" rel="noopener noreferrer" class="btn btn-secondary" style="flex: 1;">
|
|
||||||
Software-Homepage
|
|
||||||
</a>
|
|
||||||
<a href="${tool.projectUrl}" target="_blank" rel="noopener noreferrer" class="btn btn-primary" style="flex: 1;">
|
|
||||||
Zugreifen
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
} else {
|
} else {
|
||||||
// Single button for tools we're not hosting
|
collaborationSection.style.display = 'block';
|
||||||
linksHTML += `
|
|
||||||
<a href="${tool.url}" target="_blank" rel="noopener noreferrer" class="btn btn-primary" style="width: 100%;">
|
|
||||||
Software-Homepage
|
|
||||||
</a>
|
|
||||||
`;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add knowledgebase link if available
|
|
||||||
if (tool.knowledgebase === true) {
|
|
||||||
const kbId = tool.name.toLowerCase().replace(/\s+/g, '-');
|
|
||||||
linksHTML += `
|
|
||||||
<a href="/knowledgebase#kb-${kbId}" class="btn btn-secondary" style="width: 100%; margin-top: 0.5rem;">
|
|
||||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="margin-right: 0.5rem;">
|
|
||||||
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
|
|
||||||
<polyline points="14 2 14 8 20 8"/>
|
|
||||||
<line x1="16" y1="13" x2="8" y2="13"/>
|
|
||||||
<line x1="16" y1="17" x2="8" y2="17"/>
|
|
||||||
<polyline points="10 9 9 9 8 9"/>
|
|
||||||
</svg>
|
|
||||||
Knowledgebase anzeigen
|
|
||||||
</a>
|
|
||||||
`;
|
|
||||||
}
|
|
||||||
|
|
||||||
linksContainer.innerHTML = linksHTML;
|
|
||||||
|
|
||||||
// Show modal
|
|
||||||
document.getElementById('modal-overlay').classList.add('active');
|
|
||||||
document.getElementById('tool-details').classList.add('active');
|
|
||||||
};
|
|
||||||
|
|
||||||
window.hideToolDetails = function() {
|
|
||||||
document.getElementById('modal-overlay').classList.remove('active');
|
|
||||||
document.getElementById('tool-details').classList.remove('active');
|
|
||||||
};
|
|
||||||
|
|
||||||
// Listen for view changes to trigger highlighting
|
|
||||||
window.addEventListener('viewChanged', (event) => {
|
|
||||||
const view = event.detail;
|
|
||||||
if (view === 'matrix') {
|
|
||||||
// Delay highlighting to ensure matrix is visible
|
|
||||||
setTimeout(updateMatrixHighlighting, 100);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Listen for filter changes to update highlighting
|
|
||||||
window.addEventListener('toolsFiltered', (event) => {
|
|
||||||
const currentView = document.querySelector('.view-toggle.active')?.getAttribute('data-view');
|
|
||||||
if (currentView === 'matrix') {
|
|
||||||
setTimeout(updateMatrixHighlighting, 50);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Update matrix on filter change
|
|
||||||
window.addEventListener('toolsFiltered', (event) => {
|
|
||||||
const filtered = event.detail;
|
|
||||||
const currentView = document.querySelector('.view-toggle.active')?.getAttribute('data-view');
|
|
||||||
|
|
||||||
if (currentView === 'matrix') {
|
|
||||||
// Get selected phase from active button instead of dropdown
|
|
||||||
const selectedPhase = getSelectedPhase();
|
|
||||||
|
|
||||||
// Handle collaboration tools section
|
// Update collaboration tools display
|
||||||
const collaborationSection = document.getElementById('collaboration-tools-section');
|
const collaborationContainer = collaborationSection.querySelector('.collaboration-tools-compact');
|
||||||
const dfirMatrixSection = document.getElementById('dfir-matrix-section');
|
if (collaborationContainer) {
|
||||||
const collaborationContainer = document.getElementById('collaboration-tools-container');
|
|
||||||
|
|
||||||
if (selectedPhase === 'collaboration-general') {
|
|
||||||
// Show only collaboration tools, hide matrix
|
|
||||||
collaborationSection.style.display = 'block';
|
|
||||||
dfirMatrixSection.style.display = 'none';
|
|
||||||
|
|
||||||
// Filter collaboration tools
|
|
||||||
const filteredCollaboration = filtered.filter(tool => (tool.phases || []).includes('collaboration-general'));
|
|
||||||
collaborationContainer.innerHTML = '';
|
collaborationContainer.innerHTML = '';
|
||||||
|
|
||||||
filteredCollaboration.forEach(tool => {
|
filteredCollaborationTools.forEach(tool => {
|
||||||
const toolCard = createCollaborationToolCardCompact(tool);
|
|
||||||
collaborationContainer.appendChild(toolCard);
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
// Show matrix, handle collaboration tools visibility
|
|
||||||
dfirMatrixSection.style.display = 'block';
|
|
||||||
|
|
||||||
if (selectedPhase === '' || selectedPhase === null) {
|
|
||||||
// Show collaboration tools when no specific phase is selected
|
|
||||||
collaborationSection.style.display = 'block';
|
|
||||||
|
|
||||||
// Show all collaboration tools that pass general filters
|
|
||||||
const filteredCollaboration = filtered.filter(tool => (tool.phases || []).includes('collaboration-general'));
|
|
||||||
collaborationContainer.innerHTML = '';
|
|
||||||
|
|
||||||
filteredCollaboration.forEach(tool => {
|
|
||||||
const toolCard = createCollaborationToolCardCompact(tool);
|
|
||||||
collaborationContainer.appendChild(toolCard);
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
// Hide collaboration tools when specific DFIR phase is selected
|
|
||||||
collaborationSection.style.display = 'none';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Clear and update matrix cells with DFIR tools only
|
|
||||||
document.querySelectorAll('.matrix-cell').forEach(cell => {
|
|
||||||
cell.innerHTML = '';
|
|
||||||
});
|
|
||||||
|
|
||||||
// Re-populate with filtered DFIR tools - with safe array handling
|
|
||||||
const filteredDfirTools = filtered.filter(tool => !(tool.phases || []).includes('collaboration-general'));
|
|
||||||
filteredDfirTools.forEach(tool => {
|
|
||||||
const hasValidProjectUrl = tool.projectUrl !== undefined &&
|
const hasValidProjectUrl = tool.projectUrl !== undefined &&
|
||||||
tool.projectUrl !== null &&
|
tool.projectUrl !== null &&
|
||||||
tool.projectUrl !== "" &&
|
tool.projectUrl !== "" &&
|
||||||
tool.projectUrl.trim() !== "";
|
tool.projectUrl.trim() !== "";
|
||||||
|
|
||||||
const domains = tool.domains || [];
|
const toolDiv = document.createElement('div');
|
||||||
const phases = tool.phases || [];
|
toolDiv.className = `collaboration-tool-compact ${hasValidProjectUrl ? 'hosted' : (tool.license !== 'Proprietary' ? 'oss' : '')}`;
|
||||||
|
toolDiv.onclick = () => window.showToolDetails(tool.name);
|
||||||
|
|
||||||
domains.forEach(domain => {
|
toolDiv.innerHTML = `
|
||||||
phases.forEach(phase => {
|
<div class="tool-compact-header">
|
||||||
if (phase !== 'collaboration-general') {
|
<h4 style="margin: 0; font-size: 1rem;">${tool.name}</h4>
|
||||||
const cell = document.querySelector(`[data-domain="${domain}"][data-phase="${phase}"]`);
|
<div style="display: flex; gap: 0.25rem;">
|
||||||
if (cell) {
|
${hasValidProjectUrl ? '<span class="badge-mini badge-primary">Self-Hosted</span>' : ''}
|
||||||
const chip = document.createElement('span');
|
${tool.license !== 'Proprietary' ? '<span class="badge-mini badge-success">OSS</span>' : ''}
|
||||||
chip.className = `tool-chip ${hasValidProjectUrl ? 'tool-chip-hosted' : tool.license !== 'Proprietary' ? 'tool-chip-oss' : ''}`;
|
</div>
|
||||||
chip.setAttribute('title', `${tool.name}${tool.knowledgebase === true ? ' (KB verfügbar)' : ''}`);
|
</div>
|
||||||
chip.innerHTML = `${tool.name}${tool.knowledgebase === true ? '<span style="margin-left: 0.25rem; font-size: 0.6875rem;">📖</span>' : ''}`;
|
<p style="font-size: 0.8125rem; color: var(--color-text-secondary); margin-bottom: 0.75rem; line-height: 1.4;">
|
||||||
chip.onclick = () => window.showToolDetails(tool.name);
|
${tool.description.length > 120 ? `${tool.description.substring(0, 120)}...` : tool.description}
|
||||||
cell.appendChild(chip);
|
</p>
|
||||||
}
|
<div style="display: flex; flex-wrap: wrap; gap: 0.25rem;">
|
||||||
}
|
${tool.tags ? tool.tags.slice(0, 3).map(tag => `<span class="tag" style="font-size: 0.625rem;">${tag}</span>`).join('') : ''}
|
||||||
});
|
${tool.tags && tool.tags.length > 3 ? `<span class="tag" style="font-size: 0.625rem; font-style: italic;">+${tool.tags.length - 3}</span>` : ''}
|
||||||
});
|
</div>
|
||||||
|
`;
|
||||||
|
|
||||||
|
collaborationContainer.appendChild(toolDiv);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update highlighting after matrix content is updated
|
|
||||||
setTimeout(updateMatrixHighlighting, 50);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update matrix cells
|
||||||
|
domains.forEach(domain => {
|
||||||
|
phases.forEach(phase => {
|
||||||
|
const cell = matrixTable.querySelector(`td[data-domain="${domain.id}"][data-phase="${phase.id}"]`);
|
||||||
|
if (!cell) return;
|
||||||
|
|
||||||
|
const cellTools = filteredMatrixTools.filter(tool => {
|
||||||
|
const hasPhase = tool.phases && tool.phases.includes(phase.id);
|
||||||
|
const hasDomain = tool.domains && tool.domains.includes(domain.id);
|
||||||
|
return hasPhase && hasDomain;
|
||||||
|
});
|
||||||
|
|
||||||
|
const cellContent = cell.querySelector('div') || cell;
|
||||||
|
cellContent.innerHTML = '';
|
||||||
|
|
||||||
|
cellTools.forEach(tool => {
|
||||||
|
const hasValidProjectUrl = tool.projectUrl !== undefined &&
|
||||||
|
tool.projectUrl !== null &&
|
||||||
|
tool.projectUrl !== "" &&
|
||||||
|
tool.projectUrl.trim() !== "";
|
||||||
|
|
||||||
|
const chip = document.createElement('span');
|
||||||
|
chip.className = `tool-chip ${hasValidProjectUrl ? 'tool-chip-hosted' : (tool.license !== 'Proprietary' ? 'tool-chip-oss' : '')}`;
|
||||||
|
chip.onclick = () => window.showToolDetails(tool.name);
|
||||||
|
chip.title = tool.description;
|
||||||
|
chip.textContent = tool.name;
|
||||||
|
|
||||||
|
cellContent.appendChild(chip);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Update statistics
|
||||||
|
const matrixTotalEl = document.getElementById('matrix-total-tools');
|
||||||
|
const collaborationTotalEl = document.getElementById('collaboration-total-tools');
|
||||||
|
const visibleTotalEl = document.getElementById('matrix-visible-tools');
|
||||||
|
|
||||||
|
if (matrixTotalEl) matrixTotalEl.textContent = filteredMatrixTools.length;
|
||||||
|
if (collaborationTotalEl) collaborationTotalEl.textContent = filteredCollaborationTools.length;
|
||||||
|
if (visibleTotalEl) visibleTotalEl.textContent = (filteredMatrixTools.length + filteredCollaborationTools.length);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Listen for filter events
|
||||||
|
window.addEventListener('toolsFiltered', (event) => {
|
||||||
|
const filteredTools = event.detail;
|
||||||
|
updateMatrixDisplay(filteredTools);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Initial display
|
||||||
|
updateMatrixDisplay([...allMatrixTools, ...collaborationTools]);
|
||||||
|
});
|
||||||
</script>
|
</script>
|
@ -697,8 +697,17 @@ tools:
|
|||||||
kollaborative Phasen und sichere Speicherung von Beweismitteln
|
kollaborative Phasen und sichere Speicherung von Beweismitteln
|
||||||
mit Versionierung.
|
mit Versionierung.
|
||||||
domains:
|
domains:
|
||||||
|
- incident-response
|
||||||
|
- law-enforcement
|
||||||
|
- malware-analysis
|
||||||
|
- fraud-investigation
|
||||||
|
- network-forensics
|
||||||
|
- mobile-forensics
|
||||||
|
- cloud-forensics
|
||||||
|
- ics-forensics
|
||||||
phases:
|
phases:
|
||||||
- collaboration-general
|
- collaboration-general
|
||||||
|
- reporting
|
||||||
platforms:
|
platforms:
|
||||||
- Web
|
- Web
|
||||||
skillLevel: novice
|
skillLevel: novice
|
||||||
|
@ -46,14 +46,14 @@ const hostedServices = data.tools.filter((tool: any) => {
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Uptime Kuma Embed -->
|
<!-- Uptime Kuma Embed
|
||||||
<div class="card" style="padding: 0; overflow: hidden;">
|
<div class="card" style="padding: 0; overflow: hidden;">
|
||||||
<iframe
|
<iframe
|
||||||
src="https://status.mikoshi.de/status/cc24-hub?embed=true"
|
src="https://status.mikoshi.de/status/cc24-hub?embed=true"
|
||||||
style="width: 100%; height: 600px; border: none;"
|
style="width: 100%; height: 600px; border: none;"
|
||||||
title="Uptime Kuma Status Page"
|
title="Uptime Kuma Status Page"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>-->
|
||||||
</section>
|
</section>
|
||||||
</BaseLayout>
|
</BaseLayout>
|
||||||
|
|
||||||
|
@ -333,6 +333,7 @@ input[type="checkbox"] {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
min-width: 800px;
|
min-width: 800px;
|
||||||
|
table-layout: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.matrix-table th,
|
.matrix-table th,
|
||||||
@ -341,6 +342,8 @@ input[type="checkbox"] {
|
|||||||
padding: 0.75rem;
|
padding: 0.75rem;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
transition: background-color 0.2s ease, border-color 0.2s ease;
|
transition: background-color 0.2s ease, border-color 0.2s ease;
|
||||||
|
overflow: hidden; /* Prevent content overflow */
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.matrix-table th {
|
.matrix-table th {
|
||||||
@ -348,18 +351,34 @@ input[type="checkbox"] {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.matrix-table th:first-child {
|
.matrix-table th:first-child {
|
||||||
position: sticky;
|
|
||||||
left: 0;
|
|
||||||
z-index: 2;
|
|
||||||
background-color: var(--color-bg-secondary);
|
background-color: var(--color-bg-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Ensure uniform column widths */
|
||||||
|
.matrix-table th:first-child,
|
||||||
|
.matrix-table td:first-child {
|
||||||
|
width: 200px;
|
||||||
|
min-width: 200px;
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.matrix-table th:not(:first-child),
|
||||||
|
.matrix-table td:not(:first-child) {
|
||||||
|
width: 150px;
|
||||||
|
min-width: 150px;
|
||||||
|
max-width: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
.matrix-cell {
|
.matrix-cell {
|
||||||
min-height: 60px;
|
min-height: 60px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
width: 150px;
|
||||||
|
min-width: 150px;
|
||||||
|
max-width: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Matrix Highlighting */
|
/* Matrix Highlighting */
|
||||||
@ -1097,6 +1116,31 @@ footer {
|
|||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
font-size: 0.8125rem;
|
font-size: 0.8125rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.matrix-table {
|
||||||
|
min-width: 600px; /* Reduce minimum width for mobile */
|
||||||
|
}
|
||||||
|
|
||||||
|
.matrix-table th:first-child,
|
||||||
|
.matrix-table td:first-child {
|
||||||
|
width: 140px;
|
||||||
|
min-width: 140px;
|
||||||
|
max-width: 140px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.matrix-table th:not(:first-child),
|
||||||
|
.matrix-table td:not(:first-child) {
|
||||||
|
width: 120px;
|
||||||
|
min-width: 120px;
|
||||||
|
max-width: 120px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.matrix-cell {
|
||||||
|
width: 120px;
|
||||||
|
min-width: 120px;
|
||||||
|
max-width: 120px;
|
||||||
|
min-height: 50px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (width: 600px) {
|
@media (width: 600px) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user