mirror of
https://github.com/jackqqq123/luban_ui_internal.git
synced 2025-11-15 13:48:24 +08:00
feta: 新增知识库管理:
- Core新增Git项目管理,支持代理 - Knowledge新增知识库来源配置
This commit is contained in:
@@ -37,6 +37,10 @@
|
||||
Content="📚 知识库"
|
||||
Classes="navigation-button"
|
||||
Click="OnKnowledgeButtonClick"/>
|
||||
<Button Name="KnowledgeManageButton"
|
||||
Content="🔧 知识库管理"
|
||||
Classes="navigation-button"
|
||||
Click="OnKnowledgeManageButtonClick"/>
|
||||
<Button Name="ProjectButton"
|
||||
Content="📁 项目"
|
||||
Classes="navigation-button"
|
||||
@@ -167,6 +171,11 @@
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<!-- 知识库管理页面 -->
|
||||
<Grid Name="KnowledgeManagePanel" IsVisible="False">
|
||||
<views:KnowledgeSourceManagementView/>
|
||||
</Grid>
|
||||
|
||||
<!-- 安装页面 -->
|
||||
<Grid Name="InstallPanel" IsVisible="False">
|
||||
<StackPanel Margin="20">
|
||||
@@ -210,58 +219,81 @@
|
||||
|
||||
<!-- 设置页面 -->
|
||||
<Grid Name="SettingsPanel" IsVisible="False">
|
||||
<StackPanel Margin="{DynamicResource LargeMargin}">
|
||||
<TextBlock Text="⚙️ 设置"
|
||||
Classes="subheader"
|
||||
Foreground="{DynamicResource PrimaryTextBrush}"
|
||||
FontSize="20"
|
||||
Margin="0,0,0,20"/>
|
||||
|
||||
<StackPanel Margin="0,0,0,20">
|
||||
<TextBlock Text="下载目录"
|
||||
Classes="title"
|
||||
<ScrollViewer>
|
||||
<StackPanel Margin="{DynamicResource LargeMargin}">
|
||||
<TextBlock Text="⚙️ 设置"
|
||||
Classes="subheader"
|
||||
Foreground="{DynamicResource PrimaryTextBrush}"
|
||||
FontSize="14"
|
||||
Margin="0,0,0,5"/>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBox Grid.Column="0"
|
||||
Name="DownloadDirectoryTextBox"
|
||||
Background="{DynamicResource InputBackgroundBrush}"
|
||||
Foreground="{DynamicResource PrimaryTextBrush}"
|
||||
BorderBrush="{DynamicResource BorderBrush}"
|
||||
Margin="0,0,10,0"/>
|
||||
<Button Grid.Column="1"
|
||||
Content="浏览..."
|
||||
Classes="primary"
|
||||
Padding="{DynamicResource ButtonPadding}"
|
||||
Click="OnBrowseDownloadDirectoryClick"/>
|
||||
</Grid>
|
||||
<Button Content="🧪 测试其他模块下载"
|
||||
Margin="0,10,0,0"
|
||||
Padding="10,5"
|
||||
Click="OnTestModuleDownloadClick"/>
|
||||
FontSize="20"
|
||||
Margin="0,0,0,20"/>
|
||||
|
||||
<!-- 基本设置 -->
|
||||
<StackPanel Margin="0,0,0,30">
|
||||
<TextBlock Text="基本设置"
|
||||
Classes="title"
|
||||
Foreground="{DynamicResource PrimaryTextBrush}"
|
||||
FontSize="16"
|
||||
FontWeight="Bold"
|
||||
Margin="0,0,0,15"/>
|
||||
|
||||
<StackPanel Margin="0,0,0,20">
|
||||
<TextBlock Text="下载目录"
|
||||
Classes="title"
|
||||
Foreground="{DynamicResource PrimaryTextBrush}"
|
||||
FontSize="14"
|
||||
Margin="0,0,0,5"/>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBox Grid.Column="0"
|
||||
Name="DownloadDirectoryTextBox"
|
||||
Background="{DynamicResource InputBackgroundBrush}"
|
||||
Foreground="{DynamicResource PrimaryTextBrush}"
|
||||
BorderBrush="{DynamicResource BorderBrush}"
|
||||
Margin="0,0,10,0"/>
|
||||
<Button Grid.Column="1"
|
||||
Content="浏览..."
|
||||
Classes="primary"
|
||||
Padding="{DynamicResource ButtonPadding}"
|
||||
Click="OnBrowseDownloadDirectoryClick"/>
|
||||
</Grid>
|
||||
<Button Content="🧪 测试其他模块下载"
|
||||
Margin="0,10,0,0"
|
||||
Padding="10,5"
|
||||
Click="OnTestModuleDownloadClick"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel>
|
||||
<TextBlock Text="主题设置"
|
||||
Classes="title"
|
||||
Foreground="{DynamicResource PrimaryTextBrush}"
|
||||
FontSize="14"
|
||||
Margin="0,0,0,5"/>
|
||||
<ComboBox Name="ThemeComboBox"
|
||||
SelectedIndex="0"
|
||||
Width="200"
|
||||
HorizontalAlignment="Left"
|
||||
SelectionChanged="OnThemeComboBoxSelectionChanged">
|
||||
<ComboBoxItem Content="深色主题"/>
|
||||
<ComboBoxItem Content="浅色主题"/>
|
||||
</ComboBox>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
<!-- 模块配置 -->
|
||||
<StackPanel Margin="0,0,0,20">
|
||||
<TextBlock Text="模块配置"
|
||||
Classes="title"
|
||||
Foreground="{DynamicResource PrimaryTextBrush}"
|
||||
FontSize="16"
|
||||
FontWeight="Bold"
|
||||
Margin="0,0,0,15"/>
|
||||
<views:ConfigurationView Name="ConfigurationViewControl"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel>
|
||||
<TextBlock Text="主题设置"
|
||||
Classes="title"
|
||||
Foreground="{DynamicResource PrimaryTextBrush}"
|
||||
FontSize="14"
|
||||
Margin="0,0,0,5"/>
|
||||
<ComboBox Name="ThemeComboBox"
|
||||
SelectedIndex="0"
|
||||
Width="200"
|
||||
HorizontalAlignment="Left"
|
||||
SelectionChanged="OnThemeComboBoxSelectionChanged">
|
||||
<ComboBoxItem Content="深色主题"/>
|
||||
<ComboBoxItem Content="浅色主题"/>
|
||||
</ComboBox>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</Grid>
|
||||
</Panel>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user