Compare commits
2 Commits
v0.18.17
...
9714cf1749
| Author | SHA1 | Date | |
|---|---|---|---|
| 9714cf1749 | |||
| be7b610111 |
@@ -3,6 +3,7 @@ FROM dunglas/frankenphp:php8.4
|
||||
ENV SERVER_NAME=":80"
|
||||
ENV CADDY_GLOBAL_OPTIONS="auto_https off"
|
||||
ENV APP_RUNTIME="Runtime\\FrankenPhpSymfony\\Runtime"
|
||||
ENV APP_VERSION="0.0.1"
|
||||
|
||||
RUN install-php-extensions \
|
||||
pdo_mysql \
|
||||
|
||||
@@ -127,7 +127,7 @@ readonly class MonitorTvShowHandler implements HandlerInterface
|
||||
|
||||
private function episodeReleasedAfterMonitorCreated(string|DateTimeImmutable $monitorStartDate, array $episodeInShow): bool
|
||||
{
|
||||
$monitorStartDate = Carbon::parse($monitorStartDate);
|
||||
$monitorStartDate = Carbon::parse($monitorStartDate)->setTime(0, 0);
|
||||
$episodeAirDate = Carbon::parse($episodeInShow['air_date']);
|
||||
return $episodeAirDate >= $monitorStartDate;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,12 @@
|
||||
</div>
|
||||
<div class="col-span-5 h-screen overflow-y-scroll">
|
||||
<twig:Header />
|
||||
<h2 class="px-4 my-2 text-3xl font-bold text-gray-50">{% block h2 %}{% endblock %}</h2>
|
||||
<div class="px-4 mt-3 flex flex-row justify-between">
|
||||
<h2 class="text-3xl font-bold text-gray-50">{% block h2 %}{% endblock %}</h2>
|
||||
<div class="flex flex-row gap-1 align-end justify-end items-end">
|
||||
{% block action_buttons %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,6 +2,14 @@
|
||||
{% block title %}Preferences{% endblock %}
|
||||
{% block h2 %}Preferences{% endblock %}
|
||||
|
||||
{% block action_buttons %}
|
||||
<button
|
||||
class="px-1.5 py-1 my-2 text-white text-sm bg-blue-950 hover:bg-black/80 border-2 border-blue-500/90 rounded-md inline-block"
|
||||
>
|
||||
Clear Cache
|
||||
</button>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="p-4 flex flex-row gap-2">
|
||||
<twig:Card title="Media Preferences" class="w-full">
|
||||
|
||||
Reference in New Issue
Block a user