{
  "name" : "Current Jobs",
  "configKey" : "current-jobs",
  "page" : 0,
  "components" : [ {
    "label" : "Jobs",
    "persistent" : false,
    "mask" : false,
    "tableView" : true,
    "alwaysEnabled" : false,
    "type" : "list",
    "input" : true,
    "key" : "jobs",
    "conditional" : {
      "show" : "",
      "when" : "",
      "json" : ""
    },
    "components" : [ {
      "label" : "job",
      "hideLabel" : true,
      "customClass" : "pb-0",
      "mask" : false,
      "tableView" : true,
      "alwaysEnabled" : false,
      "type" : "datasourcecontainer",
      "input" : true,
      "key" : "job",
      "validate" : {
        "customMessage" : "",
        "json" : ""
      },
      "conditional" : {
        "show" : "",
        "when" : "",
        "json" : ""
      },
      "data" : {
        "url" : "api/v1/scopes/{{context.scopeId}}/tags/{{context.scopeTag}}/datasources/awx-job/query?id={{ row }}&stage={{ data.stage }}",
        "method" : "GET",
        "values" : [ { } ]
      },
      "components" : [ {
        "label" : "job",
        "hideLabel" : true,
        "customClass" : "pb-0",
        "mask" : false,
        "tableView" : true,
        "alwaysEnabled" : false,
        "type" : "container",
        "input" : true,
        "key" : "job",
        "validate" : {
          "customMessage" : "",
          "json" : ""
        },
        "conditional" : {
          "show" : "",
          "when" : "",
          "json" : ""
        },
        "components" : [ {
          "label" : "Columns",
          "hideLabel" : true,
          "columns" : [ {
            "components" : [ {
              "label" : "Name",
              "hideLabel" : true,
              "labelPosition" : "left-left",
              "allowMultipleMasks" : false,
              "showWordCount" : false,
              "showCharCount" : false,
              "tableView" : true,
              "alwaysEnabled" : false,
              "type" : "textfield",
              "input" : true,
              "key" : "name",
              "defaultValue" : "",
              "validate" : {
                "customMessage" : "",
                "json" : ""
              },
              "conditional" : {
                "show" : "",
                "when" : "",
                "json" : ""
              },
              "tabs" : null,
              "properties" : { },
              "tags" : [ ],
              "inputFormat" : "plain",
              "encrypted" : false,
              "customConditional" : "",
              "logic" : [ ],
              "widget" : {
                "type" : ""
              },
              "reorder" : false
            } ],
            "width" : 4,
            "offset" : 0,
            "push" : 0,
            "pull" : 0,
            "type" : "column",
            "input" : false,
            "hideOnChildrenHidden" : false,
            "key" : "column",
            "tableView" : true,
            "label" : "Column"
          }, {
            "components" : [ {
              "label" : "Name",
              "hideLabel" : true,
              "labelPosition" : "left-left",
              "allowMultipleMasks" : false,
              "showWordCount" : false,
              "showCharCount" : false,
              "tableView" : true,
              "alwaysEnabled" : false,
              "type" : "textfield",
              "input" : true,
              "key" : "description",
              "defaultValue" : "",
              "validate" : {
                "customMessage" : "",
                "json" : ""
              },
              "conditional" : {
                "show" : "",
                "when" : "",
                "json" : ""
              },
              "tabs" : null,
              "properties" : { },
              "tags" : [ ],
              "inputFormat" : "plain",
              "encrypted" : false,
              "customConditional" : "",
              "logic" : [ ],
              "widget" : {
                "type" : ""
              },
              "reorder" : false
            } ],
            "width" : 4,
            "offset" : 0,
            "push" : 0,
            "pull" : 0,
            "type" : "column",
            "input" : false,
            "hideOnChildrenHidden" : false,
            "key" : "column",
            "tableView" : true,
            "label" : "Column"
          }, {
            "width" : 2,
            "offset" : 0,
            "push" : 0,
            "pull" : 0,
            "type" : "column",
            "input" : false,
            "hideOnChildrenHidden" : false,
            "key" : "column",
            "tableView" : true,
            "label" : "Column",
            "components" : [ {
              "label" : "Name",
              "hideLabel" : true,
              "labelPosition" : "left-left",
              "allowMultipleMasks" : false,
              "showWordCount" : false,
              "showCharCount" : false,
              "clearOnHide" : false,
              "hidden" : true,
              "tableView" : true,
              "alwaysEnabled" : false,
              "type" : "textfield",
              "input" : true,
              "key" : "status",
              "defaultValue" : "",
              "validate" : {
                "customMessage" : "",
                "json" : ""
              },
              "conditional" : {
                "show" : "",
                "when" : "",
                "json" : ""
              },
              "tabs" : null,
              "properties" : { },
              "tags" : [ ],
              "inputFormat" : "plain",
              "encrypted" : false,
              "customConditional" : "",
              "logic" : [ ],
              "widget" : {
                "type" : ""
              },
              "reorder" : false
            }, {
              "label" : "HTML",
              "labelPosition" : "left-left",
              "tag" : "div",
              "className" : "pb-0",
              "attrs" : [ {
                "attr" : "",
                "value" : ""
              } ],
              "content" : "<div class=\"h4\">\n  <!-- pending, running, successful, error, failed, canceled -->\n  <span style=\"display: {{ data.status == 'pending' ? '' : 'none' }}\" class=\"badge badge-info\">{{ data.status }}</span>\n  <span style=\"display: {{ data.status == 'running' ? '' : 'none' }}\" class=\"badge badge-primary\">{{ data.status }}</span>\n  <span style=\"display: {{ data.status == 'successful' ? '' : 'none' }}\" class=\"badge badge-success\">{{ data.status }}</span>\n  <span style=\"display: {{ data.status == 'error' ? '' : 'none' }}\" class=\"badge badge-danger\">{{ data.status }}</span>\n  <span style=\"display: {{ data.status == 'failed' ? '' : 'none' }}\" class=\"badge badge-warning\">{{ data.status }}</span>\n  <span style=\"display: {{ data.status == 'canceled' ? '' : 'none' }}\" class=\"badge badge-warning\">{{ data.status }}</span>\n</div>",
              "refreshOnChange" : true,
              "mask" : false,
              "tableView" : true,
              "alwaysEnabled" : false,
              "type" : "htmlelement",
              "input" : false,
              "key" : "html",
              "validate" : {
                "customMessage" : "",
                "json" : ""
              },
              "conditional" : {
                "show" : "",
                "when" : "",
                "json" : ""
              },
              "tabs" : null,
              "encrypted" : false,
              "properties" : { },
              "tags" : [ ],
              "customConditional" : "",
              "logic" : [ ],
              "refreshOn" : "data",
              "reorder" : false
            } ]
          }, {
            "width" : 2,
            "offset" : 0,
            "push" : 0,
            "pull" : 0,
            "type" : "column",
            "input" : false,
            "hideOnChildrenHidden" : false,
            "key" : "column",
            "tableView" : true,
            "label" : "Column",
            "components" : [ {
              "label" : "Id",
              "hideLabel" : true,
              "labelPosition" : "left-left",
              "allowMultipleMasks" : false,
              "showWordCount" : false,
              "showCharCount" : false,
              "clearOnHide" : false,
              "hidden" : true,
              "tableView" : true,
              "alwaysEnabled" : false,
              "type" : "textfield",
              "input" : true,
              "key" : "id",
              "defaultValue" : "",
              "validate" : {
                "customMessage" : "",
                "json" : ""
              },
              "conditional" : {
                "show" : "",
                "when" : "",
                "json" : ""
              },
              "tabs" : null,
              "properties" : { },
              "tags" : [ ],
              "inputFormat" : "plain",
              "encrypted" : false,
              "customConditional" : "",
              "logic" : [ ],
              "widget" : {
                "type" : ""
              },
              "reorder" : false
            }, {
              "label" : "Stage",
              "hideLabel" : true,
              "labelPosition" : "left-left",
              "allowMultipleMasks" : false,
              "showWordCount" : false,
              "showCharCount" : false,
              "clearOnHide" : false,
              "hidden" : true,
              "tableView" : true,
              "alwaysEnabled" : false,
              "type" : "textfield",
              "input" : true,
              "key" : "stage",
              "defaultValue" : "",
              "validate" : {
                "customMessage" : "",
                "json" : ""
              },
              "conditional" : {
                "show" : "",
                "when" : "",
                "json" : ""
              },
              "tabs" : null,
              "properties" : { },
              "tags" : [ ],
              "inputFormat" : "plain",
              "encrypted" : false,
              "customConditional" : "",
              "logic" : [ ],
              "widget" : {
                "type" : ""
              },
              "reorder" : false
            }, {
              "label" : "HTML",
              "labelPosition" : "left-left",
              "tag" : "div",
              "className" : "pb-0",
              "attrs" : [ {
                "attr" : "",
                "value" : ""
              } ],
              "content" : "<div class=\"h4\">\n  <a href=\"https://{{ data.stage }}-awx.smardigo.digital/#/jobs/playbook/{{ data.id }}/output\" target=\"awx_job_{{ data.id }}\">öffnen</a>\n</div>",
              "refreshOnChange" : true,
              "mask" : false,
              "tableView" : true,
              "alwaysEnabled" : false,
              "type" : "htmlelement",
              "input" : false,
              "key" : "html2",
              "validate" : {
                "customMessage" : "",
                "json" : ""
              },
              "conditional" : {
                "show" : "",
                "when" : "",
                "json" : ""
              },
              "tabs" : null,
              "encrypted" : false,
              "properties" : { },
              "tags" : [ ],
              "customConditional" : "",
              "logic" : [ ],
              "refreshOn" : "data",
              "reorder" : false
            } ]
          } ],
          "customClass" : "pb-0",
          "mask" : false,
          "tableView" : false,
          "alwaysEnabled" : false,
          "type" : "columns",
          "input" : false,
          "key" : "columns",
          "conditional" : {
            "show" : "",
            "when" : "",
            "json" : ""
          },
          "tabs" : null,
          "properties" : { },
          "tags" : [ ],
          "customConditional" : "",
          "logic" : [ ],
          "reorder" : false
        } ],
        "tabs" : null,
        "properties" : { },
        "tags" : [ ],
        "encrypted" : false,
        "customConditional" : "",
        "logic" : [ ],
        "reorder" : false
      } ],
      "tabs" : null,
      "properties" : { },
      "tags" : [ ],
      "datapath" : "0",
      "encrypted" : false,
      "customConditional" : "",
      "logic" : [ ],
      "defaultValue" : {
        "job" : {
          "name" : "",
          "description" : "",
          "status" : "",
          "id" : "",
          "stage" : ""
        }
      },
      "reorder" : false
    } ],
    "tabs" : null,
    "customConditional" : "",
    "properties" : { },
    "tags" : [ ],
    "logic" : [ ],
    "reorder" : false
  } ],
  "display" : "form"
}