mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
Compare commits
3 commits
131d99a2e3
...
3032c09778
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3032c09778 | ||
|
|
f1903bcbe8 | ||
|
|
621c108e78 |
3 changed files with 7 additions and 7 deletions
|
|
@ -803,7 +803,7 @@ HTML;
|
||||||
</flux:field>
|
</flux:field>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<flux:button variant="primary" icon="cloud-arrow-down" wire:click="updateData" class="w-full mt-4">
|
<flux:button icon="cloud-arrow-down" wire:click="updateData" class="w-full mt-4">
|
||||||
Fetch data now
|
Fetch data now
|
||||||
</flux:button>
|
</flux:button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ new class extends Component {
|
||||||
|
|
||||||
<flux:field>
|
<flux:field>
|
||||||
<flux:checkbox wire:model.live="alias" label="Enable Alias" />
|
<flux:checkbox wire:model.live="alias" label="Enable Alias" />
|
||||||
<flux:description>Enable a public alias URL for this recipe.</flux:description>
|
<flux:description>Enable an Alias URL for this recipe. Your server does not need to be exposed to the internet, but your device must be able to reach the URL. <a href="https://help.usetrmnl.com/en/articles/10701448-alias-plugin">Docs</a></flux:description>
|
||||||
</flux:field>
|
</flux:field>
|
||||||
|
|
||||||
@if($alias)
|
@if($alias)
|
||||||
|
|
@ -87,7 +87,7 @@ new class extends Component {
|
||||||
readonly
|
readonly
|
||||||
copyable
|
copyable
|
||||||
/>
|
/>
|
||||||
<flux:description>Use this URL to access the recipe image directly. Add <code>?device-model=name</code> to specify a device model.</flux:description>
|
<flux:description>Copy this URL to your TRMNL Dashboard. By default, image is created for TRMNL OG; use parameter <code>?device-model=</code> to specify a device model.</flux:description>
|
||||||
</flux:field>
|
</flux:field>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
<x-trmnl::view size="{{ $size }}">
|
<x-trmnl::view size="{{ $size }}">
|
||||||
<x-trmnl::layout>
|
<x-trmnl::layout>
|
||||||
<x-trmnl::layout class="layout--col">
|
<x-trmnl::layout class="layout--col">
|
||||||
<div class="b-h-gray-1">{{$data[0]['a']}}</div>
|
<div class="b-h-gray-1">{{$data['data'][0]['a'] ?? ''}}</div>
|
||||||
@if (strlen($data[0]['q']) < 300 && $size != 'quadrant')
|
@if (strlen($data['data'][0]['q'] ?? '') < 300 && $size != 'quadrant')
|
||||||
<p class="value">{{ $data[0]['q'] }}</p>
|
<p class="value">{{ $data['data'][0]['q'] ?? '' }}</p>
|
||||||
@else
|
@else
|
||||||
<p class="value--small">{{ $data[0]['q'] }}</p>
|
<p class="value--small">{{ $data['data'][0]['q'] ?? '' }}</p>
|
||||||
@endif
|
@endif
|
||||||
</x-trmnl::layout>
|
</x-trmnl::layout>
|
||||||
</x-trmnl::layout>
|
</x-trmnl::layout>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue