From b1465275360c4be3347e4da19a2f82bdb36ddff7 Mon Sep 17 00:00:00 2001
From: bussm
Date: Fri, 11 Apr 2025 15:21:05 -0400
Subject: [PATCH 01/22] Added HTML sub-tab to FD2 School Tab
---
.../farmdata2_modules/fd2_school/fd2_school.module | 10 ++++++++++
farmdata2/farmdata2_modules/fd2_school/html/html.html | 1 +
2 files changed, 11 insertions(+)
create mode 100644 farmdata2/farmdata2_modules/fd2_school/html/html.html
diff --git a/farmdata2/farmdata2_modules/fd2_school/fd2_school.module b/farmdata2/farmdata2_modules/fd2_school/fd2_school.module
index 167ca8ef2..a7ebed109 100644
--- a/farmdata2/farmdata2_modules/fd2_school/fd2_school.module
+++ b/farmdata2/farmdata2_modules/fd2_school/fd2_school.module
@@ -61,6 +61,16 @@ function fd2_school_menu() {
);
// Add items blocks for new sub-tabs here.
+
+ // Add a sub-tab named HTML with content in ./html/html.html.
+ $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,
+ );
return $items;
};
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 000000000..84f9a2a3c
--- /dev/null
+++ b/farmdata2/farmdata2_modules/fd2_school/html/html.html
@@ -0,0 +1 @@
+Matthew Buss
\ No newline at end of file
From 2535ec76a17344cda55753a739753f5b7a6f20b2 Mon Sep 17 00:00:00 2001
From: bussm
Date: Sun, 13 Apr 2025 15:59:57 -0400
Subject: [PATCH 02/22] Added sample Harvest Report text to the HTML sub-tab of
the FD2 School Tab
---
.../fd2_school/html/html.html | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/farmdata2/farmdata2_modules/fd2_school/html/html.html b/farmdata2/farmdata2_modules/fd2_school/html/html.html
index 84f9a2a3c..03024465a 100644
--- a/farmdata2/farmdata2_modules/fd2_school/html/html.html
+++ b/farmdata2/farmdata2_modules/fd2_school/html/html.html
@@ -1 +1,17 @@
-Matthew Buss
\ No newline at end of file
+Harvest Report
+This page is a mockup of a simplified harvest report.
+
+
+
+My Sample Harvest Report
+Details:
+
+ - Farm:Sample Farm
+ - User:manager1
+ - Language:English
+
+ - Start:05/01/2018
+ - End:05/15/2018
+ - Crop:Kale
+
+
\ No newline at end of file
From dcb890557305ec7bbeb143ac4c0098f3bd4a9fb8 Mon Sep 17 00:00:00 2001
From: bussm
Date: Mon, 14 Apr 2025 00:12:53 -0400
Subject: [PATCH 03/22] Added nonfunctional Title input and Generate Report
buttons to the FD2School tab's HTML sub-tab
---
farmdata2/farmdata2_modules/fd2_school/html/html.html | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/farmdata2/farmdata2_modules/fd2_school/html/html.html b/farmdata2/farmdata2_modules/fd2_school/html/html.html
index 03024465a..4a888cdbb 100644
--- a/farmdata2/farmdata2_modules/fd2_school/html/html.html
+++ b/farmdata2/farmdata2_modules/fd2_school/html/html.html
@@ -14,4 +14,12 @@ My Sample Harvest Report
End:05/15/2018
Crop:Kale
-
\ No newline at end of file
+
+
+
+
+
+
+
+
From fa8c8a25a83a83a2ebc10f2b729a414644813ddb Mon Sep 17 00:00:00 2001
From: bussm
Date: Tue, 15 Apr 2025 23:44:20 -0400
Subject: [PATCH 04/22] Added Crop input to the FD2School HTML sub-tab
---
farmdata2/farmdata2_modules/fd2_school/html/html.html | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/farmdata2/farmdata2_modules/fd2_school/html/html.html b/farmdata2/farmdata2_modules/fd2_school/html/html.html
index 4a888cdbb..49fc1b3a1 100644
--- a/farmdata2/farmdata2_modules/fd2_school/html/html.html
+++ b/farmdata2/farmdata2_modules/fd2_school/html/html.html
@@ -12,7 +12,14 @@ My Sample Harvest Report
Start:05/01/2018
End:05/15/2018
- Crop:Kale
+
+
+
+
From 5169d11544fe9aee795e7f4731d5cb395f3e19ad Mon Sep 17 00:00:00 2001
From: bussm
Date: Tue, 15 Apr 2025 23:48:47 -0400
Subject: [PATCH 05/22] Added Field input to the FD2School HTML sub-tab
---
farmdata2/farmdata2_modules/fd2_school/html/html.html | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/farmdata2/farmdata2_modules/fd2_school/html/html.html b/farmdata2/farmdata2_modules/fd2_school/html/html.html
index 49fc1b3a1..a5227b6a8 100644
--- a/farmdata2/farmdata2_modules/fd2_school/html/html.html
+++ b/farmdata2/farmdata2_modules/fd2_school/html/html.html
@@ -20,6 +20,14 @@ My Sample Harvest Report
+
+
+
+
From 0d4d800ee2fe52e9ce34ad35aba45223d9a9b6ff Mon Sep 17 00:00:00 2001
From: bussm
Date: Tue, 15 Apr 2025 23:57:37 -0400
Subject: [PATCH 06/22] Added start and end date imputs to the FD2School HTML
sub-tab
---
.../fd2_school/html/html.html | 22 +++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/farmdata2/farmdata2_modules/fd2_school/html/html.html b/farmdata2/farmdata2_modules/fd2_school/html/html.html
index a5227b6a8..d86eb5082 100644
--- a/farmdata2/farmdata2_modules/fd2_school/html/html.html
+++ b/farmdata2/farmdata2_modules/fd2_school/html/html.html
@@ -10,8 +10,26 @@ My Sample Harvest Report
User:manager1
Language:English
- Start:05/01/2018
- End:05/15/2018
+
+
+
+
+
+
+
+