feat(client-ui): ConfirmAlarmWindow dialog (comment)
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:Class="ZB.MOM.WW.OtOpcUa.Client.UI.Views.ConfirmAlarmWindow"
|
||||
Title="Confirm Alarm"
|
||||
Width="420"
|
||||
SizeToContent="Height"
|
||||
MinHeight="240"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
CanResize="False">
|
||||
<StackPanel Margin="16" Spacing="12">
|
||||
<TextBlock Text="Confirm Alarm" FontWeight="Bold" FontSize="16" />
|
||||
|
||||
<StackPanel Spacing="4">
|
||||
<TextBlock Text="Source:" FontSize="12" Foreground="Gray" />
|
||||
<TextBlock Name="SourceText" FontWeight="SemiBold" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Spacing="4">
|
||||
<TextBlock Text="Condition:" FontSize="12" Foreground="Gray" />
|
||||
<TextBlock Name="ConditionText" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Spacing="4">
|
||||
<TextBlock Text="Comment:" FontSize="12" Foreground="Gray" />
|
||||
<TextBox Name="CommentInput"
|
||||
Watermark="Enter confirmation comment"
|
||||
AcceptsReturn="True"
|
||||
Height="60"
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Name="ResultText" Foreground="Gray" />
|
||||
|
||||
<StackPanel Orientation="Horizontal" Spacing="8" HorizontalAlignment="Right">
|
||||
<Button Name="ConfirmButton" Content="Confirm" />
|
||||
<Button Name="CancelButton" Content="Cancel" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user