mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 14:51:44 +01:00
28 lines
1.5 KiB
XML
28 lines
1.5 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.UserPage"
|
|
xmlns:converters="clr-namespace:Borepin.Converter"
|
|
Title="Machine">
|
|
<ContentPage.Resources>
|
|
<ResourceDictionary>
|
|
<converters:MachineStateColorConverter x:Key="MachineStateColorConverter"/>
|
|
<converters:MachineStateStringConverter x:Key="MachineStateStringConverter"/>
|
|
<converters:IsNotNullBoolConverter x:Key="IsNotNullBoolConverter"/>
|
|
<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}}">
|
|
<StackLayout IsVisible="{Binding IsConnected}">
|
|
<Label Text="{Binding UserItem.Username}" Style="{StaticResource LabelStyle_Title}"/>
|
|
</StackLayout>
|
|
<Label Text="Please connect to Server" IsVisible="{Binding IsConnected, Converter={StaticResource InvertBoolConverter}}"></Label>
|
|
</StackLayout>
|
|
</StackLayout>
|
|
</ContentPage.Content>
|
|
</ContentPage> |