mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-20 20:16:30 +02:00
Version 3.0.374
This commit is contained in:
parent
06428d96d9
commit
63aa608216
21 changed files with 243 additions and 214 deletions
|
@ -40,6 +40,8 @@
|
|||
<Grid
|
||||
Grid.Row="0"
|
||||
IsVisible="True"
|
||||
RowDefinitions="50,10"
|
||||
RowSpacing="0"
|
||||
ColumnDefinitions="*,*">
|
||||
|
||||
<Grid.Triggers>
|
||||
|
@ -53,14 +55,12 @@
|
|||
</Grid.Triggers>
|
||||
|
||||
<!--1st step-->
|
||||
<Grid
|
||||
Grid.Column="0"
|
||||
RowDefinitions="40,10"
|
||||
RowSpacing="0">
|
||||
<Frame
|
||||
Grid.Column="0"
|
||||
Grid.Row="0"
|
||||
BackgroundColor="{DynamicResource process-step-upcoming}"
|
||||
Padding="0">
|
||||
Padding="14,2,10,2"
|
||||
HasShadow="False">
|
||||
<Frame.Triggers>
|
||||
<MultiTrigger TargetType="Frame">
|
||||
<MultiTrigger.Conditions>
|
||||
|
@ -89,13 +89,17 @@
|
|||
<Setter Property="BackgroundColor" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
</Frame.Triggers>
|
||||
<StackLayout
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
<Label
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessCloseLockFirstStep}"
|
||||
TextColor="White">
|
||||
<Grid
|
||||
ColumnDefinitions="*,Auto"
|
||||
RowDefinitions="Auto"
|
||||
HorizontalOptions="CenterAndExpand"
|
||||
VerticalOptions="CenterAndExpand">
|
||||
<Label
|
||||
Grid.Column="0"
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessCloseLockFirstStep}"
|
||||
FontSize="Medium"
|
||||
FontAttributes="Bold"
|
||||
TextColor="White">
|
||||
<Label.Triggers>
|
||||
<MultiTrigger TargetType="Label">
|
||||
<MultiTrigger.Conditions>
|
||||
|
@ -103,7 +107,7 @@
|
|||
<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>
|
||||
<MultiTrigger TargetType="Label">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
|
@ -113,6 +117,8 @@
|
|||
</Label.Triggers>
|
||||
</Label>
|
||||
<Image
|
||||
Grid.Column="1"
|
||||
Grid.Row="0"
|
||||
IsVisible="False">
|
||||
<Image.Triggers>
|
||||
<DataTrigger TargetType="Image" Binding="{Binding RentalProcess.StepIndex}" Value="1">
|
||||
|
@ -131,7 +137,7 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource check}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
@ -145,7 +151,7 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource check}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
@ -160,16 +166,17 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource xmark}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</MultiTrigger>
|
||||
</Image.Triggers>
|
||||
</Image>
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
</Frame>
|
||||
<Polygon
|
||||
Grid.Column="0"
|
||||
Grid.Row="1"
|
||||
Points="0,0 20,0 10,10"
|
||||
IsVisible="False"
|
||||
|
@ -200,17 +207,14 @@
|
|||
</MultiTrigger>
|
||||
</Polygon.Triggers>
|
||||
</Polygon>
|
||||
</Grid>
|
||||
|
||||
<!--2nd step-->
|
||||
<Grid
|
||||
Grid.Column="1"
|
||||
RowDefinitions="40,10"
|
||||
RowSpacing="0">
|
||||
<!--2nd step-->
|
||||
<Frame
|
||||
Grid.Column="1"
|
||||
Grid.Row="0"
|
||||
BackgroundColor="{DynamicResource process-step-upcoming}"
|
||||
Padding="0">
|
||||
Padding="14,2,10,2"
|
||||
HasShadow="False">
|
||||
<Frame.Triggers>
|
||||
<MultiTrigger TargetType="Frame">
|
||||
<MultiTrigger.Conditions>
|
||||
|
@ -239,15 +243,21 @@
|
|||
<Setter Property="BackgroundColor" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
</Frame.Triggers>
|
||||
<StackLayout
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
<Label
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessCloseLockSecondStep}"
|
||||
TextColor="White"/>
|
||||
<Grid
|
||||
ColumnDefinitions="*,Auto"
|
||||
RowDefinitions="Auto"
|
||||
HorizontalOptions="CenterAndExpand"
|
||||
VerticalOptions="CenterAndExpand">
|
||||
<Label
|
||||
Grid.Column="0"
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessCloseLockSecondStep}"
|
||||
FontSize="Medium"
|
||||
FontAttributes="Bold"
|
||||
TextColor="White"/>
|
||||
<Image
|
||||
IsVisible="False">
|
||||
Grid.Column="1"
|
||||
Grid.Row="0"
|
||||
IsVisible="False">
|
||||
<Image.Triggers>
|
||||
<DataTrigger TargetType="Image" Binding="{Binding RentalProcess.StepIndex}" Value="2">
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
|
@ -262,7 +272,7 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource check}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
@ -277,47 +287,47 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource xmark}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</MultiTrigger>
|
||||
</Image.Triggers>
|
||||
</Image>
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
</Frame>
|
||||
<Polygon
|
||||
<Polygon
|
||||
Grid.Column="1"
|
||||
Grid.Row="1"
|
||||
Points="0,0 20,0 10,10"
|
||||
IsVisible="False"
|
||||
HorizontalOptions="Center">
|
||||
<Polygon.Triggers>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.None}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-active}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Failed}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<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="IsVisible" Value="False" />
|
||||
</MultiTrigger>
|
||||
</Polygon.Triggers>
|
||||
</Polygon>
|
||||
</Grid>
|
||||
<Polygon.Triggers>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.None}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-active}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Failed}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<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="IsVisible" Value="False" />
|
||||
</MultiTrigger>
|
||||
</Polygon.Triggers>
|
||||
</Polygon>
|
||||
|
||||
</Grid>
|
||||
|
||||
|
|
|
@ -40,6 +40,8 @@
|
|||
<Grid
|
||||
Grid.Row="0"
|
||||
IsVisible="True"
|
||||
RowDefinitions="50,10"
|
||||
RowSpacing="0"
|
||||
ColumnDefinitions="*,*,*">
|
||||
|
||||
<Grid.Triggers>
|
||||
|
@ -53,14 +55,12 @@
|
|||
</Grid.Triggers>
|
||||
|
||||
<!--1st step-->
|
||||
<Grid
|
||||
Grid.Column="0"
|
||||
RowDefinitions="40,10"
|
||||
RowSpacing="0">
|
||||
<Frame
|
||||
Grid.Column="0"
|
||||
Grid.Row="0"
|
||||
BackgroundColor="{DynamicResource process-step-upcoming}"
|
||||
Padding="0">
|
||||
HasShadow="False"
|
||||
Padding="14,2,10,2">
|
||||
<Frame.Triggers>
|
||||
<MultiTrigger TargetType="Frame">
|
||||
<MultiTrigger.Conditions>
|
||||
|
@ -95,12 +95,16 @@
|
|||
<Setter Property="BackgroundColor" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
</Frame.Triggers>
|
||||
<StackLayout
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
<Grid
|
||||
ColumnDefinitions="*,Auto"
|
||||
RowDefinitions="Auto"
|
||||
HorizontalOptions="CenterAndExpand"
|
||||
VerticalOptions="CenterAndExpand">
|
||||
<Label
|
||||
Grid.Column="0"
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessEndRentalFirstStep}"
|
||||
FontSize="Medium"
|
||||
FontAttributes="Bold"
|
||||
TextColor="White">
|
||||
<Label.Triggers>
|
||||
<MultiTrigger TargetType="Label">
|
||||
|
@ -125,6 +129,8 @@
|
|||
</Label.Triggers>
|
||||
</Label>
|
||||
<Image
|
||||
Grid.Column="1"
|
||||
Grid.Row="0"
|
||||
IsVisible="False">
|
||||
<Image.Triggers>
|
||||
<DataTrigger TargetType="Image" Binding="{Binding RentalProcess.StepIndex}" Value="1">
|
||||
|
@ -146,7 +152,7 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource check}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
@ -160,7 +166,7 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource check}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
@ -174,7 +180,7 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource check}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
@ -189,57 +195,55 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource xmark}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</MultiTrigger>
|
||||
</Image.Triggers>
|
||||
</Image>
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
</Frame>
|
||||
<Polygon
|
||||
<Polygon
|
||||
Grid.Column="0"
|
||||
Grid.Row="1"
|
||||
Points="0,0 20,0 10,10"
|
||||
IsVisible="False"
|
||||
HorizontalOptions="Center">
|
||||
<Polygon.Triggers>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="1" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.None}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-active}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="1" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Failed}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<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="IsVisible" Value="False" />
|
||||
</MultiTrigger>
|
||||
</Polygon.Triggers>
|
||||
</Polygon>
|
||||
</Grid>
|
||||
<Polygon.Triggers>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="1" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.None}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-active}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="1" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Failed}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<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="IsVisible" Value="False" />
|
||||
</MultiTrigger>
|
||||
</Polygon.Triggers>
|
||||
</Polygon>
|
||||
|
||||
<!--2nd step-->
|
||||
<Grid
|
||||
Grid.Column="1"
|
||||
RowDefinitions="40,10"
|
||||
RowSpacing="0">
|
||||
<Frame
|
||||
Grid.Column="1"
|
||||
Grid.Row="0"
|
||||
BackgroundColor="{DynamicResource process-step-upcoming}"
|
||||
Padding="0">
|
||||
HasShadow="False"
|
||||
Padding="14,2,10,2">
|
||||
<Frame.Triggers>
|
||||
<MultiTrigger TargetType="Frame">
|
||||
<MultiTrigger.Conditions>
|
||||
|
@ -274,12 +278,16 @@
|
|||
<Setter Property="BackgroundColor" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
</Frame.Triggers>
|
||||
<StackLayout
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
<Grid
|
||||
ColumnDefinitions="*,Auto"
|
||||
RowDefinitions="Auto"
|
||||
HorizontalOptions="CenterAndExpand"
|
||||
VerticalOptions="CenterAndExpand">
|
||||
<Label
|
||||
Grid.Column="0"
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessEndRentalSecondStep}"
|
||||
FontSize="Medium"
|
||||
FontAttributes="Bold"
|
||||
TextColor="White">
|
||||
<Label.Triggers>
|
||||
<MultiTrigger TargetType="Label">
|
||||
|
@ -298,6 +306,8 @@
|
|||
</Label.Triggers>
|
||||
</Label>
|
||||
<Image
|
||||
Grid.Column="1"
|
||||
Grid.Row="0"
|
||||
IsVisible="False">
|
||||
<Image.Triggers>
|
||||
<DataTrigger TargetType="Image" Binding="{Binding RentalProcess.StepIndex}" Value="2">
|
||||
|
@ -316,7 +326,7 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource check}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
@ -330,7 +340,7 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource check}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
@ -345,57 +355,55 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource xmark}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</MultiTrigger>
|
||||
</Image.Triggers>
|
||||
</Image>
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
</Frame>
|
||||
<Polygon
|
||||
<Polygon
|
||||
Grid.Column="1"
|
||||
Grid.Row="1"
|
||||
Points="0,0 20,0 10,10"
|
||||
IsVisible="False"
|
||||
HorizontalOptions="Center">
|
||||
<Polygon.Triggers>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.None}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-active}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Failed}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<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="IsVisible" Value="False" />
|
||||
</MultiTrigger>
|
||||
</Polygon.Triggers>
|
||||
</Polygon>
|
||||
</Grid>
|
||||
<Polygon.Triggers>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.None}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-active}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="2" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Failed}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<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="IsVisible" Value="False" />
|
||||
</MultiTrigger>
|
||||
</Polygon.Triggers>
|
||||
</Polygon>
|
||||
|
||||
<!--3rd step-->
|
||||
<Grid
|
||||
Grid.Column="2"
|
||||
RowDefinitions="40,10"
|
||||
RowSpacing="0">
|
||||
<Frame
|
||||
Grid.Column="2"
|
||||
Grid.Row="0"
|
||||
BackgroundColor="{DynamicResource process-step-upcoming}"
|
||||
Padding="0">
|
||||
HasShadow="False"
|
||||
Padding="14,2,10,2">
|
||||
<Frame.Triggers>
|
||||
<MultiTrigger TargetType="Frame">
|
||||
<MultiTrigger.Conditions>
|
||||
|
@ -430,14 +438,20 @@
|
|||
<Setter Property="BackgroundColor" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
</Frame.Triggers>
|
||||
<StackLayout
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
<Label
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessEndRentalThirdStep}"
|
||||
TextColor="White"/>
|
||||
<Grid
|
||||
ColumnDefinitions="*,Auto"
|
||||
RowDefinitions="Auto"
|
||||
HorizontalOptions="CenterAndExpand"
|
||||
VerticalOptions="CenterAndExpand">
|
||||
<Label
|
||||
Grid.Column="0"
|
||||
Text="{x:Static resources:AppResources.MarkingRentalProcessEndRentalThirdStep}"
|
||||
FontSize="Medium"
|
||||
FontAttributes="Bold"
|
||||
TextColor="White"/>
|
||||
<Image
|
||||
Grid.Column="1"
|
||||
Grid.Row="0"
|
||||
IsVisible="False">
|
||||
<Image.Triggers>
|
||||
<DataTrigger TargetType="Image" Binding="{Binding RentalProcess.StepIndex}" Value="3">
|
||||
|
@ -453,7 +467,7 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource check}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
@ -468,47 +482,47 @@
|
|||
<FontImageSource
|
||||
Glyph="{StaticResource xmark}"
|
||||
FontFamily="FA-S"
|
||||
Size="Small"
|
||||
Size="Default"
|
||||
Color="White"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</MultiTrigger>
|
||||
</Image.Triggers>
|
||||
</Image>
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
</Frame>
|
||||
<Polygon
|
||||
<Polygon
|
||||
Grid.Column="2"
|
||||
Grid.Row="1"
|
||||
Points="0,0 20,0 10,10"
|
||||
IsVisible="False"
|
||||
HorizontalOptions="Center">
|
||||
<Polygon.Triggers>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="3" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.None}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-active}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="3" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Failed}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="3" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Succeeded}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="False" />
|
||||
</MultiTrigger>
|
||||
</Polygon.Triggers>
|
||||
</Polygon>
|
||||
</Grid>
|
||||
<Polygon.Triggers>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="3" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.None}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-active}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="3" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Failed}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
<Setter Property="Fill" Value="{DynamicResource process-step-failed}" />
|
||||
</MultiTrigger>
|
||||
<MultiTrigger TargetType="Polygon">
|
||||
<MultiTrigger.Conditions>
|
||||
<BindingCondition Binding="{Binding RentalProcess.StepIndex}" Value="3" />
|
||||
<BindingCondition Binding="{Binding RentalProcess.Result}" Value="{x:Static rental_process:CurrentStepStatus.Succeeded}"/>
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="IsVisible" Value="False" />
|
||||
</MultiTrigger>
|
||||
</Polygon.Triggers>
|
||||
</Polygon>
|
||||
|
||||
</Grid>
|
||||
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
Padding="20"
|
||||
Margin="0,5,0,5"
|
||||
HorizontalOptions="FillAndExpand"
|
||||
BackgroundColor="White">
|
||||
BackgroundColor="White"
|
||||
HasShadow="False">
|
||||
|
||||
<Grid
|
||||
ColumnDefinitions="Auto,*"
|
||||
|
|
|
@ -170,7 +170,7 @@
|
|||
|
||||
<!--Attention: Important info-->
|
||||
<Frame Grid.Row="2"
|
||||
Margin="0,20,0,60"
|
||||
Margin="0,20,0,20"
|
||||
Padding="10"
|
||||
HorizontalOptions="FillAndExpand"
|
||||
HasShadow="False"
|
||||
|
|
|
@ -161,7 +161,7 @@
|
|||
|
||||
<!--Attention: Important info-->
|
||||
<Frame Grid.Row="2"
|
||||
Margin="0,20,0,60"
|
||||
Margin="0,20,0,20"
|
||||
Padding="10"
|
||||
HorizontalOptions="FillAndExpand"
|
||||
HasShadow="False"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue