aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml
blob: fe8b4bdef5af2ac5d1cac0ca3732c2b67c0e6420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<UserControl x:Class="Tango.AzureUtils.UI.Controls.WebAppPropertiesControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI"
             xmlns:azure="clr-namespace:Microsoft.Azure.Management.AppService.Fluent;assembly=Microsoft.Azure.Management.AppService.Fluent"
             xmlns:local="clr-namespace:Tango.AzureUtils.UI.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800" d:DataContext="{d:DesignInstance Type=azure:IWebAppBase, IsDesignTimeCreatable=False}" x:Name="control" >
    <Grid>
        <StackPanel TextElement.FontSize="10">
            <controls:TableGrid RowHeight="30">
                <TextBlock FontWeight="SemiBold">ADDRESS:</TextBlock>
                <ItemsControl ItemsSource="{Binding ElementName=control,Path=HostNames}"/>

                <TextBlock FontWeight="SemiBold">REGION:</TextBlock>
                <TextBlock Text="{Binding RegionName}"></TextBlock>

                <TextBlock FontWeight="SemiBold">HTTPS ONLY:</TextBlock>
                <TextBlock Text="{Binding HttpsOnly}"></TextBlock>

                <TextBlock FontWeight="SemiBold">REMOTE DEBUGGING:</TextBlock>
                <TextBlock Text="{Binding Converter={StaticResource IWebAppPropertyToStringConverter},ConverterParameter='RemoteDebuggingEnabled'}"></TextBlock>

                <TextBlock FontWeight="SemiBold">STATE:</TextBlock>
                <TextBlock Text="{Binding Converter={StaticResource IWebAppPropertyToStringConverter},ConverterParameter='State'}"></TextBlock>

                <TextBlock FontWeight="SemiBold">DB_ADDRESS:</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=Settings.DB_ADDRESS}"></TextBlock>

                <TextBlock FontWeight="SemiBold">DB_CATALOG:</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=Settings.DB_CATALOG}"></TextBlock>

                <TextBlock FontWeight="SemiBold">DB_USER_NAME:</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=Settings.DB_USER_NAME}"></TextBlock>

                <TextBlock FontWeight="SemiBold">DEPLOYMENT_SLOT:</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=Settings.DEPLOYMENT_SLOT}"></TextBlock>

                <TextBlock FontWeight="SemiBold">ENFORCE_MACHINE_STUDIO_VERSION:</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=Settings.ENFORCE_MACHINE_STUDIO_VERSION}"></TextBlock>

                <TextBlock FontWeight="SemiBold">ENVIRONMENT_GROUP:</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=Settings.ENVIRONMENT_GROUP}"></TextBlock>

                <TextBlock FontWeight="SemiBold">MACHINE_STUDIO_VERSIONS_CONTAINER:</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=Settings.MACHINE_STUDIO_VERSIONS_CONTAINER}"></TextBlock>

                <TextBlock FontWeight="SemiBold">STORAGE_ACCOUNT:</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=Settings.STORAGE_ACCOUNT}"></TextBlock>

                <TextBlock FontWeight="SemiBold">TANGO_VERSIONS_CONTAINER:</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=Settings.TANGO_VERSIONS_CONTAINER}"></TextBlock>

                <TextBlock FontWeight="SemiBold">Machine Studio Version:</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=MachineStudioVersion.Version}"></TextBlock>

                <TextBlock FontWeight="SemiBold">Tango Application Version:</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=TangoVersion.Version}"></TextBlock>

                <TextBlock FontWeight="SemiBold">Tango Firmware Version::</TextBlock>
                <TextBlock Text="{Binding ElementName=control,Path=TangoVersion.FirmwareVersion}"></TextBlock>
            </controls:TableGrid>
        </StackPanel>

        <ProgressBar VerticalAlignment="Bottom" Height="5" Background="Transparent" BorderThickness="0" Foreground="Silver" IsIndeterminate="{Binding ElementName=control,Path=IsBusy}"></ProgressBar>
    </Grid>
</UserControl>