Update Bootstrap from v4 to v5

This commit is contained in:
Sebastian Serth
2022-08-11 19:10:49 +02:00
parent 6803efc023
commit 8a055a0d68
84 changed files with 559 additions and 566 deletions

View File

@@ -56,7 +56,7 @@
- if @current_user.admin? && user.is_a?(ExternalUser)
= render('admin_menu')
hr/
hr
.howto
h5.mt-4
@@ -70,8 +70,8 @@
| also, all settings from the rails model needed for the editor configuration in the JavaScript are attached to the editor as data attributes here.
- submission.files.each do |file|
= (file.path or "") + "/" + file.name + file.file_type.file_extension
br/
|   
br
|   
i.fa-solid.fa-arrow-down aria-hidden="true"
= t('request_for_comments.click_here')
#commentitor.editor data-file-id="#{file.id}" data-mode="#{file.file_type.editor_mode}" data-read-only="true"
@@ -448,11 +448,11 @@ javascript:
if (commenttext !== "") {
createComment(fileid, row, editor, commenttext);
commentTextarea.val('') ;
commentModal.modal('hide');
bootstrap.Modal.getInstance(commentModal).hide();
}
});
commentModal.modal('show');
new bootstrap.Modal(commentModal).show();
}
function ajaxError(response) {