Adopt the technical-light design system across the Admin web UI: - Vendor theme.css + IBM Plex woff2 fonts into wwwroot; include theme.css globally after Bootstrap. - Rebuild MainLayout: top app-bar (brand mark, breadcrumb, connection pill) + hairline-ruled side rail with accent-bordered active link. - Convert all 33 pages to the component catalog — tables to panel + data-table (num/mono columns), KPI cards to agg-grid, detail blocks to metric-card/kv rows, badges to chips, alerts to panel notice, headings to page-title/panel-head, .rise reveals. - Buttons/forms stay on Bootstrap; theme.css restyles them via --bs-* overrides. View-specific layout lives in app.css; all colour/type comes from theme.css tokens. Also fix a pre-existing /fleet 500: the node-state query ordered on a property of a constructed FleetNodeRow record, which EF Core cannot translate. Order the join's columns before projecting. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
50 lines
2.1 KiB
Plaintext
50 lines
2.1 KiB
Plaintext
@using ZB.MOM.WW.OtOpcUa.Configuration.Entities
|
|
|
|
@* Reusable OPC 40010 Machinery Identification editor. Binds to an Equipment row and renders the
|
|
nine decision #139 fields in a consistent 3-column Bootstrap grid. Used by EquipmentTab's
|
|
create + edit forms so the same UI renders regardless of which flow opened it. *@
|
|
|
|
<div class="panel-head mt-4">OPC 40010 Identification</div>
|
|
<div class="row g-3">
|
|
<div class="col-md-4">
|
|
<label class="form-label">Manufacturer</label>
|
|
<InputText @bind-Value="Equipment!.Manufacturer" class="form-control"/>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<label class="form-label">Model</label>
|
|
<InputText @bind-Value="Equipment!.Model" class="form-control"/>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<label class="form-label">Serial number</label>
|
|
<InputText @bind-Value="Equipment!.SerialNumber" class="form-control"/>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<label class="form-label">Hardware rev</label>
|
|
<InputText @bind-Value="Equipment!.HardwareRevision" class="form-control"/>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<label class="form-label">Software rev</label>
|
|
<InputText @bind-Value="Equipment!.SoftwareRevision" class="form-control"/>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<label class="form-label">Year of construction</label>
|
|
<InputNumber @bind-Value="Equipment!.YearOfConstruction" class="form-control"/>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<label class="form-label">Asset location</label>
|
|
<InputText @bind-Value="Equipment!.AssetLocation" class="form-control"/>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<label class="form-label">Manufacturer URI</label>
|
|
<InputText @bind-Value="Equipment!.ManufacturerUri" class="form-control" placeholder="https://…"/>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<label class="form-label">Device manual URI</label>
|
|
<InputText @bind-Value="Equipment!.DeviceManualUri" class="form-control" placeholder="https://…"/>
|
|
</div>
|
|
</div>
|
|
|
|
@code {
|
|
[Parameter, EditorRequired] public Equipment? Equipment { get; set; }
|
|
}
|