batch-run-local 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,70 +1,78 @@
1
- <!doctype html>
2
- <html lang="zh-CN">
3
- <meta>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>Batch Run</title>
7
- <link rel="stylesheet" href="/style.css" />
8
- <link rel="icon" href="/favicon.ico" type="image/x-icon" />
9
- </meta>
10
- <body>
11
- <main class="app">
12
- <section class="panel sidebar">
13
- <div class="panel-header">
14
- <div>
15
- <p class="eyebrow">Batch Run</p>
16
- <h2>项目列表</h2>
17
- <p id="projectCount" class="project-count">共 0 个项目</p>
18
- </div>
19
- <div class="header-actions">
20
- <button id="openProjectConfig" type="button" class="secondary">新增项目</button>
21
- <button id="refreshProjects" type="button">刷新</button>
22
- </div>
23
- </div>
24
-
25
- <div id="projectList" class="project-list"></div>
26
- </section>
27
-
28
- <section class="panel content">
29
- <div class="panel-header">
30
- <div>
31
- <p class="eyebrow">package.json</p>
32
- <h2 id="currentProjectTitle">请选择项目</h2>
33
- </div>
34
- <button id="openProjectRoot" type="button" disabled>打开项目目录</button>
35
- </div>
36
-
37
- <div class="content-body">
38
- <div id="scriptList" class="script-list empty">选择左侧项目后读取 scripts</div>
39
- <pre id="status" class="status"></pre>
40
- </div>
41
- </section>
42
- </main>
43
-
44
- <div id="projectConfigModal" class="modal-backdrop" hidden>
45
- <section class="modal" role="dialog" aria-modal="true" aria-labelledby="projectConfigTitle">
46
- <div class="panel-header">
47
- <div>
48
- <p class="eyebrow">Project Settings</p>
49
- <h2 id="projectConfigTitle">项目配置</h2>
50
- </div>
51
- <button id="closeProjectConfig" type="button">关闭</button>
52
- </div>
53
-
54
- <form id="projectForm" class="form">
55
- <label>
56
- 项目名称
57
- <input id="projectName" name="name" placeholder="例如:后台服务" required />
58
- </label>
59
- <label>
60
- 项目根路径
61
- <input id="projectRoot" name="root" placeholder="C:\wang\project\server" required />
62
- </label>
63
- <button id="projectSubmit" type="submit" class="secondary">新增项目</button>
64
- </form>
65
- </section>
66
- </div>
67
-
68
- <script type="module" src="/main.js"></script>
69
- </body>
70
- </html>
1
+ <!doctype html>
2
+ <html lang="zh-CN">
3
+ <meta>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Batch Run</title>
7
+ <link rel="stylesheet" href="/style.css" />
8
+ <link rel="icon" href="/favicon.ico" type="image/x-icon" />
9
+ </meta>
10
+ <body>
11
+ <main class="app">
12
+ <section class="panel sidebar">
13
+ <div class="panel-header">
14
+ <div>
15
+ <p class="eyebrow">Batch Run</p>
16
+ <h2>项目列表</h2>
17
+ <p id="projectCount" class="project-count">共 0 个项目</p>
18
+ </div>
19
+ <div class="header-actions">
20
+ <button id="openProjectConfig" type="button" class="secondary">新增项目</button>
21
+ <button id="refreshProjects" type="button">刷新</button>
22
+ </div>
23
+ </div>
24
+
25
+ <div id="projectList" class="project-list"></div>
26
+ </section>
27
+
28
+ <section class="panel content">
29
+ <div class="panel-header">
30
+ <div class="panel-header-left">
31
+ <p class="eyebrow">package.json</p>
32
+ <h2 id="currentProjectTitle">请选择项目</h2>
33
+ </div>
34
+ <section id="branchPanel" class="branch-panel" hidden>
35
+ <select id="branchSelect"></select>
36
+ </section>
37
+ <button id="openProjectRoot" type="button" disabled>打开项目目录</button>
38
+ </div>
39
+
40
+ <div class="content-body">
41
+ <div id="scriptList" class="script-list empty">选择左侧项目后读取 scripts</div>
42
+ <pre id="status" class="status"></pre>
43
+ </div>
44
+ </section>
45
+ </main>
46
+
47
+ <div id="projectConfigModal" class="modal-backdrop" hidden>
48
+ <section class="modal" role="dialog" aria-modal="true" aria-labelledby="projectConfigTitle">
49
+ <div class="panel-header">
50
+ <div>
51
+ <p class="eyebrow">Project Settings</p>
52
+ <h2 id="projectConfigTitle">项目配置</h2>
53
+ </div>
54
+ <button id="closeProjectConfig" type="button">关闭</button>
55
+ </div>
56
+
57
+ <form id="projectForm" class="form">
58
+ <label>
59
+ 项目名称
60
+ <input id="projectName" name="name" placeholder="例如:后台服务" required />
61
+ </label>
62
+ <label>
63
+ 标签
64
+ <input id="projectTag" name="tag" list="tagOptions" placeholder="选择已有标签,或输入新标签(留空为未分组)" />
65
+ <datalist id="tagOptions"></datalist>
66
+ </label>
67
+ <label>
68
+ 项目根路径
69
+ <input id="projectRoot" name="root" placeholder="C:\wang\project\server" required />
70
+ </label>
71
+ <button id="projectSubmit" type="submit" class="secondary">新增项目</button>
72
+ </form>
73
+ </section>
74
+ </div>
75
+
76
+ <script type="module" src="/main.js"></script>
77
+ </body>
78
+ </html>