|
30 | 30 |
|
31 | 31 | <Grid Grid.Column="0" Background="#1E2931"> |
32 | 32 | <Grid.RowDefinitions> |
| 33 | + <RowDefinition Height="auto"/> |
33 | 34 | <RowDefinition Height="auto"/> |
34 | 35 | <RowDefinition Height="auto"/> |
35 | 36 | <RowDefinition Height="*"/> |
|
61 | 62 | </StackPanel> |
62 | 63 | </Border> |
63 | 64 |
|
| 65 | + <!-- LOGOUT / SETTINGS BUTTONS --> |
| 66 | + <Grid Grid.Row="1" Margin="0, 0, 0, 20"> |
| 67 | + <Grid.ColumnDefinitions> |
| 68 | + <ColumnDefinition Width="50*"/> |
| 69 | + <ColumnDefinition Width="50*"/> |
| 70 | + </Grid.ColumnDefinitions> |
| 71 | + |
| 72 | + <Button |
| 73 | + Grid.Column="0" |
| 74 | + |
| 75 | + FontSize="16" |
| 76 | + FontFamily="{StaticResource Lato}" |
| 77 | + FontWeight="Regular" |
| 78 | + Foreground="White" |
| 79 | + |
| 80 | + BorderBrush="#FFFFFF" |
| 81 | + BorderThickness="2" |
| 82 | + |
| 83 | + Command="{Binding SettingsCommand}"> |
| 84 | + <Button.Style> |
| 85 | + <Style TargetType="{x:Type Button}"> |
| 86 | + <Setter Property="Background" Value="#1C262E"/> |
| 87 | + <Setter Property="BorderBrush" Value="Red"/> |
| 88 | + <Setter Property="BorderThickness" Value="2"/> |
| 89 | + <Setter Property="Template"> |
| 90 | + <Setter.Value> |
| 91 | + <ControlTemplate TargetType="{x:Type Button}"> |
| 92 | + <Border Background="{TemplateBinding Background}" Padding="10"> |
| 93 | + <ContentPresenter HorizontalAlignment="Stretch" VerticalAlignment="Center"/> |
| 94 | + </Border> |
| 95 | + </ControlTemplate> |
| 96 | + </Setter.Value> |
| 97 | + </Setter> |
| 98 | + <Style.Triggers> |
| 99 | + <Trigger Property="IsMouseOver" Value="True"> |
| 100 | + <Setter Property="Background" Value="#414E58"/> |
| 101 | + </Trigger> |
| 102 | + </Style.Triggers> |
| 103 | + </Style> |
| 104 | + </Button.Style> |
| 105 | + <Grid> |
| 106 | + <Grid.ColumnDefinitions> |
| 107 | + <ColumnDefinition Width="35"/> |
| 108 | + <ColumnDefinition Width="*"/> |
| 109 | + </Grid.ColumnDefinitions> |
| 110 | + |
| 111 | + <Image Grid.Column="0" Source="/Assets/Icons/settings.png" Width="20" HorizontalAlignment="Left"/> |
| 112 | + <TextBlock |
| 113 | + Grid.Column="1" |
| 114 | + Text="Settings" |
| 115 | + |
| 116 | + FontSize="16" |
| 117 | + FontFamily="{StaticResource Lato}" |
| 118 | + FontWeight="Regular" |
| 119 | + Foreground="White"/> |
| 120 | + </Grid> |
| 121 | + </Button> |
| 122 | + |
| 123 | + <Button |
| 124 | + Grid.Column="1" |
| 125 | + |
| 126 | + FontSize="16" |
| 127 | + FontFamily="{StaticResource Lato}" |
| 128 | + FontWeight="Regular" |
| 129 | + Foreground="White" |
| 130 | + |
| 131 | + BorderBrush="#FFFFFF" |
| 132 | + BorderThickness="2" |
| 133 | + |
| 134 | + Command="{Binding LogoutCommand}"> |
| 135 | + <Button.Style> |
| 136 | + <Style TargetType="{x:Type Button}"> |
| 137 | + <Setter Property="Background" Value="#1C262E"/> |
| 138 | + <Setter Property="Template"> |
| 139 | + <Setter.Value> |
| 140 | + <ControlTemplate TargetType="{x:Type Button}"> |
| 141 | + <Border Background="{TemplateBinding Background}" Padding="10"> |
| 142 | + <ContentPresenter HorizontalAlignment="Stretch" VerticalAlignment="Center"/> |
| 143 | + </Border> |
| 144 | + </ControlTemplate> |
| 145 | + </Setter.Value> |
| 146 | + </Setter> |
| 147 | + <Style.Triggers> |
| 148 | + <Trigger Property="IsMouseOver" Value="True"> |
| 149 | + <Setter Property="Background" Value="#414E58"/> |
| 150 | + </Trigger> |
| 151 | + </Style.Triggers> |
| 152 | + </Style> |
| 153 | + </Button.Style> |
| 154 | + <Grid> |
| 155 | + <Grid.ColumnDefinitions> |
| 156 | + <ColumnDefinition Width="35"/> |
| 157 | + <ColumnDefinition Width="*"/> |
| 158 | + </Grid.ColumnDefinitions> |
| 159 | + |
| 160 | + <Image Grid.Column="0" Source="/Assets/Icons/logout.png" Width="20" HorizontalAlignment="Left"/> |
| 161 | + <TextBlock |
| 162 | + Grid.Column="1" |
| 163 | + Text="Logout" |
| 164 | + |
| 165 | + FontSize="16" |
| 166 | + FontFamily="{StaticResource Lato}" |
| 167 | + FontWeight="Regular" |
| 168 | + Foreground="White"/> |
| 169 | + </Grid> |
| 170 | + </Button> |
| 171 | + </Grid> |
| 172 | + |
64 | 173 | <!--SEARCH INPUT--> |
65 | 174 | <!--<StackPanel |
66 | 175 | Grid.Row="1" |
|
70 | 179 |
|
71 | 180 | <TextBox |
72 | 181 | Text="Search..." |
73 | | - Grid.Row="1" |
| 182 | + Grid.Row="2" |
74 | 183 |
|
75 | 184 | FontSize="16" |
76 | 185 | FontFamily="{StaticResource Lato}" |
|
88 | 197 | </TextBox> |
89 | 198 |
|
90 | 199 | <!-- LOGOUT / SETTINGS POPUP --> |
91 | | - <Canvas HorizontalAlignment="Center"> |
| 200 | + <!--<Canvas HorizontalAlignment="Center"> |
92 | 201 | <Canvas.Style> |
93 | 202 | <Style TargetType="Canvas"> |
94 | 203 | <Setter Property="Visibility" Value="Hidden"/> |
|
183 | 292 | </Grid> |
184 | 293 | </Button> |
185 | 294 | </Grid> |
186 | | - </Canvas> |
| 295 | + </Canvas>--> |
187 | 296 |
|
188 | 297 | <!--CATEGORY LIST--> |
189 | 298 | <ListBox |
190 | 299 | x:Name="DriveListBox" |
191 | | - Grid.Row="2" |
| 300 | + Grid.Row="3" |
192 | 301 |
|
193 | 302 | Background="Transparent" |
194 | 303 | BorderThickness="0" |
|
0 commit comments