7b0b9c7365
Solution + 23 src projects + 26 test projects renamed; folders, csproj, namespaces, and ScadaLinkDbContext/ScadaBridgeDbContext class updated. ActorSystem "scadalink" → "scadabridge", Akka seed-node URLs migrated. SQL roles/logins, LDAP domains, CLI command name, and CLI config dir (~/.scadalink → ~/.scadabridge) also renamed. Build green; 5 Host.Tests fail awaiting SQL login rename in next commit. Pre-existing StaleTagMonitor timing flakes unchanged. Rename script committed at tools/rename-to-scadabridge.sh.
43 lines
1.7 KiB
Plaintext
43 lines
1.7 KiB
Plaintext
@using ZB.MOM.WW.ScadaBridge.Commons.Entities.Audit
|
|
@using ZB.MOM.WW.ScadaBridge.Commons.Types.Enums
|
|
|
|
@* Audit Log drilldown drawer (#23 M7 Bundle C / M7-T4..T8).
|
|
Right-side Bootstrap offcanvas-style drawer hosted by the Audit Log page.
|
|
The drawer owns only the offcanvas chrome (backdrop, header, Close buttons);
|
|
the single-AuditEvent detail body is delegated to <AuditEventDetail>, which
|
|
is shared with the execution-tree node-detail modal. *@
|
|
|
|
@if (IsOpen && Event is not null)
|
|
{
|
|
<div class="offcanvas-backdrop fade show" data-test="drawer-backdrop"
|
|
@onclick="HandleClose"></div>
|
|
<div class="offcanvas offcanvas-end show audit-drilldown-drawer"
|
|
tabindex="-1"
|
|
style="visibility: visible;"
|
|
data-test="audit-drilldown-drawer">
|
|
<div class="offcanvas-header border-bottom">
|
|
<div>
|
|
<div class="text-muted small text-uppercase">Audit event</div>
|
|
<h5 class="offcanvas-title mb-0">Audit Event @ShortEventId(Event.EventId)</h5>
|
|
</div>
|
|
<button type="button" class="btn-close" aria-label="Close"
|
|
data-test="drawer-close"
|
|
@onclick="HandleClose"></button>
|
|
</div>
|
|
|
|
<div class="offcanvas-body small">
|
|
@* Single-row detail body + action buttons — shared component. *@
|
|
<AuditEventDetail Event="Event" />
|
|
</div>
|
|
|
|
@* Close button kept at the bottom per form-layout memory. *@
|
|
<div class="border-top p-3 d-flex gap-2 flex-wrap drawer-footer">
|
|
<button class="btn btn-primary btn-sm ms-auto"
|
|
data-test="drawer-close-footer"
|
|
@onclick="HandleClose">
|
|
Close
|
|
</button>
|
|
</div>
|
|
</div>
|
|
}
|