diff --git a/assets/icons/fluent-mdl2/back.svg b/assets/icons/fluent-mdl2/back.svg new file mode 100644 index 0000000..5c68654 --- /dev/null +++ b/assets/icons/fluent-mdl2/back.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Monitor/Framework/Controller/WebController.php b/src/Monitor/Framework/Controller/WebController.php index 67fcc5b..738cb6e 100644 --- a/src/Monitor/Framework/Controller/WebController.php +++ b/src/Monitor/Framework/Controller/WebController.php @@ -29,7 +29,7 @@ class WebController extends AbstractController private readonly Environment $renderer, ) {} - #[Route('/monitors', name: 'app_monitors', methods: ['GET'])] + #[Route('/monitors', name: 'app.monitors', methods: ['GET'])] public function addMonitor() { return $this->render('monitor/index.html.twig'); diff --git a/templates/base.html.twig b/templates/base.html.twig index 8253e29..5342818 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -22,9 +22,9 @@
-
-

{% block h2 %}{% endblock %}

-
+
+

{% block h2 %}{% endblock %}

+
{% block action_buttons %}{% endblock %}
diff --git a/templates/components/MonitorList.html.twig b/templates/components/MonitorList.html.twig index 0b4ef16..3c68969 100644 --- a/templates/components/MonitorList.html.twig +++ b/templates/components/MonitorList.html.twig @@ -55,7 +55,7 @@ {% if this.isWidget and this.monitors.items|length > 5 %} - View All Monitors + View All Monitors {% endif %} diff --git a/templates/components/NavBar.html.twig b/templates/components/NavBar.html.twig index 8c94eb0..05abb30 100644 --- a/templates/components/NavBar.html.twig +++ b/templates/components/NavBar.html.twig @@ -21,7 +21,7 @@
  • - diff --git a/templates/monitor/upcoming-episodes.html.twig b/templates/monitor/upcoming-episodes.html.twig index a77f9eb..faf61a3 100644 --- a/templates/monitor/upcoming-episodes.html.twig +++ b/templates/monitor/upcoming-episodes.html.twig @@ -15,6 +15,12 @@
    + + diff --git a/templates/monitor/view.html.twig b/templates/monitor/view.html.twig index e5cb0d9..698ddf2 100644 --- a/templates/monitor/view.html.twig +++ b/templates/monitor/view.html.twig @@ -5,6 +5,11 @@ {% block body %}
    +
    {% if results.media.poster != null %} @@ -53,7 +58,6 @@ {% if results.media.genres != null %}
    -{# Genres:
    #} {% for genre in results.media.genres %} {{ genre }} {% endfor %} @@ -65,10 +69,10 @@
    In Your Library -
    +
    Seasons -
    +
    {{ library.seasonCount }} full @@ -83,7 +87,7 @@
    Episodes -
    +
    {{ library.episodeCount }} existing @@ -95,14 +99,14 @@
    Monitors -
    - +
    + {{ library.monitorCount }} total - + {{ library.activeMonitorCount }} active - + {{ library.completeMonitorCount }} complete