Example #1
0
def display_admin_programs():
    '''This routine displays the administration tools for program units. It is
    password protected because the listing page allows administrative features.
    Only the model schedules can be edited; the rest of the data comes from
    CIT.
    '''
    return display_content(
        breadcrumbs=get_breadcrumbs('admin', 'programs'),
        title='Administration: Programs',
        primaryList=create_admin_programs_list(Programs.read_units()),
        primaryListHr=True,
        editable=False
    )
Example #2
0
def display_programs():
    '''Configure and display the academics overview page.'''
    return display_content(
        breadcrumbs=get_breadcrumbs('academics'),
        image=Images.read_tagged_unit('about'),
        title='Academics',
        primary='''The Department of Computer Science offers the following
                   academic programs. To learn more about our academics goals,
                   see our <a href="/administration/assessment/plan">program
                   outcomes</a>.''',
        primaryList=create_programs_list(Programs.read_units()),
        primaryListHr=False,
        editable=False
    )