UI: improves no data notice in reports (#6187)

This commit is contained in:
Joffrey JAFFEUX 2018-07-26 15:26:53 -04:00 committed by GitHub
parent 135c803f49
commit 56ae826efb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -73,6 +73,7 @@
{{/if}} {{/if}}
{{else}} {{else}}
<div class="alert alert-info no-data-alert"> <div class="alert alert-info no-data-alert">
{{d-icon "pie-chart"}}
{{i18n 'admin.dashboard.reports.no_data'}} {{i18n 'admin.dashboard.reports.no_data'}}
</div> </div>
{{/if}} {{/if}}

View File

@ -2,6 +2,15 @@
.no-data-alert { .no-data-alert {
width: 100%; width: 100%;
align-self: flex-start; align-self: flex-start;
text-align: center;
padding: 1em;
.d-icon-pie-chart {
color: $primary-low-mid;
margin-bottom: 0.5em;
font-size: $font-up-5;
display: block;
}
} }
.conditional-loading-section { .conditional-loading-section {