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 @@ +
This page is a mockup of a simplified harvest report.
+ + + +Details: +
| Date | +Area | +Crop | +Yield | +Units | +
|---|---|---|---|---|
| 05/02/2011 | +Chuau-1 | +Kale | +10 | +Bunches | +
| 05/05/2011 | +SQ7 | +Kale | +7 | +Bunches | +
This page is a mockup of a simplified harvest report.
+ + + + +Details: +
| Date | +Area | +Crop | +Yield | +Units | +
|---|---|---|---|---|
| {{report.date}} | +{{report.area}} | +{{report.crop}} | +{{report.yield}} | +{{report.units}} | +
This page is a mockup of a simplified harvest report.
+ + + + +Details: +
| There are no matching records! | ||||||
|---|---|---|---|---|---|---|
| Row | +Date | +Area | +Crop | +Yield | +Units | +Delete | +
| {{index + 1}} | +{{report.date }} | +{{report.area}} | +{{report.crop}} | +{{report.yield}} | +{{report.units}} | ++ |