🏅 Sync 2026-10-30 20:56:14

This commit is contained in:
github-actions[bot] committed 2026-10-30 20:56:14 +08:00
1 parent f470897df5
commit 2d2368945f
32 files changed
+2793 -2828

No files matched your search

@@ -110,9 +110,30 @@ return dm2.dv.extend({
isLocal = true;
if (info_response?.code !== 200) {
return E('div', {}, [ info_response?.body?.message ]);
return E('div', { 'class': 'cbi-section' }, [
E('h3', {}, _('Docker Daemon Status')),
E('div', { 'class': 'alert-message warning', style: 'margin-bottom: 15px;' },
info_response?.body?.message || _('Failed to connect to Docker daemon.')
),
E('p', {}, _('The Docker daemon appears to be stopped. You can attempt to start it below:')),
E('div', { style: 'display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px;' }, [
E('button', {
'class': 'btn cbi-button-action positive',
'click': () => {
this.handleAction('dockerd', 'start').then((success) => {
if (success) {
setTimeout(() => location.reload(), 1500);
}
});
}
}, [_('Start')]),
E('button', {
'class': 'btn cbi-button-action neutral',
'click': () => location.reload()
}, [_('Refresh')])
])
]);
}
this.parseHeaders(version_response.headers, version_headers);
this.parseBody(version_response.body, version_body);
this.parseBody(info_response.body, info_body);