mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
feat: add function to pause screen generation for up to 480min
chore: code quality
This commit is contained in:
parent
4fb5f54e18
commit
7e355c2d92
10 changed files with 207 additions and 25 deletions
|
|
@ -314,6 +314,13 @@ new class extends Component {
|
|||
<flux:separator vertical/>
|
||||
<x-responsive-icons.battery :percent="$device->batteryPercent"/>
|
||||
@endif
|
||||
@if($device->isPauseActive())
|
||||
<flux:separator vertical/>
|
||||
<flux:tooltip content="Pause active until {{$device->pause_until?->format('H:i')}}"
|
||||
position="bottom">
|
||||
<flux:icon name="pause-circle" variant="solid"/>
|
||||
</flux:tooltip>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
<flux:modal.trigger name="edit-device">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue