mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
add mll-auto to dropdown arrows
This commit is contained in:
parent
d5ad8f2fdc
commit
942bdd6918
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
||||||
$input_item_checkbox_classes = "checkbox";
|
$input_item_checkbox_classes = "checkbox";
|
||||||
$div_item_quantity_classes = "p-1 col-3";
|
$div_item_quantity_classes = "p-1 col-3";
|
||||||
$div_item_name_classes = "p-1 font-weight-bold";
|
$div_item_name_classes = "p-1 font-weight-bold";
|
||||||
|
$div_item_menu = "ml-auto mr-2";
|
||||||
|
|
||||||
foreach ($shopping->list as $index => $item) {
|
foreach ($shopping->list as $index => $item) {
|
||||||
if($index%2==0){$color_theme = "bg-primary";}
|
if($index%2==0){$color_theme = "bg-primary";}
|
||||||
|
@ -32,7 +33,7 @@
|
||||||
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("<i href='#' class='fas fa-angle-right'></i>");
|
print_r("<i href='#' class='fas fa-angle-right $div_item_menu'></i>");
|
||||||
print_r("</div>");
|
print_r("</div>");
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue