mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 14:51:44 +01:00
33 lines
2.0 KiB
XML
33 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="Borepin.Page.AddServerProcess.SelectServerPage"
|
|
xmlns:converters="clr-namespace:Borepin.Converter"
|
|
xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
|
|
Title="{x:Static resource_text:TextResource.TITLE_ConnectToServer}">
|
|
<ContentPage.Resources>
|
|
<ResourceDictionary>
|
|
<converters:InvertBoolConverter x:Key="InvertBoolConverter"/>
|
|
</ResourceDictionary>
|
|
</ContentPage.Resources>
|
|
<ContentPage.Content>
|
|
<StackLayout Padding="20">
|
|
<StackLayout IsVisible="{Binding IsBusy}">
|
|
<ActivityIndicator IsRunning="{Binding IsBusy}"></ActivityIndicator>
|
|
</StackLayout>
|
|
<StackLayout IsVisible="{Binding IsBusy, Converter={StaticResource InvertBoolConverter}}">
|
|
<Label Text="{x:Static resource_text:TextResource.HOST}" Style="{StaticResource Style_Label_Property_Title}"></Label>
|
|
<Entry Text="{Binding Host}" Keyboard="Url" IsSpellCheckEnabled="false"/>
|
|
<Button Text="{x:Static resource_text:TextResource.AddServerProcess_SelectServerPage_Connect}" Command="{Binding ConnectToServerCommand}" Style="{StaticResource Style_Button_Primary}"/>
|
|
<Button Text="{x:Static resource_text:TextResource.SCANQR}" Command="{Binding ScanCodeCommand}" Style="{StaticResource Style_Button_Primary}">
|
|
<Button.IsVisible>
|
|
<OnPlatform x:TypeArguments="x:Boolean"
|
|
iOS="true"
|
|
Android="true"/>
|
|
</Button.IsVisible>
|
|
</Button>
|
|
<Label Text="{x:Static resource_text:TextResource.AddServerProcess_SelectServerPage_Info}"></Label>
|
|
</StackLayout>
|
|
</StackLayout>
|
|
</ContentPage.Content>
|
|
</ContentPage> |