Commit 50ab2342 authored by Annabel Gray's avatar Annabel Gray

Merge branch 'jivl-fix-export-issues-modal' into 'master'

Fix export issues modal

Closes #6319

See merge request gitlab-org/gitlab-ee!6014
parents 17c48e12 cdf988de
...@@ -806,6 +806,7 @@ $border-color-settings: #e1e1e1; ...@@ -806,6 +806,7 @@ $border-color-settings: #e1e1e1;
Modals Modals
*/ */
$modal-body-height: 134px; $modal-body-height: 134px;
$modal-border-color: #e9ecef;
/* /*
Prometheus Prometheus
......
...@@ -161,6 +161,35 @@ ul.related-merge-requests > li { ...@@ -161,6 +161,35 @@ ul.related-merge-requests > li {
} }
.issues-export-modal { .issues-export-modal {
.modal-header {
justify-content: flex-start;
.export-svg-container {
flex-grow: 1;
> svg {
float: right;
}
}
}
.modal-body {
padding: 0;
.export-modal-subheader {
justify-content: flex-start;
align-items: center;
border-bottom: 1px solid $modal-border-color;
padding: 14px;
}
.export-modal-text {
padding: 24px 16px;
line-height: 1.5;
min-height: $modal-body-height;
}
}
.export-svg-container { .export-svg-container {
height: 56px; height: 56px;
padding: 10px 10px 0; padding: 10px 10px 0;
......
...@@ -3,17 +3,17 @@ ...@@ -3,17 +3,17 @@
.modal-dialog .modal-dialog
.modal-content .modal-content
.modal-header .modal-header
%a.close{ href: '#', 'data-dismiss' => 'modal' } ×
.export-svg-container.float-right
= render 'projects/issues/export_issues/export_issues_list.svg'
%h3 %h3
Export issues Export issues
.modal-header .export-svg-container
= render 'projects/issues/export_issues/export_issues_list.svg'
%a.close{ href: '#', 'data-dismiss' => 'modal' } ×
.modal-body
.export-modal-subheader
= icon('check', { class: 'export-checkmark' }) = icon('check', { class: 'export-checkmark' })
%strong %strong.prepend-left-10
#{pluralize(issuables_count_for_state(:issues, params[:state]), 'issue')} selected #{pluralize(issuables_count_for_state(:issues, params[:state]), 'issue')} selected
.modal-body .export-modal-text
%div
The CSV export will be created in the background. Once finished, it will be sent to The CSV export will be created in the background. Once finished, it will be sent to
%strong= @current_user.notification_email %strong= @current_user.notification_email
in an attachment. in an attachment.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment