def get_display(self):
        outer_div = DivWdg()
        outer_div.set_id('import-element-eval-form')

        page_label = "<div>Enter the unique code of the Element Evaluation you want to import. The code will be in a " \
                     "format like this: ELEMENT_EVAL00001 </br>" \
                     "When the process finishes, a popup will tell you the new code for the imported report. Make " \
                     "note of this code before closing the window."
        outer_div.add(page_label)

        outer_div.add(get_label_widget('Code'))
        outer_div.add(get_text_input_wdg('code', 300))

        outer_div.add(get_label_widget('Username'))
        outer_div.add(get_text_input_wdg('username', 400))

        outer_div.add(get_label_widget('Password'))
        password_input = PasswordWdg('password')
        outer_div.add(password_input)

        submit_button = SubmitWdg('Submit')
        submit_button.add_behavior(self.submit_button_behavior())
        outer_div.add(submit_button)

        return outer_div
    def get_display(self):
        outer_div = DivWdg()
        outer_div.set_id('new-department-request-entry-form')

        page_label = "<div>Fill out the following form to submit a new request. The request will be added to the " \
                     "department's list, and will be addressed as soon as possible. You will receive a " \
                     "notification when the request is complete.</div><br/>"
        outer_div.add(page_label)

        outer_div.add(get_label_widget('Name'))
        outer_div.add(get_text_input_wdg('name', 800))

        outer_div.add(get_label_widget('Description'))
        outer_div.add(
            obu.get_text_area_input_wdg('description', 800,
                                        [('display', 'block')]))

        outer_div.add(get_label_widget('Due Date'))
        outer_div.add(get_datetime_calendar_wdg())

        department_select_wdg = SelectWdg('department_select')
        department_select_wdg.append_option('Onboarding', 'onboarding')
        department_select_wdg.append_option('Edel', 'edel')
        department_select_wdg.append_option('Compression', 'compression')
        department_select_wdg.append_option('QC', 'qc')

        outer_div.add(get_label_widget('Department'))
        outer_div.add(department_select_wdg)

        self.get_submit_widget(outer_div)

        return outer_div
    def get_display(self):
        outer_div = DivWdg()
        outer_div.set_id('new-department-request-entry-form')

        page_label = "<div>Fill out the following form to submit a new request. The request will be added to the " \
                     "department's list, and will be addressed as soon as possible. You will receive a " \
                     "notification when the request is complete.</div><br/>"
        outer_div.add(page_label)

        outer_div.add(get_label_widget('Name'))
        outer_div.add(get_text_input_wdg('name', 800))

        outer_div.add(get_label_widget('Description'))
        outer_div.add(obu.get_text_area_input_wdg('description', 800, [('display', 'block')]))

        outer_div.add(get_label_widget('Due Date'))
        outer_div.add(get_datetime_calendar_wdg())

        department_select_wdg = SelectWdg('department_select')
        department_select_wdg.append_option('Onboarding', 'onboarding')
        department_select_wdg.append_option('Edel', 'edel')
        department_select_wdg.append_option('Compression', 'compression')
        department_select_wdg.append_option('QC', 'qc')

        outer_div.add(get_label_widget('Department'))
        outer_div.add(department_select_wdg)

        self.get_submit_widget(outer_div)

        return outer_div
    def get_display(self):
        outer_div = DivWdg()
        outer_div.set_id('create_instructions_document_from_template')

        outer_div.add(get_label_widget('Name'))
        outer_div.add(get_text_input_wdg('new_instructions_name', 600))

        submit_button = SubmitWdg('Submit')
        submit_button.add_behavior(self.get_submit_button_behavior())

        outer_div.add(submit_button)

        return outer_div
    def get_display(self):
        outer_div = DivWdg()
        outer_div.set_id('insert-package-in-order')

        outer_div.add(get_label_widget('Name'))
        outer_div.add(get_text_input_wdg('new_package_name', 400))

        outer_div.add(get_platforms_checkboxes())

        outer_div.add(get_label_widget('Due Date'))
        outer_div.add(obu.get_date_calendar_wdg())

        submit_button = SubmitWdg('Submit')
        submit_button.add_behavior(self.get_submit_button_behavior())

        outer_div.add(submit_button)

        return outer_div
    def get_display(self):
        outer_div = DivWdg()
        outer_div.set_id('add_new_files_to_task')

        outer_div.add(get_label_widget('Path'))
        outer_div.add(get_text_input_wdg('new_file_path', 800))

        outer_div.add(get_label_widget('Classification'))
        outer_div.add(get_file_classification_select_wdg())

        submit_button = SubmitWdg('Submit')
        submit_button.add_behavior(self.get_submit_button_behavior(self.task_data.get_code(),
                                                                   self.division.get_code(),
                                                                   self.order_sobject.get_code(),
                                                                   self.task_sobject.get_search_key()))

        outer_div.add(submit_button)

        return outer_div
    def get_display(self):
        outer_div = DivWdg()
        outer_div.set_id('change-estimated-hours')

        current_estimated_hours = self.task_data.get('estimated_hours')

        if current_estimated_hours:
            current_hours_text = 'The estimated hours for this task is currently set to {0} hour(s).'.format(
                current_estimated_hours)
        else:
            current_hours_text = 'Estimated hours is not currently set for this task.'

        outer_div.add(current_hours_text)
        outer_div.add(get_text_input_wdg('new_estimated_hours', 100))

        submit_button = SubmitWdg('Submit')
        submit_button.add_behavior(self.get_submit_button_behavior())

        outer_div.add(submit_button)

        return outer_div
    def get_display(self):
        outer_div = DivWdg()
        outer_div.set_id('change-estimated-hours')

        current_estimated_hours = self.task_data.get('estimated_hours')

        if current_estimated_hours:
            current_hours_text = 'The estimated hours for this task is currently set to {0} hour(s).'.format(
                current_estimated_hours)
        else:
            current_hours_text = 'Estimated hours is not currently set for this task.'

        outer_div.add(current_hours_text)
        outer_div.add(get_text_input_wdg('new_estimated_hours', 100))

        submit_button = SubmitWdg('Submit')
        submit_button.add_behavior(self.get_submit_button_behavior())

        outer_div.add(submit_button)

        return outer_div
    def get_display(self):
        outer_div = DivWdg()
        outer_div.set_id('add_new_files_to_task')

        if self.division_sobject:
            outer_div.add(get_label_widget('Path'))
            outer_div.add(get_text_input_wdg('new_file_path', 800))

            outer_div.add(get_label_widget('Classification'))
            outer_div.add(get_file_classification_select_wdg())

            submit_button = SubmitWdg('Submit')
            submit_button.add_behavior(self.get_submit_button_behavior())

            outer_div.add(submit_button)
        else:
            outer_div.add(
                '<div>You cannot add files to an Order until a Client Division has been selected.</div>'
            )

        return outer_div