${_("Legacy Instructor Dashboard")}
%if settings.FEATURES.get('IS_EDX_DOMAIN', False):
## Only show this banner on the edx.org website (other sites may choose to show this if they wish)
${_("You are using the legacy instructor dashboard, which we will retire in the near future.")} ${_("Return to the Instructor Dashboard")}
${_("If the Instructor Dashboard is missing functionality, please contact your PM to let us know.")}
%endif
##-----------------------------------------------------------------------------
%if msg:
${msg}
%endif
##-----------------------------------------------------------------------------
%if datatable and modeflag.get('Psychometrics') is None:
${datatable['title'] | h}
%for hname in datatable['header']:
${hname | h} |
%endfor
%for row in datatable['data']:
%for value in row:
${value | h} |
%endfor
%endfor
%endif
## Output tasks in progress
%if instructor_tasks is not None and len(instructor_tasks) > 0:
${_("Pending Instructor Tasks")}
${_("Task Type")} |
${_("Task inputs")} |
${_("Task Id")} |
${_("Requester")} |
${_("Submitted")} |
${_("Task State")} |
${_("Duration (sec)")} |
${_("Task Progress")} |
%for tasknum, instructor_task in enumerate(instructor_tasks):
${instructor_task.task_type} |
${instructor_task.task_input} |
${instructor_task.task_id} |
${instructor_task.requester} |
${instructor_task.created} |
${instructor_task.task_state} |
${_("unknown")} |
${_("unknown")} |
%endfor
%endif
##-----------------------------------------------------------------------------
%if modeflag.get('Admin') and course_stats:
${course_stats['title'] | h}
%for hname in course_stats['header']:
${hname | h} |
%endfor
%for row in course_stats['data']:
%for value in row:
${value | h} |
%endfor
%endfor
%else:
${_("Course Statistics At A Glance")}
${_("View course statistics in the Admin section of this legacy instructor dashboard.")}
%endif
##-----------------------------------------------------------------------------
%if modeflag.get('Psychometrics'):
%for plot in plots:
${plot['title']}
${plot['info']}
%endfor
%endif
##-----------------------------------------------------------------------------
## always show msg
##-----------------------------------------------------------------------------
%if modeflag.get('Admin'):
% if course_errors is not UNDEFINED:
${_("Course errors")}
%if not course_errors:
None
%else:
% for (summary, err) in course_errors:
- ${summary | h}
% if err:
% else:
% endif
% endfor
%endif
% endif
%endif