diff --git a/apps/files/templates/fileexists.html b/apps/files/templates/fileexists.html index 5360a7c8e8..c783f9a05c 100644 --- a/apps/files/templates/fileexists.html +++ b/apps/files/templates/fileexists.html @@ -3,24 +3,28 @@ {what}

- - + +
- + +
- + +
diff --git a/core/css/styles.css b/core/css/styles.css index 2ec5129a1c..bc4db43301 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -178,6 +178,8 @@ input[type="checkbox"] + label:before { opacity: 0.7; } +input[type="checkbox"].u-left +label:before { float: left; } + input[type="checkbox"].white + label:before { background-image: url('../img/actions/checkbox-white.svg'); } diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 52ed34f61e..719ac8587a 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -400,6 +400,11 @@ var OCdialogs = { $replacementDiv.find('.icon').css('background-image','url(' + path + ')'); } ); + // connect checkboxes with labels + var checkboxId = $conflicts.find('.conflict').length; + $originalDiv.find('input:checkbox').attr('id', 'checkbox_original_'+checkboxId); + $replacementDiv.find('input:checkbox').attr('id', 'checkbox_replacement_'+checkboxId); + $conflicts.append($conflict); //set more recent mtime bold