Compare commits

..

2 Commits

2 changed files with 17 additions and 13 deletions

View File

@@ -1,8 +1,12 @@
<div{{ attributes.defaults(stimulus_controller('download_list')) }} class="min-w-48" > <div{{ attributes.defaults(stimulus_controller('download_list')) }} class="min-w-48" >
{% set table_body_id = (type == "complete") ? "complete_downloads" : "active_downloads" %} {% set table_body_id = (type == "complete") ? "complete_downloads" : "active_downloads" %}
<div class="flex flex-row mb-2">
{% if this.isWidget == false %}
<div class="flex flex-row mb-2 justify-end">
<twig:DownloadSearch search_path="app_search" placeholder="Find one of your downloads..." /> <twig:DownloadSearch search_path="app_search" placeholder="Find one of your downloads..." />
</div> </div>
{% endif %}
<table id="downloads" class="divide-y divide-gray-200 bg-gray-50 overflow-hidden rounded-lg table-auto w-full" {{ turbo_stream_listen('App\\Download\\Framework\\Entity\\Download') }}> <table id="downloads" class="divide-y divide-gray-200 bg-gray-50 overflow-hidden rounded-lg table-auto w-full" {{ turbo_stream_listen('App\\Download\\Framework\\Entity\\Download') }}>
<thead> <thead>
<tr class="bg-orange-500 bg-filter bg-blur-lg bg-opacity-80 text-gray-950"> <tr class="bg-orange-500 bg-filter bg-blur-lg bg-opacity-80 text-gray-950">

View File

@@ -3,24 +3,24 @@
<form> <form>
<input <input
data-model="term" data-model="term"
class="w-full bg-orange-500 rounded-md bg-clip-padding backdrop-filter class="w-full bg-transparent
backdrop-blur-md bg-opacity-40 placeholder:text-slate-200 text-gray-50 placeholder:text-slate-200 text-gray-50
text-sm border border-orange-500 rounded-md pl-3 pr-28 py-2 transition text-sm border-b border-orange-500 pl-3 pr-28 py-2 transition
duration-300 ease focus:outline-none focus:border-orange-400 hover:border-orange-300 duration-300 ease focus:outline-none focus:border-orange-400 hover:border-orange-300
shadow-sm focus:shadow" shadow-sm focus:shadow"
placeholder="{{ placeholder ?? 'TV Show, Movie...' }}" placeholder="{{ placeholder ?? 'TV Show, Movie...' }}"
/> />
<button <button
class="absolute top-1 right-1 flex items-center rounded class="absolute top-1 right-1 flex items-center
bg-green-600 py-1 px-2.5 border border-transparent text-center bg-green-600 py-1 px-2 text-center
text-sm text-white transition-all text-md text-white transition-all
focus:bg-green-700 active:bg-green-700 hover:bg-green-700 focus:bg-green-700 active:bg-green-700 hover:bg-green-700
text-white bg-green-600 text-sm text-white bg-green-600 text-xs
border border-green-500 rounded-sm
backdrop-filter backdrop-blur-md bg-opacity-80 bg-opacity-80
" "
type="submit" onclick="return false;"
> >
Search Search
</button> </button>