49 lines
2.1 KiB
XML
49 lines
2.1 KiB
XML
<Window xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
x:Class="ChronoFlow.View.Admin.ProjektBearbeitenDialog"
|
|
Width="600" Height="700"
|
|
MinWidth="500" MinHeight="650"
|
|
Title="Projekt bearbeiten">
|
|
|
|
<ScrollViewer>
|
|
<StackPanel Margin="25" Spacing="15">
|
|
|
|
<!-- Eingabefelder -->
|
|
<TextBlock Text="Projektname:" />
|
|
<TextBox x:Name="ProjektnameBox" />
|
|
|
|
<TextBlock Text="Kommentar:" />
|
|
<TextBox x:Name="KommentarBox" AcceptsReturn="True" Height="80" />
|
|
|
|
<TextBlock Text="Mitarbeiter auswählen:" />
|
|
<ComboBox x:Name="MitarbeiterDropdown" />
|
|
|
|
<TextBlock Text="Startdatum:" />
|
|
<DatePicker x:Name="StartzeitPicker" />
|
|
|
|
<TextBlock Text="Enddatum:" />
|
|
<DatePicker x:Name="EndzeitPicker" />
|
|
|
|
<!-- Hinweisbereich farblich und visuell getrennt -->
|
|
<Border Background="#111111" CornerRadius="5" Padding="10" Margin="0,10,0,0">
|
|
<StackPanel Spacing="5">
|
|
<StackPanel Orientation="Horizontal" Spacing="5">
|
|
<TextBlock Text="🛈" FontWeight="Bold" />
|
|
<TextBlock Text="Hinweise zur Deadline-Anzeige:" FontWeight="Bold" />
|
|
</StackPanel>
|
|
<TextBlock Text="• Grün: Noch mehr als 7 Tage bis zur Deadline" />
|
|
<TextBlock Text="• Orange: Weniger als 7 Tage bis zur Deadline" />
|
|
<TextBlock Text="• Rot: Weniger als 3 Tage bis zur Deadline oder bereits abgelaufen" />
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
<!-- Buttons -->
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Spacing="20" Margin="0,15,0,0">
|
|
<Button Content="✅ Speichern" Width="120" Click="SpeichernButton_Click" />
|
|
<Button Content="❌ Abbrechen" Width="130" Click="AbbrechenButton_Click" />
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</Window>
|