fix: style cleanup

This commit is contained in:
2025-06-22 23:29:30 -05:00
parent 7ed117d19b
commit a2b20b14ea
4 changed files with 11 additions and 14 deletions

View File

@@ -20,7 +20,7 @@
<div class="col-span-5 h-screen overflow-y-scroll"> <div class="col-span-5 h-screen overflow-y-scroll">
<twig:Header /> <twig:Header />
<div class="px-4 mt-3 flex flex-row justify-between"> <div class="px-4 mt-3 flex flex-row justify-between">
<h2 class="text-3xl font-bold text-gray-50">{% block h2 %}{% endblock %}</h2> <h2 class="m-2 text-3xl font-bold text-gray-50">{% block h2 %}{% endblock %}</h2>
<div class="flex flex-row gap-1 align-end justify-end items-end"> <div class="flex flex-row gap-1 align-end justify-end items-end">
{% block action_buttons %}{% endblock %} {% block action_buttons %}{% endblock %}
</div> </div>

View File

@@ -9,7 +9,6 @@
<twig:DownloadList type="active" :isWidget="false" :perPage="10"></twig:DownloadList> <twig:DownloadList type="active" :isWidget="false" :perPage="10"></twig:DownloadList>
</twig:Card> </twig:Card>
</div> </div>
<div class="p-4"> <div class="p-4">
<twig:Card title="Recent Downloads"> <twig:Card title="Recent Downloads">
<twig:DownloadList type="complete" :isWidget="false" :perPage="10"></twig:DownloadList> <twig:DownloadList type="complete" :isWidget="false" :perPage="10"></twig:DownloadList>

View File

@@ -1,10 +1,10 @@
{% extends 'base.html.twig' %} {% extends 'base.html.twig' %}
{% block title %}Dashboard &mdash; Torsearch{% endblock %} {% block title %}Dashboard &mdash; Torsearch{% endblock %}
{% block h2 %}Dashboard{% endblock %}
{% block body %} {% block body %}
<div class="p-4 flex flex-col grow gap-4 z-30"> <div class="p-4 flex flex-col grow gap-4 z-30">
<h2 class="mb-2 text-3xl font-bold text-gray-50">Dashboard</h2>
<div class="flex flex-row gap-4"> <div class="flex flex-row gap-4">
<twig:Card title="Active Downloads" class="w-full"> <twig:Card title="Active Downloads" class="w-full">
<twig:DownloadList :type="'active'" /> <twig:DownloadList :type="'active'" />

View File

@@ -4,16 +4,14 @@
{% block h2 %}Monitors{% endblock %} {% block h2 %}Monitors{% endblock %}
{% block body %} {% block body %}
<div class="flex flex-row"> <div class="p-4">
<twig:Card title="Active Monitors" class="w-full">
<div class="p-2 flex flex-col gap-4"> <twig:MonitorList :type="'active'" :isWidget="false" :perPage="10"></twig:MonitorList>
<twig:Card title="Active Monitors"> </twig:Card>
<twig:MonitorList :type="'active'" :isWidget="false" :perPage="10"></twig:MonitorList> </div>
</twig:Card> <div class="p-4">
<twig:Card title="Complete Monitors"> <twig:Card title="Complete Monitors" class="w-full">
<twig:MonitorList :type="'complete'" :isWidget="false" :perPage="10"></twig:MonitorList> <twig:MonitorList :type="'complete'" :isWidget="false" :perPage="10"></twig:MonitorList>
</twig:Card> </twig:Card>
</div>
</div> </div>
{% endblock %} {% endblock %}