mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-14 15:37:53 +00:00
Compare commits
No commits in common. "3032c09778eff50ad7fa5bbea0f59c1dc984a4c5" and "131d99a2e3610da801804c09a19f62fa04366efa" have entirely different histories.
3032c09778
...
131d99a2e3
3 changed files with 7 additions and 7 deletions
|
|
@ -803,7 +803,7 @@ HTML;
|
||||||
</flux:field>
|
</flux:field>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<flux:button icon="cloud-arrow-down" wire:click="updateData" class="w-full mt-4">
|
<flux:button variant="primary" 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 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:description>Enable a public alias URL for this recipe.</flux:description>
|
||||||
</flux:field>
|
</flux:field>
|
||||||
|
|
||||||
@if($alias)
|
@if($alias)
|
||||||
|
|
@ -87,7 +87,7 @@ new class extends Component {
|
||||||
readonly
|
readonly
|
||||||
copyable
|
copyable
|
||||||
/>
|
/>
|
||||||
<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:description>Use this URL to access the recipe image directly. Add <code>?device-model=name</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['data'][0]['a'] ?? ''}}</div>
|
<div class="b-h-gray-1">{{$data[0]['a']}}</div>
|
||||||
@if (strlen($data['data'][0]['q'] ?? '') < 300 && $size != 'quadrant')
|
@if (strlen($data[0]['q']) < 300 && $size != 'quadrant')
|
||||||
<p class="value">{{ $data['data'][0]['q'] ?? '' }}</p>
|
<p class="value">{{ $data[0]['q'] }}</p>
|
||||||
@else
|
@else
|
||||||
<p class="value--small">{{ $data['data'][0]['q'] ?? '' }}</p>
|
<p class="value--small">{{ $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