47 lines
1.8 KiB
Text
47 lines
1.8 KiB
Text
<div class="grid grid-cols-1 gap-4 md:grid-cols-3">
|
|
<div class="rounded-sm border px-7.5 py-6 shadow-default border-strokedark bg-boxdark">
|
|
<a href={~p"/media_profiles"} class="mt-4 flex flex-col items-center justify-center">
|
|
<span class="text-md font-medium">Media Profile(s)</span>
|
|
<h4 class="text-title-md font-bold text-white">
|
|
<%= @media_profile_count %>
|
|
</h4>
|
|
</a>
|
|
</div>
|
|
<div class="rounded-sm border px-7.5 py-6 shadow-default border-strokedark bg-boxdark">
|
|
<a href={~p"/sources"} class="mt-4 flex flex-col items-center justify-center">
|
|
<span class="text-md font-medium">Source(s)</span>
|
|
<h4 class="text-title-md font-bold text-white">
|
|
<%= @source_count %>
|
|
</h4>
|
|
</a>
|
|
</div>
|
|
<div class="rounded-sm border px-7.5 py-6 shadow-default border-strokedark bg-boxdark">
|
|
<span class="mt-4 flex flex-col items-center justify-center">
|
|
<span class="text-md font-medium">Media Item(s)</span>
|
|
<h4 class="text-title-md font-bold text-white">
|
|
<%= @media_item_count %>
|
|
</h4>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="rounded-sm border shadow-default border-strokedark bg-boxdark mt-4 p-5">
|
|
<div class="max-w-full overflow-x-auto">
|
|
<span class="text-2xl font-medium mb-4">Download History</span>
|
|
<section class="mt-6">
|
|
<%= live_render(@conn, Pinchflat.Pages.HistoryTableLive) %>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<%!-- <div class="rounded-sm border shadow-default border-strokedark bg-boxdark mt-4">
|
|
<div class="max-w-full overflow-x-auto">
|
|
<div class="flex flex-col gap-10 min-w-max">
|
|
<.table rows={[]} table_class="text-black dark:text-white">
|
|
<:col :let={_source} label="Name">Test</:col>
|
|
</.table>
|
|
</div>
|
|
</div>
|
|
</div> --%>
|
|
|
|
<span class="text-strokedark">I know this page isn't super useful yet, but give it time :)</span>
|