ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
Test Coverage
= render :partial => "layouts/flash_msg"
.container-fluid.container-tiles-pf.ems-physical-infra-dashboard
  .row.row-tile-pf
    = react('AggregateStatusCard', :providerId => @record.id.to_s, :providerType => 'ems_physical_infra')
  .row.row-tile-pf
    .col-xs-12.col-sm-12.col-md-6
      = react('ServersDataChart', :providerId => @record.id.to_s, :title => _('Servers Data'), :serversAvailableConfig => 'availableServersUsageConfig',
       :serversHealthConfig => 'serversHealthUsageConfig', :apiUrl => 'ems_physical_infra_dashboard/servers_group_data')
  .row.row-tile-pf
    .col-xs-12.col-sm-12.col-md-6
      = react('RecentVmGraph', :providerId => @record.id.to_s, :title => _('Recent Servers'), :config => 'recentServersConfig',
       :apiUrl => 'ems_physical_infra_dashboard/recent_servers_data', :dataPoint => 'recentServers')