mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
Compare commits
2 commits
ddce3947c6
...
36e1ad8441
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36e1ad8441 | ||
|
|
a06a0879ff |
3 changed files with 27 additions and 15 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -29,3 +29,6 @@ yarn-error.log
|
||||||
/.junie/guidelines.md
|
/.junie/guidelines.md
|
||||||
/CLAUDE.md
|
/CLAUDE.md
|
||||||
/.mcp.json
|
/.mcp.json
|
||||||
|
/.ai
|
||||||
|
.DS_Store
|
||||||
|
/boost.json
|
||||||
|
|
|
||||||
15
boost.json
15
boost.json
|
|
@ -1,15 +0,0 @@
|
||||||
{
|
|
||||||
"agents": [
|
|
||||||
"claude_code",
|
|
||||||
"copilot",
|
|
||||||
"cursor",
|
|
||||||
"phpstorm"
|
|
||||||
],
|
|
||||||
"editors": [
|
|
||||||
"claude_code",
|
|
||||||
"cursor",
|
|
||||||
"phpstorm",
|
|
||||||
"vscode"
|
|
||||||
],
|
|
||||||
"guidelines": []
|
|
||||||
}
|
|
||||||
|
|
@ -368,6 +368,10 @@ new class extends Component {
|
||||||
<flux:menu.item icon="arrow-up-circle">Update Firmware</flux:menu.item>
|
<flux:menu.item icon="arrow-up-circle">Update Firmware</flux:menu.item>
|
||||||
</flux:modal.trigger>
|
</flux:modal.trigger>
|
||||||
<flux:menu.item icon="bars-3" href="{{ route('devices.logs', $device) }}" wire:navigate>Show Logs</flux:menu.item>
|
<flux:menu.item icon="bars-3" href="{{ route('devices.logs', $device) }}" wire:navigate>Show Logs</flux:menu.item>
|
||||||
|
<flux:modal.trigger name="mirror-url">
|
||||||
|
<flux:menu.item icon="link">Mirror URL</flux:menu.item>
|
||||||
|
</flux:modal.trigger>
|
||||||
|
<flux:menu.separator/>
|
||||||
<flux:modal.trigger name="delete-device">
|
<flux:modal.trigger name="delete-device">
|
||||||
<flux:menu.item icon="trash" variant="danger">Delete Device</flux:menu.item>
|
<flux:menu.item icon="trash" variant="danger">Delete Device</flux:menu.item>
|
||||||
</flux:modal.trigger>
|
</flux:modal.trigger>
|
||||||
|
|
@ -498,6 +502,26 @@ new class extends Component {
|
||||||
</flux:modal>
|
</flux:modal>
|
||||||
|
|
||||||
|
|
||||||
|
<flux:modal name="mirror-url" class="md:w-96">
|
||||||
|
@php
|
||||||
|
$mirrorUrl = url('/mirror/index.html') . '?mac_address=' . urlencode($device->mac_address) . '&api_key=' . urlencode($device->api_key);
|
||||||
|
@endphp
|
||||||
|
|
||||||
|
<div class="space-y-6">
|
||||||
|
<div>
|
||||||
|
<flux:heading size="lg">Mirror WebUI</flux:heading>
|
||||||
|
<flux:subheading>Mirror this device onto older devices with a web browser — Safari is supported back to iOS 9.</flux:subheading>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<flux:input
|
||||||
|
label="Mirror URL"
|
||||||
|
value="{{$mirrorUrl}}"
|
||||||
|
readonly
|
||||||
|
copyable
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</flux:modal>
|
||||||
|
|
||||||
@if(!$device->mirror_device_id)
|
@if(!$device->mirror_device_id)
|
||||||
@if($current_image_path)
|
@if($current_image_path)
|
||||||
<flux:separator class="mt-6 mb-6" text="Screen"/>
|
<flux:separator class="mt-6 mb-6" text="Screen"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue