фикс действий с системой

This commit is contained in:
Vladislav Ostapov 2024-11-14 16:59:41 +03:00
parent e27164a8b3
commit 5ab16a89db

View File

@ -617,10 +617,10 @@
</tbody> </tbody>
</table> </table>
<div> <div>
<button class="dangerous-button" @click="fetch('/api/reboot', { method: 'POST' }).then((r) => { window.location.reload(); })">Перезагрузить модем</button> <button class="dangerous-button" onclick="fetch('/api/reboot', { method: 'POST' }).then((r) => { window.location.reload(); })">Перезагрузить модем</button>
</div> </div>
<div> <div>
<button class="dangerous-button" @click="fetch('/api/resetSettings', { method: 'POST' }).then((r) => { window.location.reload(); })">Сбросить модем до заводских настроек</button> <button class="dangerous-button" onclick="fetch('/api/resetSettings', { method: 'POST' }).then((r) => { window.location.reload(); })">Сбросить модем до заводских настроек</button>
</div> </div>
<h3>Обновление ПО</h3> <h3>Обновление ПО</h3>