diff --git a/farmdata2/farmdata2_modules/fd2_school/API/api.html b/farmdata2/farmdata2_modules/fd2_school/API/api.html new file mode 100644 index 00000000..c8acc2db --- /dev/null +++ b/farmdata2/farmdata2_modules/fd2_school/API/api.html @@ -0,0 +1,167 @@ + + +
+ + +
+

+ {{(header!="") ? header : "Mock Harvest Report"}} +

+

+ This page is a mockup of a simplified harvest report. +

+ + +

+ + +
+ +

+

{{(header!="") ? header : "Mock Harvest Report"}}

+ +

+ Detail: +

+ + +
+

+ + + + + + + + + + + + + + + + + + + +
RowDateAreaCropYieldUnits
{{index+1}}{{item.date}}{{item.area}}{{item.crop}}{{item.yield}}{{item.units}}
+
+ + + +
+ + \ No newline at end of file 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 00000000..c25c5f44 --- /dev/null +++ b/farmdata2/farmdata2_modules/fd2_school/HTML/HTML.html @@ -0,0 +1,85 @@ + +
+ + +

+ Harvest Report +

+

+ This page is a mockup of a simplified harvest report. +

+

+ + +
+ +

+ My Sample Harvest Report +

+

+ Detail: +

+ +
+

+ + + + + + + + + + + + + + + + + + + + + + + +
DateAreaCropYieldUnits
05/02/2018Chuau-1Kale10Bunches
05/05/2018SQ7Kale7Bunches
+
+ \ No newline at end of file diff --git a/farmdata2/farmdata2_modules/fd2_school/Vue1/Vue1.html b/farmdata2/farmdata2_modules/fd2_school/Vue1/Vue1.html new file mode 100644 index 00000000..8de6b1b1 --- /dev/null +++ b/farmdata2/farmdata2_modules/fd2_school/Vue1/Vue1.html @@ -0,0 +1,102 @@ + +
+ + +
+

+ {{(header!="") ? header : "Mock Harvest Report"}} +

+

+ This page is a mockup of a simplified harvest report. +

+

+ + + +
+ +

+

{{(header!="") ? header : "Mock Harvest Report"}}

+ +

+ Detail: +

+ +
+

+ + + + + +
{{item.row1}}
{{item.row2}}
{{item.row3}}
+
+ +
+ \ No newline at end of file diff --git a/farmdata2/farmdata2_modules/fd2_school/Vue2/Vue2.html b/farmdata2/farmdata2_modules/fd2_school/Vue2/Vue2.html new file mode 100644 index 00000000..e8c6316f --- /dev/null +++ b/farmdata2/farmdata2_modules/fd2_school/Vue2/Vue2.html @@ -0,0 +1,126 @@ + + +
+ + +
+

+ {{(header!="") ? header : "Mock Harvest Report"}} +

+

+ This page is a mockup of a simplified harvest report. +

+ Generate Report + +

+ + +
+ +

+

{{(header!="") ? header : "Mock Harvest Report"}}

+ +

+ Detail: +

+ +
+

+ + + + + + + + + + + + + + + + + + + +
RowDateAreaCropYieldUnits
{{index+1}}{{item.date}}{{item.area}}{{item.crop}}{{item.yield}}{{item.units}}
+
+ + +
+ + \ No newline at end of file diff --git a/farmdata2/farmdata2_modules/fd2_school/fd2_school.module b/farmdata2/farmdata2_modules/fd2_school/fd2_school.module index 167ca8ef..7291464b 100644 --- a/farmdata2/farmdata2_modules/fd2_school/fd2_school.module +++ b/farmdata2/farmdata2_modules/fd2_school/fd2_school.module @@ -61,7 +61,41 @@ function fd2_school_menu() { ); // Add items blocks for new sub-tabs here. + $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' => 100, + ); + $items['farm/fd2-school/Vue1'] = array( + 'title' => 'Vue1', + 'type' => MENU_LOCAL_TASK, + 'page callback' => 'fd2_school_view', + 'page arguments' => array('Vue1'), + 'access arguments' => array('view fd2 school'), + 'weight' => 200, + ); + + $items['farm/fd2-school/Vue2'] = array( + 'title' => 'Vue2', + 'type' => MENU_LOCAL_TASK, + 'page callback' => 'fd2_school_view', + 'page arguments' => array('Vue2'), + 'access arguments' => array('view fd2 school'), + 'weight' => 300, + ); + + $items['farm/fd2-school/API'] = array( + 'title' => 'API', + 'type' => MENU_LOCAL_TASK, + 'page callback' => 'fd2_school_view', + 'page arguments' => array('API'), + 'access arguments' => array('view fd2 school'), + 'weight' => 400, + ); return $items; };