ManageIQ/manageiq-ui-classic

View on GitHub
app/javascript/spec/textual_summary/data/textual_summary.js

Summary

Maintainability
A
0 mins
Test Coverage
export const summary1 = [
  [
    {
      title: 'Properties',
      component: 'GenericGroup',
      items: [
        { label: 'Region', value: 'US East (N. Virginia)', hoverClass: 'no-hover' },
        { label: 'Type', value: 'Amazon EC2 Network', hoverClass: 'no-hover' },
        { label: 'Management Engine GUID', value: null, hoverClass: 'no-hover' }],
    },
    {
      title: 'Status',
      component: 'GenericGroup',
      items: [{
        label: 'Default Credentials',
        value: 'Valid',
        title: 'Ok',
        hoverClass: 'no-hover',
      },
      {
        label: 'SmartState Docker Credentials',
        value: 'Valid',
        title: 'Ok',
        hoverClass: 'no-hover',
      },
      {
        label: 'Last Refresh',
        value: [{ value: 'Success - 4 Months Ago' }, { value: null }],
        title: null,
        hoverClass: 'no-hover',
      },
      {
        label: 'Last Refresh Date',
        value: '2018-01-20T23:35:50.908Z',
        hoverClass: 'no-hover',
      }],
    },
  ],
  [
    {
      title: 'Relationships',
      component: 'GenericGroup',
      items: [
        {
          label: 'Cloud Tenants',
          value: '0',
          icon: 'pficon pficon-cloud-tenant',
          image: null,
          hoverClass: 'no-hover',
        },
        {
          label: 'Cloud Networks',
          value: '1',
          icon: 'ff ff-cloud-network',
          image: null,
          link: '/ems_network/39?display=cloud_networks',
          title: 'Show all Cloud Networks',
          hoverClass: '',
        },
        {
          label: 'Cloud Subnets',
          value: '6',
          icon: 'pficon pficon-network',
          image: null,
          link: '/ems_network/39?display=cloud_subnets',
          title: 'Show all Cloud Subnets',
          hoverClass: '',
        },
        {
          label: 'Network Routers',
          value: '1',
          icon: 'pficon pficon-route',
          image: null,
          link: '/ems_network/39?display=network_routers',
          title: 'Show all Network Routers',
          hoverClass: '',
        },
        {
          label: 'Security Groups',
          value: '18',
          icon: 'pficon pficon-cloud-security',
          image: null,
          link: '/ems_network/39?display=security_groups',
          title: 'Show all Security Groups',
          hoverClass: '',
        },
        {
          label: 'Floating IPs',
          value: '14',
          icon: 'ff ff-floating-ip',
          image: null,
          link: '/ems_network/39?display=floating_ips',
          title: 'Show all Floating IPs',
          hoverClass: '',
        },
        {
          label: 'Network Ports',
          value: '26',
          icon: 'ff ff-network-port',
          image: null,
          link: '/ems_network/39?display=network_ports',
          title: 'Show all Network Ports',
          hoverClass: '',
        },
        {
          label: 'Load Balancers',
          value: '2',
          icon: 'ff ff-load-balancer',
          image: null,
          link: '/ems_network/39?display=load_balancers',
          title: 'Show all Load Balancers',
          hoverClass: '',
        },
        {
          label: 'Power State',
          value: 'On',
          icon: 'fa fa-play',
          image: null,
          hoverClass: '',
          background: 'green',
        },
      ],
    },
    {
      title: 'Smart Management',
      component: 'TagGroup',
      items: [
        {
          label: 'Managed by Zone',
          icon: 'pficon pficon-zone',
          value: 'Amazon Zone',
          hoverClass: 'no-hover',
        },
        {
          label: 'My Company Tags',
          icon: 'fa fa-tag',
          value: 'No My Company Tags have been assigned',
          hoverClass: 'no-hover',
        },
      ],
    },
  ],
];