Skip to content

Commit 5c31a7e

Browse files
committed
[SERVER-978] Migration - checkboxes are not aligned
1 parent 2be8148 commit 5c31a7e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

plugins/data_migration/frontend/public/javascripts/countly.views.js

+4
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ window.DataMigrationView = countlyView.extend({
109109
//top button, open export drawer
110110
$("#show_data_export_form").on("click", function () {
111111
self.reset_export_tab();
112+
$("#import-export-button").removeClass("active");
113+
$("#import-export-button-menu").css('display','none');
112114
$(".cly-drawer").removeClass("open editing");
113115
$("#export-widget-drawer").addClass("open");
114116
$(".cly-drawer").find(".close").off("click").on("click", function () {
@@ -119,6 +121,8 @@ window.DataMigrationView = countlyView.extend({
119121
//top button, open import drawer
120122
$("#show_data_import_form").on("click", function () {
121123
$(".cly-drawer").removeClass("open editing");
124+
$("#import-export-button").removeClass("active");
125+
$("#import-export-button-menu").css('display','none');
122126
$("#import-widget-drawer").addClass("open");
123127
$("#data-migration-import-via-file").height($(window).height()-340);
124128
$(".cly-drawer").find(".close").off("click").on("click", function () {

plugins/data_migration/frontend/public/templates/export_drawer.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@
6161
<div class="settings section" id="export-more-options">
6262
<table style="width: 100%;">
6363
<tr class="checkbox_row">
64-
<td style="width: 20px;"><a class="fa check-green check-header fa-square-o" id="migration_aditional_files"></a></td>
64+
<td style="width: 20px;"><a class="fa check-green check-header fa-square-o" id="migration_aditional_files" style="margin-top:4px;"></a></td>
6565
<td><label data-localize="data-migration.export-additional-files" class='migration-checkbox-label'></label></td>
6666
</tr>
6767
<tr class="checkbox_row">
68-
<td style="width: 20px;"><a class="fa check-green check-header fa-square-o" id="migration_redirect_traffic"></a></td>
68+
<td style="width: 20px;"><a class="fa check-green check-header fa-square-o" id="migration_redirect_traffic" style="margin-top:4px;"></a></td>
6969
<td><label data-localize="data-migration.redirect-traffic" class='migration-checkbox-label'></label></td>
7070
</tr>
7171
</table>

0 commit comments

Comments
 (0)