Replaced reporting button for a smaller, simpler one

This commit is contained in:
Juanjo Jiménez 2018-06-27 16:12:26 +02:00 committed by Javier Castro
parent bcb8c34343
commit 96ab82217d
4 changed files with 10 additions and 5 deletions

View File

@ -72,6 +72,11 @@
margin-bottom: 40px;
}
.wz-no-margin-padding {
margin: 0 !important;
padding: 0 !important;
}
/* Paddings */
.wz-padding-top-0 {

View File

@ -32,8 +32,8 @@
<!-- Reporting button section -->
<div ng-show="tab !== 'welcome' && tab !== 'configuration' && tab !== 'syscollector'">
<!-- Report button -->
<md-button class="wz-button-flat small" ng-disabled="!rendered || loading || resultState !== 'ready'" ng-click="startVis2Png()" aria-label="Generate report button">
<i class="fa fa-fw fa-file-text" aria-hidden="true"></i> Generate report
<md-button md-no-ink class="md-icon-button small wz-no-margin-padding" tooltip="Generate report" tooltip-placement="bottom" ng-disabled="!rendered || loading || resultState !== 'ready'" ng-click="startVis2Png()" aria-label="Generate report button">
<i class="fa fa-fw fa-print" aria-hidden="true"></i>
</md-button>
</div>
<!-- End Reporting buttons section -->

View File

@ -12,7 +12,7 @@
<i class="fa fa-fw fa-info-circle" aria-hidden="true"></i> <span class="wz-headline-title">No reports available</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div layout="column" class="wz-padding-top-10">
<p>There are no reports yet. Go to the Overview or Agents tabs and click on the <span class="wz-agent-status-indicator wz-text-normal blue small">Generate report</span> button to create one.</p>
<p>There are no reports yet. Go to the Overview or Agents tabs and click on the <i class="fa fa-fw fa-print" aria-hidden="true"></i> icon to create one.</p>
</div>
</md-card-content>
</md-card>

View File

@ -25,8 +25,8 @@
<!-- Reporting button section -->
<div ng-show="tab !== 'welcome'">
<!-- Report button -->
<md-button class="wz-button-flat small" ng-disabled="!rendered || loading || resultState !== 'ready'" ng-click="startVis2Png()" aria-label="Generate report button">
<i class="fa fa-fw fa-file-text" aria-hidden="true"></i> Generate report
<md-button md-no-ink class="md-icon-button small wz-no-margin-padding" tooltip="Generate report" tooltip-placement="bottom" ng-disabled="!rendered || loading || resultState !== 'ready'" ng-click="startVis2Png()" aria-label="Generate report button">
<i class="fa fa-fw fa-print" aria-hidden="true"></i>
</md-button>
</div>
<!-- End Reporting buttons section -->