ManageIQ/manageiq-ui-classic

View on GitHub
app/views/ems_cloud/_show_dashboard.html.haml

Summary

Maintainability
Test Coverage
= render :partial => "layouts/flash_msg"
.container-fluid.container-tiles-pf.ems-cloud-dashboard
  .row.row-tile-pf
    = react('AggregateStatusCard', :providerId => @record.id.to_s, :providerType => 'ems_cloud')
  .row.row-tile-pf
    .col-xs-12.col-sm-12.col-md-6
      = react('RecentVmGraph', :providerId => @record.id.to_s, :title => _('Recent Instances'),
       :config => 'recentInstancesConfig', :apiUrl => 'ems_cloud_dashboard/recent_instances_data', :dataPoint => 'recentResources')
    .col-xs-12.col-sm-12.col-md-6
      = react('RecentVmGraph', :providerId => @record.id.to_s, :title => _('Recent Images'),
       :config => 'recentImagesConfig', :apiUrl => 'ems_cloud_dashboard/recent_images_data', :dataPoint => 'recentResources')