mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
fixed dropdown
This commit is contained in:
parent
a935884f28
commit
c5772e3e50
1 changed files with 10 additions and 8 deletions
|
@ -32,14 +32,16 @@
|
|||
}
|
||||
|
||||
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_quantity_classes'>$item->Anzahl $item->Einheit</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='dropdown-menu' aria-labelledby='dropdownMenuButtonDataID" . $item->ID . "'>");
|
||||
print_r("<a class='dropdown-item' href='#'>Action</a>");
|
||||
print_r("<a class='dropdown-item' href='#'>Another action</a>");
|
||||
print_r("<a class='dropdown-item' href='#'>Something else here</a>");
|
||||
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_name_classes'>$item->Name</div>");
|
||||
print_r("<div class='$div_item_menu'>");
|
||||
print_r("<i class='fas fa-angle-right' id='dropdownMenuButtonDataID" . $item->ID . "'></i>");
|
||||
print_r("<div class='dropdown-menu' aria-labelledby='dropdownMenuButtonDataID" . $item->ID . "'>");
|
||||
print_r("<button class='dropdown-item'>Action</button>");
|
||||
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>");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue