mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-14 07:41:53 +01:00
Changed internal Bindings to create last functional state with new API
This commit is contained in:
parent
b0049f1803
commit
614aa7a8ca
@ -21,8 +21,8 @@
|
|||||||
<StackLayout IsVisible="{Binding IsBusy, Converter={StaticResource InvertBoolConverter}}">
|
<StackLayout IsVisible="{Binding IsBusy, Converter={StaticResource InvertBoolConverter}}">
|
||||||
<Label Text="{Binding Name}" Style="{StaticResource LabelStyle_Title}"/>
|
<Label Text="{Binding Name}" Style="{StaticResource LabelStyle_Title}"/>
|
||||||
|
|
||||||
<!--<Button Text="Use" Command="{Binding UseMachineCommand}" IsVisible="{Binding MachineItem.Use, Converter=IsNotNullBoolConverter}" Style="{StaticResource Style_Button_Primary}"/>
|
<Button Text="Use" Command="{Binding UseMachineCommand}" IsVisible="{Binding MachineItem.CanUse}" Style="{StaticResource Style_Button_Primary}"/>
|
||||||
<Button Text="GiveBack" Command="{Binding GiveBackMachineCommand}" IsVisible="{Binding MachineItem.Inuse, Converter=IsNotNullBoolConverter}" Style="{StaticResource Style_Button_Primary}"/>-->
|
<Button Text="GiveBack" Command="{Binding GiveBackMachineCommand}" IsVisible="{Binding MachineItem.CanInUse}" Style="{StaticResource Style_Button_Primary}"/>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</ContentPage.Content>
|
</ContentPage.Content>
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
<ContentPage Title="FabAccess">
|
<ContentPage Title="FabAccess">
|
||||||
<StackLayout>
|
<StackLayout>
|
||||||
<Button Text="Machines" Command="{Binding NavigateCommand}" CommandParameter="MachineListPage" />
|
<Button Text="Machines" Command="{Binding NavigateCommand}" CommandParameter="MachineListPage" />
|
||||||
<Button Text="Settings" Command="{Binding NavigateCommand}" CommandParameter="SettingsPage" />
|
|
||||||
<Button Text="Servers" Command="{Binding NavigateCommand}" CommandParameter="ServerListPage" />
|
<Button Text="Servers" Command="{Binding NavigateCommand}" CommandParameter="ServerListPage" />
|
||||||
|
<!--<Button Text="Settings" Command="{Binding NavigateCommand}" CommandParameter="SettingsPage" />-->
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</ContentPage>
|
</ContentPage>
|
||||||
</FlyoutPage.Flyout>
|
</FlyoutPage.Flyout>
|
||||||
|
@ -30,6 +30,7 @@ namespace Borepin.PageModel
|
|||||||
{
|
{
|
||||||
if (_BFFHService.ActiveConnection == null)
|
if (_BFFHService.ActiveConnection == null)
|
||||||
{
|
{
|
||||||
|
IsBusy = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -111,7 +111,7 @@ namespace Borepin.PageModel
|
|||||||
}
|
}
|
||||||
private async void AddInstancesCommandExecuted()
|
private async void AddInstancesCommandExecuted()
|
||||||
{
|
{
|
||||||
INavigationResult result = await _NavigationService.NavigateAsync("HostSelectPage");
|
INavigationResult result = await _NavigationService.NavigateAsync("AddServerProcess_HostSelectPage");
|
||||||
if (!result.Success)
|
if (!result.Success)
|
||||||
{
|
{
|
||||||
System.Diagnostics.Debugger.Break();
|
System.Diagnostics.Debugger.Break();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user