podmanager 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 +20 -0
- package/README.md +105 -2
- package/bin/podmanager.js +105 -0
- package/package.json +43 -4
- package/public/css/style.css +2042 -0
- package/public/index.html +1028 -0
- package/public/js/api.js +162 -0
- package/public/js/app.js +1912 -0
- package/public/podmanager.webp +0 -0
- package/src/app.js +23 -0
- package/src/index.js +46 -0
- package/src/middlewares/async-handler.middleware.js +8 -0
- package/src/middlewares/error.middleware.js +13 -0
- package/src/routes/containers.route.js +125 -0
- package/src/routes/events.route.js +48 -0
- package/src/routes/images.route.js +61 -0
- package/src/routes/index.js +20 -0
- package/src/routes/networks.route.js +31 -0
- package/src/routes/pods.route.js +50 -0
- package/src/routes/system.route.js +26 -0
- package/src/routes/volumes.route.js +33 -0
- package/src/services/podman.service.js +404 -0
|
@@ -0,0 +1,1028 @@
|
|
|
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>Podmanager — Podman Management</title>
|
|
7
|
+
<link rel="stylesheet" href="/css/style.css">
|
|
8
|
+
<link rel="icon" type="image/webp" href="/podmanager.webp">
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<!-- Accessibility Skip Link -->
|
|
12
|
+
<a href="#main-content" class="skip-link">Skip to main content</a>
|
|
13
|
+
|
|
14
|
+
<!-- Mobile Backdrop Overlay -->
|
|
15
|
+
<div class="sidebar-backdrop" id="sidebar-backdrop" aria-hidden="true"></div>
|
|
16
|
+
|
|
17
|
+
<!-- Left Sidebar Navigation -->
|
|
18
|
+
<aside class="sidebar" id="sidebar" role="navigation" aria-label="Main Navigation">
|
|
19
|
+
<div class="sidebar-brand">
|
|
20
|
+
<div style="display:flex; align-items:center; gap:12px;">
|
|
21
|
+
<img src="/podmanager.webp" alt="Podmanager" class="brand-icon">
|
|
22
|
+
<div>
|
|
23
|
+
<div class="brand-title">Podmanager</div>
|
|
24
|
+
<div class="brand-subtitle">Check & Management</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<!-- Mobile Close Button -->
|
|
28
|
+
<button class="btn-sidebar-close" id="btn-sidebar-close" aria-label="Close navigation sidebar">
|
|
29
|
+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
30
|
+
</button>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<nav class="sidebar-nav">
|
|
34
|
+
<a class="nav-link active" data-view="dashboard" role="button" tabindex="0">
|
|
35
|
+
<div class="nav-link-content">
|
|
36
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect></svg>
|
|
37
|
+
<span>Dashboard</span>
|
|
38
|
+
</div>
|
|
39
|
+
<span class="nav-badge live" id="badge-dashboard">Live</span>
|
|
40
|
+
</a>
|
|
41
|
+
|
|
42
|
+
<a class="nav-link" data-view="containers" role="button" tabindex="0">
|
|
43
|
+
<div class="nav-link-content">
|
|
44
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line></svg>
|
|
45
|
+
<span>Containers</span>
|
|
46
|
+
</div>
|
|
47
|
+
<span class="nav-badge" id="badge-containers">0</span>
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a class="nav-link" data-view="pods" role="button" tabindex="0">
|
|
51
|
+
<div class="nav-link-content">
|
|
52
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"></path><path d="M2 12h20"></path></svg>
|
|
53
|
+
<span>Pods</span>
|
|
54
|
+
</div>
|
|
55
|
+
<span class="nav-badge" id="badge-pods">0</span>
|
|
56
|
+
</a>
|
|
57
|
+
|
|
58
|
+
<a class="nav-link" data-view="images" role="button" tabindex="0">
|
|
59
|
+
<div class="nav-link-content">
|
|
60
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><line x1="16.5" y1="9.4" x2="7.5" y2="4.21"></line><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line></svg>
|
|
61
|
+
<span>Images</span>
|
|
62
|
+
</div>
|
|
63
|
+
<span class="nav-badge" id="badge-images">0</span>
|
|
64
|
+
</a>
|
|
65
|
+
|
|
66
|
+
<a class="nav-link" data-view="volumes" role="button" tabindex="0">
|
|
67
|
+
<div class="nav-link-content">
|
|
68
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path></svg>
|
|
69
|
+
<span>Volumes</span>
|
|
70
|
+
</div>
|
|
71
|
+
<span class="nav-badge" id="badge-volumes">0</span>
|
|
72
|
+
</a>
|
|
73
|
+
|
|
74
|
+
<a class="nav-link" data-view="networks" role="button" tabindex="0">
|
|
75
|
+
<div class="nav-link-content">
|
|
76
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><rect x="16" y="16" width="6" height="6" rx="1"></rect><rect x="2" y="16" width="6" height="6" rx="1"></rect><rect x="9" y="2" width="6" height="6" rx="1"></rect><path d="M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"></path><path d="M12 12V8"></path></svg>
|
|
77
|
+
<span>Networks</span>
|
|
78
|
+
</div>
|
|
79
|
+
<span class="nav-badge" id="badge-networks">0</span>
|
|
80
|
+
</a>
|
|
81
|
+
|
|
82
|
+
<a class="nav-link" data-view="events" role="button" tabindex="0">
|
|
83
|
+
<div class="nav-link-content">
|
|
84
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline></svg>
|
|
85
|
+
<span>Live Events</span>
|
|
86
|
+
</div>
|
|
87
|
+
<span class="nav-badge pulse" id="badge-events">0</span>
|
|
88
|
+
</a>
|
|
89
|
+
</nav>
|
|
90
|
+
|
|
91
|
+
<div class="sidebar-footer">
|
|
92
|
+
<div class="system-status-indicator" role="status" aria-live="polite">
|
|
93
|
+
<div class="status-dot" id="status-dot" aria-hidden="true"></div>
|
|
94
|
+
<span id="status-text">Podman Connected</span>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
</aside>
|
|
98
|
+
|
|
99
|
+
<!-- Main Container -->
|
|
100
|
+
<div class="app-container">
|
|
101
|
+
<header class="top-header">
|
|
102
|
+
<div class="header-left">
|
|
103
|
+
<!-- Mobile Menu Toggle Button -->
|
|
104
|
+
<button class="btn btn-secondary btn-icon-only menu-toggle-btn" id="btn-menu-toggle" aria-label="Open navigation menu" aria-expanded="false" aria-controls="sidebar">
|
|
105
|
+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>
|
|
106
|
+
</button>
|
|
107
|
+
<h1 class="page-title" id="page-title">Dashboard Overview</h1>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<div class="header-right">
|
|
111
|
+
<!-- Quick Prune (Left of Refresh) -->
|
|
112
|
+
<button class="btn btn-secondary btn-header-action" onclick="openModal('prune-modal')" title="Prune System Resources" aria-label="Prune System Resources">
|
|
113
|
+
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 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"></path></svg>
|
|
114
|
+
<span class="btn-label-desktop">Prune</span>
|
|
115
|
+
</button>
|
|
116
|
+
|
|
117
|
+
<!-- Compact Auto Refresh -->
|
|
118
|
+
<div class="refresh-control" title="Auto-refresh interval">
|
|
119
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>
|
|
120
|
+
<span class="refresh-label">Refresh:</span>
|
|
121
|
+
<select id="refresh-interval-select" aria-label="Auto-refresh interval">
|
|
122
|
+
<option value="2000">2s</option>
|
|
123
|
+
<option value="5000" selected>5s</option>
|
|
124
|
+
<option value="10000">10s</option>
|
|
125
|
+
<option value="15000">15s</option>
|
|
126
|
+
<option value="30000">30s</option>
|
|
127
|
+
<option value="0">Off</option>
|
|
128
|
+
</select>
|
|
129
|
+
</div>
|
|
130
|
+
|
|
131
|
+
<!-- Manual Refresh Button -->
|
|
132
|
+
<button class="btn btn-secondary btn-icon-only" id="btn-refresh-manual" title="Refresh Now" aria-label="Refresh data">
|
|
133
|
+
<svg id="refresh-icon" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.67"/></svg>
|
|
134
|
+
</button>
|
|
135
|
+
</div>
|
|
136
|
+
</header>
|
|
137
|
+
|
|
138
|
+
<main class="main-content" id="main-content" tabindex="-1">
|
|
139
|
+
|
|
140
|
+
<!-- ================= 1. DASHBOARD VIEW ================= -->
|
|
141
|
+
<section id="view-dashboard" class="view-section active">
|
|
142
|
+
<!-- Metric Cards -->
|
|
143
|
+
<div class="metrics-grid">
|
|
144
|
+
<div class="metric-card running">
|
|
145
|
+
<div>
|
|
146
|
+
<div class="metric-title">Running Containers</div>
|
|
147
|
+
<div class="metric-value" id="dash-stat-running">0</div>
|
|
148
|
+
<div class="metric-sub">Active & healthy</div>
|
|
149
|
+
</div>
|
|
150
|
+
<div class="metric-icon-wrap">
|
|
151
|
+
<svg viewBox="0 0 24 24"><polygon points="5 3 19 12 5 21 5 3"></polygon></svg>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
|
|
155
|
+
<div class="metric-card containers">
|
|
156
|
+
<div>
|
|
157
|
+
<div class="metric-title">Total Containers</div>
|
|
158
|
+
<div class="metric-value" id="dash-stat-containers">0</div>
|
|
159
|
+
<div class="metric-sub">Running + stopped</div>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="metric-icon-wrap">
|
|
162
|
+
<svg viewBox="0 0 24 24"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line></svg>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
|
|
166
|
+
<div class="metric-card pods">
|
|
167
|
+
<div>
|
|
168
|
+
<div class="metric-title">Active Pods</div>
|
|
169
|
+
<div class="metric-value" id="dash-stat-pods">0</div>
|
|
170
|
+
<div class="metric-sub">Container groups</div>
|
|
171
|
+
</div>
|
|
172
|
+
<div class="metric-icon-wrap">
|
|
173
|
+
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"></circle><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"></path><path d="M2 12h20"></path></svg>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<div class="metric-card images">
|
|
178
|
+
<div>
|
|
179
|
+
<div class="metric-title">Images Stored</div>
|
|
180
|
+
<div class="metric-value" id="dash-stat-images">0</div>
|
|
181
|
+
<div class="metric-sub">Available locally</div>
|
|
182
|
+
</div>
|
|
183
|
+
<div class="metric-icon-wrap">
|
|
184
|
+
<svg viewBox="0 0 24 24"><line x1="16.5" y1="9.4" x2="7.5" y2="4.21"></line><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line></svg>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
<!-- System & Disk Info Row -->
|
|
190
|
+
<div class="cards-row">
|
|
191
|
+
<!-- Host & Engine Specs -->
|
|
192
|
+
<div class="card">
|
|
193
|
+
<div class="card-header">
|
|
194
|
+
<div class="card-title">
|
|
195
|
+
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg>
|
|
196
|
+
Podman Engine & Host Environment
|
|
197
|
+
</div>
|
|
198
|
+
<span id="spec-rootless" class="tag-badge rootless">Rootless</span>
|
|
199
|
+
</div>
|
|
200
|
+
<div class="card-body">
|
|
201
|
+
<div class="specs-grid">
|
|
202
|
+
<div class="spec-item">
|
|
203
|
+
<span class="spec-label">Podman Version</span>
|
|
204
|
+
<span class="spec-value" id="spec-podman-version">-</span>
|
|
205
|
+
</div>
|
|
206
|
+
<div class="spec-item">
|
|
207
|
+
<span class="spec-label">OS & Arch</span>
|
|
208
|
+
<span class="spec-value" id="spec-os-arch">-</span>
|
|
209
|
+
</div>
|
|
210
|
+
<div class="spec-item">
|
|
211
|
+
<span class="spec-label">Distribution</span>
|
|
212
|
+
<span class="spec-value" id="spec-distro">-</span>
|
|
213
|
+
</div>
|
|
214
|
+
<div class="spec-item">
|
|
215
|
+
<span class="spec-label">Kernel</span>
|
|
216
|
+
<span class="spec-value" id="spec-kernel">-</span>
|
|
217
|
+
</div>
|
|
218
|
+
<div class="spec-item">
|
|
219
|
+
<span class="spec-label">CPU Cores</span>
|
|
220
|
+
<span class="spec-value" id="spec-cpus">-</span>
|
|
221
|
+
</div>
|
|
222
|
+
<div class="spec-item">
|
|
223
|
+
<span class="spec-label">Total Memory</span>
|
|
224
|
+
<span class="spec-value" id="spec-mem">-</span>
|
|
225
|
+
</div>
|
|
226
|
+
<div class="spec-item">
|
|
227
|
+
<span class="spec-label">Storage Driver</span>
|
|
228
|
+
<span class="spec-value" id="spec-driver">-</span>
|
|
229
|
+
</div>
|
|
230
|
+
</div>
|
|
231
|
+
</div>
|
|
232
|
+
</div>
|
|
233
|
+
|
|
234
|
+
<!-- Disk & Storage breakdown -->
|
|
235
|
+
<div class="card">
|
|
236
|
+
<div class="card-header">
|
|
237
|
+
<div class="card-title">
|
|
238
|
+
<svg viewBox="0 0 24 24"><line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line></svg>
|
|
239
|
+
Disk Usage
|
|
240
|
+
</div>
|
|
241
|
+
</div>
|
|
242
|
+
<div class="card-body">
|
|
243
|
+
<div class="disk-list" id="dash-disk-list">
|
|
244
|
+
<span style="color:var(--text-dim); font-size:13px;">Checking storage usage...</span>
|
|
245
|
+
</div>
|
|
246
|
+
</div>
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
|
|
250
|
+
</section>
|
|
251
|
+
|
|
252
|
+
<!-- ================= 2. CONTAINERS VIEW ================= -->
|
|
253
|
+
<section id="view-containers" class="view-section">
|
|
254
|
+
<div class="toolbar">
|
|
255
|
+
<div class="toolbar-left">
|
|
256
|
+
<div class="search-box">
|
|
257
|
+
<svg class="search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
|
|
258
|
+
<input type="text" id="container-search" placeholder="Search containers by name, image, or ID...">
|
|
259
|
+
</div>
|
|
260
|
+
<div class="segmented-control" id="container-status-segmented" role="tablist" aria-label="Container Status Filter">
|
|
261
|
+
<button type="button" class="segment-btn active" data-status="all" role="tab" aria-selected="true">All</button>
|
|
262
|
+
<button type="button" class="segment-btn" data-status="running" role="tab" aria-selected="false">Running</button>
|
|
263
|
+
<button type="button" class="segment-btn" data-status="exited" role="tab" aria-selected="false">Exited</button>
|
|
264
|
+
<button type="button" class="segment-btn" data-status="paused" role="tab" aria-selected="false">Paused</button>
|
|
265
|
+
</div>
|
|
266
|
+
</div>
|
|
267
|
+
<div class="toolbar-right">
|
|
268
|
+
<button class="btn btn-primary" onclick="openCreateContainerModal()">
|
|
269
|
+
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
|
|
270
|
+
<span>Run Container</span>
|
|
271
|
+
</button>
|
|
272
|
+
</div>
|
|
273
|
+
</div>
|
|
274
|
+
|
|
275
|
+
<div class="table-responsive">
|
|
276
|
+
<table class="data-table">
|
|
277
|
+
<thead>
|
|
278
|
+
<tr>
|
|
279
|
+
<th style="width:100px;">Status</th>
|
|
280
|
+
<th>Name / ID</th>
|
|
281
|
+
<th class="col-hide-tablet">Image</th>
|
|
282
|
+
<th class="col-hide-tablet">Ports</th>
|
|
283
|
+
<th class="col-hide-tablet">Pod</th>
|
|
284
|
+
<th class="col-hide-tablet">Uptime</th>
|
|
285
|
+
<th class="col-actions-header" style="text-align:right; width:80px;">Actions</th>
|
|
286
|
+
<th class="mobile-toggle-cell" aria-label="Expand" style="width:38px; text-align:center;"></th>
|
|
287
|
+
</tr>
|
|
288
|
+
</thead>
|
|
289
|
+
<tbody id="containers-tbody">
|
|
290
|
+
<tr class="table-row-item skeleton-row">
|
|
291
|
+
<td><div class="skeleton skeleton-badge" style="width:65px;"></div></td>
|
|
292
|
+
<td>
|
|
293
|
+
<div class="skeleton-group">
|
|
294
|
+
<div class="skeleton skeleton-text" style="width:130px;"></div>
|
|
295
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:80px;"></div>
|
|
296
|
+
</div>
|
|
297
|
+
</td>
|
|
298
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:110px;"></div></td>
|
|
299
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:90px;"></div></td>
|
|
300
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:75px;"></div></td>
|
|
301
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
302
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
303
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
304
|
+
</tr>
|
|
305
|
+
<tr class="table-row-item skeleton-row">
|
|
306
|
+
<td><div class="skeleton skeleton-badge" style="width:65px;"></div></td>
|
|
307
|
+
<td>
|
|
308
|
+
<div class="skeleton-group">
|
|
309
|
+
<div class="skeleton skeleton-text" style="width:145px;"></div>
|
|
310
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:90px;"></div>
|
|
311
|
+
</div>
|
|
312
|
+
</td>
|
|
313
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:130px;"></div></td>
|
|
314
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:95px;"></div></td>
|
|
315
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:75px;"></div></td>
|
|
316
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
317
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
318
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
319
|
+
</tr>
|
|
320
|
+
<tr class="table-row-item skeleton-row">
|
|
321
|
+
<td><div class="skeleton skeleton-badge" style="width:65px;"></div></td>
|
|
322
|
+
<td>
|
|
323
|
+
<div class="skeleton-group">
|
|
324
|
+
<div class="skeleton skeleton-text" style="width:115px;"></div>
|
|
325
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:70px;"></div>
|
|
326
|
+
</div>
|
|
327
|
+
</td>
|
|
328
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:95px;"></div></td>
|
|
329
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:70px;"></div></td>
|
|
330
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:75px;"></div></td>
|
|
331
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
332
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
333
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
334
|
+
</tr>
|
|
335
|
+
<tr class="table-row-item skeleton-row">
|
|
336
|
+
<td><div class="skeleton skeleton-badge" style="width:65px;"></div></td>
|
|
337
|
+
<td>
|
|
338
|
+
<div class="skeleton-group">
|
|
339
|
+
<div class="skeleton skeleton-text" style="width:135px;"></div>
|
|
340
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:85px;"></div>
|
|
341
|
+
</div>
|
|
342
|
+
</td>
|
|
343
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:115px;"></div></td>
|
|
344
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
345
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:75px;"></div></td>
|
|
346
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
347
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
348
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
349
|
+
</tr>
|
|
350
|
+
</tbody>
|
|
351
|
+
</table>
|
|
352
|
+
</div>
|
|
353
|
+
</section>
|
|
354
|
+
|
|
355
|
+
<!-- ================= 3. PODS VIEW ================= -->
|
|
356
|
+
<section id="view-pods" class="view-section">
|
|
357
|
+
<div class="toolbar">
|
|
358
|
+
<div class="toolbar-left">
|
|
359
|
+
<div class="search-box">
|
|
360
|
+
<svg class="search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
|
|
361
|
+
<input type="text" id="pod-search" placeholder="Search pods by name or ID...">
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
<div class="toolbar-right">
|
|
365
|
+
<button class="btn btn-primary" onclick="openModal('create-pod-modal')">
|
|
366
|
+
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
|
|
367
|
+
<span>Create Pod</span>
|
|
368
|
+
</button>
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
371
|
+
|
|
372
|
+
<div class="table-responsive">
|
|
373
|
+
<table class="data-table">
|
|
374
|
+
<thead>
|
|
375
|
+
<tr>
|
|
376
|
+
<th style="width:100px;">Status</th>
|
|
377
|
+
<th>Name / ID</th>
|
|
378
|
+
<th class="col-hide-tablet">Containers</th>
|
|
379
|
+
<th class="col-hide-tablet">Created</th>
|
|
380
|
+
<th class="col-actions-header" style="text-align:right; width:80px;">Actions</th>
|
|
381
|
+
<th class="mobile-toggle-cell" aria-label="Expand" style="width:38px; text-align:center;"></th>
|
|
382
|
+
</tr>
|
|
383
|
+
</thead>
|
|
384
|
+
<tbody id="pods-tbody">
|
|
385
|
+
<tr class="table-row-item skeleton-row">
|
|
386
|
+
<td><div class="skeleton skeleton-badge" style="width:65px;"></div></td>
|
|
387
|
+
<td>
|
|
388
|
+
<div class="skeleton-group">
|
|
389
|
+
<div class="skeleton skeleton-text" style="width:130px;"></div>
|
|
390
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:75px;"></div>
|
|
391
|
+
</div>
|
|
392
|
+
</td>
|
|
393
|
+
<td class="col-hide-tablet">
|
|
394
|
+
<div class="skeleton-group">
|
|
395
|
+
<div class="skeleton skeleton-badge" style="width:70px;"></div>
|
|
396
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:110px;"></div>
|
|
397
|
+
</div>
|
|
398
|
+
</td>
|
|
399
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
400
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
401
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
402
|
+
</tr>
|
|
403
|
+
<tr class="table-row-item skeleton-row">
|
|
404
|
+
<td><div class="skeleton skeleton-badge" style="width:65px;"></div></td>
|
|
405
|
+
<td>
|
|
406
|
+
<div class="skeleton-group">
|
|
407
|
+
<div class="skeleton skeleton-text" style="width:150px;"></div>
|
|
408
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:85px;"></div>
|
|
409
|
+
</div>
|
|
410
|
+
</td>
|
|
411
|
+
<td class="col-hide-tablet">
|
|
412
|
+
<div class="skeleton-group">
|
|
413
|
+
<div class="skeleton skeleton-badge" style="width:70px;"></div>
|
|
414
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:110px;"></div>
|
|
415
|
+
</div>
|
|
416
|
+
</td>
|
|
417
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
418
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
419
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
420
|
+
</tr>
|
|
421
|
+
<tr class="table-row-item skeleton-row">
|
|
422
|
+
<td><div class="skeleton skeleton-badge" style="width:65px;"></div></td>
|
|
423
|
+
<td>
|
|
424
|
+
<div class="skeleton-group">
|
|
425
|
+
<div class="skeleton skeleton-text" style="width:120px;"></div>
|
|
426
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:65px;"></div>
|
|
427
|
+
</div>
|
|
428
|
+
</td>
|
|
429
|
+
<td class="col-hide-tablet">
|
|
430
|
+
<div class="skeleton-group">
|
|
431
|
+
<div class="skeleton skeleton-badge" style="width:70px;"></div>
|
|
432
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:110px;"></div>
|
|
433
|
+
</div>
|
|
434
|
+
</td>
|
|
435
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
436
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
437
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
438
|
+
</tr>
|
|
439
|
+
</tbody>
|
|
440
|
+
</table>
|
|
441
|
+
</div>
|
|
442
|
+
</section>
|
|
443
|
+
|
|
444
|
+
<!-- ================= 4. IMAGES VIEW ================= -->
|
|
445
|
+
<section id="view-images" class="view-section">
|
|
446
|
+
<div class="toolbar">
|
|
447
|
+
<div class="toolbar-left">
|
|
448
|
+
<div class="search-box">
|
|
449
|
+
<svg class="search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
|
|
450
|
+
<input type="text" id="image-search" placeholder="Search images by repository or ID...">
|
|
451
|
+
</div>
|
|
452
|
+
</div>
|
|
453
|
+
<div class="toolbar-right">
|
|
454
|
+
<button class="btn btn-primary" onclick="openModal('pull-image-modal')">
|
|
455
|
+
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg>
|
|
456
|
+
<span>Pull Image</span>
|
|
457
|
+
</button>
|
|
458
|
+
</div>
|
|
459
|
+
</div>
|
|
460
|
+
|
|
461
|
+
<div class="table-responsive">
|
|
462
|
+
<table class="data-table">
|
|
463
|
+
<thead>
|
|
464
|
+
<tr>
|
|
465
|
+
<th>Repository</th>
|
|
466
|
+
<th style="width:90px;">Tag</th>
|
|
467
|
+
<th class="col-hide-tablet" style="width:100px;">Size</th>
|
|
468
|
+
<th class="col-hide-tablet" style="width:100px;">In Use</th>
|
|
469
|
+
<th class="col-hide-tablet">Created</th>
|
|
470
|
+
<th class="col-actions-header" style="text-align:right; width:80px;">Actions</th>
|
|
471
|
+
<th class="mobile-toggle-cell" aria-label="Expand" style="width:38px; text-align:center;"></th>
|
|
472
|
+
</tr>
|
|
473
|
+
</thead>
|
|
474
|
+
<tbody id="images-tbody">
|
|
475
|
+
<tr class="table-row-item skeleton-row">
|
|
476
|
+
<td>
|
|
477
|
+
<div class="skeleton-group">
|
|
478
|
+
<div class="skeleton skeleton-text" style="width:140px;"></div>
|
|
479
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:85px;"></div>
|
|
480
|
+
</div>
|
|
481
|
+
</td>
|
|
482
|
+
<td><div class="skeleton skeleton-badge" style="width:45px;"></div></td>
|
|
483
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:55px;"></div></td>
|
|
484
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-badge" style="width:50px;"></div></td>
|
|
485
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
486
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
487
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
488
|
+
</tr>
|
|
489
|
+
<tr class="table-row-item skeleton-row">
|
|
490
|
+
<td>
|
|
491
|
+
<div class="skeleton-group">
|
|
492
|
+
<div class="skeleton skeleton-text" style="width:165px;"></div>
|
|
493
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:95px;"></div>
|
|
494
|
+
</div>
|
|
495
|
+
</td>
|
|
496
|
+
<td><div class="skeleton skeleton-badge" style="width:45px;"></div></td>
|
|
497
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:55px;"></div></td>
|
|
498
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-badge" style="width:50px;"></div></td>
|
|
499
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
500
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
501
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
502
|
+
</tr>
|
|
503
|
+
<tr class="table-row-item skeleton-row">
|
|
504
|
+
<td>
|
|
505
|
+
<div class="skeleton-group">
|
|
506
|
+
<div class="skeleton skeleton-text" style="width:125px;"></div>
|
|
507
|
+
<div class="skeleton skeleton-text skeleton-sub" style="width:75px;"></div>
|
|
508
|
+
</div>
|
|
509
|
+
</td>
|
|
510
|
+
<td><div class="skeleton skeleton-badge" style="width:45px;"></div></td>
|
|
511
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:55px;"></div></td>
|
|
512
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-badge" style="width:50px;"></div></td>
|
|
513
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
514
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
515
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
516
|
+
</tr>
|
|
517
|
+
</tbody>
|
|
518
|
+
</table>
|
|
519
|
+
</div>
|
|
520
|
+
</section>
|
|
521
|
+
|
|
522
|
+
<!-- ================= 5. VOLUMES VIEW ================= -->
|
|
523
|
+
<section id="view-volumes" class="view-section">
|
|
524
|
+
<div class="toolbar">
|
|
525
|
+
<div class="toolbar-left">
|
|
526
|
+
<div class="search-box">
|
|
527
|
+
<svg class="search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
|
|
528
|
+
<input type="text" id="volume-search" placeholder="Search volumes by name or driver...">
|
|
529
|
+
</div>
|
|
530
|
+
</div>
|
|
531
|
+
<div class="toolbar-right">
|
|
532
|
+
<button class="btn btn-primary" onclick="openModal('create-volume-modal')">
|
|
533
|
+
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
|
|
534
|
+
<span>Create Volume</span>
|
|
535
|
+
</button>
|
|
536
|
+
</div>
|
|
537
|
+
</div>
|
|
538
|
+
|
|
539
|
+
<div class="table-responsive">
|
|
540
|
+
<table class="data-table">
|
|
541
|
+
<thead>
|
|
542
|
+
<tr>
|
|
543
|
+
<th>Name</th>
|
|
544
|
+
<th style="width:90px;">Driver</th>
|
|
545
|
+
<th class="col-hide-tablet">Mountpoint</th>
|
|
546
|
+
<th class="col-hide-tablet">Created</th>
|
|
547
|
+
<th class="col-actions-header" style="text-align:right; width:80px;">Actions</th>
|
|
548
|
+
<th class="mobile-toggle-cell" aria-label="Expand" style="width:38px; text-align:center;"></th>
|
|
549
|
+
</tr>
|
|
550
|
+
</thead>
|
|
551
|
+
<tbody id="volumes-tbody">
|
|
552
|
+
<tr class="table-row-item skeleton-row">
|
|
553
|
+
<td><div class="skeleton skeleton-text" style="width:130px;"></div></td>
|
|
554
|
+
<td><div class="skeleton skeleton-badge" style="width:50px;"></div></td>
|
|
555
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:160px;"></div></td>
|
|
556
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
557
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
558
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
559
|
+
</tr>
|
|
560
|
+
<tr class="table-row-item skeleton-row">
|
|
561
|
+
<td><div class="skeleton skeleton-text" style="width:150px;"></div></td>
|
|
562
|
+
<td><div class="skeleton skeleton-badge" style="width:50px;"></div></td>
|
|
563
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:180px;"></div></td>
|
|
564
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
565
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
566
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
567
|
+
</tr>
|
|
568
|
+
<tr class="table-row-item skeleton-row">
|
|
569
|
+
<td><div class="skeleton skeleton-text" style="width:115px;"></div></td>
|
|
570
|
+
<td><div class="skeleton skeleton-badge" style="width:50px;"></div></td>
|
|
571
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:140px;"></div></td>
|
|
572
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:85px;"></div></td>
|
|
573
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
574
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
575
|
+
</tr>
|
|
576
|
+
</tbody>
|
|
577
|
+
</table>
|
|
578
|
+
</div>
|
|
579
|
+
</section>
|
|
580
|
+
|
|
581
|
+
<!-- ================= 6. NETWORKS VIEW ================= -->
|
|
582
|
+
<section id="view-networks" class="view-section">
|
|
583
|
+
<div class="toolbar">
|
|
584
|
+
<div class="toolbar-left">
|
|
585
|
+
<div class="search-box">
|
|
586
|
+
<svg class="search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
|
|
587
|
+
<input type="text" id="network-search" placeholder="Search networks by name or subnet...">
|
|
588
|
+
</div>
|
|
589
|
+
</div>
|
|
590
|
+
<div class="toolbar-right">
|
|
591
|
+
<button class="btn btn-primary" onclick="openModal('create-network-modal')">
|
|
592
|
+
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
|
|
593
|
+
<span>Create Network</span>
|
|
594
|
+
</button>
|
|
595
|
+
</div>
|
|
596
|
+
</div>
|
|
597
|
+
|
|
598
|
+
<div class="table-responsive">
|
|
599
|
+
<table class="data-table">
|
|
600
|
+
<thead>
|
|
601
|
+
<tr>
|
|
602
|
+
<th>Network Name</th>
|
|
603
|
+
<th class="col-hide-tablet" style="width:110px;">ID</th>
|
|
604
|
+
<th style="width:90px;">Driver</th>
|
|
605
|
+
<th class="col-hide-tablet">Subnets</th>
|
|
606
|
+
<th class="col-hide-tablet">Gateways</th>
|
|
607
|
+
<th class="col-actions-header" style="text-align:right; width:80px;">Actions</th>
|
|
608
|
+
<th class="mobile-toggle-cell" aria-label="Expand" style="width:38px; text-align:center;"></th>
|
|
609
|
+
</tr>
|
|
610
|
+
</thead>
|
|
611
|
+
<tbody id="networks-tbody">
|
|
612
|
+
<tr class="table-row-item skeleton-row">
|
|
613
|
+
<td><div class="skeleton skeleton-text" style="width:110px;"></div></td>
|
|
614
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:80px;"></div></td>
|
|
615
|
+
<td><div class="skeleton skeleton-badge" style="width:55px;"></div></td>
|
|
616
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:110px;"></div></td>
|
|
617
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:95px;"></div></td>
|
|
618
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
619
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
620
|
+
</tr>
|
|
621
|
+
<tr class="table-row-item skeleton-row">
|
|
622
|
+
<td><div class="skeleton skeleton-text" style="width:130px;"></div></td>
|
|
623
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:80px;"></div></td>
|
|
624
|
+
<td><div class="skeleton skeleton-badge" style="width:55px;"></div></td>
|
|
625
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:110px;"></div></td>
|
|
626
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:95px;"></div></td>
|
|
627
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
628
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
629
|
+
</tr>
|
|
630
|
+
<tr class="table-row-item skeleton-row">
|
|
631
|
+
<td><div class="skeleton skeleton-text" style="width:95px;"></div></td>
|
|
632
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:80px;"></div></td>
|
|
633
|
+
<td><div class="skeleton skeleton-badge" style="width:55px;"></div></td>
|
|
634
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:110px;"></div></td>
|
|
635
|
+
<td class="col-hide-tablet"><div class="skeleton skeleton-text" style="width:95px;"></div></td>
|
|
636
|
+
<td class="col-actions-header" style="text-align:right;"><div class="skeleton skeleton-btn" style="margin-left:auto;"></div></td>
|
|
637
|
+
<td class="mobile-toggle-cell"><div class="skeleton skeleton-icon" style="margin:0 auto;"></div></td>
|
|
638
|
+
</tr>
|
|
639
|
+
</tbody>
|
|
640
|
+
</table>
|
|
641
|
+
</div>
|
|
642
|
+
</section>
|
|
643
|
+
|
|
644
|
+
<!-- ================= 7. LIVE EVENTS VIEW ================= -->
|
|
645
|
+
<section id="view-events" class="view-section">
|
|
646
|
+
<div class="toolbar">
|
|
647
|
+
<div class="toolbar-left">
|
|
648
|
+
<div class="search-box">
|
|
649
|
+
<svg class="search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
|
|
650
|
+
<input type="text" id="event-search" placeholder="Filter events by action, container, or type...">
|
|
651
|
+
</div>
|
|
652
|
+
</div>
|
|
653
|
+
<div class="toolbar-right">
|
|
654
|
+
<button class="btn btn-secondary" onclick="loadEvents(true)" title="Fetch recent events from Podman daemon">
|
|
655
|
+
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.67"/></svg>
|
|
656
|
+
<span>Reload</span>
|
|
657
|
+
</button>
|
|
658
|
+
<button class="btn btn-secondary" onclick="state.events = []; renderEvents(); updateBadges();" title="Clear event log">
|
|
659
|
+
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 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"></path></svg>
|
|
660
|
+
<span>Clear</span>
|
|
661
|
+
</button>
|
|
662
|
+
</div>
|
|
663
|
+
</div>
|
|
664
|
+
|
|
665
|
+
<div class="card" style="margin-bottom:0;">
|
|
666
|
+
<div id="events-container">
|
|
667
|
+
<div class="empty-state">Listening for daemon events...</div>
|
|
668
|
+
</div>
|
|
669
|
+
</div>
|
|
670
|
+
</section>
|
|
671
|
+
|
|
672
|
+
</main>
|
|
673
|
+
</div>
|
|
674
|
+
|
|
675
|
+
<!-- ================= MODALS ================= -->
|
|
676
|
+
|
|
677
|
+
<!-- Modal: Run / Create Container -->
|
|
678
|
+
<div class="modal-overlay" id="create-container-modal">
|
|
679
|
+
<div class="modal-container large">
|
|
680
|
+
<div class="modal-header">
|
|
681
|
+
<div class="modal-title">Run New Container</div>
|
|
682
|
+
<button class="modal-close" onclick="closeModal('create-container-modal')">
|
|
683
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
684
|
+
</button>
|
|
685
|
+
</div>
|
|
686
|
+
<form id="form-create-container">
|
|
687
|
+
<div class="modal-body">
|
|
688
|
+
<div class="form-row">
|
|
689
|
+
<div class="form-group">
|
|
690
|
+
<label class="form-label">Image Name *</label>
|
|
691
|
+
<input type="text" class="form-input" id="create-image-input" placeholder="e.g. docker.io/library/nginx:alpine or alpine:latest" required>
|
|
692
|
+
<div class="form-help">Pulls automatically if not present locally.</div>
|
|
693
|
+
</div>
|
|
694
|
+
<div class="form-group">
|
|
695
|
+
<label class="form-label">Container Name (Optional)</label>
|
|
696
|
+
<input type="text" class="form-input" id="create-name-input" placeholder="e.g. my-web-app">
|
|
697
|
+
</div>
|
|
698
|
+
</div>
|
|
699
|
+
|
|
700
|
+
<div class="form-row">
|
|
701
|
+
<div class="form-group">
|
|
702
|
+
<label class="form-label">Port Publish (-p)</label>
|
|
703
|
+
<input type="text" class="form-input" id="create-ports-input" placeholder="8080:80 (host:container, comma separated)">
|
|
704
|
+
<div class="form-help">e.g. 8080:80, 3000:3000</div>
|
|
705
|
+
</div>
|
|
706
|
+
<div class="form-group">
|
|
707
|
+
<label class="form-label">Restart Policy</label>
|
|
708
|
+
<select class="form-select" id="create-restart-select">
|
|
709
|
+
<option value="no">no (default)</option>
|
|
710
|
+
<option value="on-failure">on-failure</option>
|
|
711
|
+
<option value="always">always</option>
|
|
712
|
+
</select>
|
|
713
|
+
</div>
|
|
714
|
+
</div>
|
|
715
|
+
|
|
716
|
+
<div class="form-group">
|
|
717
|
+
<label class="form-label">Command / Arguments (Optional)</label>
|
|
718
|
+
<input type="text" class="form-input" id="create-cmd-input" placeholder="e.g. sh or nginx -g 'daemon off;'">
|
|
719
|
+
</div>
|
|
720
|
+
|
|
721
|
+
<div class="form-row">
|
|
722
|
+
<div class="form-group">
|
|
723
|
+
<label class="form-label">Environment Variables (-e)</label>
|
|
724
|
+
<textarea class="form-textarea" id="create-envs-input" rows="2" placeholder="PORT=8080 NODE_ENV=production"></textarea>
|
|
725
|
+
</div>
|
|
726
|
+
<div class="form-group">
|
|
727
|
+
<label class="form-label">Volume Mounts (-v)</label>
|
|
728
|
+
<textarea class="form-textarea" id="create-volumes-input" rows="2" placeholder="/host/path:/container/path my_vol:/var/data"></textarea>
|
|
729
|
+
</div>
|
|
730
|
+
</div>
|
|
731
|
+
|
|
732
|
+
<label class="form-check">
|
|
733
|
+
<input type="checkbox" id="create-autoremove-check">
|
|
734
|
+
<span>Auto-remove container when stopped (--rm)</span>
|
|
735
|
+
</label>
|
|
736
|
+
</div>
|
|
737
|
+
<div class="modal-footer">
|
|
738
|
+
<button type="button" class="btn btn-secondary" onclick="closeModal('create-container-modal')">Cancel</button>
|
|
739
|
+
<button type="submit" class="btn btn-primary" id="btn-submit-create-container">Run Container</button>
|
|
740
|
+
</div>
|
|
741
|
+
</form>
|
|
742
|
+
</div>
|
|
743
|
+
</div>
|
|
744
|
+
|
|
745
|
+
<!-- Modal: Create Pod -->
|
|
746
|
+
<div class="modal-overlay" id="create-pod-modal">
|
|
747
|
+
<div class="modal-container">
|
|
748
|
+
<div class="modal-header">
|
|
749
|
+
<div class="modal-title">Create New Pod</div>
|
|
750
|
+
<button class="modal-close" onclick="closeModal('create-pod-modal')">
|
|
751
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
752
|
+
</button>
|
|
753
|
+
</div>
|
|
754
|
+
<form id="form-create-pod">
|
|
755
|
+
<div class="modal-body">
|
|
756
|
+
<div class="form-group">
|
|
757
|
+
<label class="form-label">Pod Name *</label>
|
|
758
|
+
<input type="text" class="form-input" id="create-pod-name" placeholder="e.g. web-stack-pod" required>
|
|
759
|
+
</div>
|
|
760
|
+
<div class="form-group">
|
|
761
|
+
<label class="form-label">Publish Ports (-p)</label>
|
|
762
|
+
<input type="text" class="form-input" id="create-pod-ports" placeholder="8080:80, 5432:5432">
|
|
763
|
+
<div class="form-help">Pod ports will be shared by all containers inside this pod.</div>
|
|
764
|
+
</div>
|
|
765
|
+
</div>
|
|
766
|
+
<div class="modal-footer">
|
|
767
|
+
<button type="button" class="btn btn-secondary" onclick="closeModal('create-pod-modal')">Cancel</button>
|
|
768
|
+
<button type="submit" class="btn btn-primary">Create Pod</button>
|
|
769
|
+
</div>
|
|
770
|
+
</form>
|
|
771
|
+
</div>
|
|
772
|
+
</div>
|
|
773
|
+
|
|
774
|
+
<!-- Modal: Pull Image -->
|
|
775
|
+
<div class="modal-overlay" id="pull-image-modal">
|
|
776
|
+
<div class="modal-container">
|
|
777
|
+
<div class="modal-header">
|
|
778
|
+
<div class="modal-title">Pull Container Image</div>
|
|
779
|
+
<button class="modal-close" onclick="closeModal('pull-image-modal')">
|
|
780
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
781
|
+
</button>
|
|
782
|
+
</div>
|
|
783
|
+
<form id="form-pull-image">
|
|
784
|
+
<div class="modal-body">
|
|
785
|
+
<div class="form-group">
|
|
786
|
+
<label class="form-label">Image Name & Tag *</label>
|
|
787
|
+
<input type="text" class="form-input" id="pull-image-input" placeholder="e.g. docker.io/library/alpine:latest or redis:alpine" required>
|
|
788
|
+
<div class="form-help">Popular choices: alpine, nginx:alpine, redis:alpine, node:lts-alpine</div>
|
|
789
|
+
</div>
|
|
790
|
+
<div class="terminal-viewer" id="pull-output" style="display:none; margin-top:12px; height:180px;"></div>
|
|
791
|
+
</div>
|
|
792
|
+
<div class="modal-footer">
|
|
793
|
+
<button type="button" class="btn btn-secondary" onclick="closeModal('pull-image-modal')">Close</button>
|
|
794
|
+
<button type="submit" class="btn btn-primary" id="btn-submit-pull">Pull Image</button>
|
|
795
|
+
</div>
|
|
796
|
+
</form>
|
|
797
|
+
</div>
|
|
798
|
+
</div>
|
|
799
|
+
|
|
800
|
+
<!-- Modal: Create Volume -->
|
|
801
|
+
<div class="modal-overlay" id="create-volume-modal">
|
|
802
|
+
<div class="modal-container">
|
|
803
|
+
<div class="modal-header">
|
|
804
|
+
<div class="modal-title">Create Storage Volume</div>
|
|
805
|
+
<button class="modal-close" onclick="closeModal('create-volume-modal')">
|
|
806
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
807
|
+
</button>
|
|
808
|
+
</div>
|
|
809
|
+
<form id="form-create-volume">
|
|
810
|
+
<div class="modal-body">
|
|
811
|
+
<div class="form-group">
|
|
812
|
+
<label class="form-label">Volume Name *</label>
|
|
813
|
+
<input type="text" class="form-input" id="create-vol-name" placeholder="e.g. app-data-vol" required>
|
|
814
|
+
</div>
|
|
815
|
+
<div class="form-group">
|
|
816
|
+
<label class="form-label">Driver</label>
|
|
817
|
+
<input type="text" class="form-input" id="create-vol-driver" value="local">
|
|
818
|
+
</div>
|
|
819
|
+
</div>
|
|
820
|
+
<div class="modal-footer">
|
|
821
|
+
<button type="button" class="btn btn-secondary" onclick="closeModal('create-volume-modal')">Cancel</button>
|
|
822
|
+
<button type="submit" class="btn btn-primary">Create Volume</button>
|
|
823
|
+
</div>
|
|
824
|
+
</form>
|
|
825
|
+
</div>
|
|
826
|
+
</div>
|
|
827
|
+
|
|
828
|
+
<!-- Modal: Create Network -->
|
|
829
|
+
<div class="modal-overlay" id="create-network-modal">
|
|
830
|
+
<div class="modal-container">
|
|
831
|
+
<div class="modal-header">
|
|
832
|
+
<div class="modal-title">Create Network</div>
|
|
833
|
+
<button class="modal-close" onclick="closeModal('create-network-modal')">
|
|
834
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
835
|
+
</button>
|
|
836
|
+
</div>
|
|
837
|
+
<form id="form-create-network">
|
|
838
|
+
<div class="modal-body">
|
|
839
|
+
<div class="form-group">
|
|
840
|
+
<label class="form-label">Network Name *</label>
|
|
841
|
+
<input type="text" class="form-input" id="create-net-name" placeholder="e.g. custom-net" required>
|
|
842
|
+
</div>
|
|
843
|
+
<div class="form-row">
|
|
844
|
+
<div class="form-group">
|
|
845
|
+
<label class="form-label">Driver</label>
|
|
846
|
+
<select class="form-select" id="create-net-driver">
|
|
847
|
+
<option value="bridge" selected>bridge</option>
|
|
848
|
+
<option value="macvlan">macvlan</option>
|
|
849
|
+
<option value="ipvlan">ipvlan</option>
|
|
850
|
+
</select>
|
|
851
|
+
</div>
|
|
852
|
+
<div class="form-group">
|
|
853
|
+
<label class="form-label">Subnet (Optional)</label>
|
|
854
|
+
<input type="text" class="form-input" id="create-net-subnet" placeholder="e.g. 10.89.0.0/24">
|
|
855
|
+
</div>
|
|
856
|
+
</div>
|
|
857
|
+
<div class="form-group">
|
|
858
|
+
<label class="form-label">Gateway (Optional)</label>
|
|
859
|
+
<input type="text" class="form-input" id="create-net-gateway" placeholder="e.g. 10.89.0.1">
|
|
860
|
+
</div>
|
|
861
|
+
</div>
|
|
862
|
+
<div class="modal-footer">
|
|
863
|
+
<button type="button" class="btn btn-secondary" onclick="closeModal('create-network-modal')">Cancel</button>
|
|
864
|
+
<button type="submit" class="btn btn-primary">Create Network</button>
|
|
865
|
+
</div>
|
|
866
|
+
</form>
|
|
867
|
+
</div>
|
|
868
|
+
</div>
|
|
869
|
+
|
|
870
|
+
<!-- Modal: Inspect JSON -->
|
|
871
|
+
<div class="modal-overlay" id="inspect-modal">
|
|
872
|
+
<div class="modal-container xlarge">
|
|
873
|
+
<div class="modal-header">
|
|
874
|
+
<div class="modal-title" id="inspect-modal-title">Inspect Details</div>
|
|
875
|
+
<button class="modal-close" onclick="closeModal('inspect-modal')">
|
|
876
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
877
|
+
</button>
|
|
878
|
+
</div>
|
|
879
|
+
<div class="modal-subheader">
|
|
880
|
+
<div class="modal-subheader-left">
|
|
881
|
+
<span style="font-size:11px; color:var(--text-tertiary); font-family:var(--font-mono); letter-spacing:0.5px;">RAW JSON</span>
|
|
882
|
+
</div>
|
|
883
|
+
<div class="modal-subheader-right">
|
|
884
|
+
<button class="btn btn-secondary btn-sm" id="btn-copy-inspect">
|
|
885
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>
|
|
886
|
+
<span>Copy JSON</span>
|
|
887
|
+
</button>
|
|
888
|
+
</div>
|
|
889
|
+
</div>
|
|
890
|
+
<div class="modal-body" style="padding:0; flex:1; min-height:0; display:flex; flex-direction:column;">
|
|
891
|
+
<div class="terminal-viewer" id="inspect-content" style="max-height:none; height:100%; border:none; border-radius:0;"></div>
|
|
892
|
+
</div>
|
|
893
|
+
</div>
|
|
894
|
+
</div>
|
|
895
|
+
|
|
896
|
+
<!-- Modal: Container Logs Viewer -->
|
|
897
|
+
<div class="modal-overlay" id="logs-modal">
|
|
898
|
+
<div class="modal-container xlarge">
|
|
899
|
+
<div class="modal-header">
|
|
900
|
+
<div class="modal-title" id="logs-modal-title">Container Logs</div>
|
|
901
|
+
<button class="modal-close" onclick="closeModal('logs-modal')">
|
|
902
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
903
|
+
</button>
|
|
904
|
+
</div>
|
|
905
|
+
<div class="modal-subheader">
|
|
906
|
+
<div class="modal-subheader-left">
|
|
907
|
+
<button type="button" class="btn btn-secondary btn-sm toggle-btn active" id="btn-logs-autoscroll" onclick="toggleLogsAutoscroll()" title="Toggle Auto-Scroll">
|
|
908
|
+
<span>Auto-Scroll</span>
|
|
909
|
+
</button>
|
|
910
|
+
<button type="button" class="btn btn-secondary btn-sm toggle-btn" id="btn-logs-timestamps" onclick="toggleLogsTimestamps()" title="Toggle Timestamps">
|
|
911
|
+
<span>Timestamps</span>
|
|
912
|
+
</button>
|
|
913
|
+
<div class="select-wrapper">
|
|
914
|
+
<select id="logs-tail-select" class="form-select form-select-sm" onchange="restartLogsStream()" title="Lines to tail">
|
|
915
|
+
<option value="50">50 lines</option>
|
|
916
|
+
<option value="100" selected>100 lines</option>
|
|
917
|
+
<option value="500">500 lines</option>
|
|
918
|
+
<option value="all">All</option>
|
|
919
|
+
</select>
|
|
920
|
+
</div>
|
|
921
|
+
</div>
|
|
922
|
+
<div class="modal-subheader-right">
|
|
923
|
+
<button type="button" class="btn btn-secondary btn-sm" onclick="copyLogsToClipboard()" title="Copy logs to clipboard">
|
|
924
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>
|
|
925
|
+
<span>Copy</span>
|
|
926
|
+
</button>
|
|
927
|
+
<button type="button" class="btn btn-secondary btn-sm" onclick="clearLogsViewer()" title="Clear viewer">
|
|
928
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 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"></path></svg>
|
|
929
|
+
<span>Clear</span>
|
|
930
|
+
</button>
|
|
931
|
+
</div>
|
|
932
|
+
</div>
|
|
933
|
+
<div class="modal-body" style="padding:0; flex:1; min-height:0; display:flex; flex-direction:column;">
|
|
934
|
+
<div class="terminal-viewer" id="logs-viewer" style="max-height:none; height:100%; border:none; border-radius:0;"></div>
|
|
935
|
+
</div>
|
|
936
|
+
</div>
|
|
937
|
+
</div>
|
|
938
|
+
|
|
939
|
+
<!-- Modal: Exec Command -->
|
|
940
|
+
<div class="modal-overlay" id="exec-modal">
|
|
941
|
+
<div class="modal-container large">
|
|
942
|
+
<div class="modal-header">
|
|
943
|
+
<div class="modal-title" id="exec-modal-title">Execute Command</div>
|
|
944
|
+
<button class="modal-close" onclick="closeModal('exec-modal')">
|
|
945
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
946
|
+
</button>
|
|
947
|
+
</div>
|
|
948
|
+
<div class="modal-body">
|
|
949
|
+
<div class="form-group">
|
|
950
|
+
<label class="form-label">Command to execute</label>
|
|
951
|
+
<div style="display:flex; gap:8px;">
|
|
952
|
+
<input type="text" class="form-input" id="exec-cmd-input" placeholder="e.g. ps aux, uname -a, cat /etc/os-release" autofocus>
|
|
953
|
+
<button class="btn btn-primary" id="btn-run-exec">Run</button>
|
|
954
|
+
</div>
|
|
955
|
+
</div>
|
|
956
|
+
<div class="terminal-viewer" id="exec-output" style="height:260px;"></div>
|
|
957
|
+
</div>
|
|
958
|
+
<div class="modal-footer">
|
|
959
|
+
<button class="btn btn-secondary" onclick="closeModal('exec-modal')">Done</button>
|
|
960
|
+
</div>
|
|
961
|
+
</div>
|
|
962
|
+
</div>
|
|
963
|
+
|
|
964
|
+
<!-- Modal: Prune System -->
|
|
965
|
+
<div class="modal-overlay" id="prune-modal">
|
|
966
|
+
<div class="modal-container">
|
|
967
|
+
<div class="modal-header">
|
|
968
|
+
<div class="modal-title">System Prune & Cleanup</div>
|
|
969
|
+
<button class="modal-close" onclick="closeModal('prune-modal')">
|
|
970
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
971
|
+
</button>
|
|
972
|
+
</div>
|
|
973
|
+
<div class="modal-body">
|
|
974
|
+
<p style="font-size:13px; color:var(--text-muted); margin-bottom:18px;">
|
|
975
|
+
Choose what unused Podman resources you want to reclaim and delete:
|
|
976
|
+
</p>
|
|
977
|
+
|
|
978
|
+
<div style="display:flex; flex-direction:column; gap:10px;">
|
|
979
|
+
<div style="display:flex; justify-content:space-between; align-items:center; padding:12px; border:1px solid var(--border-color); border-radius:var(--radius-sm); background-color:var(--bg-input);">
|
|
980
|
+
<div>
|
|
981
|
+
<strong>Prune Stopped Containers</strong>
|
|
982
|
+
<div style="font-size:11px; color:var(--text-dim);">Removes all containers not currently running</div>
|
|
983
|
+
</div>
|
|
984
|
+
<button class="btn btn-warning btn-sm" onclick="executePrune('containers')">Prune Containers</button>
|
|
985
|
+
</div>
|
|
986
|
+
|
|
987
|
+
<div style="display:flex; justify-content:space-between; align-items:center; padding:12px; border:1px solid var(--border-color); border-radius:var(--radius-sm); background-color:var(--bg-input);">
|
|
988
|
+
<div>
|
|
989
|
+
<strong>Prune Unused Images</strong>
|
|
990
|
+
<div style="font-size:11px; color:var(--text-dim);">Removes dangling images not referenced by containers</div>
|
|
991
|
+
</div>
|
|
992
|
+
<button class="btn btn-warning btn-sm" onclick="executePrune('images')">Prune Images</button>
|
|
993
|
+
</div>
|
|
994
|
+
|
|
995
|
+
<div style="display:flex; justify-content:space-between; align-items:center; padding:12px; border:1px solid var(--border-color); border-radius:var(--radius-sm); background-color:var(--bg-input);">
|
|
996
|
+
<div>
|
|
997
|
+
<strong>Prune Unused Volumes</strong>
|
|
998
|
+
<div style="font-size:11px; color:var(--text-dim);">Removes all volumes not in use by at least one container</div>
|
|
999
|
+
</div>
|
|
1000
|
+
<button class="btn btn-warning btn-sm" onclick="executePrune('volumes')">Prune Volumes</button>
|
|
1001
|
+
</div>
|
|
1002
|
+
|
|
1003
|
+
<div style="display:flex; justify-content:space-between; align-items:center; padding:12px; border:1px solid rgba(239, 68, 68, 0.3); border-radius:var(--radius-sm); background-color:var(--danger-bg); margin-top:8px;">
|
|
1004
|
+
<div>
|
|
1005
|
+
<strong style="color:#fca5a5;">Full System Prune</strong>
|
|
1006
|
+
<div style="font-size:11px; color:var(--text-dim);">Removes all unused containers, images, volumes, and networks</div>
|
|
1007
|
+
</div>
|
|
1008
|
+
<button class="btn btn-danger btn-sm" onclick="executePrune('all')">Prune All</button>
|
|
1009
|
+
</div>
|
|
1010
|
+
</div>
|
|
1011
|
+
</div>
|
|
1012
|
+
<div class="modal-footer">
|
|
1013
|
+
<button class="btn btn-secondary" onclick="closeModal('prune-modal')">Close</button>
|
|
1014
|
+
</div>
|
|
1015
|
+
</div>
|
|
1016
|
+
</div>
|
|
1017
|
+
|
|
1018
|
+
<!-- Floating Action Menu Portal (Rendered at root to prevent overflow clipping & auto-refresh destruction) -->
|
|
1019
|
+
<div id="floating-action-dropdown" class="floating-action-menu" role="menu" aria-label="Item Actions" style="display:none;"></div>
|
|
1020
|
+
|
|
1021
|
+
<!-- Toast Container -->
|
|
1022
|
+
<div id="toast-container"></div>
|
|
1023
|
+
|
|
1024
|
+
<!-- Scripts -->
|
|
1025
|
+
<script src="/js/api.js"></script>
|
|
1026
|
+
<script src="/js/app.js"></script>
|
|
1027
|
+
</body>
|
|
1028
|
+
</html>
|