super-nvm 0.0.0-stage → 1.0.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.
- package/LICENSE +27 -0
- package/README.md +221 -2
- package/bin/install-editors.ps1 +81 -0
- package/bin/nvm-ui.js +13 -0
- package/bin/super-nvm.js +13 -0
- package/out/core/nvm.js +802 -0
- package/out/core/nvm.js.map +1 -0
- package/out/core/types.js +3 -0
- package/out/core/types.js.map +1 -0
- package/out/server/cli.js +56 -0
- package/out/server/cli.js.map +1 -0
- package/out/server/standaloneServer.js +346 -0
- package/out/server/standaloneServer.js.map +1 -0
- package/out/ui/app.js +929 -0
- package/out/ui/index.html +374 -0
- package/out/ui/style.css +932 -0
- package/out/vscode/extension.js +282 -0
- package/out/vscode/extension.js.map +1 -0
- package/out/vscode/statusBar.js +74 -0
- package/out/vscode/statusBar.js.map +1 -0
- package/out/vscode/treeDataProvider.js +118 -0
- package/out/vscode/treeDataProvider.js.map +1 -0
- package/out/vscode/webviewPanel.js +307 -0
- package/out/vscode/webviewPanel.js.map +1 -0
- package/package.json +205 -3
- package/resources/nvm-icon.png +0 -0
- package/resources/nvm-icon.svg +69 -0
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Super NVM - Node Version Manager</title>
|
|
7
|
+
<link rel="stylesheet" href="style.css">
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div class="app-container">
|
|
11
|
+
<!-- Top Bar / Header -->
|
|
12
|
+
<header class="app-header">
|
|
13
|
+
<div class="brand">
|
|
14
|
+
<div class="logo-icon">
|
|
15
|
+
<svg viewBox="0 0 100 100" width="38" height="38" fill="none">
|
|
16
|
+
<defs>
|
|
17
|
+
<radialGradient id="headerHexRadial" cx="50%" cy="35%" r="65%">
|
|
18
|
+
<stop offset="0%" stop-color="#0f3d24" />
|
|
19
|
+
<stop offset="60%" stop-color="#051f12" />
|
|
20
|
+
<stop offset="100%" stop-color="#020d08" />
|
|
21
|
+
</radialGradient>
|
|
22
|
+
<linearGradient id="headerHexBorder" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
23
|
+
<stop offset="0%" stop-color="#bbf7d0" />
|
|
24
|
+
<stop offset="30%" stop-color="#4ade80" />
|
|
25
|
+
<stop offset="75%" stop-color="#22c55e" />
|
|
26
|
+
<stop offset="100%" stop-color="#15803d" />
|
|
27
|
+
</linearGradient>
|
|
28
|
+
<linearGradient id="headerSuperGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
29
|
+
<stop offset="0%" stop-color="#fef9c3" />
|
|
30
|
+
<stop offset="25%" stop-color="#86efac" />
|
|
31
|
+
<stop offset="65%" stop-color="#22c55e" />
|
|
32
|
+
<stop offset="100%" stop-color="#15803d" />
|
|
33
|
+
</linearGradient>
|
|
34
|
+
</defs>
|
|
35
|
+
<polygon points="50,4 92,26 92,74 50,96 8,74 8,26" fill="url(#headerHexRadial)" stroke="url(#headerHexBorder)" stroke-width="5" stroke-linejoin="round" />
|
|
36
|
+
<polygon points="50,11 85,29 85,71 50,89 15,71 15,29" fill="none" stroke="url(#headerHexBorder)" stroke-width="1.6" stroke-opacity="0.35" stroke-linejoin="round" />
|
|
37
|
+
<path d="M 74,23 L 34,23 C 22,23 16,33 22,43 L 46,43 C 52,43 55,47 50,53 L 26,77 L 68,77 C 80,77 86,67 80,57 L 56,57 C 50,57 47,53 52,47 L 74,23 Z" fill="url(#headerSuperGrad)" stroke="#042010" stroke-width="1.5" stroke-linejoin="round" />
|
|
38
|
+
<path d="M 49,43 L 57,43 L 43,61 L 53,61 L 35,77 L 41,56 L 33,56 Z" fill="#fef08a" opacity="0.95" />
|
|
39
|
+
</svg>
|
|
40
|
+
</div>
|
|
41
|
+
<div>
|
|
42
|
+
<h1 class="app-title">Super <span>NVM</span></h1>
|
|
43
|
+
<p class="app-subtitle">Node Version Manager for Windows</p>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<!-- Quick Status Badges -->
|
|
48
|
+
<div class="header-status">
|
|
49
|
+
<div class="status-pill active-version-pill" id="activeVersionPill">
|
|
50
|
+
<span class="status-dot online"></span>
|
|
51
|
+
<span class="label">Current:</span>
|
|
52
|
+
<strong id="headerCurrentVer">Detecting...</strong>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="status-pill nvm-mode-pill" id="nvmModePill">
|
|
55
|
+
<span class="label">NVM:</span>
|
|
56
|
+
<span id="headerNvmMode">v2.0.1 (shim)</span>
|
|
57
|
+
</div>
|
|
58
|
+
<div class="header-actions">
|
|
59
|
+
<button class="btn btn-secondary btn-icon" id="btnRefresh" title="Refresh versions">
|
|
60
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
61
|
+
<path d="M23 4v6h-6M1 20v-6h6M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/>
|
|
62
|
+
</svg>
|
|
63
|
+
<span>Refresh</span>
|
|
64
|
+
</button>
|
|
65
|
+
<button class="btn btn-primary" id="btnQuickInstallModal">
|
|
66
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
67
|
+
<path d="M12 5v14M5 12h14"/>
|
|
68
|
+
</svg>
|
|
69
|
+
<span>Install Version</span>
|
|
70
|
+
</button>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</header>
|
|
74
|
+
|
|
75
|
+
<!-- Workspace / Project Detection Banner -->
|
|
76
|
+
<div class="project-banner hidden" id="projectBanner">
|
|
77
|
+
<div class="banner-content">
|
|
78
|
+
<div class="banner-icon">💡</div>
|
|
79
|
+
<div class="banner-text">
|
|
80
|
+
<span id="projectBannerText">Workspace requires Node <strong>v...</strong></span>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="banner-buttons">
|
|
84
|
+
<button class="btn btn-sm btn-accent" id="btnSwitchToProjectVer">Switch Now</button>
|
|
85
|
+
<button class="btn btn-sm btn-secondary" id="btnDismissBanner">Dismiss</button>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<!-- Navigation Tabs -->
|
|
90
|
+
<nav class="nav-tabs">
|
|
91
|
+
<button class="tab-btn active" data-tab="installed">
|
|
92
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
93
|
+
<rect x="2" y="3" width="20" height="14" rx="2" ry="2"/>
|
|
94
|
+
<line x1="8" y1="21" x2="16" y2="21"/>
|
|
95
|
+
<line x1="12" y1="17" x2="12" y2="21"/>
|
|
96
|
+
</svg>
|
|
97
|
+
<span>Installed Versions</span>
|
|
98
|
+
<span class="badge" id="installedCount">0</span>
|
|
99
|
+
</button>
|
|
100
|
+
|
|
101
|
+
<button class="tab-btn" data-tab="releases">
|
|
102
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
103
|
+
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3"/>
|
|
104
|
+
</svg>
|
|
105
|
+
<span>Available Releases</span>
|
|
106
|
+
<span class="badge badge-lts">Remote</span>
|
|
107
|
+
</button>
|
|
108
|
+
|
|
109
|
+
<button class="tab-btn" data-tab="activity">
|
|
110
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
111
|
+
<polyline points="4 17 10 11 4 5"/>
|
|
112
|
+
<line x1="12" y1="19" x2="20" y2="19"/>
|
|
113
|
+
</svg>
|
|
114
|
+
<span>Terminal & Logs</span>
|
|
115
|
+
<span class="badge badge-pulse hidden" id="terminalBadge">Active</span>
|
|
116
|
+
</button>
|
|
117
|
+
|
|
118
|
+
<button class="tab-btn" data-tab="system">
|
|
119
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
120
|
+
<circle cx="12" cy="12" r="3"/>
|
|
121
|
+
<path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"/>
|
|
122
|
+
</svg>
|
|
123
|
+
<span>Environment</span>
|
|
124
|
+
</button>
|
|
125
|
+
</nav>
|
|
126
|
+
|
|
127
|
+
<!-- Main Content Area -->
|
|
128
|
+
<main class="main-content">
|
|
129
|
+
<!-- 1. Installed Versions View -->
|
|
130
|
+
<section class="tab-pane active" id="paneInstalled">
|
|
131
|
+
<div class="section-toolbar">
|
|
132
|
+
<div class="search-box">
|
|
133
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
134
|
+
<circle cx="11" cy="11" r="8"/>
|
|
135
|
+
<line x1="21" y1="21" x2="16.65" y2="16.65"/>
|
|
136
|
+
</svg>
|
|
137
|
+
<input type="text" id="installedSearch" placeholder="Filter installed versions...">
|
|
138
|
+
</div>
|
|
139
|
+
<div class="toolbar-hint">
|
|
140
|
+
<span>Click <strong>Switch</strong> on any version to activate it system-wide.</span>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
|
|
144
|
+
<div class="version-grid" id="installedList">
|
|
145
|
+
<!-- Populated by JS -->
|
|
146
|
+
<div class="loading-state">
|
|
147
|
+
<div class="spinner"></div>
|
|
148
|
+
<span>Loading installed Node.js versions...</span>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
</section>
|
|
152
|
+
|
|
153
|
+
<!-- 2. Remote Releases View -->
|
|
154
|
+
<section class="tab-pane" id="paneReleases">
|
|
155
|
+
<div class="section-toolbar">
|
|
156
|
+
<div class="search-box">
|
|
157
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
158
|
+
<circle cx="11" cy="11" r="8"/>
|
|
159
|
+
<line x1="21" y1="21" x2="16.65" y2="16.65"/>
|
|
160
|
+
</svg>
|
|
161
|
+
<input type="text" id="releasesSearch" placeholder="Search version (e.g. 22, 20.18)...">
|
|
162
|
+
</div>
|
|
163
|
+
<div class="filter-chips">
|
|
164
|
+
<button class="chip active" data-filter="lts">LTS Releases (Recommended)</button>
|
|
165
|
+
<button class="chip" data-filter="all">All Releases</button>
|
|
166
|
+
<button class="chip" data-filter="security">Security Updates</button>
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
|
|
170
|
+
<div class="releases-table-container">
|
|
171
|
+
<table class="releases-table">
|
|
172
|
+
<thead>
|
|
173
|
+
<tr>
|
|
174
|
+
<th>Version</th>
|
|
175
|
+
<th>Release Type</th>
|
|
176
|
+
<th>Release Date</th>
|
|
177
|
+
<th>Bundled NPM</th>
|
|
178
|
+
<th>Status</th>
|
|
179
|
+
<th>Action</th>
|
|
180
|
+
</tr>
|
|
181
|
+
</thead>
|
|
182
|
+
<tbody id="releasesListBody">
|
|
183
|
+
<!-- Populated by JS -->
|
|
184
|
+
<tr>
|
|
185
|
+
<td colspan="6" class="text-center py-8">
|
|
186
|
+
<div class="spinner"></div>
|
|
187
|
+
<span>Fetching official Node.js releases...</span>
|
|
188
|
+
</td>
|
|
189
|
+
</tr>
|
|
190
|
+
</tbody>
|
|
191
|
+
</table>
|
|
192
|
+
</div>
|
|
193
|
+
</section>
|
|
194
|
+
|
|
195
|
+
<!-- 3. Terminal & Activity Logs -->
|
|
196
|
+
<section class="tab-pane" id="paneActivity">
|
|
197
|
+
<div class="terminal-container">
|
|
198
|
+
<div class="terminal-header">
|
|
199
|
+
<div class="terminal-dots">
|
|
200
|
+
<span class="dot red"></span>
|
|
201
|
+
<span class="dot yellow"></span>
|
|
202
|
+
<span class="dot green"></span>
|
|
203
|
+
</div>
|
|
204
|
+
<span class="terminal-title">Super NVM Execution Console</span>
|
|
205
|
+
<div class="terminal-actions">
|
|
206
|
+
<button class="btn btn-xs btn-secondary" id="btnClearLog">Clear</button>
|
|
207
|
+
<label class="toggle-label">
|
|
208
|
+
<input type="checkbox" id="autoScrollCheck" checked>
|
|
209
|
+
<span>Auto-scroll</span>
|
|
210
|
+
</label>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
<pre class="terminal-output" id="terminalOutput">Welcome to Super NVM. Ready to manage Node.js versions.
|
|
214
|
+
</pre>
|
|
215
|
+
</div>
|
|
216
|
+
</section>
|
|
217
|
+
|
|
218
|
+
<!-- 4. System & Diagnostics -->
|
|
219
|
+
<section class="tab-pane" id="paneSystem">
|
|
220
|
+
<div class="system-grid">
|
|
221
|
+
<div class="card system-card">
|
|
222
|
+
<h3>NVM Configuration</h3>
|
|
223
|
+
<div class="kv-list" id="nvmDetailsList">
|
|
224
|
+
<div class="kv-row">
|
|
225
|
+
<span class="key">NVM Version:</span>
|
|
226
|
+
<span class="value" id="sysNvmVer">-</span>
|
|
227
|
+
</div>
|
|
228
|
+
<div class="kv-row">
|
|
229
|
+
<span class="key">Operating Mode:</span>
|
|
230
|
+
<span class="value" id="sysOpMode">-</span>
|
|
231
|
+
</div>
|
|
232
|
+
<div class="kv-row">
|
|
233
|
+
<span class="key">NVM Binary:</span>
|
|
234
|
+
<span class="value code" id="sysNvmPath">-</span>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="kv-row">
|
|
237
|
+
<span class="key">Node Installs Dir:</span>
|
|
238
|
+
<span class="value code" id="sysInstallsPath">-</span>
|
|
239
|
+
</div>
|
|
240
|
+
</div>
|
|
241
|
+
</div>
|
|
242
|
+
|
|
243
|
+
<div class="card system-card">
|
|
244
|
+
<h3>Quick Diagnostics</h3>
|
|
245
|
+
<p class="card-desc">Check your NVM installation, environment variables, and symlink/shim health.</p>
|
|
246
|
+
<div class="card-actions">
|
|
247
|
+
<button class="btn btn-secondary" id="btnRunDoctor">
|
|
248
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
249
|
+
<path d="M22 12h-4l-3 9L9 3l-3 9H2"/>
|
|
250
|
+
</svg>
|
|
251
|
+
<span>Run NVM Doctor</span>
|
|
252
|
+
</button>
|
|
253
|
+
<button class="btn btn-secondary" id="btnCreateNvmrc">
|
|
254
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
255
|
+
<path d="M12 2v20M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/>
|
|
256
|
+
</svg>
|
|
257
|
+
<span>Pin Active to .nvmrc</span>
|
|
258
|
+
</button>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
|
|
262
|
+
<!-- Storage & Cache Cleaner Card -->
|
|
263
|
+
<div class="card system-card storage-card">
|
|
264
|
+
<div class="card-header-flex">
|
|
265
|
+
<h3>Storage & Disk Cleaner</h3>
|
|
266
|
+
<span class="badge" id="storageTotalBadge">Calculating...</span>
|
|
267
|
+
</div>
|
|
268
|
+
<p class="card-desc">Disk space occupied by installed Node versions and cached release downloads.</p>
|
|
269
|
+
|
|
270
|
+
<div class="storage-breakdown" id="storageBreakdownList">
|
|
271
|
+
<div class="spinner"></div>
|
|
272
|
+
</div>
|
|
273
|
+
|
|
274
|
+
<div class="card-actions" style="margin-top: 14px;">
|
|
275
|
+
<button class="btn btn-secondary btn-clean" id="btnCleanCache">
|
|
276
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
277
|
+
<path d="M3 6h18M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/>
|
|
278
|
+
</svg>
|
|
279
|
+
<span>Clean NVM Cache (<span id="cacheSizeSpan">0 MB</span>)</span>
|
|
280
|
+
</button>
|
|
281
|
+
<button class="btn btn-secondary" id="btnLaunchTrayGuide" title="Run background taskbar tray icon">
|
|
282
|
+
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
|
|
283
|
+
<rect x="2" y="3" width="20" height="14" rx="2" ry="2"/>
|
|
284
|
+
<line x1="8" y1="21" x2="16" y2="21"/>
|
|
285
|
+
<line x1="12" y1="17" x2="12" y2="21"/>
|
|
286
|
+
</svg>
|
|
287
|
+
<span>Taskbar Tray Companion</span>
|
|
288
|
+
</button>
|
|
289
|
+
</div>
|
|
290
|
+
</div>
|
|
291
|
+
</div>
|
|
292
|
+
</section>
|
|
293
|
+
</main>
|
|
294
|
+
|
|
295
|
+
<!-- Modal: Install Version -->
|
|
296
|
+
<div class="modal-overlay hidden" id="installModal">
|
|
297
|
+
<div class="modal-dialog">
|
|
298
|
+
<div class="modal-header">
|
|
299
|
+
<h3>Install Node.js Version</h3>
|
|
300
|
+
<button class="btn-close" id="btnCloseModal">×</button>
|
|
301
|
+
</div>
|
|
302
|
+
<div class="modal-body">
|
|
303
|
+
<label for="customVersionInput">Enter Version (e.g. <code>22.14.0</code>, <code>lts</code>, <code>latest</code>):</label>
|
|
304
|
+
<input type="text" id="customVersionInput" placeholder="22.14.0" class="input-field">
|
|
305
|
+
<div class="modal-presets">
|
|
306
|
+
<span class="preset-label">Popular:</span>
|
|
307
|
+
<button class="preset-chip" data-v="lts">LTS (Latest LTS)</button>
|
|
308
|
+
<button class="preset-chip" data-v="latest">Latest Current</button>
|
|
309
|
+
<button class="preset-chip" data-v="22">Node 22</button>
|
|
310
|
+
<button class="preset-chip" data-v="20">Node 20</button>
|
|
311
|
+
</div>
|
|
312
|
+
</div>
|
|
313
|
+
<div class="modal-footer">
|
|
314
|
+
<button class="btn btn-secondary" id="btnCancelInstall">Cancel</button>
|
|
315
|
+
<button class="btn btn-primary" id="btnConfirmInstall">Install Now</button>
|
|
316
|
+
</div>
|
|
317
|
+
</div>
|
|
318
|
+
</div>
|
|
319
|
+
|
|
320
|
+
<!-- Modal: Global Packages & Migrator -->
|
|
321
|
+
<div class="modal-overlay hidden" id="packagesModal">
|
|
322
|
+
<div class="modal-dialog" style="width: 520px;">
|
|
323
|
+
<div class="modal-header">
|
|
324
|
+
<div>
|
|
325
|
+
<h3>Global Packages Manager</h3>
|
|
326
|
+
<span class="app-subtitle" id="packagesModalSubtitle">Packages in Node v...</span>
|
|
327
|
+
</div>
|
|
328
|
+
<button class="btn-close" id="btnClosePackagesModal">×</button>
|
|
329
|
+
</div>
|
|
330
|
+
<div class="modal-body">
|
|
331
|
+
<div class="package-header-bar">
|
|
332
|
+
<span>Select packages to copy to your currently active Node (<strong id="activeNodeTarget">v...</strong>):</span>
|
|
333
|
+
<button class="btn btn-xs btn-secondary" id="btnSelectAllPkgs">Select All</button>
|
|
334
|
+
</div>
|
|
335
|
+
<div class="packages-checklist" id="packagesChecklist">
|
|
336
|
+
<div class="spinner"></div>
|
|
337
|
+
</div>
|
|
338
|
+
</div>
|
|
339
|
+
<div class="modal-footer">
|
|
340
|
+
<button class="btn btn-secondary" id="btnCancelPackages">Close</button>
|
|
341
|
+
<button class="btn btn-primary btn-accent" id="btnConfirmMigrate">
|
|
342
|
+
<svg viewBox="0 0 24 24" width="14" height="14" stroke="currentColor" fill="none" stroke-width="2">
|
|
343
|
+
<path d="M5 12h14M12 5l7 7-7 7"/>
|
|
344
|
+
</svg>
|
|
345
|
+
<span>Migrate Selected to Active Node</span>
|
|
346
|
+
</button>
|
|
347
|
+
</div>
|
|
348
|
+
</div>
|
|
349
|
+
</div>
|
|
350
|
+
|
|
351
|
+
<!-- Modal: Confirmation Dialog -->
|
|
352
|
+
<div class="modal-overlay hidden" id="confirmModal">
|
|
353
|
+
<div class="modal-dialog" style="width: 420px;">
|
|
354
|
+
<div class="modal-header">
|
|
355
|
+
<h3 id="confirmModalTitle">Confirm Action</h3>
|
|
356
|
+
<button class="btn-close" id="btnCloseConfirmModal">×</button>
|
|
357
|
+
</div>
|
|
358
|
+
<div class="modal-body">
|
|
359
|
+
<p id="confirmModalMessage" style="font-size: 13px; line-height: 1.6;">Are you sure?</p>
|
|
360
|
+
</div>
|
|
361
|
+
<div class="modal-footer">
|
|
362
|
+
<button class="btn btn-secondary" id="btnCancelConfirm">Cancel</button>
|
|
363
|
+
<button class="btn btn-danger" id="btnOkConfirm">Uninstall</button>
|
|
364
|
+
</div>
|
|
365
|
+
</div>
|
|
366
|
+
</div>
|
|
367
|
+
|
|
368
|
+
<!-- Toast Notifications -->
|
|
369
|
+
<div class="toast-container" id="toastContainer"></div>
|
|
370
|
+
</div>
|
|
371
|
+
|
|
372
|
+
<script src="app.js"></script>
|
|
373
|
+
</body>
|
|
374
|
+
</html>
|