feat(header-menu): add maintenance mode functionality and related UI elements

This commit is contained in:
Tống Thành Đạt
2026-04-08 20:57:28 +07:00
parent ffe2f12bb3
commit b6f1b92feb
6 changed files with 135 additions and 3 deletions

View File

@@ -1067,6 +1067,17 @@
</select>
</div>
</div>
<div class="mb-3">
<label class="form-label fw-medium d-block">Maintenance Mode</label>
<input type="hidden" name="is_maintainance" value="false">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="is_maintainance" id="formMaintainance" value="true">
<label class="form-check-label" for="formMaintainance">
Redirect this menu page to the maintenance screen while it is being repaired.
</label>
</div>
<small class="text-muted">Use this when the linked page should be temporarily unavailable to visitors.</small>
</div>
<div class="mb-0">
<label class="form-label fw-medium">Link Type</label>
<div class="d-flex gap-3">