ManageIQ/manageiq-ui-classic

View on GitHub
app/javascript/spec/toolbar/data/toolbar.json

Summary

Maintainability
Test Coverage
[
  [
    {
      "id": "middleware_server_policy_choice",
      "type": "buttonSelect",
      "img": "middleware_server_policy_choice.png",
      "color": "blue",
      "imgdis": "middleware_server_policy_choice.png",
      "icon": "fa fa-shield fa-lg",
      "name": "middleware_server_policy_choice",
      "hidden": false,
      "pressed": null,
      "onwhen": "1+",
      "data": null,
      "enabled": true,
      "title": "Policy",
      "text": "Policy",
      "items": [
        {
          "child_id": "middleware_server_tag",
          "id": "middleware_server_policy_choice__middleware_server_tag",
          "type": "button",
          "img": "middleware_server_tag.png",
          "color": "#900000",
          "imgdis": "middleware_server_tag.png",
          "icon": "pficon pficon-edit fa-lg",
          "name": "middleware_server_policy_choice__middleware_server_tag",
          "hidden": false,
          "pressed": null,
          "onwhen": "1+",
          "data": null,
          "enabled": false,
          "title": "Edit Tags for this Middleware Servers",
          "text": "Edit Tags",
          "url_parms": "main_div"
        }
      ]
    },
    {
      "child_id": "download_csv_3",
      "id": "download_choice__download_csv_3",
      "type": "button",
      "img": "download_csv.png",
      "color": "#009000",
      "imgdis": "download_csv.png",
      "icon": "fa fa-file-text-o fa-lg",
      "name": "download_choice__download_csv",
      "hidden": true,
      "pressed": null,
      "onwhen": null,
      "data": null,
      "enabled": true,
      "title": "Download this report in CSV format",
      "text": "Dwn. as CSV (hidden)",
      "url_parms": "?download_type=csv",
      "url": "/download_data"
    },
    {
      "child_id": "download_csv_2",
      "id": "download_choice__download_csv_2",
      "type": "button",
      "img": "download_csv.png",
      "color": "#009000",
      "imgdis": "download_csv.png",
      "icon": "fa fa-file-text-o fa-lg",
      "name": "download_choice__download_csv",
      "hidden": false,
      "pressed": null,
      "onwhen": null,
      "data": null,
      "enabled": false,
      "title": "Download this report in CSV format",
      "text": "Dwn. as CSV (disabled)",
      "url_parms": "?download_type=csv",
      "url": "/download_data"
    },
    {
      "child_id": "download_csv",
      "id": "download_choice__download_csv",
      "type": "button",
      "img": "download_csv.png",
      "color": "#009000",
      "imgdis": "download_csv.png",
      "icon": "fa fa-file-text-o fa-lg",
      "name": "download_choice__download_csv",
      "hidden": false,
      "pressed": null,
      "onwhen": null,
      "data": null,
      "enabled": true,
      "title": "Download this report in CSV format",
      "text": "Download as CSV",
      "url_parms": "?download_type=csv",
      "url": "/download_data"
    },
    {
      "id": "sep_1",
      "type": "separator"
    },
    {
      "id": "middleware_server_power_choice",
      "type": "buttonSelect",
      "img": "middleware_server_power_choice.png",
      "imgdis": "middleware_server_power_choice.png",
      "icon": "fa fa-power-off fa-lg",
      "name": "middleware_server_power_choice",
      "hidden": false,
      "pressed": null,
      "onwhen": "1+",
      "data": null,
      "enabled": true,
      "title": "Power",
      "text": "Power",
      "items": [
        {
          "child_id": "middleware_server_reload",
          "id": "middleware_server_power_choice__middleware_server_reload",
          "type": "button",
          "img": "middleware_server_reload.png",
          "imgdis": "middleware_server_reload.png",
          "icon": "pficon pficon-restart fa-lg",
          "name": "middleware_server_power_choice__middleware_server_reload",
          "hidden": false,
          "pressed": null,
          "onwhen": "1+",
          "data": null,
          "enabled": true,
          "title": "Reload these Middleware Servers",
          "text": "Reload Server",
          "confirm": "Do you want to reload selected servers?",
          "url_parms": "main_div"
        },
        {
          "child_id": "middleware_server_stop",
          "id": "middleware_server_power_choice__middleware_server_stop",
          "type": "button",
          "img": "guest_shutdown.png",
          "imgdis": "guest_shutdown.png",
          "icon": null,
          "name": "middleware_server_power_choice__middleware_server_stop",
          "hidden": false,
          "pressed": null,
          "onwhen": "1+",
          "data": null,
          "enabled": false,
          "title": "Stop these Middleware Servers",
          "text": "Stop Server",
          "confirm": "Do you want to stop selected servers?",
          "url_parms": "main_div"
        },
    {
      "id": "sep_2",
      "type": "separator"
    },
        {
          "child_id": "middleware_server_reload2",
          "id": "middleware_server_power_choice__middleware_server_reload2",
          "type": "button",
          "img": "middleware_server_reload.png",
          "imgdis": "middleware_server_reload.png",
          "icon": "pficon pficon-restart fa-lg",
          "name": "middleware_server_power_choice__middleware_server_reload2",
          "hidden": false,
          "pressed": null,
          "onwhen": "1+",
          "data": null,
          "enabled": true,
          "title": "Reload these Middleware Servers 2",
          "text": "Reload Server 2",
          "confirm": "Do you want to reload selected servers?",
          "url_parms": "main_div"
        }
      ]
    },
    {
      "id": "middleware_server_power_choice",
      "type": "button",
      "color": "#0000F0",
      "img": "middleware_server_power_choice.png",
      "imgdis": "middleware_server_power_choice.png",
      "icon": "fa fa-power-off fa-lg",
      "name": "middleware_server_power_choice",
      "hidden": false,
      "pressed": null,
      "onwhen": "1+",
      "data": null,
      "enabled": true,
      "title": "Power",
      "text": "Power"
    }
  ],
  [
    {
      "id": "view_grid",
      "type": "buttonTwoState",
      "img": "view_grid.png",
      "imgdis": "view_grid.png",
      "icon": "fa fa-th",
      "name": "view_grid",
      "hidden": false,
      "pressed": null,
      "onwhen": null,
      "data": null,
      "enabled": true,
      "title": "Grid View",
      "url_parms": "?type=grid",
      "url": "/show_list"
    },
    {
      "id": "view_tile",
      "type": "buttonTwoState",
      "img": "view_tile.png",
      "imgdis": "view_tile.png",
      "icon": "fa fa-th-large",
      "name": "view_tile",
      "hidden": false,
      "pressed": null,
      "onwhen": null,
      "data": null,
      "enabled": true,
      "title": "Tile View",
      "url_parms": "?type=tile",
      "url": "/show_list"
    },
    {
      "id": "view_list",
      "type": "buttonTwoState",
      "img": "view_list.png",
      "imgdis": "view_list.png",
      "icon": "fa fa-th-list",
      "name": "view_list",
      "hidden": false,
      "pressed": null,
      "onwhen": null,
      "data": null,
      "enabled": false,
      "title": "List View",
      "url_parms": "?type=list",
      "selected": true,
      "url": "/show_list"
    },
    {
      "id": "download_choice",
      "type": "buttonSelect",
      "img": "download_choice.png",
      "imgdis": "download_choice.png",
      "icon": "fa fa-download fa-lg",
      "name": "download_choice",
      "hidden": false,
      "pressed": null,
      "onwhen": null,
      "data": null,
      "enabled": true,
      "title": "Download",
      "items": [
        {
          "child_id": "download_text",
          "id": "download_choice__download_text",
          "type": "button",
          "img": "download_text.png",
          "imgdis": "download_text.png",
          "icon": "fa fa-file-text-o fa-lg",
          "name": "download_choice__download_text",
          "hidden": false,
          "pressed": null,
          "onwhen": null,
          "data": null,
          "enabled": true,
          "title": "Download this report in text format",
          "text": "Download as Text",
          "url_parms": "?download_type=text",
          "url": "/download_data"
        },
        {
          "child_id": "download_csv",
          "id": "download_choice__download_csv",
          "type": "button",
          "img": "download_csv.png",
          "imgdis": "download_csv.png",
          "icon": "fa fa-file-text-o fa-lg",
          "name": "download_choice__download_csv",
          "hidden": false,
          "pressed": null,
          "onwhen": null,
          "data": null,
          "enabled": true,
          "title": "Download this report in CSV format",
          "text": "Download as CSV",
          "url_parms": "?download_type=csv",
          "url": "/download_data"
        }
      ]
    }
  ]
]