Add cancel shutdown feature and enhance system control access methods in dashboard
This commit is contained in:
@@ -53,22 +53,36 @@ Access the interactive web dashboard at `http://localhost:5000` featuring:
|
||||
|
||||
For security reasons, the system control feature is hidden by default. To access it:
|
||||
|
||||
**Activation Methods:**
|
||||
**Mobile Device Access Methods:**
|
||||
1. **Long press** (2 seconds) on the "Resource Monitor" title in the navigation bar
|
||||
2. **Triple tap** quickly on the "Resource Monitor" title
|
||||
3. **Five quick taps** on the chart icon (📊) next to the title
|
||||
|
||||
**Desktop Access Methods:**
|
||||
1. **Triple-click** on the "Resource Monitor" title in the navigation bar
|
||||
2. **Keyboard shortcut**: `Ctrl + Shift + P`
|
||||
3. **Long press** (2 seconds) on the title with mouse
|
||||
|
||||
**Features:**
|
||||
- **Shutdown**: Graceful or forced system shutdown
|
||||
- **Restart**: System restart with optional force
|
||||
- **Timer Support**: Delay execution from 0 to 86400 seconds (24 hours)
|
||||
- **Timer Support**: Delay execution from 0 to 86400 seconds (24 hours) - Default: 15 seconds
|
||||
- **Cancel Function**: Cancel any pending shutdown/restart (similar to `shutdown -a`)
|
||||
- **Safety Confirmations**: Multiple confirmation dialogs before execution
|
||||
- **Auto-lock**: System control auto-locks after 30 seconds for security
|
||||
|
||||
**Usage:**
|
||||
1. Activate the system control button using one of the methods above
|
||||
2. Click the red "System" button that appears in the navigation
|
||||
3. Set optional timer (leave empty for immediate action)
|
||||
4. Choose shutdown or restart
|
||||
5. Confirm the action
|
||||
2. Look for the red pulsing "System" button that appears in the navigation
|
||||
3. Tap/click the "System" button to open the control panel
|
||||
4. Adjust timer if needed (defaults to 15 seconds for safety)
|
||||
5. Choose shutdown, restart, or cancel any pending operation
|
||||
6. Confirm the action
|
||||
|
||||
📱 **Mobile Tips:**
|
||||
- Device will vibrate when system control is unlocked (if supported)
|
||||
- Touch-friendly interface optimized for mobile screens
|
||||
- All gestures work with touchscreens
|
||||
|
||||
⚠️ **Warning**: Use this feature with extreme caution as it will shut down or restart the entire system.
|
||||
- **Health Monitoring**: Comprehensive health checks and uptime tracking
|
||||
|
||||
Reference in New Issue
Block a user