mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-21 20:46:28 +02:00
Version 3.0.373
This commit is contained in:
parent
f1cbab1d0a
commit
06428d96d9
87 changed files with 1796 additions and 1208 deletions
|
@ -3,6 +3,7 @@
|
|||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:conv="clr-namespace:TINK.View"
|
||||
xmlns:sharedGui="clr-namespace:ShareeSharedGuiLib.View.Bike.RentalProcess"
|
||||
xmlns:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
|
||||
xmlns:rental_process="clr-namespace:TINK.ViewModel.Bikes;assembly=TINKLib"
|
||||
x:Class="ShareeSharedGuiLib.View.Bike.RentalProcess.RentalProcess2StepsBar">
|
||||
|
||||
|
@ -89,15 +90,30 @@
|
|||
</MultiTrigger>
|
||||
</Frame.Triggers>
|
||||
<StackLayout
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
<Label
|
||||
Text="1"
|
||||
TextColor="White"
|
||||
FontAttributes="Bold"/>
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessCloseLockFirstStep}"
|
||||
TextColor="White">
|
||||
<Label.Triggers>
|
||||
<MultiTrigger TargetType="Label">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="1" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Succeeded}" />
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="Text" Value="{x:Static resources:AppResources.MarkingRentalProcessCloseLockFirstStepFinished}"/>
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Label">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="Text" Value="{x:Static resources:AppResources.MarkingRentalProcessCloseLockFirstStepFinished}"/>
|
||||
</MultiTrigger>
|
||||
</Label.Triggers>
|
||||
</Label>
|
||||
<Image
|
||||
IsVisible="False">
|
||||
IsVisible="False">
|
||||
<Image.Triggers>
|
||||
<DataTrigger TargetType="Image" Binding="{Binding RentalProcess.StepIndex}" Value="1">
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
|
@ -228,9 +244,8 @@
|
|||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
<Label
|
||||
Text="2"
|
||||
TextColor="White"
|
||||
FontAttributes="Bold"/>
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessCloseLockSecondStep}"
|
||||
TextColor="White"/>
|
||||
<Image
|
||||
IsVisible="False">
|
||||
<Image.Triggers>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:conv="clr-namespace:TINK.View"
|
||||
xmlns:sharedGui="clr-namespace:ShareeSharedGuiLib.View.Bike.RentalProcess"
|
||||
xmlns:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
|
||||
xmlns:rental_process="clr-namespace:TINK.ViewModel.Bikes;assembly=TINKLib"
|
||||
x:Class="ShareeSharedGuiLib.View.Bike.RentalProcess.RentalProcess3StepsBar">
|
||||
|
||||
|
@ -95,15 +96,36 @@
|
|||
</MultiTrigger>
|
||||
</Frame.Triggers>
|
||||
<StackLayout
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
<Label
|
||||
Text="1"
|
||||
TextColor="White"
|
||||
FontAttributes="Bold"/>
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessEndRentalFirstStep}"
|
||||
TextColor="White">
|
||||
<Label.Triggers>
|
||||
<MultiTrigger TargetType="Label">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="1" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Succeeded}" />
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="Text" Value="{x:Static resources:AppResources.MarkingRentalProcessEndRentalFirstStepFinished}"/>
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Label">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="Text" Value="{x:Static resources:AppResources.MarkingRentalProcessEndRentalFirstStepFinished}"/>
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Label">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="3" />
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="Text" Value="{x:Static resources:AppResources.MarkingRentalProcessEndRentalFirstStepFinished}"/>
|
||||
</MultiTrigger>
|
||||
</Label.Triggers>
|
||||
</Label>
|
||||
<Image
|
||||
IsVisible="False">
|
||||
IsVisible="False">
|
||||
<Image.Triggers>
|
||||
<DataTrigger TargetType="Image" Binding="{Binding RentalProcess.StepIndex}" Value="1">
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
|
@ -253,15 +275,30 @@
|
|||
</MultiTrigger>
|
||||
</Frame.Triggers>
|
||||
<StackLayout
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
<Label
|
||||
Text="2"
|
||||
TextColor="White"
|
||||
FontAttributes="Bold"/>
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessEndRentalSecondStep}"
|
||||
TextColor="White">
|
||||
<Label.Triggers>
|
||||
<MultiTrigger TargetType="Label">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Succeeded}" />
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="Text" Value="{x:Static resources:AppResources.MarkingRentalProcessEndRentalSecondStepFinished}"/>
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Label">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="3" />
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="Text" Value="{x:Static resources:AppResources.MarkingRentalProcessEndRentalSecondStepFinished}"/>
|
||||
</MultiTrigger>
|
||||
</Label.Triggers>
|
||||
</Label>
|
||||
<Image
|
||||
IsVisible="False">
|
||||
IsVisible="False">
|
||||
<Image.Triggers>
|
||||
<DataTrigger TargetType="Image" Binding="{Binding RentalProcess.StepIndex}" Value="2">
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
|
@ -394,15 +431,14 @@
|
|||
</MultiTrigger>
|
||||
</Frame.Triggers>
|
||||
<StackLayout
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
<Label
|
||||
Text="3"
|
||||
TextColor="White"
|
||||
FontAttributes="Bold"/>
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessEndRentalThirdStep}"
|
||||
TextColor="White"/>
|
||||
<Image
|
||||
IsVisible="False">
|
||||
IsVisible="False">
|
||||
<Image.Triggers>
|
||||
<DataTrigger TargetType="Image" Binding="{Binding RentalProcess.StepIndex}" Value="3">
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<!--Bike info-->
|
||||
<Frame
|
||||
Padding="20,30,20,30"
|
||||
Padding="20"
|
||||
Margin="0,5,0,5"
|
||||
HorizontalOptions="FillAndExpand"
|
||||
BackgroundColor="White">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue