From fefa94ddc2e2a226025bb8c9eb9e4013698b2275 Mon Sep 17 00:00:00 2001 From: Anders Bruun Severinsen <202204885@post.au.dk> Date: Fri, 19 Jul 2024 11:44:51 +0200 Subject: [PATCH] Fixed some colouring --- bartenders/templates/barplan.html | 8 ++++---- bartenders/templates/bartenders.html | 4 ++-- web/static/css/stylesheet.css | 28 ++++++++++++++++----------- web/static/js/darkModeState.js | 3 +-- web/static/js/timesheet-black.min.css | 2 +- 5 files changed, 25 insertions(+), 20 deletions(-) diff --git a/bartenders/templates/barplan.html b/bartenders/templates/barplan.html index 22300ca..b5b7414 100644 --- a/bartenders/templates/barplan.html +++ b/bartenders/templates/barplan.html @@ -27,15 +27,15 @@

{% translate "Barplan" %}

{% for shift in bartendershifts %} - {{ shift.display_str }} {% if show_all %} {{ shift.start_datetime.year }}{% endif %} - {{ shift.responsible.name }} - + {{ shift.display_str }} {% if show_all %} {{ shift.start_datetime.year }}{% endif %} + {{ shift.responsible.name }} + {% for bartender in shift.other_bartenders.all %} {% if bartender.first_bartender_shift == shift %}{{ bartender.name }}{% else %}{{ bartender.name }}{% endif %}{% if not forloop.last %},{% endif %} {% endfor %} {% if user.is_staff %} - {% translate "Edit" %} + {% translate "Edit" %} {% endif %} {% endfor %} diff --git a/bartenders/templates/bartenders.html b/bartenders/templates/bartenders.html index b101ec8..3099d45 100644 --- a/bartenders/templates/bartenders.html +++ b/bartenders/templates/bartenders.html @@ -9,7 +9,7 @@

{% translate "Bartendere" %}