fixed dropdown

This commit is contained in:
Tim Krehan 2019-05-26 18:13:26 +02:00
parent a935884f28
commit c5772e3e50

View file

@ -32,14 +32,16 @@
} }
print_r("<div class='list-row $div_item_row_classes $div_item_row_color_classes'>"); print_r("<div class='list-row $div_item_row_classes $div_item_row_color_classes'>");
print_r("<div class='$div_item_checkbox_classes'><input type='checkbox' class='$input_item_checkbox_classes' data-color='$color_theme' data-id='$item->ID' $checked></div>"); print_r("<div class='$div_item_checkbox_classes'><input type='checkbox' class='$input_item_checkbox_classes' data-color='$color_theme' data-id='$item->ID' $checked></div>");
print_r("<div class='$div_item_quantity_classes'>$item->Anzahl $item->Einheit</div>"); print_r("<div class='$div_item_quantity_classes'>$item->Anzahl $item->Einheit</div>");
print_r("<div class='$div_item_name_classes'>$item->Name</div>"); print_r("<div class='$div_item_name_classes'>$item->Name</div>");
print_r("<div class='$div_item_menu'><i class='fas fa-angle-right' id='dropdownMenuButtonDataID" . $item->ID . "'></i></div>"); print_r("<div class='$div_item_menu'>");
print_r("<div class='dropdown-menu' aria-labelledby='dropdownMenuButtonDataID" . $item->ID . "'>"); print_r("<i class='fas fa-angle-right' id='dropdownMenuButtonDataID" . $item->ID . "'></i>");
print_r("<a class='dropdown-item' href='#'>Action</a>"); print_r("<div class='dropdown-menu' aria-labelledby='dropdownMenuButtonDataID" . $item->ID . "'>");
print_r("<a class='dropdown-item' href='#'>Another action</a>"); print_r("<button class='dropdown-item'>Action</button>");
print_r("<a class='dropdown-item' href='#'>Something else here</a>"); print_r("<button class='dropdown-item'>Another action</button>");
print_r("<button class='dropdown-item'>Something else here</button>");
print_r("</div>");
print_r("</div>"); print_r("</div>");
print_r("</div>"); print_r("</div>");
} }