diff --git a/farmdata2/farmdata2_modules/fd2_school/fd2_school.module b/farmdata2/farmdata2_modules/fd2_school/fd2_school.module index 167ca8ef2..7a8c837e5 100644 --- a/farmdata2/farmdata2_modules/fd2_school/fd2_school.module +++ b/farmdata2/farmdata2_modules/fd2_school/fd2_school.module @@ -61,6 +61,36 @@ 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, + ); + + // Add a sub-tab named Vue1 with content in ./vue1/vue1.html. + $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' => 110, + ); + + // Add a sub-tab named Vue2 with content in ./vue2/vue2.html. + $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' => 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..40881adf4 --- /dev/null +++ b/farmdata2/farmdata2_modules/fd2_school/html/html.html @@ -0,0 +1,82 @@ +

Harvest Report

+

This page is a mockup of a simplified harvest report.

+ + + +

+ + + + + + +

+ + + + + + + +

+ + +
+ +

My Sample Harvest Report

+

Details: +

+

+ + + + + + + + + + + + + + + + + + + + + + + +
DateAreaCropYieldUnits
05/02/2011Chuau-1Kale10Bunches
05/05/2011SQ7Kale7Bunches
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 000000000..c87523d64 --- /dev/null +++ b/farmdata2/farmdata2_modules/fd2_school/vue1/vue1.html @@ -0,0 +1,101 @@ +
+

Harvest Report

+

This page is a mockup of a simplified harvest report.

+ + + + +

+ + + + + + +

+ + + + + + + +

+ + +
+ +

{{reportTitle=="" ? "Mock Harvest Report" : reportTitle}}

+

Details: +

+

+ + + + + + + + + + + + + + + + +
DateAreaCropYieldUnits
{{report.date}}{{report.area}}{{report.crop}}{{report.yield}}{{report.units}}
+
+ + \ 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 000000000..77b1c9f7f --- /dev/null +++ b/farmdata2/farmdata2_modules/fd2_school/vue2/vue2.html @@ -0,0 +1,114 @@ +
+

Harvest Report

+

This page is a mockup of a simplified harvest report.

+ + + + +

+ + + + + + +

+ + + + + + + +

+ + +
+ +

{{reportTitle=="" ? "Mock Harvest Report" : reportTitle}}

+

Details: +

+

+ + + + + + + + + + + + + + + + + + + + + + +
There are no matching records!
RowDateAreaCropYieldUnitsDelete
{{index + 1}}{{report.date }}{{report.area}}{{report.crop}}{{report.yield}}{{report.units}}
+
+ + \ No newline at end of file