mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
SuperGodPanel (604→~200): CTenantTab, CGodUsersTab, CTransferTab, CSystemTab, CSuperGodDialogs WorkflowEditor (443→325): WorkflowMutations.js + WorkflowDBAL.js pure modules ThemeLivePreview (256→87): ThemePreviewCard, ThemePreviewForm CNodePropertiesPanel (238→143): CNodeParameterList, CNodePortsDisplay MediaTvTab, WorkflowNode, CssPropertyEditor split to ~100 each + mid-size view trims (MediaService, Admin, PackageMgr, Storybook, GodPanel) 113→120+ components, avg component LOC approaching 90. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
34 lines
1023 B
QML
34 lines
1023 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import QmlComponents 1.0
|
|
|
|
ColumnLayout {
|
|
Layout.preferredWidth: 200
|
|
Layout.fillHeight: true
|
|
spacing: 8
|
|
|
|
property string securityScanResult: ""
|
|
|
|
CText { variant: "h4"; text: "Security" }
|
|
|
|
CAlert {
|
|
Layout.fillWidth: true
|
|
severity: securityScanResult
|
|
? (securityScanResult.indexOf("WARN") !== -1 ? "warning" : "success")
|
|
: "info"
|
|
text: securityScanResult
|
|
? (securityScanResult.indexOf("WARN") !== -1 ? "Advisories found" : "All checks passed")
|
|
: "Not scanned yet"
|
|
}
|
|
|
|
CText { variant: "caption"; text: "SCAN CHECKS" }
|
|
CText { variant: "body2"; text: "os.execute() calls" }
|
|
CText { variant: "body2"; text: "Raw SQL injection" }
|
|
CText { variant: "body2"; text: "File system access" }
|
|
CText { variant: "body2"; text: "Global pollution" }
|
|
CText { variant: "body2"; text: "Unsafe concat" }
|
|
|
|
Item { Layout.fillHeight: true }
|
|
}
|