File tree Expand file tree Collapse file tree 1 file changed +23
-15
lines changed Expand file tree Collapse file tree 1 file changed +23
-15
lines changed Original file line number Diff line number Diff line change @@ -562,28 +562,36 @@ fn ResolvedServiceItem(
562
562
<Dialog open=show_details>
563
563
<DialogSurface >
564
564
<DialogBody class="resolved-service-details-dialog-body" >
565
+ <Flex vertical=true gap=FlexGap :: Small >
566
+ <DialogTitle >
567
+ <Flex
568
+ justify=FlexJustify :: SpaceBetween
569
+ align=FlexAlign :: Center
570
+ gap=FlexGap :: Small
571
+ >
572
+ <Icon
573
+ icon=icondata:: MdiCircle
574
+ class=dead_or_alive_icon_class
575
+ />
576
+ <Text class="resolved-service-details-dialog-title" >
577
+ { move || title. get( ) }
578
+ </Text >
579
+ <Button
580
+ size=ButtonSize :: Small
581
+ appearance=ButtonAppearance :: Primary
582
+ on_click=move |_| show_details. set( false )
583
+ icon=icondata:: MdiClose
584
+ />
585
+ </Flex >
586
+ </DialogTitle >
565
587
<Scrollbar class="resolved-service-details-dialog-scrollarea" >
566
588
<Flex vertical=true >
567
- <DialogTitle >
568
- <Flex
569
- justify=FlexJustify :: FlexStart
570
- align=FlexAlign :: Center
571
- gap=FlexGap :: Small
572
- >
573
- <Icon
574
- icon=icondata:: MdiCircle
575
- class=dead_or_alive_icon_class
576
- />
577
- <Text class="resolved-service-details-dialog-title" >
578
- { move || title. get( ) }
579
- </Text >
580
- </Flex >
581
- </DialogTitle >
582
589
<ValuesTable values=subtype title="subtype" . to_string( ) />
583
590
<ValuesTable values=addrs title="IPs" . to_string( ) />
584
591
<ValuesTable values=txts title="txt" . to_string( ) />
585
592
</Flex >
586
593
</Scrollbar >
594
+ </Flex >
587
595
</DialogBody >
588
596
</DialogSurface >
589
597
</Dialog >
You can’t perform that action at this time.
0 commit comments