From 53c4012cb021ba09236fcdd89061623c0b8b23b7 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 18:58:08 +0200 Subject: [PATCH] butten tests --- cont/list.php | 5 ++++- style/helper.css | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cont/list.php b/cont/list.php index 4296707..f0783f5 100644 --- a/cont/list.php +++ b/cont/list.php @@ -16,6 +16,7 @@ $div_item_quantity_classes = "p-1 col-3"; $div_item_name_classes = "p-1 font-weight-bold"; $div_item_menu = "ml-auto mr-2"; + $button_dropdown_classes = "dropdown-menu-button btn pt-0 pb-0"; foreach ($shopping->list as $index => $item) { if ($index % 2 == 0) { @@ -27,9 +28,11 @@ } if ($item->Erledigt) { $div_item_row_color_classes = "bg-success"; + $button_dropdown_color_classes = "btn-success"; $checked = "checked"; } else { $div_item_row_color_classes = $color_theme; + $button_dropdown_color_classes = $button_theme; $checked = ""; } @@ -38,7 +41,7 @@ print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); print_r("