-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add all/selected action scope back to sets manager.
- Loading branch information
Showing
5 changed files
with
62 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
templates/ContentGenerator/Instructor/ProblemSetList/edit_form.html.ep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
<div class="row mb-2"> | ||
<p><%= maketext('Select sets to edit.') =%></p> | ||
<%= label_for edit_select => maketext('Edit which sets?'), class => 'col-form-label col-form-label-sm col-auto' =%> | ||
<div class="col-auto"> | ||
<%= select_field 'action.edit.scope' => [ | ||
[ maketext('all sets') => 'all' ], | ||
[ maketext('selected sets') => 'selected', selected => undef ] | ||
], | ||
id => 'edit_select', class => 'form-select form-select-sm' =%> | ||
</div> | ||
</div> |
10 changes: 9 additions & 1 deletion
10
templates/ContentGenerator/Instructor/ProblemSetList/export_form.html.ep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
<div class="row mb-2"> | ||
<p><%= maketext('Select sets to export.') =%></p> | ||
<%= label_for export_select => maketext('Prepare which sets for export?'), | ||
class => 'col-form-label col-form-label-sm col-auto' =%> | ||
<div class="col-auto"> | ||
<%= select_field 'action.export.scope' => [ | ||
[ maketext('all sets') => 'all' ], | ||
[ maketext('selected sets') => 'selected', selected => undef ], | ||
], | ||
id => 'export_select', class => 'form-select form-select-sm' =%> | ||
</div> | ||
</div> |
13 changes: 12 additions & 1 deletion
13
templates/ContentGenerator/Instructor/ProblemSetList/publish_form.html.ep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
templates/ContentGenerator/Instructor/ProblemSetList/score_form.html.ep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
<div class="row mb-2"> | ||
<p><%= maketext('Select sets to score.') =%></p> | ||
<%= label_for score_select => maketext('Score which sets?'), | ||
class => 'col-form-label col-form-label-sm col-auto' =%> | ||
<div class="col-auto"> | ||
<%= select_field 'action.score.scope' => [ | ||
[ maketext('all sets') => 'all' ], | ||
[ maketext('selected sets') => 'selected', selected => undef ] | ||
], | ||
id => 'score_select', class => 'form-select form-select-sm' =%> | ||
</div> | ||
</div> |