From 2cb795256892db3975f4af5be542ee16f7b1574f Mon Sep 17 00:00:00 2001
From: anemervontage
Date: Fri, 15 Sep 2023 11:57:05 -0400
Subject: [PATCH 01/37] Added HTML sub-tab to FD2 School Tab
---
farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html | 0
farmdata2/farmdata2_modules/fd2_school/fd2_school.module | 9 +++++++++
2 files changed, 9 insertions(+)
create mode 100644 farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
diff --git a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/farmdata2/farmdata2_modules/fd2_school/fd2_school.module b/farmdata2/farmdata2_modules/fd2_school/fd2_school.module
index 167ca8ef2a..36442d012f 100644
--- a/farmdata2/farmdata2_modules/fd2_school/fd2_school.module
+++ b/farmdata2/farmdata2_modules/fd2_school/fd2_school.module
@@ -52,6 +52,15 @@ function fd2_school_menu() {
'weight' => -30, // larger weights appear further right.
);
+ $items['farm/fd2-school/HTML'] = array(
+ 'title' => 'HTML',
+ 'type' => MENU_LOCAL_TASK,
+ 'page callback' => 'fd2_school_view',
+ 'page arguments' => array('HTML'),
+ 'access arguments' => array('view fd2 school'),
+ 'weight' => 110,
+ );
+
// Define the name and URL for the default sub-tab that appears when the tab is opened.
// Content for this default sub-tab is provided by the 'page arguments' above.
$items['farm/fd2-school/info'] = array(
From 0ed148bfdc11f150547ca010c2cad9b122be2c1c Mon Sep 17 00:00:00 2001
From: anemervontage
Date: Fri, 15 Sep 2023 12:42:02 -0400
Subject: [PATCH 02/37] Added content to HTML.html file
---
.../fd2_school/HTML/HTML.html | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
index e69de29bb2..e3724e7314 100644
--- a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
+++ b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
@@ -0,0 +1,24 @@
+
+
+ Harvest Report
+ This page is a mockup of a simplified harvest report.
+
+
+
+
+ My Sample Harvest Report
+ Details:
+
+
+ - Farm:technologists
+ - User:manager1
+ - Language:English
+
+
+
+ - Start:05/01/2018
+ - End:05/15/2018
+ - Crop:Kale
+
+
+
\ No newline at end of file
From 342d26c24822ba7e6924870cbfaab3ca71fe3490 Mon Sep 17 00:00:00 2001
From: anemervontage
Date: Fri, 15 Sep 2023 12:52:21 -0400
Subject: [PATCH 03/37] Added italics and breaks to HTML.html file
---
farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
index e3724e7314..08afabd92e 100644
--- a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
+++ b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
@@ -1,20 +1,20 @@
Harvest Report
- This page is a mockup of a simplified harvest report.
+ This page is a mockup of a simplified harvest report.
My Sample Harvest Report
Details:
-
+
- Farm:technologists
- User:manager1
- Language:English
-
+
- Start:05/01/2018
- End:05/15/2018
From 43a64add1ca6da18974c53cd1ff3a1271ccbd3ba Mon Sep 17 00:00:00 2001
From: anemervontage
Date: Fri, 15 Sep 2023 13:11:20 -0400
Subject: [PATCH 04/37] Added Title and Buttom to HTML.html
---
farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
index 08afabd92e..ef2d0a8056 100644
--- a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
+++ b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
@@ -6,9 +6,12 @@ Harvest Report
- My Sample Harvest Report
+
+
+
+
Details:
-
+
- Farm:technologists
- User:manager1
@@ -20,5 +23,7 @@ My Sample Harvest Report
- End:05/15/2018
- Crop:Kale
+
+
\ No newline at end of file
From f88991cdf733f226f164eba468dd6e9cb7d98c8a Mon Sep 17 00:00:00 2001
From: anemervontage
Date: Fri, 15 Sep 2023 13:53:48 -0400
Subject: [PATCH 05/37] Added crops dropdown to HTML.html
---
.../fd2_school/HTML/HTML.html | 28 +++++++++++++------
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
index ef2d0a8056..880eeb947a 100644
--- a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
+++ b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
@@ -1,15 +1,25 @@
-
- Harvest Report
- This page is a mockup of a simplified harvest report.
-
-
-
+
+
Harvest Report
+ This page is a mockup of a simplified harvest report.
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
Details:
From 0ac4be54e65815b4d3f89bbaec5b693c029d4777 Mon Sep 17 00:00:00 2001
From: anemervontage
Date: Fri, 15 Sep 2023 13:58:47 -0400
Subject: [PATCH 06/37] Added area dropdown to HTML.html
---
farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
index 880eeb947a..57c899c462 100644
--- a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
+++ b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
@@ -8,12 +8,17 @@ Harvest Report
-
-
-
\ No newline at end of file
From 6ab51054bc1baa3986d5dbca84b8855d028702fb Mon Sep 17 00:00:00 2001
From: anemervontage
Date: Fri, 15 Sep 2023 14:30:15 -0400
Subject: [PATCH 08/37] Added table to HTML.html
---
.../fd2_school/HTML/HTML.html | 31 +++++++++++++++++--
1 file changed, 29 insertions(+), 2 deletions(-)
diff --git a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
index f86c9413aa..73ee01416f 100644
--- a/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
+++ b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html
@@ -36,8 +36,7 @@ Harvest Report
-
-
+ My Sample Harvest Report
Details:
@@ -51,5 +50,33 @@ Harvest Report
- End:05/15/2018
- Crop:Kale
+
+
+
+
+ Date |
+ Area |
+ Crop |
+ Yield |
+ Units |
+
+
+ 05/02/2018 |
+ Chuau-1 |
+ Kale |
+ 10 |
+ Bunches |
+
+
+ 05/05/2018 |
+ SQ7 |
+ Kale |
+ 7 |
+ Bunches |
+
+
+
+
+