MDL-75153 grade: Update the general tertiary nav selector in gradebook

Updates the general tertiary nav selector in gradebook to use the new
structure that utilizes the existing select_menu output component.
This commit is contained in:
Mihail Geshoski 2022-09-12 14:07:31 +08:00
parent 2b99e648cb
commit 0e1cdfde1d
16 changed files with 405 additions and 224 deletions

View file

@ -33,7 +33,6 @@
.path-grade-report-grader {
#region-main {
overflow-x: visible;
min-width: 100%;
width: auto;
display: flex;
@ -62,6 +61,12 @@
}
}
.path-grade {
#region-main {
overflow-x: visible;
}
}
// Rubrics
#page-grade-grading-manage {
#activemethodselector {

View file

@ -19387,7 +19387,6 @@ p.arrow_button {
left: 40vw; }
.path-grade-report-grader #region-main {
overflow-x: visible;
min-width: 100%;
width: auto;
display: flex;
@ -19410,6 +19409,9 @@ p.arrow_button {
.path-grade-report-user .gradefail {
color: #ca3120; }
.path-grade #region-main {
overflow-x: visible; }
#page-grade-grading-manage #activemethodselector label {
display: inline-block; }

View file

@ -19387,7 +19387,6 @@ p.arrow_button {
left: 40vw; }
.path-grade-report-grader #region-main {
overflow-x: visible;
min-width: 100%;
width: auto;
display: flex;
@ -19410,6 +19409,9 @@ p.arrow_button {
.path-grade-report-user .gradefail {
color: #ca3120; }
.path-grade #region-main {
overflow-x: visible; }
#page-grade-grading-manage #activemethodselector label {
display: inline-block; }

View file

@ -52,6 +52,6 @@ class behat_theme_classic_behat_grade extends behat_grade {
get_string('pluginname', 'block_navigation'), 'block'));
}
$this->select_in_gradebook_navigation_selector($gradepath, 'gradesactionselect');
$this->execute('behat_forms::i_set_the_field_to', [get_string('gradebooknavigationmenu', 'grades'), $gradepath]);
}
}