123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <Window x:Class="fisp.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:busyIndicator="https://github.com/moh3ngolshani/BusyIndicator"
- mc:Ignorable="d"
- Title="FLYINSONO PUBLISH TOOL" Height="200" Width="640" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Loaded="OnLoaded">
- <busyIndicator:BusyMask x:Name="BusyIndicator"
- IsBusy="False"
- IndicatorType="ThreeDots"
- BusyContent="Please wait..."
- BusyContentMargin="0,20,0,0"
- IsBusyAtStartup="False" >
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="40" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
- <Button Grid.Row="0" x:Name="ButtonMaintenance" Content="Maintenance" Margin="8,8,8,8" Click="OnMaintenanceClick"></Button>
- <StackPanel Margin="8" Grid.Row="1" Orientation="Horizontal">
- <TextBlock Margin="0,4,4,4" Text="Target: " FontSize="14"></TextBlock>
- <ComboBox x:Name="ComboBoxChannel" Width="100" SelectedValue="Embedded" Height="32" Margin="0,0,8,0" Padding="4,4,4,4" VerticalContentAlignment="Center" SelectionChanged="OnChannelSelectionChanged">
- <ComboBoxItem Content="Embedded"></ComboBoxItem>
- <ComboBoxItem Content="Public" ></ComboBoxItem>
- </ComboBox>
- <TextBlock VerticalAlignment="Center" Text="Folder:" FontSize="14"/>
- <TextBox x:Name="SourceFolder" Height="32" Margin="8,0,0,0" Width="300" IsReadOnly="True" VerticalContentAlignment="Center" Padding="2" FontSize="14"/>
- <Button x:Name="ButtonChooseSourceFolder" Content="..." Width="64" Click="OnChooseSourceFolderClick"/>
- </StackPanel>
- <StackPanel Grid.Row="2" Margin="8" Orientation="Horizontal">
- <TextBlock Margin="16,0,0,0" VerticalAlignment="Center" Text="Package Name:" FontSize="14"/>
- <TextBox x:Name="PackageName" Margin="6" BorderBrush="Transparent" BorderThickness="0" IsReadOnly="true" Text="0.0.0.0" Foreground="YellowGreen" FontSize="18" TextChanged="OnPackageNameChanged"/>
- <Button x:Name="ButtonPackage" Content="Package" FontSize="14" Margin="8,0,8,0" Click="OnPackageClick"></Button>
- <TextBlock x:Name="PackageConsole" Visibility="Collapsed" VerticalAlignment="Center" />
- </StackPanel>
- <!--CDN上传部分 Start-->
- <Grid Grid.Row="3" x:Name="GridPublish" Visibility="Collapsed">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
- <Grid Margin="8" Grid.Row="0">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="16"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <TextBlock Grid.Row="0" Text="Uploading Progress" FontSize="18" FontWeight="Bold"/>
- <StackPanel Grid.Row="1">
- <TextBlock Margin="0,4,4,4" x:Name="UploadingProgressText"/>
- <ProgressBar x:Name="UploadingProgress" Height="36" VerticalAlignment="Center"/>
- </StackPanel>
- <TextBlock Grid.Row="3" Text="Total Progress" FontSize="18" FontWeight="Bold"/>
- <StackPanel Grid.Row="4">
- <TextBlock Margin="0,4,4,4" x:Name="TotalProgressText"/>
- <ProgressBar x:Name="TotalProgress" Height="36" VerticalAlignment="Center"/>
- </StackPanel>
- </Grid>
- <TextBox Grid.Row="1" x:Name="PublishUrl" Margin="6" BorderBrush="Transparent" BorderThickness="0" IsReadOnly="true" Text="https://app.fis.plus/flyinsono20230711/" Foreground="Blue" FontSize="18"/>
- <Button Grid.Row="2" x:Name="ButtonPublish" Height="48" Margin="8" Content="PUBLISH" VerticalAlignment="Center" FontSize="24" FontWeight="Bold" Click="OnPlulishClick"/>
- </Grid>
- <!--CDN上传部分 End-->
- </Grid>
- </busyIndicator:BusyMask>
- </Window>
|