<Page
    x:Class="uplink.NET.Sample.Shared.Pages.CreateBucketPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:uplink.NET.Sample.Shared.Pages"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <Grid>
        <StackPanel Margin="0,20,0,20" MaxWidth="700">
            <StackPanel Margin="10,10,10,0" Padding="10,10,10,0">
                <StackPanel Orientation="Vertical">
                    <TextBlock Text="Bucket-Name" Foreground="{StaticResource StorjColor}"/>
                    <TextBox x:Name="BucketName" Text="{x:Bind _vm.BucketName, Mode=TwoWay}" BorderBrush="{StaticResource StorjColor}"
                             CharacterCasing="Lower"/>
                </StackPanel>
            </StackPanel>
            <StackPanel Margin="0,10" HorizontalAlignment="Center" Orientation="Horizontal">
                <Button Content="Create" Command="{x:Bind _vm.SaveBucketCommand}" CommandParameter="{Binding}" Background="{StaticResource StorjBlue}" Foreground="White" Margin="2"/>
                <Button Content="Cancel" Command="{x:Bind _vm.GoBackCommand}" Background="{StaticResource StorjBlue}" Foreground="White" Margin="2"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</Page>
