mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 23:18:10 +00:00
feat: rearrange Add Recipe context menu
This commit is contained in:
parent
a077a76049
commit
f0e5e6261a
1 changed files with 6 additions and 4 deletions
|
|
@ -176,9 +176,6 @@ new class extends Component {
|
||||||
<flux:dropdown>
|
<flux:dropdown>
|
||||||
<flux:button icon="chevron-down" variant="primary"></flux:button>
|
<flux:button icon="chevron-down" variant="primary"></flux:button>
|
||||||
<flux:menu>
|
<flux:menu>
|
||||||
<flux:modal.trigger name="import-zip">
|
|
||||||
<flux:menu.item icon="archive-box">Import Recipe Archive</flux:menu.item>
|
|
||||||
</flux:modal.trigger>
|
|
||||||
<flux:modal.trigger name="import-from-catalog">
|
<flux:modal.trigger name="import-from-catalog">
|
||||||
<flux:menu.item icon="book-open">Import from OSS Catalog</flux:menu.item>
|
<flux:menu.item icon="book-open">Import from OSS Catalog</flux:menu.item>
|
||||||
</flux:modal.trigger>
|
</flux:modal.trigger>
|
||||||
|
|
@ -187,6 +184,11 @@ new class extends Component {
|
||||||
<flux:menu.item icon="book-open">Import from TRMNL Catalog</flux:menu.item>
|
<flux:menu.item icon="book-open">Import from TRMNL Catalog</flux:menu.item>
|
||||||
</flux:modal.trigger>
|
</flux:modal.trigger>
|
||||||
@endif
|
@endif
|
||||||
|
<flux:separator />
|
||||||
|
<flux:modal.trigger name="import-zip">
|
||||||
|
<flux:menu.item icon="archive-box">Import Recipe Archive</flux:menu.item>
|
||||||
|
</flux:modal.trigger>
|
||||||
|
<flux:separator />
|
||||||
<flux:menu.item icon="beaker" wire:click="seedExamplePlugins">Seed Example Recipes</flux:menu.item>
|
<flux:menu.item icon="beaker" wire:click="seedExamplePlugins">Seed Example Recipes</flux:menu.item>
|
||||||
</flux:menu>
|
</flux:menu>
|
||||||
</flux:dropdown>
|
</flux:dropdown>
|
||||||
|
|
@ -279,7 +281,7 @@ new class extends Component {
|
||||||
<div class="space-y-6">
|
<div class="space-y-6">
|
||||||
<div>
|
<div>
|
||||||
<flux:heading size="lg">Import from Catalog
|
<flux:heading size="lg">Import from Catalog
|
||||||
<flux:badge color="yellow" class="ml-2">Alpha</flux:badge>
|
<flux:badge color="blue" class="ml-2">Beta</flux:badge>
|
||||||
</flux:heading>
|
</flux:heading>
|
||||||
<flux:subheading>Browse and install Recipes from the community. Add yours <a href="https://github.com/bnussbau/trmnl-recipe-catalog" class="underline" target="_blank">here</a>.</flux:subheading>
|
<flux:subheading>Browse and install Recipes from the community. Add yours <a href="https://github.com/bnussbau/trmnl-recipe-catalog" class="underline" target="_blank">here</a>.</flux:subheading>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue