Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 1 | <!-- **********************************************************************
|
| 2 | * Copyright (C) 2016 by Savoir-faire Linux *
|
| 3 | * Author: Jäger Nicolas<nicolas.jager@savoirfairelinux.com> *
|
| 4 | * *
|
| 5 | * This program is free software; you can redistribute it and/or modify *
|
| 6 | * it under the terms of the GNU General Public License as published by *
|
| 7 | * the Free Software Foundation; either version 3 of the License, or *
|
| 8 | * (at your option) any later version. *
|
| 9 | * *
|
| 10 | * This program is distributed in the hope that it will be useful, *
|
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
| 13 | * GNU General Public License for more details. *
|
| 14 | * *
|
| 15 | * You should have received a copy of the GNU General Public License *
|
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/> . *
|
| 17 | *********************************************************************** -->
|
| 18 | <Page x:Class="RingClientUWP.MainPage"
|
| 19 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
| 20 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
| 21 | xmlns:local="using:RingClientUWP"
|
| 22 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
| 23 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
| 24 | mc:Ignorable="d">
|
| 25 |
|
Nicolas Jager | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 26 | <Grid>
|
| 27 | <Grid.RowDefinitions>
|
| 28 | <RowDefinition Height="32"/>
|
| 29 | <RowDefinition Height="*"/>
|
| 30 | </Grid.RowDefinitions>
|
| 31 | <Grid Canvas.ZIndex="2" Grid.Row="0" Background="LightBlue">
|
| 32 | <Grid.ColumnDefinitions>
|
| 33 | <ColumnDefinition Width="50"/>
|
| 34 | <ColumnDefinition Width="*"/>
|
| 35 | </Grid.ColumnDefinitions>
|
| 36 | <!-- hamburger button. -->
|
| 37 | <Button x:Name="_toggleSmartBoxButton_"
|
| 38 | Grid.Row="0"
|
| 39 | Content=""
|
| 40 | Click="_toggleSmartBoxButton__Click"
|
| 41 | HorizontalAlignment="Center"
|
| 42 | Style="{StaticResource ButtonStyle2}"/>
|
| 43 | <!-- _titleBar_ is used to move the window. -->
|
| 44 | <Rectangle x:Name="_titleBar_"
|
| 45 | Grid.Column="1"
|
| 46 | Height="32"
|
| 47 | VerticalAlignment="Top"
|
| 48 | Fill="Transparent"/>
|
| 49 | </Grid>
|
| 50 | <SplitView x:Name="_outerSplitView_"
|
| 51 | Grid.Row="1"
|
| 52 | IsPaneOpen="False">
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 53 | <SplitView.Pane>
|
| 54 | <Frame x:Name="_consolePanel_"/>
|
| 55 | </SplitView.Pane>
|
| 56 | <SplitView.Content>
|
| 57 | <SplitView x:Name="_innerSplitView_"
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 58 | IsPaneOpen="True"
|
| 59 | CompactPaneLength="60"
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 60 | DisplayMode="CompactInline">
|
| 61 | <SplitView.Pane>
|
| 62 | <Frame x:Name="_smartPanel_"/>
|
| 63 | </SplitView.Pane>
|
| 64 | <SplitView.Content>
|
Nicolas Jager | 8a85e1f | 2016-08-15 15:11:06 -0400 | [diff] [blame] | 65 | <Grid x:Name="_navGrid_">
|
| 66 | <Grid.RowDefinitions>
|
| 67 | <!-- stores the hidden frames. -->
|
| 68 | <RowDefinition Height="0"/>
|
| 69 | <!-- nesting the showed frame. -->
|
| 70 | <RowDefinition Height="*"/>
|
| 71 | </Grid.RowDefinitions>
|
| 72 | <Frame x:Name="_welcomeFrame_"
|
| 73 | Grid.Row="1"
|
| 74 | Visibility="Visible"/>
|
| 75 | <Frame x:Name="_messageTextFrame_"
|
| 76 | Grid.Row="0"
|
| 77 | Visibility="Visible"/>
|
| 78 | <Frame x:Name="_videoFrame_"
|
| 79 | Grid.Row="0"
|
| 80 | Visibility="Visible"/>
|
| 81 | </Grid>
|
| 82 | </SplitView.Content>
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 83 | </SplitView>
|
| 84 | </SplitView.Content>
|
| 85 | </SplitView>
|
Nicolas Jager | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 86 | </Grid>
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 87 | </Page>
|