登录连接信息
This commit is contained in:
commit
5c51e96f67
6 files changed
+176
-59
No files matched your search
+28
-17
@@ -3,25 +3,29 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="SunlightAggregationTerminal.View.LogPage"
|
||||
Title="登录">
|
||||
<VerticalStackLayout Padding="30" Spacing="20"
|
||||
<VerticalStackLayout Padding="30" Spacing="10"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center"
|
||||
MaximumWidthRequest="600">
|
||||
<Grid RowDefinitions="Auto, *" ColumnDefinitions="*, Auto">
|
||||
<HorizontalStackLayout VerticalOptions="Center" Spacing="15">
|
||||
MaximumWidthRequest="550">
|
||||
<Grid>
|
||||
<VerticalStackLayout Spacing="-20" >
|
||||
<Grid RowDefinitions="Auto, *" ColumnDefinitions="*, Auto" >
|
||||
<HorizontalStackLayout VerticalOptions="Center" Spacing="15">
|
||||
<!-- 信息 -->
|
||||
<VerticalStackLayout Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
VerticalOptions="Center">
|
||||
<VerticalStackLayout Grid.Row="0" Grid.Column="0" VerticalOptions="Center">
|
||||
<HorizontalStackLayout VerticalOptions="Center">
|
||||
<Entry Text="服务器:" FontSize="26" TextColor="Black" />
|
||||
<Entry x:Name="Enterprise"
|
||||
Text="IP"
|
||||
FontSize="26"
|
||||
TextColor="Gray"
|
||||
WidthRequest="200"
|
||||
MaximumWidthRequest="200"/>
|
||||
</HorizontalStackLayout>
|
||||
<Entry Text="服务器:" FontSize="26" TextColor="Black" IsReadOnly="True"/>
|
||||
<Picker x:Name="SERVER"
|
||||
FontSize="24"
|
||||
TextColor="Gray"
|
||||
WidthRequest="200"
|
||||
MaximumWidthRequest="200"
|
||||
SelectedIndexChanged="SERVER_SelectedIndexChanged">
|
||||
<Picker.ItemDisplayBinding>
|
||||
<Binding Path="SERVER"/>
|
||||
</Picker.ItemDisplayBinding>
|
||||
</Picker>
|
||||
</HorizontalStackLayout>
|
||||
</VerticalStackLayout>
|
||||
</HorizontalStackLayout>
|
||||
<Button Grid.Row="0" Grid.Column="1"
|
||||
@@ -34,9 +38,15 @@
|
||||
<FileImageSource File="lucidescanline.png" />
|
||||
</Button.ImageSource>
|
||||
</Button>
|
||||
</Grid>
|
||||
<Entry x:Name="SERVERIP" FontSize="26" TextColor="Gray"
|
||||
WidthRequest="350" MaximumWidthRequest="350"/>
|
||||
</VerticalStackLayout>
|
||||
</Grid>
|
||||
|
||||
<HorizontalStackLayout VerticalOptions="Center">
|
||||
<Entry Text="用户:" FontSize="26" TextColor="Black" />
|
||||
<Entry Text="用户:" FontSize="26" TextColor="Black"
|
||||
IsReadOnly="True"/>
|
||||
<!-- 用户名输入 -->
|
||||
<Entry x:Name="UsernameEntry"
|
||||
Placeholder="请输入用户名"
|
||||
@@ -45,7 +55,8 @@
|
||||
MaximumWidthRequest="250"/>
|
||||
</HorizontalStackLayout>
|
||||
<HorizontalStackLayout VerticalOptions="Center">
|
||||
<Entry Text="密码:" FontSize="26" TextColor="Black"/>
|
||||
<Entry Text="密码:" FontSize="26" TextColor="Black"
|
||||
IsReadOnly="True"/>
|
||||
<!-- 密码输入 -->
|
||||
<Entry x:Name="PasswordEntry"
|
||||
Placeholder="请输入密码"
|
||||
|
||||
Reference in new issue
Block a user