feat: implement modern admin studio with live AD, NetApp, MS SQL connectivity and comprehensive docs

This commit is contained in:
2026-10-20 16:13:34 +09:00
commit ccc1b47dfd
19 changed files with 3533 additions and 0 deletions
+217
View File
@@ -0,0 +1,217 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Color Palette -->
<Color x:Key="BgDarkColor">#0F172A</Color>
<Color x:Key="SidebarBgColor">#090D16</Color>
<Color x:Key="CardBgColor">#1E293B</Color>
<Color x:Key="CardBorderColor">#334155</Color>
<Color x:Key="PrimaryAccentColor">#3B82F6</Color>
<Color x:Key="PrimaryAccentHoverColor">#60A5FA</Color>
<Color x:Key="TextPrimaryColor">#F8FAFC</Color>
<Color x:Key="TextSecondaryColor">#94A3B8</Color>
<Color x:Key="SuccessColor">#10B981</Color>
<Color x:Key="WarningColor">#F59E0B</Color>
<Color x:Key="DangerColor">#EF4444</Color>
<!-- SolidColorBrushes -->
<SolidColorBrush x:Key="BgDarkBrush" Color="{StaticResource BgDarkColor}" />
<SolidColorBrush x:Key="SidebarBgBrush" Color="{StaticResource SidebarBgColor}" />
<SolidColorBrush x:Key="CardBgBrush" Color="{StaticResource CardBgColor}" />
<SolidColorBrush x:Key="CardBorderBrush" Color="{StaticResource CardBorderColor}" />
<SolidColorBrush x:Key="PrimaryAccentBrush" Color="{StaticResource PrimaryAccentColor}" />
<SolidColorBrush x:Key="PrimaryAccentHoverBrush" Color="{StaticResource PrimaryAccentHoverColor}" />
<SolidColorBrush x:Key="TextPrimaryBrush" Color="{StaticResource TextPrimaryColor}" />
<SolidColorBrush x:Key="TextSecondaryBrush" Color="{StaticResource TextSecondaryColor}" />
<SolidColorBrush x:Key="SuccessBrush" Color="{StaticResource SuccessColor}" />
<SolidColorBrush x:Key="WarningBrush" Color="{StaticResource WarningColor}" />
<SolidColorBrush x:Key="DangerBrush" Color="{StaticResource DangerColor}" />
<!-- Default Font -->
<FontFamily x:Key="ModernFont">Segoe UI, Apple SD Gothic Neo, Malgun Gothic</FontFamily>
<FontFamily x:Key="IconFont">Segoe MDL2 Assets, Segoe Fluent Icons</FontFamily>
<!-- Nav Button Style -->
<Style x:Key="NavButtonStyle" TargetType="RadioButton">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="{StaticResource TextSecondaryBrush}" />
<Setter Property="Height" Value="46" />
<Setter Property="Margin" Value="0,2,0,2" />
<Setter Property="Cursor" Value="Hand" />
<Setter Property="FontFamily" Value="{StaticResource ModernFont}" />
<Setter Property="FontSize" Value="13.5" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="RadioButton">
<Border x:Name="border"
Background="{TemplateBinding Background}"
CornerRadius="8"
Padding="12,0"
Margin="8,2">
<Grid>
<!-- Active Accent Indicator -->
<Rectangle x:Name="indicator"
Width="3.5"
Height="18"
HorizontalAlignment="Left"
Fill="{StaticResource PrimaryAccentBrush}"
RadiusX="2" RadiusY="2"
Visibility="Collapsed" />
<ContentPresenter Margin="8,0,0,0"
VerticalAlignment="Center"
RecognizesAccessKey="False" />
</Grid>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="border" Property="Background" Value="#1A2B4C" />
<Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}" />
</Trigger>
<Trigger Property="IsChecked" Value="True">
<Setter TargetName="border" Property="Background" Value="#1E3A8A" />
<Setter Property="Foreground" Value="#FFFFFF" />
<Setter TargetName="indicator" Property="Visibility" Value="Visible" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Modern Action Button -->
<Style x:Key="PrimaryButtonStyle" TargetType="Button">
<Setter Property="Background" Value="{StaticResource PrimaryAccentBrush}" />
<Setter Property="Foreground" Value="#FFFFFF" />
<Setter Property="FontFamily" Value="{StaticResource ModernFont}" />
<Setter Property="FontSize" Value="13" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="Padding" Value="16,8" />
<Setter Property="Cursor" Value="Hand" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="btnBorder"
Background="{TemplateBinding Background}"
CornerRadius="6"
Padding="{TemplateBinding Padding}">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="btnBorder" Property="Background" Value="{StaticResource PrimaryAccentHoverBrush}" />
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter TargetName="btnBorder" Property="Background" Value="#2563EB" />
</Trigger>
<Trigger Property="IsEnabled" Value="False">
<Setter TargetName="btnBorder" Property="Background" Value="#334155" />
<Setter Property="Foreground" Value="#64748B" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="SecondaryButtonStyle" TargetType="Button">
<Setter Property="Background" Value="#334155" />
<Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}" />
<Setter Property="FontFamily" Value="{StaticResource ModernFont}" />
<Setter Property="FontSize" Value="13" />
<Setter Property="FontWeight" Value="Medium" />
<Setter Property="Padding" Value="14,7" />
<Setter Property="Cursor" Value="Hand" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="BorderBrush" Value="#475569" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="btnBorder"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="6"
Padding="{TemplateBinding Padding}">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="btnBorder" Property="Background" Value="#475569" />
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter TargetName="btnBorder" Property="Background" Value="#1E293B" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Modern TextBox Style -->
<Style x:Key="ModernTextBoxStyle" TargetType="TextBox">
<Setter Property="Background" Value="#0F172A" />
<Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}" />
<Setter Property="BorderBrush" Value="{StaticResource CardBorderBrush}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Padding" Value="10,6" />
<Setter Property="FontFamily" Value="{StaticResource ModernFont}" />
<Setter Property="FontSize" Value="13" />
<Setter Property="CaretBrush" Value="{StaticResource PrimaryAccentBrush}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="TextBox">
<Border x:Name="border"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="6">
<ScrollViewer x:Name="PART_ContentHost"
Margin="2"
VerticalAlignment="Center" />
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsFocused" Value="True">
<Setter TargetName="border" Property="BorderBrush" Value="{StaticResource PrimaryAccentBrush}" />
</Trigger>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="border" Property="BorderBrush" Value="{StaticResource PrimaryAccentHoverBrush}" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Modern Card Container Style -->
<Style x:Key="ModernCardStyle" TargetType="Border">
<Setter Property="Background" Value="{StaticResource CardBgBrush}" />
<Setter Property="BorderBrush" Value="{StaticResource CardBorderBrush}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="CornerRadius" Value="10" />
<Setter Property="Padding" Value="18" />
<Setter Property="Margin" Value="6" />
</Style>
<!-- Modern DataGrid Style -->
<Style x:Key="ModernDataGridStyle" TargetType="DataGrid">
<Setter Property="Background" Value="{StaticResource CardBgBrush}" />
<Setter Property="BorderBrush" Value="{StaticResource CardBorderBrush}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}" />
<Setter Property="RowBackground" Value="Transparent" />
<Setter Property="AlternatingRowBackground" Value="#162032" />
<Setter Property="GridLinesVisibility" Value="Horizontal" />
<Setter Property="HorizontalGridLinesBrush" Value="#2D3748" />
<Setter Property="VerticalGridLinesBrush" Value="Transparent" />
<Setter Property="AutoGenerateColumns" Value="False" />
<Setter Property="CanUserAddRows" Value="False" />
<Setter Property="CanUserResizeRows" Value="False" />
<Setter Property="HeadersVisibility" Value="Column" />
<Setter Property="SelectionMode" Value="Single" />
<Setter Property="FontFamily" Value="{StaticResource ModernFont}" />
<Setter Property="FontSize" Value="12.5" />
</Style>
</ResourceDictionary>