|
|
@ -22,7 +22,8 @@
|
|
|
|
Placeholder="Mots-clés (ex.: rapide, fromage)"
|
|
|
|
Placeholder="Mots-clés (ex.: rapide, fromage)"
|
|
|
|
FontAttributes="Italic" TextColor="Black"
|
|
|
|
FontAttributes="Italic" TextColor="Black"
|
|
|
|
BackgroundColor="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Gray300}}"
|
|
|
|
BackgroundColor="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Gray300}}"
|
|
|
|
Margin="15, 10, 15, 40"/>
|
|
|
|
Margin="15, 10, 15, 40"
|
|
|
|
|
|
|
|
SearchButtonPressed="SearchBar_SearchButtonPressed"/>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Direct research -->
|
|
|
|
<!-- Direct research -->
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
@ -43,7 +44,7 @@
|
|
|
|
<!-- Master -->
|
|
|
|
<!-- Master -->
|
|
|
|
<local:ContainerBase.MyContent>
|
|
|
|
<local:ContainerBase.MyContent>
|
|
|
|
<ScrollView>
|
|
|
|
<ScrollView>
|
|
|
|
<StackLayout BindingContext="{Binding AllRecipes}" MinimumWidthRequest="400">
|
|
|
|
<StackLayout BindingContext="{Binding RecipesDisplayed}" MinimumWidthRequest="400">
|
|
|
|
<!--Modification du prof apportée sur le stacklayout pour empecher l'affichage d'une seule case recipe-->
|
|
|
|
<!--Modification du prof apportée sur le stacklayout pour empecher l'affichage d'une seule case recipe-->
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Text="{Binding Description}"
|
|
|
|
Text="{Binding Description}"
|
|
|
@ -64,9 +65,10 @@
|
|
|
|
<DataTemplate x:DataType="model:Recipe">
|
|
|
|
<DataTemplate x:DataType="model:Recipe">
|
|
|
|
<Border Style="{StaticResource recipeCase}">
|
|
|
|
<Border Style="{StaticResource recipeCase}">
|
|
|
|
<Grid RowDefinitions="*, 40">
|
|
|
|
<Grid RowDefinitions="*, 40">
|
|
|
|
|
|
|
|
|
|
|
|
<!--<local:RecipeCase
|
|
|
|
<!--<local:RecipeCase
|
|
|
|
CaseImageSource="room_service_icon.png"
|
|
|
|
CaseImageSource="{Binding Image}"
|
|
|
|
Title="{Binding Title}"/>-->
|
|
|
|
RecipeTitle="{Binding Title}"/>-->
|
|
|
|
|
|
|
|
|
|
|
|
<Image
|
|
|
|
<Image
|
|
|
|
Grid.Row="0" VerticalOptions="Fill"
|
|
|
|
Grid.Row="0" VerticalOptions="Fill"
|
|
|
@ -75,6 +77,7 @@
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Text="{Binding Title}" FontSize="18"
|
|
|
|
Text="{Binding Title}" FontSize="18"
|
|
|
|
Grid.Row="1" HorizontalOptions="Center"/>
|
|
|
|
Grid.Row="1" HorizontalOptions="Center"/>
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
</DataTemplate>
|
|
|
|
</DataTemplate>
|
|
|
|