- Move CSS into wwwroot/css/ (theme.css, site.css); sidebar 218 -> 220px - Add hamburger + Bootstrap collapse for <lg viewports - Add Components/Shared/ with LoadingSpinner, ToastNotification, StatusBadge - Replace .page-title with flex + <h4 class="mb-0"> across 20 pages - Convert NewCluster + IdentificationFields forms to card + h6 subsection pattern
52 lines
2.5 KiB
Plaintext
52 lines
2.5 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="card mb-3">
|
|
<div class="card-body">
|
|
<h6 class="text-muted border-bottom pb-1">OPC 40010 Identification</h6>
|
|
<div class="mb-2">
|
|
<label class="form-label small">Manufacturer</label>
|
|
<InputText @bind-Value="Equipment!.Manufacturer" class="form-control form-control-sm"/>
|
|
</div>
|
|
<div class="mb-2">
|
|
<label class="form-label small">Model</label>
|
|
<InputText @bind-Value="Equipment!.Model" class="form-control form-control-sm"/>
|
|
</div>
|
|
<div class="mb-2">
|
|
<label class="form-label small">Serial number</label>
|
|
<InputText @bind-Value="Equipment!.SerialNumber" class="form-control form-control-sm"/>
|
|
</div>
|
|
<div class="mb-2">
|
|
<label class="form-label small">Hardware rev</label>
|
|
<InputText @bind-Value="Equipment!.HardwareRevision" class="form-control form-control-sm"/>
|
|
</div>
|
|
<div class="mb-2">
|
|
<label class="form-label small">Software rev</label>
|
|
<InputText @bind-Value="Equipment!.SoftwareRevision" class="form-control form-control-sm"/>
|
|
</div>
|
|
<div class="mb-2">
|
|
<label class="form-label small">Year of construction</label>
|
|
<InputNumber @bind-Value="Equipment!.YearOfConstruction" class="form-control form-control-sm"/>
|
|
</div>
|
|
<div class="mb-2">
|
|
<label class="form-label small">Asset location</label>
|
|
<InputText @bind-Value="Equipment!.AssetLocation" class="form-control form-control-sm"/>
|
|
</div>
|
|
<div class="mb-2">
|
|
<label class="form-label small">Manufacturer URI</label>
|
|
<InputText @bind-Value="Equipment!.ManufacturerUri" class="form-control form-control-sm" placeholder="https://…"/>
|
|
</div>
|
|
<div class="mb-2">
|
|
<label class="form-label small">Device manual URI</label>
|
|
<InputText @bind-Value="Equipment!.DeviceManualUri" class="form-control form-control-sm" placeholder="https://…"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@code {
|
|
[Parameter, EditorRequired] public Equipment? Equipment { get; set; }
|
|
}
|