<commit_before>{{#containers-header tags=tags}}
  {{#link-to "new-stack" classNames="btn btn-sm bg-default mr-10"}}{{t 'nav.containers.importCompose'}}{{/link-to}}
  {{#link-to "balancers.run" projects.current.id class="btn btn-sm bg-primary"}}{{t 'nav.containers.addBalancer'}}{{/link-to}}
{{/containers-header}}

<section class="pl-0 pr-0">
  {{#if rows.length}}
    {{#sortable-table
      classNames="grid sortable-table"
      body=rows
      searchText=searchText
      sortBy=sortBy
      bulkActions=true
      subRows=true
      fullRows=true
      groupByKey=groupBy
      groupByRef="stack"
      pagingLabel="pagination.loadBalancers"
      subSearchField="instances"
      extraSearchFields=extraSearchFields
      extraSearchSubFields=extraSearchSubFields
      headers=headers as |sortable kind inst dt|}}
      {{#if (eq kind "row")}}
        {{service-row
          model=inst
          toggle=(action "toggleExpand" inst.id)
          expanded=(array-includes expandedInstances inst.id)
          searchText=searchText
          subMatches=sortable.subMatches
          fullColspan=sortable.fullColspan
          dt=dt
        }}
      {{else if (eq kind "group")}}
        <tr class="group-row">
          {{#if inst.ref}}
            <td colspan={{sub sortable.fullColspan 4}}>
              {{stack-row model=inst.ref}}
            </td>
            <td>
              {{upgrade-btn classNames="btn-sm" model=inst.ref}}
            </td>
            <td></td>
            <td data-title="{{dt.instanceState}}">
              {{progress-bar-multi
                labelKey="state"
                valueKey="count"
                values=inst.ref.serviceStates.byColor
                tooltipValues=inst.ref.serviceStates.byName
              }}
            </td>
            <td data-title="{{dt.actions}}" class="actions">
              {{action-menu model=inst.ref}}
            </td>
          {{else}}
            <td colspan={{sortable.fullColspan}}>
              {{stack-row}}
            </td>
          {{/if}}
        </tr>
      {{else if (eq kind "nomatch")}}
        <tr><td colspan="{{sortable.fullColspan}}" class="text-center text-muted lacsso pt-20 pb-20">{{t 'containersPage.table.noMatch'}}</td></tr>
      {{else if (eq kind "norows")}}<commit_msg>fix up to date on lb table<commit_after>{{#containers-header tags=tags}}
  {{#link-to "new-stack" classNames="btn btn-sm bg-default mr-10"}}{{t 'nav.containers.importCompose'}}{{/link-to}}
  {{#link-to "balancers.run" projects.current.id class="btn btn-sm bg-primary"}}{{t 'nav.containers.addBalancer'}}{{/link-to}}
{{/containers-header}}

<section class="pl-0 pr-0">
  {{#if rows.length}}
    {{#sortable-table
      classNames="grid sortable-table"
      body=rows
      searchText=searchText
      sortBy=sortBy
      bulkActions=true
      subRows=true
      fullRows=true
      groupByKey=groupBy
      groupByRef="stack"
      pagingLabel="pagination.loadBalancers"
      subSearchField="instances"
      extraSearchFields=extraSearchFields
      extraSearchSubFields=extraSearchSubFields
      headers=headers as |sortable kind inst dt|}}
      {{#if (eq kind "row")}}
        {{service-row
          model=inst
          toggle=(action "toggleExpand" inst.id)
          expanded=(array-includes expandedInstances inst.id)
          searchText=searchText
          subMatches=sortable.subMatches
          fullColspan=sortable.fullColspan
          dt=dt
        }}
      {{else if (eq kind "group")}}
        <tr class="group-row">
          {{#if inst.ref}}
            <td colspan={{sub sortable.fullColspan 4}}>
              {{stack-row model=inst.ref}}
            </td>
            <td></td>
            <td>
              {{upgrade-btn classNames="btn-sm" model=inst.ref}}
            </td>

            <td data-title="{{dt.instanceState}}">
              {{progress-bar-multi
                labelKey="state"
                valueKey="count"
                values=inst.ref.serviceStates.byColor
                tooltipValues=inst.ref.serviceStates.byName
              }}
            </td>
            <td data-title="{{dt.actions}}" class="actions">
              {{action-menu model=inst.ref}}
            </td>
          {{else}}
            <td colspan={{sortable.fullColspan}}>
              {{stack-row}}
            </td>
          {{/if}}
        </tr>
      {{else if (eq kind "nomatch")}}
        <tr><td colspan="{{sortable.fullColspan}}" class="text-center text-muted lacsso pt-20 pb-20">{{t 'containersPage.table.noMatch'}}</td></tr>
      {{else if (eq kind "norows")}}
{'fraction_non_alphanumeric': 0.15082824760244115, 'fraction_numerical': 0.003923278116826504, 'mean_word_length': 2.104871447902571, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5194107', 'n_tokens_mistral': 1408, 'n_tokens_neox': 1384, 'n_words': 245}