/*
 * Author       : dfjones
 * Generated on : 23-Nov-2009 01:01:57
 * Version      : 3.0
 */
application "Logger"
{
    type = public
    allow html = true
    date format = "dd-MMM-yyyy"
    time zone = "America/Los_Angeles"
    section Logger_Home
    {
        displayname = "Logger Home"
        form  IT_Co_ords
        {
            displayname  =  "IT Co-ords"
            
            Are_you_implementing_DiDA_
            (
                displayname  =  "Are you implementing DiDA?"
                type  =  radiobuttons
                values  =  {"Yes",   "No",   "No, but might do in the future",   "No, never intending to"}
            )

            What_other_subjects_in_the_school_make_a_significant_use_of_ICT_
            (
                displayname  =  "What other subjects in the school make a significant use of ICT?"
                type  =  checkboxes
                values  =  {"English",   "Maths",   "Science",   "Humanities",   "Design and Technology",   "Business Studies",   "Art",   "Music",   "PE",   "Other"}
            )

            What_is_the_most_often_heard_excuse_for_not_using_ICT_in_lessons_
            (
                displayname  =  "What is the most often-heard excuse for not using ICT in lessons?"
                type  =  textarea
            )

            Today_s_date_is_
            (
                displayname  =  "Today's date is..."
                type  =  date
            )

            How_many_ICT_technicians_are_in_the_school_
            (
                displayname  =  "How many ICT technicians are in the school?"
                type  =  number
            )

            actions
            {
                on add
                {
                    Submit
                    (
                        type  =  submit
                        displayname  =  "Submit"
                    )
                    Reset
                    (
                        type  =  reset
                        displayname  =  "Reset"
                    )
                }
                on edit
                {
                    Update
                    (
                        type  =  submit
                        displayname  =  "Update"
                    )
                    Cancel
                    (
                        type  =  cancel
                        displayname  =  "Cancel"
                    )
                }
            }
        }

        list  Results1
        {
            displayname = "Results"
            show  all  rows  from  IT_Co_ords 
            (
                Are_you_implementing_DiDA_ as "Are you implementing DiDA?"
                What_other_subjects_in_the_school_make_a_significant_use_of_ICT_ as "What other subjects in the school make a significant use of ICT?"
                What_is_the_most_often_heard_excuse_for_not_using_ICT_in_lessons_ as "What is the most often-heard excuse for not using ICT in lessons?"
                Today_s_date_is_ as "Today's date is..."
                How_many_ICT_technicians_are_in_the_school_ as "How many ICT technicians are in the school?"
            )
            filters 
            (
                Are_you_implementing_DiDA_
                What_other_subjects_in_the_school_make_a_significant_use_of_ICT_
            )
            options
            (
                display rows = 100
            )
            permission
            (
                add = true
                edit = true
                delete = true
            )
        }

    }

}
