blob: ba9061dac854d998ae6fc4247910cb182070d725 [file] [log] [blame]
Nicolas Jager998fbd72016-08-08 11:41:28 -04001<!-- **********************************************************************
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 Jager15861202016-08-12 11:13:05 -040026 <Grid>
27 <Grid.RowDefinitions>
28 <RowDefinition Height="32"/>
29 <RowDefinition Height="*"/>
30 </Grid.RowDefinitions>
atraczyk0cf42d72016-09-06 11:16:37 -040031 <Grid x:Name="_hamburgerButtonBar_"
32 Canvas.ZIndex="2"
33 Grid.Row="0"
34 Background="LightBlue"
35 Width="320"
36 HorizontalAlignment="Left">
Nicolas Jager15861202016-08-12 11:13:05 -040037 <Grid.ColumnDefinitions>
atraczyk0cf42d72016-09-06 11:16:37 -040038 <ColumnDefinition Width="60"/>
Nicolas Jager15861202016-08-12 11:13:05 -040039 </Grid.ColumnDefinitions>
40 <!-- hamburger button. -->
41 <Button x:Name="_toggleSmartBoxButton_"
42 Grid.Row="0"
43 Content="&#xE700;"
44 Click="_toggleSmartBoxButton__Click"
45 HorizontalAlignment="Center"
atraczyk0cf42d72016-09-06 11:16:37 -040046 Style="{StaticResource HamburgerButtonStyle}"/>
Nicolas Jager15861202016-08-12 11:13:05 -040047 </Grid>
48 <SplitView x:Name="_outerSplitView_"
49 Grid.Row="1"
50 IsPaneOpen="False">
Nicolas Jager998fbd72016-08-08 11:41:28 -040051 <SplitView.Pane>
52 <Frame x:Name="_consolePanel_"/>
53 </SplitView.Pane>
54 <SplitView.Content>
55 <SplitView x:Name="_innerSplitView_"
Nicolas Jagerbff5fbb2016-08-18 08:58:56 -040056 IsPaneOpen="True"
57 CompactPaneLength="60"
Nicolas Jager998fbd72016-08-08 11:41:28 -040058 DisplayMode="CompactInline">
59 <SplitView.Pane>
60 <Frame x:Name="_smartPanel_"/>
61 </SplitView.Pane>
62 <SplitView.Content>
Nicolas Jager8a85e1f2016-08-15 15:11:06 -040063 <Grid x:Name="_navGrid_">
64 <Grid.RowDefinitions>
65 <!-- stores the hidden frames. -->
66 <RowDefinition Height="0"/>
67 <!-- nesting the showed frame. -->
68 <RowDefinition Height="*"/>
69 </Grid.RowDefinitions>
70 <Frame x:Name="_welcomeFrame_"
71 Grid.Row="1"
72 Visibility="Visible"/>
73 <Frame x:Name="_messageTextFrame_"
74 Grid.Row="0"
75 Visibility="Visible"/>
76 <Frame x:Name="_videoFrame_"
77 Grid.Row="0"
78 Visibility="Visible"/>
79 </Grid>
80 </SplitView.Content>
Nicolas Jager998fbd72016-08-08 11:41:28 -040081 </SplitView>
82 </SplitView.Content>
83 </SplitView>
Nicolas Jager15861202016-08-12 11:13:05 -040084 </Grid>
Nicolas Jager998fbd72016-08-08 11:41:28 -040085</Page>