diff --git a/frontend/scss/components/_status.scss b/frontend/scss/components/_status.scss index 57fadfa..204cb6e 100644 --- a/frontend/scss/components/_status.scss +++ b/frontend/scss/components/_status.scss @@ -1,11 +1,11 @@ -.status { - @apply inline-block w-[12px] h-[12px] rounded-full mr-2; +.status-damage { + @apply inline-block w-[12px] h-[12px] rounded-full mr-2 bg-gray-200; - &-good { + &-none { @apply bg-[#15803d]; } - &-alert { + &-light { @apply bg-[#ffae42]; } diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index 50ce378..05e00de 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -91,22 +91,20 @@ {% if only_ones %} {% set_global boats = boats | filter(attribute="amount_seats", value=1) %} {% endif %} - {% for boat in boats %} - {% set status = 'good' %} - - {% if loop.index == 3 %} - {% set status = 'locked' %} - {% endif %} - - {% if loop.index == 1 %} - {% set status = 'alert' %} - {% endif %} - -