client: Windows 客户端(WinUI3 壳 + agent-core;调试用 Electron 壳存档);localserver token 改为常数时间比较
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<Page
|
||||
x:Class="EveryPublish.Client.Pages.PairPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ScrollViewer>
|
||||
<StackPanel Margin="32" Spacing="16" MaxWidth="480">
|
||||
<TextBlock Text="设备配对" Style="{StaticResource TitleTextBlockStyle}"/>
|
||||
<InfoBar IsOpen="True" Severity="Informational" IsClosable="False">
|
||||
<InfoBar.Message>
|
||||
<TextBlock Text="1. 登录网页控制台 →「设置 → Agent 设备」生成配对码;2. 在下方输入配对码完成绑定。"/>
|
||||
</InfoBar.Message>
|
||||
</InfoBar>
|
||||
<TextBox x:Name="CodeBox" Header="配对码" PlaceholderText="6 位配对码(5 分钟内有效)"/>
|
||||
<TextBox x:Name="NameBox" Header="设备名(选填)" PlaceholderText="例如:办公室电脑-01"/>
|
||||
<Button x:Name="PairButton" Content="配对" Style="{StaticResource AccentButtonStyle}" Click="Pair_Click" HorizontalAlignment="Left"/>
|
||||
<TextBlock x:Name="PairResult" Text="" TextWrapping="Wrap"/>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user