test navbar
This commit is contained in:
86
Apollon.WPF/Views/Components/TournamentDetails.xaml
Normal file
86
Apollon.WPF/Views/Components/TournamentDetails.xaml
Normal file
@@ -0,0 +1,86 @@
|
||||
<UserControl x:Class="Apollon.WPF.Views.Components.TournamentDetails"
|
||||
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:local="clr-namespace:Apollon.WPF.Views.Components"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="100" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition MaxWidth="650"/>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Image Grid.Column="0"
|
||||
Source="D:\Projekte\Apollon\Apollon\Apollon.WPF\Images\Logos\logo_klein_DSB.jpg"
|
||||
Width="80"
|
||||
VerticalAlignment="Center"/>
|
||||
<StackPanel Grid.Column="1">
|
||||
<WrapPanel HorizontalAlignment="Center">
|
||||
<TextBlock Text="Organisation"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="16"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
<TextBlock Text="TournamentName"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="16"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel HorizontalAlignment="Center">
|
||||
<TextBlock Text="Competition"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
<TextBlock Text="Location"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
<TextBlock Text="vom"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
<TextBlock Text="StartDate"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
<TextBlock Text="bis"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
<TextBlock Text="EndDate"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
</WrapPanel>
|
||||
</StackPanel>
|
||||
<Image Grid.Column="2"
|
||||
Source="D:\Projekte\Apollon\Apollon\Apollon.WPF\Images\TargetField.png"
|
||||
Width="70"
|
||||
VerticalAlignment="Center"/>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
28
Apollon.WPF/Views/Components/TournamentDetails.xaml.cs
Normal file
28
Apollon.WPF/Views/Components/TournamentDetails.xaml.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace Apollon.WPF.Views.Components
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for TournamentDetails.xaml
|
||||
/// </summary>
|
||||
public partial class TournamentDetails : UserControl
|
||||
{
|
||||
public TournamentDetails()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,8 +7,7 @@
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<Border BorderThickness="4"
|
||||
BorderBrush="#0000a0"
|
||||
<Border BorderThickness="2"
|
||||
CornerRadius="5"
|
||||
Grid.RowSpan="2"
|
||||
Grid.ColumnSpan="3">
|
||||
|
||||
@@ -4,11 +4,43 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:Apollon.WPF.Views"
|
||||
xmlns:components="clr-namespace:Apollon.WPF.Views.Components"
|
||||
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<TextBlock Text="Navbar"
|
||||
FontSize="35"
|
||||
Padding="100"/>
|
||||
<Grid Margin="45">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="100"/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="150"/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Button Width="35"
|
||||
Height="35"
|
||||
Background="Transparent"
|
||||
BorderThickness="0"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="5">
|
||||
<iconPacks:PackIconMaterial Kind="ArrowLeft"
|
||||
Height="25"
|
||||
Width="35"
|
||||
Foreground="#0000a0"/>
|
||||
</Button>
|
||||
|
||||
<components:TournamentDetails Grid.Column="1"/>
|
||||
<StackPanel Grid.Row="1">
|
||||
<Button Height="45"
|
||||
Background="Transparent"/>
|
||||
<Button Height="45"
|
||||
Background="Transparent"/>
|
||||
<Button Height="45"
|
||||
Background="Transparent"/>
|
||||
<Button Height="45"
|
||||
Background="Transparent"/>
|
||||
</StackPanel>
|
||||
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
Reference in New Issue
Block a user