mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
Fix users/comments tab showing
[SCI-5274]
This commit is contained in:
parent
9a7ffb0645
commit
cd7b94b434
3 changed files with 21 additions and 22 deletions
|
@ -717,6 +717,10 @@ function bindFullZoomAjaxTabs() {
|
|||
target.addClass("active");
|
||||
$this.parents(".module-large").addClass("expanded");
|
||||
|
||||
// Add class to bring it in front on archived tasks page (hover other cards when open comments/users)
|
||||
$this.parents('#module-archive').find('.module-container').removeClass('active-card');
|
||||
$this.parents('.module-container').addClass('active-card');
|
||||
|
||||
// Call scrollBotton after the comments are displayed
|
||||
// so that the scrollHight can be calculated
|
||||
if ( targetContents === 'comments' ) {
|
||||
|
|
|
@ -203,6 +203,10 @@
|
|||
|
||||
.module-container {
|
||||
min-width: 220px;
|
||||
|
||||
&.active-card {
|
||||
z-index: 1000;
|
||||
}
|
||||
}
|
||||
|
||||
.panel-default {
|
||||
|
@ -245,6 +249,8 @@
|
|||
|
||||
.tab-content {
|
||||
background-color: $color-concrete;
|
||||
box-shadow: $flyout-shadow;
|
||||
|
||||
.tab-pane > .text-center {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
|
|
@ -18,25 +18,19 @@ Rails.application.config.assets.precompile += %w(jsPlumb-2.0.4-min.js)
|
|||
Rails.application.config.assets.precompile += %w(jsnetworkx.js)
|
||||
Rails.application.config.assets.precompile += %w(handsontable.full.min.js)
|
||||
Rails.application.config.assets.precompile += %w(handsontable.full.min.css)
|
||||
Rails.application.config.assets.precompile +=
|
||||
%w(sugar.min.js jquerymy-1.2.14.min.js)
|
||||
Rails.application.config.assets.precompile += %w(sugar.min.js jquerymy-1.2.14.min.js)
|
||||
Rails.application.config.assets.precompile += %w(users/settings/list_toggle.js.erb)
|
||||
Rails.application.config.assets.precompile +=
|
||||
%w(users/settings/account/preferences/index.js)
|
||||
Rails.application.config.assets.precompile += %w(users/settings/account/preferences/index.js)
|
||||
Rails.application.config.assets.precompile += %w(users/settings/teams/index.js)
|
||||
Rails.application.config.assets.precompile +=
|
||||
%w(users/settings/teams/datatable.js)
|
||||
Rails.application.config.assets.precompile +=
|
||||
%w(users/settings/teams/add_user_modal.js)
|
||||
Rails.application.config.assets.precompile += %w(users/settings/teams/datatable.js)
|
||||
Rails.application.config.assets.precompile += %w(users/settings/teams/add_user_modal.js)
|
||||
Rails.application.config.assets.precompile += %w(users/settings/teams/show.js)
|
||||
Rails.application.config.assets.precompile +=
|
||||
%w(users/settings/teams/invite_users_modal.js)
|
||||
Rails.application.config.assets.precompile += %w(users/settings/teams/invite_users_modal.js)
|
||||
Rails.application.config.assets.precompile += %w(my_modules/activities.js)
|
||||
Rails.application.config.assets.precompile += %w(my_modules/protocols.js)
|
||||
Rails.application.config.assets.precompile += %w(my_modules/repositories.js)
|
||||
Rails.application.config.assets.precompile += %w(my_modules/status_flow.js)
|
||||
Rails.application.config.assets.precompile +=
|
||||
%w(my_modules/protocols/protocol_status_bar.js)
|
||||
Rails.application.config.assets.precompile += %w(my_modules/protocols/protocol_status_bar.js)
|
||||
Rails.application.config.assets.precompile += %w(my_modules/results.js)
|
||||
Rails.application.config.assets.precompile += %w(assets/wopi/create_wopi_file.js)
|
||||
Rails.application.config.assets.precompile += %w(results/result_tables.js)
|
||||
|
@ -53,20 +47,16 @@ Rails.application.config.assets.precompile += %w(eventPause-min.js)
|
|||
Rails.application.config.assets.precompile += %w(sidebar.js)
|
||||
Rails.application.config.assets.precompile += %w(projects/index.js)
|
||||
Rails.application.config.assets.precompile += %w(projects/canvas.js)
|
||||
Rails.application.config.assets.precompile +=
|
||||
%w(experiments/dropdown_actions.js)
|
||||
Rails.application.config.assets.precompile += %w(experiments/dropdown_actions.js)
|
||||
Rails.application.config.assets.precompile += %w(reports/new.js)
|
||||
Rails.application.config.assets.precompile += %w(protocols/index.js)
|
||||
Rails.application.config.assets.precompile += %w(protocols/external_protocols_tab.js)
|
||||
Rails.application.config.assets.precompile += %w(protocols/header.js)
|
||||
Rails.application.config.assets.precompile += %w(protocols/steps.js)
|
||||
Rails.application.config.assets.precompile += %w(protocols/edit.js)
|
||||
Rails.application.config.assets.precompile +=
|
||||
%w(protocols/import_export/eln_table.js)
|
||||
Rails.application.config.assets.precompile +=
|
||||
%w(protocols/import_export/import.js)
|
||||
Rails.application.config.assets.precompile +=
|
||||
%w(protocols/import_export/export.js)
|
||||
Rails.application.config.assets.precompile += %w(protocols/import_export/eln_table.js)
|
||||
Rails.application.config.assets.precompile += %w(protocols/import_export/import.js)
|
||||
Rails.application.config.assets.precompile += %w(protocols/import_export/export.js)
|
||||
Rails.application.config.assets.precompile += %w(datatables.js)
|
||||
Rails.application.config.assets.precompile += %w(search/index.js)
|
||||
Rails.application.config.assets.precompile += %w(global_activities/side_pane.js)
|
||||
|
@ -87,8 +77,7 @@ Rails.application.config.assets.precompile += %w(highlightjs-github-theme.css)
|
|||
Rails.application.config.assets.precompile += %w(search.js)
|
||||
Rails.application.config.assets.precompile += %w(repositories/index.js)
|
||||
Rails.application.config.assets.precompile += %w(repositories/edit.js)
|
||||
Rails.application.config.assets.precompile +=
|
||||
%w(repositories/repository_datatable.js)
|
||||
Rails.application.config.assets.precompile += %w(repositories/repository_datatable.js)
|
||||
Rails.application.config.assets.precompile += %w(activities/index.js)
|
||||
Rails.application.config.assets.precompile += %w(global_activities/index.js)
|
||||
Rails.application.config.assets.precompile += %w(repositories/show.js)
|
||||
|
|
Loading…
Reference in a new issue