Merge branch 'vnext' of github.com:pazof/yavsc into vnext
commit
6e6ba1e6ea
@ -1,35 +1,49 @@
|
||||
<?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="BookAStar.Pages.UserProfile.UserFiles">
|
||||
<Label Text="{Binding SubPath}" VerticalOptions="Center" HorizontalOptions="Center" />
|
||||
<ListView x:Name="dirlist" ItemsSource="{Binding SubDirectories}"
|
||||
RefreshCommand="{Binding RefreshCommand}" >
|
||||
<ListView.ItemTemplate >
|
||||
<DataTemplate>
|
||||
<ViewCell>
|
||||
<ViewCell.View>
|
||||
<StackLayout Orientation="Horizontal">
|
||||
<Label Text="{Binding Name}" />
|
||||
<Label Text="{Binding Size}" />
|
||||
<Label Text="{Binding CreationTime, StringFormat='créé {0:dddd d MMMM à HH:mm}'}" />
|
||||
<Label Text="{Binding LastModified, StringFormat='modifié {0:dddd d MMMM à HH:mm}'}" />
|
||||
</StackLayout>
|
||||
</ViewCell.View>
|
||||
</ViewCell>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
</ListView>
|
||||
<ListView x:Name="filelist" ItemsSource="{Binding FileInfo}"
|
||||
RefreshCommand="{Binding RefreshCommand}">
|
||||
<ListView.ItemTemplate >
|
||||
<DataTemplate>
|
||||
<ViewCell>
|
||||
<ViewCell.View>
|
||||
<Label Text="{Binding .}" />
|
||||
</ViewCell.View>
|
||||
</ViewCell>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
</ListView>
|
||||
x:Class="BookAStar.Pages.UserProfile.UserFiles"
|
||||
Style="{StaticResource PageStyle}">
|
||||
<ScrollView>
|
||||
<StackLayout>
|
||||
<StackLayout Orientation="Horizontal">
|
||||
<Label Text="Dossiers:" />
|
||||
<Label Text="{Binding UserName}" HorizontalOptions="Start" />
|
||||
<Label Text="{Binding SubPath}" HorizontalOptions="Start" />
|
||||
</StackLayout>
|
||||
<ListView x:Name="filelist" ItemsSource="{Binding SubDirectories}"
|
||||
RefreshCommand="{Binding RefreshCommand}"
|
||||
SeparatorVisibility="Default"
|
||||
VerticalOptions="Start">
|
||||
<ListView.ItemTemplate >
|
||||
<DataTemplate>
|
||||
<ViewCell>
|
||||
<ViewCell.View>
|
||||
<Label Text="{Binding .}" />
|
||||
</ViewCell.View>
|
||||
</ViewCell>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
</ListView>
|
||||
<ListView x:Name="dirlist" ItemsSource="{Binding FileInfo}"
|
||||
RefreshCommand="{Binding RefreshCommand}"
|
||||
SeparatorVisibility="Default"
|
||||
VerticalOptions="Start" >
|
||||
<ListView.ItemTemplate >
|
||||
<DataTemplate>
|
||||
<ViewCell>
|
||||
<ViewCell.View>
|
||||
<StackLayout Orientation="Horizontal">
|
||||
<Label Text="{Binding Name}" />
|
||||
<Label Text="{Binding Size, StringFormat='{0}b'}" />
|
||||
<Label Text="{Binding CreationTime, StringFormat='créé {0:dddd d MMMM à HH:mm}'}" />
|
||||
<Label Text="{Binding LastModified, StringFormat='modifié {0:dddd d MMMM à HH:mm}'}" />
|
||||
</StackLayout>
|
||||
</ViewCell.View>
|
||||
</ViewCell>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
</ListView>
|
||||
|
||||
</StackLayout>
|
||||
</ScrollView>
|
||||
</ContentPage>
|
@ -0,0 +1,7 @@
|
||||
<?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="BookAStar.Pages.UserProfile.UserProfilePage">
|
||||
<Label Text="{Binding UserName}" VerticalOptions="Center" HorizontalOptions="Center" />
|
||||
|
||||
</ContentPage>
|
Loading…
Reference in New Issue