From bce8687fb2b32716f18d65d063b42ef0469aff91 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 17:36:29 +0200 Subject: [PATCH 01/39] added icon to list entries --- cont/list.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cont/list.php b/cont/list.php index 32fc1c4..35e0a15 100644 --- a/cont/list.php +++ b/cont/list.php @@ -32,6 +32,7 @@ print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); + print_r("
"); print_r(""); } ?> From a2fdce434d6943615c6b485e5577187d691431f9 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 17:39:37 +0200 Subject: [PATCH 02/39] set alignment --- cont/list.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cont/list.php b/cont/list.php index 35e0a15..c65b58d 100644 --- a/cont/list.php +++ b/cont/list.php @@ -15,6 +15,7 @@ $input_item_checkbox_classes = "checkbox"; $div_item_quantity_classes = "p-1 col-3"; $div_item_name_classes = "p-1 font-weight-bold"; + $div_item_menu = "p-1 align-self-end"; foreach ($shopping->list as $index => $item) { if($index%2==0){$color_theme = "bg-primary";} @@ -32,7 +33,7 @@ print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); - print_r("
"); + print_r("
"); print_r(""); } ?> From 75f793ca4691887bb88efab3d71e7b73c8e3a4d4 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 17:42:07 +0200 Subject: [PATCH 03/39] button? --- cont/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cont/list.php b/cont/list.php index c65b58d..2fd2d11 100644 --- a/cont/list.php +++ b/cont/list.php @@ -33,7 +33,7 @@ print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); - print_r("
"); + print_r(""); print_r(""); } ?> From cda3c652a21a295256794e61739c2e53e1e599e4 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 17:42:42 +0200 Subject: [PATCH 04/39] a --- cont/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cont/list.php b/cont/list.php index 2fd2d11..bf6d008 100644 --- a/cont/list.php +++ b/cont/list.php @@ -33,7 +33,7 @@ print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); - print_r(""); + print_r(""); print_r(""); } ?> From 3cc522da14a48d508178d6215cd3e06b3d55ce00 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 17:43:17 +0200 Subject: [PATCH 05/39] # --- cont/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cont/list.php b/cont/list.php index bf6d008..a52c143 100644 --- a/cont/list.php +++ b/cont/list.php @@ -33,7 +33,7 @@ print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); - print_r(""); + print_r(""); print_r(""); } ?> From d5ad8f2fdc2e53bfbc3f584c5a60fc5d2ade33bc Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 17:44:23 +0200 Subject: [PATCH 06/39] remove classes --- cont/list.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cont/list.php b/cont/list.php index a52c143..c9c365c 100644 --- a/cont/list.php +++ b/cont/list.php @@ -15,7 +15,6 @@ $input_item_checkbox_classes = "checkbox"; $div_item_quantity_classes = "p-1 col-3"; $div_item_name_classes = "p-1 font-weight-bold"; - $div_item_menu = "p-1 align-self-end"; foreach ($shopping->list as $index => $item) { if($index%2==0){$color_theme = "bg-primary";} @@ -33,7 +32,7 @@ print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); - print_r(""); + print_r(""); print_r(""); } ?> From 942bdd6918f478cfbed7c6c17fa22804e5640099 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 17:50:15 +0200 Subject: [PATCH 07/39] add mll-auto to dropdown arrows --- cont/list.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cont/list.php b/cont/list.php index c9c365c..ee34d0c 100644 --- a/cont/list.php +++ b/cont/list.php @@ -15,6 +15,7 @@ $input_item_checkbox_classes = "checkbox"; $div_item_quantity_classes = "p-1 col-3"; $div_item_name_classes = "p-1 font-weight-bold"; + $div_item_menu = "ml-auto mr-2"; foreach ($shopping->list as $index => $item) { if($index%2==0){$color_theme = "bg-primary";} @@ -32,7 +33,7 @@ print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); - print_r(""); + print_r(""); print_r(""); } ?> From cd4b68b8e719ee83bbe4b5d0fa14c57928e42bd9 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 18:00:18 +0200 Subject: [PATCH 08/39] wrapped i in dic --- cont/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cont/list.php b/cont/list.php index ee34d0c..b12f13c 100644 --- a/cont/list.php +++ b/cont/list.php @@ -33,7 +33,7 @@ print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); - print_r(""); + print_r("
"); print_r(""); } ?> From e031f29633d8f98df6e47c159fce0e9477540e3a Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 18:02:06 +0200 Subject: [PATCH 09/39] formatting added id to icon for dropdown referencing --- cont/list.php | 70 ++++++++++++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 32 deletions(-) diff --git a/cont/list.php b/cont/list.php index b12f13c..62d8246 100644 --- a/cont/list.php +++ b/cont/list.php @@ -6,36 +6,38 @@
list as $index => $item) { - if($index%2==0){$color_theme = "bg-primary";} - else{$color_theme = "bg-secondary";} - if($item->Erledigt){ - $div_item_row_color_classes = "bg-success"; - $checked = "checked"; - } - else{ - $div_item_row_color_classes = $color_theme; - $checked = ""; - } - - print_r("
"); - print_r("
"); - print_r("
$item->Anzahl $item->Einheit
"); - print_r("
$item->Name
"); - print_r("
"); - print_r("
"); + foreach ($shopping->list as $index => $item) { + if ($index % 2 == 0) { + $color_theme = "bg-primary"; + } else { + $color_theme = "bg-secondary"; } + if ($item->Erledigt) { + $div_item_row_color_classes = "bg-success"; + $checked = "checked"; + } else { + $div_item_row_color_classes = $color_theme; + $checked = ""; + } + + print_r("
"); + print_r("
"); + print_r("
$item->Anzahl $item->Einheit
"); + print_r("
$item->Name
"); + print_r("
"); + print_r("
"); + } ?>
@@ -43,18 +45,22 @@
- +
- + \ No newline at end of file From 6aae6e38236716751580cecd76e18c1a8475d87d Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 18:06:54 +0200 Subject: [PATCH 10/39] chamged arrow to pen --- cont/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cont/list.php b/cont/list.php index 62d8246..7307b53 100644 --- a/cont/list.php +++ b/cont/list.php @@ -35,7 +35,7 @@ print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); - print_r("
"); + print_r("
"); print_r(""); } ?> From a935884f28264e525e1a6b4954352085cd1f3147 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 18:10:23 +0200 Subject: [PATCH 11/39] added dropdown --- cont/list.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cont/list.php b/cont/list.php index 7307b53..cd85bb6 100644 --- a/cont/list.php +++ b/cont/list.php @@ -35,7 +35,12 @@ print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); - print_r("
"); + print_r("
"); + print_r(""); print_r(""); } ?> From c5772e3e502e90915a1c08eafd461b4bb30ae797 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 18:13:26 +0200 Subject: [PATCH 12/39] fixed dropdown --- cont/list.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/cont/list.php b/cont/list.php index cd85bb6..32d4a48 100644 --- a/cont/list.php +++ b/cont/list.php @@ -32,14 +32,16 @@ } print_r("
"); - print_r("
"); - print_r("
$item->Anzahl $item->Einheit
"); - print_r("
$item->Name
"); - print_r("
"); - print_r(""); } From 9af3802612012341fd90cbc5141a515f8657f904 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 18:13:59 +0200 Subject: [PATCH 13/39] h --- cont/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cont/list.php b/cont/list.php index 32d4a48..31382f1 100644 --- a/cont/list.php +++ b/cont/list.php @@ -36,7 +36,7 @@ print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); print_r("
"); - print_r(""); + print_r(""); print_r("