0
0

修复大小写bug

This commit is contained in:
xubing
2026-01-30 11:06:42 +08:00
parent 9374414de4
commit ad34dca525
28 changed files with 87 additions and 74 deletions

View File

@@ -11,7 +11,7 @@ class AircraftView extends BaseView_1.BaseView {
<span class="aircraft-name" data-aircraft-id="${aircraft.id}">🛸 ${aircraft.name}</span>
</td>
<td>
<span class="clickable" onclick="openAircraftConfig('${aircraft.id}', '${aircraft.projectId}')">配置容器</span>
<span class="clickable" onclick="openAircraftConfig('${aircraft.id}', '${aircraft.projectId}')">打开</span>
</td>
<td>
<button class="btn-upload" onclick="uploadAircraft('${aircraft.id}', '${aircraft.name}')" style="margin-right: 5px;">上传</button>
@@ -83,7 +83,7 @@ class AircraftView extends BaseView_1.BaseView {
.section-title {
margin: 30px 0 15px 0;
padding-bottom: 10px;
border-bottom: 2px solid var(--vscode-panel-border);
border-bottom: 2px solid var(--vscode-panel-border);
color: var(--vscode-titleBar-activeForeground);
}
.url-input-section {

View File

@@ -69,7 +69,7 @@ class ConfigView extends BaseView_1.BaseView {
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>配置管理</title>
<title>模块管理</title>
${this.getBaseStylesAndScripts()}
${this.getRepoSelectScript()}
<style>
@@ -261,7 +261,7 @@ class ConfigView extends BaseView_1.BaseView {
</head>
<body>
<div class="header">
<h2>⚙️ 配置管理 - <span style="color: var(--vscode-textLink-foreground);">${container?.name || '未知容器'}</span></h2>
<h2>⚙️ 模块管理 - <span style="color: var(--vscode-textLink-foreground);">${container?.name || '未知容器'}</span></h2>
<button class="back-btn" onclick="goBackToContainers()">← 返回容器管理</button>
</div>
@@ -276,7 +276,7 @@ class ConfigView extends BaseView_1.BaseView {
<table class="table">
<thead>
<tr>
<th width="25%">配置</th>
<th width="25%">模块</th>
<th width="15%">类别</th>
<th width="35%">文件/文件夹</th>
<th width="25%">操作</th>
@@ -534,7 +534,7 @@ class ConfigView extends BaseView_1.BaseView {
showModuleFolderRenameDialog(folderId, currentName, currentFolderName);
}
// 配置管理功能
// 模块管理功能
// 原始的 editConfigName 已被修改为接受三个参数
// 在 VSCode 中打开配置文件

View File

@@ -13,7 +13,7 @@ class ContainerView extends BaseView_1.BaseView {
<span class="editable" onclick="editContainerName('${container.id}', '${container.name}')">📦 ${container.name}</span>
</td>
<td>
<span class="clickable" onclick="openContainerConfig('${container.id}')">配置文件</span>
<span class="clickable" onclick="openContainerConfig('${container.id}')">打开</span>
</td>
<td>
<button class="btn-upload" onclick="uploadContainer('${container.id}', '${container.name}')" style="margin-right: 5px;">上传</button>
@@ -149,7 +149,7 @@ class ContainerView extends BaseView_1.BaseView {
<thead>
<tr>
<th width="40%">容器</th>
<th width="40%">配置文件</th>
<th width="40%">打开</th>
<th width="20%">操作</th>
</tr>
</thead>

View File

@@ -220,7 +220,7 @@ class ProjectView extends BaseView_1.BaseView {
<div style="display: flex; gap: 10px; margin-top: 10px; align-items: center;">
<button class="btn-new" onclick="openRepoSelectForProject()">获取仓库</button>
<span style="font-size: 12px; color: var(--vscode-descriptionForeground);">
从仓库配置中选择 Git 仓库,选择分支后可将完整项目克隆到本地(包含 dscp-data.json
从仓库配置中选择 Git 仓库,选择分支后可将完整项目克隆到本地
</span>
</div>
<div id="branchSelectionContainer"></div>