From a777fd55843d09005c624434fc2f797af168ccf9 Mon Sep 17 00:00:00 2001 From: Giga Chubinidze Date: Thu, 8 Jun 2023 10:33:37 +0400 Subject: [PATCH] New icons implementation [SCI-8366] --- app/assets/javascripts/application.js.erb | 6 ++-- app/assets/javascripts/dashboard/calendar.js | 4 +-- .../javascripts/dashboard/quick_start.js | 4 +-- app/assets/javascripts/experiments/show.js | 2 +- app/assets/javascripts/experiments/table.js | 2 +- .../global_activities/side_pane.js | 2 +- .../label_templates_datatable.js | 2 +- app/assets/javascripts/my_modules.js | 2 +- .../javascripts/my_modules/repositories.js | 4 +-- .../javascripts/reports/reports_datatable.js | 2 +- .../repositories/renderers/columns/asset.js | 4 +-- .../renderers/columns/date_time_helper.js | 4 +-- .../repositories/renderers/view_renderers.js | 4 +-- .../repositories/repository_datatable.js | 4 +-- .../status_column_type.js | 2 +- .../javascripts/repository_columns/index.js | 8 ++--- .../javascripts/sitewide/datatable_helpers.js | 4 +-- .../javascripts/sitewide/drag_n_drop.js | 4 +-- .../javascripts/sitewide/dropdown_selector.js | 4 +-- .../javascripts/sitewide/show_password.js | 2 +- .../settings/teams/invite_users_modal.js | 2 +- .../shared_styles/constants/fonts.scss | 1 + .../shared_styles/global_elements.scss | 8 ++--- .../reports/date_input_component.html.erb | 2 +- .../protocol_linked_children_datatable.rb | 6 ++-- app/datatables/teams_datatable.rb | 2 +- app/helpers/bootstrap_form_helper.rb | 2 +- app/helpers/global_activities_helper.rb | 2 +- app/helpers/results_helper.rb | 8 ++--- app/javascript/packs/tiny_mce.js | 2 +- app/javascript/vue/bmt_filter/container.vue | 6 ++-- app/javascript/vue/bmt_filter/filter.vue | 2 +- .../vue/bmt_filter/saved_filter.vue | 2 +- .../label_template/insert_field_dropdown.vue | 6 ++-- .../notifications/notifications_flyout.vue | 2 +- app/javascript/vue/navigation/top_menu.vue | 8 ++--- app/javascript/vue/protocol/attachments.vue | 2 +- app/javascript/vue/protocol/container.vue | 12 ++++---- .../modals/reorderable_items_modal.vue | 2 +- .../vue/protocol/protocolMetadata.vue | 2 +- .../vue/protocol/protocolOptions.vue | 10 +++---- app/javascript/vue/protocol/step.vue | 16 +++++----- .../step_attachments/context_menu.vue | 8 ++--- .../protocol/step_attachments/file_modal.vue | 2 +- .../protocol/step_attachments/uploading.vue | 2 +- .../vue/protocol/step_elements/checklist.vue | 6 ++-- .../protocol/step_elements/checklistItem.vue | 4 +-- .../vue/protocol/step_elements/table.vue | 6 ++-- .../vue/protocol/step_elements/text.vue | 4 +-- .../vue/repository_filter/container.vue | 4 +-- .../vue/repository_filter/filter.vue | 2 +- .../vue/repository_filter/saved_filter.vue | 2 +- .../vue/repository_search/container.vue | 8 ++--- app/javascript/vue/shared/date_picker.vue | 2 +- app/javascript/vue/shared/inline_edit.vue | 2 +- app/javascript/vue/shared/pdf_viewer.vue | 6 ++-- app/javascript/vue/shared/time_picker.vue | 2 +- app/javascript/vue/shared/tinymce.vue | 2 +- app/services/toolbars/experiments_service.rb | 10 +++---- .../toolbars/label_templates_service.rb | 8 ++--- app/services/toolbars/my_modules_service.rb | 10 +++---- app/services/toolbars/projects_service.rb | 20 ++++++------- app/services/toolbars/protocols_service.rb | 10 +++---- app/services/toolbars/reports_service.rb | 6 ++-- app/services/toolbars/repositories_service.rb | 12 ++++---- .../toolbars/repository_rows_service.rb | 16 +++++----- .../modals/_edit_modal.html.erb | 2 +- .../partials/_new_assignments_form.html.erb | 2 +- app/views/assets/_asset_context_menu.html.erb | 8 ++--- app/views/assets/_new_asset.html.erb | 2 +- app/views/canvas/_edit.html.erb | 4 +-- app/views/canvas/edit/_my_module.html.erb | 2 +- .../canvas/full_zoom/_my_module.html.erb | 6 ++-- .../full_zoom/_my_module_hidden.html.erb | 2 +- .../medium_zoom/_my_module_hidden.html.erb | 2 +- .../small_zoom/_my_module_hidden.html.erb | 2 +- app/views/dashboards/_current_tasks.html.erb | 4 +-- app/views/dashboards/_quick_start.html.erb | 6 ++-- .../dashboards/current_tasks/_task.html.erb | 2 +- .../experiments/_assigned_users.html.erb | 4 +-- .../experiments/_dropdown_actions.html.erb | 12 ++++---- app/views/experiments/_show_header.html.erb | 2 +- .../experiments/_table_display_modal.html.erb | 4 +-- .../experiments/_table_due_date.html.erb | 2 +- .../experiments/_table_row_actions.html.erb | 10 +++---- app/views/experiments/_table_toolbar.html.erb | 6 ++-- app/views/experiments/canvas.html.erb | 4 +-- app/views/experiments/module_archive.html.erb | 4 +-- .../global_activities/_date_picker.html.erb | 2 +- .../global_activities/_top_pane.html.erb | 8 ++--- .../references/_project_folder.html.erb | 2 +- .../references/_protocol.html.erb | 4 +-- .../references/_report.html.erb | 2 +- .../references/_repository_base.html.erb | 2 +- .../references/_repository_row.html.erb | 2 +- .../references/_team.html.erb | 2 +- .../label_printers/_fluics_settings.html.erb | 6 ++-- .../label_printers/_zebra_settings.html.erb | 4 +-- .../label_templates/_index_toolbar.html.erb | 2 +- app/views/label_templates/index.html.erb | 2 +- .../reports/template_values_editor.html.erb | 10 +++---- app/views/my_module_tags/_index_edit.html.erb | 10 +++---- app/views/my_modules/_header.html.erb | 2 +- .../_module_header_due_date.html.erb | 4 +-- .../_module_header_start_date.html.erb | 4 +-- app/views/my_modules/_result.html.erb | 6 ++-- app/views/my_modules/_tags.html.erb | 2 +- .../my_modules/activities/_top_pane.html.erb | 8 ++--- app/views/my_modules/archive/_result.html.erb | 6 ++-- ..._repository_records_modal_content.html.erb | 2 +- .../my_modules/modals/_new_modal.html.erb | 2 +- ..._repository_records_modal_content.html.erb | 6 ++-- .../_consume_stock_modal_content.html.erb | 2 +- .../repositories/_full_view_modal.html.erb | 4 +-- .../repositories/_full_view_sidebar.html.erb | 4 +-- .../repositories/_full_view_version.html.erb | 2 +- .../_repositories_dropdown_list.html.erb | 2 +- .../repositories/_repositories_list.html.erb | 2 +- app/views/my_modules/results.html.erb | 12 ++++---- .../experiment_archive/_experiment.html.erb | 6 ++-- .../projects/index/_folder_card.html.erb | 2 +- app/views/projects/index/_header.html.erb | 2 +- .../index/_project_actions_dropdown.html.erb | 16 +++++----- .../projects/index/_project_card.html.erb | 4 +-- app/views/projects/index/_toolbar.html.erb | 6 ++-- .../modals/_move_to_folders_tree.html.erb | 2 +- .../modals/_move_to_modal_contents.html.erb | 4 +-- app/views/projects/show/_experiment.html.erb | 4 +-- .../_experiment_actions_dropdown.html.erb | 12 ++++---- .../projects/show/_experiment_card.html.erb | 2 +- app/views/projects/show/_header.html.erb | 2 +- .../projects/show/_new_experiment.html.erb | 2 +- app/views/projects/show/_toolbar.html.erb | 4 +-- .../import_export/_import_modal.html.erb | 2 +- app/views/protocols/index.html.erb | 2 +- .../protocols/index/_general_toolbar.html.erb | 4 +-- .../protocols/index/_protocol_access.html.erb | 2 +- .../index/_protocol_versions_modal.html.erb | 4 +-- .../index/_protocolsio_modal_body.html.erb | 4 +-- app/views/protocols/show.html.erb | 2 +- .../_content_document_preview.html.erb | 4 +-- app/views/reports/_index_toolbar.html.erb | 2 +- .../_my_module_result_asset_element.html.erb | 2 +- .../elements/_step_asset_element.html.erb | 2 +- app/views/reports/new.html.erb | 2 +- .../reports/wizard/_project_contents.html.erb | 8 ++--- .../reports/wizard/_second_step.html.erb | 4 +-- app/views/reports/wizard/_third_step.html.erb | 8 ++--- .../repositories/_repository_filters.html.erb | 2 +- .../_repository_row_info_modal.html.erb | 4 +-- app/views/repositories/_sidebar.html.erb | 2 +- .../repositories/_toolbar_buttons.html.erb | 8 ++--- .../repositories/_view_archived_btn.html.erb | 2 +- app/views/repositories/index.html.erb | 2 +- app/views/repositories/show.html.erb | 2 +- .../toolbar/_print_label_button.html.erb | 2 +- .../toolbar/_row_actions.html.erb | 14 ++++----- .../toolbar/_save_filters.html.erb | 2 +- .../_manage_column_modal_index.html.erb | 2 +- .../manage_column_partials/_status.html.erb | 4 +-- .../_manage_modal_content.html.erb | 2 +- app/views/search/index.html.erb | 30 +++++++++---------- app/views/search/new.html.erb | 2 +- app/views/search/results/_assets.html.erb | 2 +- app/views/search/results/_comments.html.erb | 2 +- .../search/results/_experiments.html.erb | 2 +- app/views/search/results/_modules.html.erb | 2 +- .../search/results/_project_folders.html.erb | 2 +- app/views/search/results/_projects.html.erb | 2 +- app/views/search/results/_protocols.html.erb | 2 +- app/views/search/results/_reports.html.erb | 2 +- .../search/results/_repositories.html.erb | 2 +- app/views/search/results/_results.html.erb | 6 ++-- app/views/search/results/_steps.html.erb | 2 +- app/views/search/results/_tables.html.erb | 2 +- app/views/shared/_bio_eddie_modal.html.erb | 2 +- app/views/shared/_file_edit_modal.html.erb | 2 +- app/views/shared/_filter_dropdown.html.erb | 2 +- app/views/shared/_inline_editing.html.erb | 2 +- app/views/shared/_marvinjs_modal.html.erb | 2 +- .../shared/_my_modules_list_partial.html.erb | 2 +- app/views/shared/_pdf_viewer.html.erb | 6 ++-- .../shared/_repository_row_reminder.html.erb | 2 +- .../shared/_tiny_mce_extra_buttons.html.erb | 2 +- app/views/shared/comments/_comment.html.erb | 4 +-- app/views/shared/comments/_comments.html.erb | 2 +- .../comments/_comments_sidebar.html.erb | 4 +-- app/views/shared/comments/_item.html.erb | 4 +-- .../shared/file_preview/_content.html.erb | 16 +++++----- .../filter_dropdown/_datetime_search.html.erb | 4 +-- .../shared/sidebar/_experiments.html.erb | 2 +- app/views/shared/sidebar/_my_module.html.erb | 2 +- app/views/shared/sidebar/_my_modules.html.erb | 4 +-- app/views/shared/sidebar/_projects.html.erb | 2 +- .../sidebar/_projects_tree_branch.html.erb | 2 +- .../sidebar/_templates_sidebar.html.erb | 2 +- .../shared/smart_annotation/_menu.html.erb | 4 +-- .../shared/smart_annotation/_users.html.erb | 2 +- .../user_my_modules/_index_edit.html.erb | 4 +-- .../registrations/_manage_devices.html.erb | 2 +- .../edit_partials/_avatar.html.erb | 2 +- .../account/preferences/index.html.erb | 2 +- .../settings/teams/_user_dropdown.html.erb | 4 +-- app/views/users/settings/teams/index.html.erb | 2 +- app/views/users/settings/teams/show.html.erb | 6 ++-- .../settings/webhooks/_webhook_form.html.erb | 2 +- .../users/settings/webhooks/index.html.erb | 12 ++++---- config/locales/en.yml | 8 ++--- 208 files changed, 450 insertions(+), 447 deletions(-) diff --git a/app/assets/javascripts/application.js.erb b/app/assets/javascripts/application.js.erb index ed7288660..c47a7bb85 100644 --- a/app/assets/javascripts/application.js.erb +++ b/app/assets/javascripts/application.js.erb @@ -38,7 +38,9 @@ //= require_directory ./access_permissions //= require sidebar //= require turbolinks - +//= require scinote/enterprise/organization_management/application +//= require scinote/enterprise/audit_trails/application +//= require scinote/enterprise/electronic_signatures/application // Initialize links for submitting forms. This is useful for submitting // forms with clicking on links outside form in cases when other than // GET method is used. @@ -334,7 +336,7 @@ const renderUserNamePopover = (url, fullName, email, html) => {
${fullName}
- +
diff --git a/app/assets/javascripts/dashboard/calendar.js b/app/assets/javascripts/dashboard/calendar.js index c52a2d5d0..a6eb2984c 100644 --- a/app/assets/javascripts/dashboard/calendar.js +++ b/app/assets/javascripts/dashboard/calendar.js @@ -6,11 +6,11 @@ var DasboardCalendarWidget = (function() { return `