ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
Test Coverage
= render :partial => "layouts/flash_msg"
.container-fluid.container-tiles-pf.cloud-tenant-dashboard
  .row.row-tile-pf
    = react 'AggregateStatusCard', {:providerId => @record.id.to_s, :providerType => 'cloud_tenant'}
  .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 => 'cloud_tenant_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 => 'cloud_tenant_dashboard/recent_images_data', :dataPoint => 'recentResources')