From 30a70d06c2ac9228ae72a30455ee127994156df5 Mon Sep 17 00:00:00 2001 From: mohtamba Date: Wed, 4 Aug 2021 15:25:02 -0400 Subject: [PATCH 1/2] Fixed spacing on dropdowns --- lms/static/js/instructor_dashboard/proctoring.js | 4 ++-- lms/static/sass/course/instructor/_instructor_2.scss | 4 ++++ .../instructor/instructor_dashboard_2/special_exams.html | 8 ++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lms/static/js/instructor_dashboard/proctoring.js b/lms/static/js/instructor_dashboard/proctoring.js index 9ef274f9de..89976ead3e 100644 --- a/lms/static/js/instructor_dashboard/proctoring.js +++ b/lms/static/js/instructor_dashboard/proctoring.js @@ -1,7 +1,7 @@ $(function() { var icons = { - header: 'ui-icon-carat-1-e', - activeHeader: 'ui-icon-carat-1-s' + header: 'ui-icon-carat-1-s', + activeHeader: 'ui-icon-carat-1-n' }; var $proctoringAccordionPane = $('#proctoring-accordion'); $proctoringAccordionPane.accordion( diff --git a/lms/static/sass/course/instructor/_instructor_2.scss b/lms/static/sass/course/instructor/_instructor_2.scss index 2872a71ad4..e57f099835 100644 --- a/lms/static/sass/course/instructor/_instructor_2.scss +++ b/lms/static/sass/course/instructor/_instructor_2.scss @@ -2584,6 +2584,10 @@ input[name="subject"] { font-size: em(13); } } + + div.special-exam-header { + padding-left: 25px; + } } .special-allowance-container, diff --git a/lms/templates/instructor/instructor_dashboard_2/special_exams.html b/lms/templates/instructor/instructor_dashboard_2/special_exams.html index d162fe7ce7..29180c7bc0 100644 --- a/lms/templates/instructor/instructor_dashboard_2/special_exams.html +++ b/lms/templates/instructor/instructor_dashboard_2/special_exams.html @@ -10,22 +10,22 @@ import pytz % endif
-

${_('Allowance Section')}

+

${_('Allowance Section')}

% if section_data['show_onboarding']:
-

${_('Student Onboarding Status')}

+

${_('Student Onboarding Status')}

% endif
-

${_('Student Special Exam Attempts')}

+

${_('Student Special Exam Attempts')}

% if section_data['show_dashboard']:
-

${_('Review Dashboard')}

+

${_('Review Dashboard')}

% endif From 32ef868bad44d4a19294e8259d788e55785ad1c4 Mon Sep 17 00:00:00 2001 From: mohtamba Date: Thu, 5 Aug 2021 08:31:12 -0400 Subject: [PATCH 2/2] Adjusted structure of code to minimize changes --- lms/static/sass/course/instructor/_instructor_2.scss | 2 +- .../instructor/instructor_dashboard_2/special_exams.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lms/static/sass/course/instructor/_instructor_2.scss b/lms/static/sass/course/instructor/_instructor_2.scss index e57f099835..3bd8e8a0c2 100644 --- a/lms/static/sass/course/instructor/_instructor_2.scss +++ b/lms/static/sass/course/instructor/_instructor_2.scss @@ -2585,7 +2585,7 @@ input[name="subject"] { } } - div.special-exam-header { + .special-exam-header { padding-left: 25px; } } diff --git a/lms/templates/instructor/instructor_dashboard_2/special_exams.html b/lms/templates/instructor/instructor_dashboard_2/special_exams.html index 29180c7bc0..ab2bb966a0 100644 --- a/lms/templates/instructor/instructor_dashboard_2/special_exams.html +++ b/lms/templates/instructor/instructor_dashboard_2/special_exams.html @@ -10,22 +10,22 @@ import pytz % endif
-

${_('Allowance Section')}

+

${_('Allowance Section')}

% if section_data['show_onboarding']:
-

${_('Student Onboarding Status')}

+

${_('Student Onboarding Status')}

% endif
-

${_('Student Special Exam Attempts')}

+

${_('Student Special Exam Attempts')}

% if section_data['show_dashboard']:
-

${_('Review Dashboard')}

+

${_('Review Dashboard')}

% endif