theme update
This commit is contained in:
parent
c31524977a
commit
97ad0421e3
5 changed files with 27 additions and 30 deletions
|
|
@ -10,11 +10,12 @@
|
|||
@endcan
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<livewire:search-panel :list-id="$list->id"/>
|
||||
<livewire:movie-details-panel/>
|
||||
</div>
|
||||
|
||||
<x-ui.card class="overflow-hidden min-h-screen">
|
||||
<div class="absolute">
|
||||
<livewire:search-panel :list-id="$list->id"/>
|
||||
<livewire:movie-details-panel/>
|
||||
</div>
|
||||
|
||||
<div class="relative w-full overflow-hidden">
|
||||
<div class="flex transition-transform duration-300 ease-in-out"
|
||||
|
|
@ -41,7 +42,7 @@
|
|||
@if(!$filteredMovies->isEmpty())
|
||||
<ul class="grid grid-cols-2 sm:grid-cols-4 gap-5">
|
||||
@foreach ($filteredMovies as $movie)
|
||||
<li class="bg-gray-200">
|
||||
<li>
|
||||
<x-movie :movie="$movie"/>
|
||||
</li>
|
||||
@endforeach
|
||||
|
|
@ -62,7 +63,7 @@
|
|||
<h2 class="text-xl font-semibold">Settings</h2>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col gap-2 w-full p-5">
|
||||
<div class="flex flex-col gap-2 w-full p-5 bg-gray-700">
|
||||
<label for="list-name" class="font-bold">List Name</label>
|
||||
<div class="flex flex-row">
|
||||
<input type="text" wire:model.live="settingsForm.name" id="list-name"
|
||||
|
|
@ -72,7 +73,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="flex items-center justify-between bg-gray-700 hover:bg-gray-500 hover:opacity-85 p-5 rounded">
|
||||
class="flex items-center justify-between bg-gray-700 hover:opacity-85 p-5 rounded">
|
||||
<label for="is_public" class="text-white font-bold cursor-pointer">Make list public</label>
|
||||
<input type="checkbox"
|
||||
id="is_public"
|
||||
|
|
@ -81,9 +82,9 @@
|
|||
</div>
|
||||
|
||||
|
||||
<div class="p-5 flex flex-col gap-5 hover:bg-gray-500 rounded">
|
||||
<div class="p-5 flex flex-col gap-5 bg-gray-700 rounded">
|
||||
<span class="font-bold">Collaborators</span>
|
||||
<details class="hover:cursor-pointer bg-gray-500 p-5 rounded">
|
||||
<details class="hover:cursor-pointer bg-gray-600 p-5 rounded">
|
||||
<ul class="flex flex-col gap-2 py-2">
|
||||
<li><span class="font-bold">Viewer</span>: Can view the list, but cannot make any changes.</li>
|
||||
<li><span class="font-bold">Editor</span>: Can add/remove movies from the list.</li>
|
||||
|
|
@ -103,7 +104,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="p-5 flex flex-col gap-3 hover:bg-gray-500 rounded">
|
||||
<div class="p-5 flex flex-col gap-3 bg-gray-700 rounded">
|
||||
<span class="font-bold">Invite collaborators</span>
|
||||
<span class="hover:cursor-pointer">Enter a comma separated list of emails.</span>
|
||||
<textarea class="bg-white rounded text-black p-2" placeholder="user1@example.com, user2@example.com, user3@example.com"></textarea>
|
||||
|
|
@ -113,7 +114,7 @@
|
|||
|
||||
@can('delete', $list)
|
||||
<div
|
||||
class="flex items-center justify-between bg-gray-700 hover:bg-gray-500 hover:opacity-85 p-5 rounded">
|
||||
class="flex items-center justify-between bg-gray-700 p-5 rounded">
|
||||
<label for="delete_list" class="text-white cursor-pointer">Delete List</label>
|
||||
<button name="delete_list"
|
||||
type="button"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue