<commit_before><div class="panel-body">

  <div class="row clearfix flexcontainer">

    <div class="px-card"
         dir-paginate="record in vm.data | itemsPerPage: vm.options.paginationPageSize"
         total-items="vm.options.totalItems"
         current-page="vm.options.currentPage">

      <div class="panel panel-default">
        <div class="panel-heading clearfix">
          <h3 class="panel-title pull-left">
          {{ record[vm.catalog.customAttrs.titleField] || '[No titleField Found]'}}
          </h3>
          <div class="btn-group btn-group-xs pull-right">
            <button class="btn" type="submit"
                    ng-class="{'btn-default':(vm.mode !== 'edit'), 'btn-primary':(vm.mode === 'edit')}"
                    ng-click="vm.openHandler({selected: record})">
              <!-- <em class="glyphicon glyphicon-folder-open"></em> -->
              {{vm.mode === 'edit' ? 'Edit' : 'View'}}
            </button>
          </div>
        </div>
        <div class="list-group">
          <div class="list-group-item">
            <img ng-src="{{ record[vm.catalog.customAttrs.iconField] ? '/upload/' + record[vm.catalog.customAttrs.iconField] : '/images/noimg.png' }}"
                 class="px-card-img img-rounded pull-left">
            <label>
            {{ vm.catalog.customAttrs.descField1 || '[No descField1 Found]' }}
            </label>
            <h5 class="list-group-item-heading">
            {{ record[vm.catalog.customAttrs.descField1] || '[No descField1 Found]' }}
            </h5>
            <label>
            {{ vm.catalog.customAttrs.descField2 || '[No descField2 Found]' }}
            </label>
            <h5 class="list-group-item-heading">
            {{ record[vm.catalog.customAttrs.descField2]  || '[No descField2 Found]'}}
            </h5>
          </div>
        </div>
        <!-- <div class="panel-footer clearfix">
        </div> -->
      </div>

    </div>

  </div>

  <div ng-if="!vm.data || vm.data.length === 0">
  <h1 class="text-center">No data found!</h1>
  </div>

</div>

<div class="panel-footer clearfix">
  <dir-pagination-controls
    on-page-change="vm.paginationChanged(newPageNumber)"
    boundary-links="true"
    template-url="directives/px-cards/pxcards.pagination.html">
  </dir-pagination-controls>
</div>
<commit_msg>feat(cards): search filters<commit_after><div class="panel-footer clearfix">
  <!-- <label for="search">Search:</label> -->
  <input ng-model="q" id="search" class="form-control" placeholder="Filter text">
</div>


<div class="panel-body">

  <div class="row clearfix flexcontainer">

    <div class="px-card"
         dir-paginate="record in vm.data | filter:q | itemsPerPage: vm.options.paginationPageSize"
         total-items="vm.options.totalItems"
         current-page="vm.options.currentPage">

      <div class="panel panel-default">
        <div class="panel-heading clearfix">
          <h3 class="panel-title pull-left">
          {{ record[vm.catalog.customAttrs.titleField] || '[No titleField Found]'}}
          </h3>
          <div class="btn-group btn-group-xs pull-right">
            <button class="btn" type="submit"
                    ng-class="{'btn-default':(vm.mode !== 'edit'), 'btn-primary':(vm.mode === 'edit')}"
                    ng-click="vm.openHandler({selected: record})">
              <!-- <em class="glyphicon glyphicon-folder-open"></em> -->
              {{vm.mode === 'edit' ? 'Edit' : 'View'}}
            </button>
          </div>
        </div>
        <div class="list-group">
          <div class="list-group-item">
            <img ng-src="{{ record[vm.catalog.customAttrs.iconField] ? '/upload/' + record[vm.catalog.customAttrs.iconField] : '/images/noimg.png' }}"
                 class="px-card-img img-rounded pull-left">
            <label>
            {{ vm.catalog.customAttrs.descField1 || '[No descField1 Found]' }}
            </label>
            <h5 class="list-group-item-heading">
            {{ record[vm.catalog.customAttrs.descField1] || '[No descField1 Found]' }}
            </h5>
            <label>
            {{ vm.catalog.customAttrs.descField2 || '[No descField2 Found]' }}
            </label>
            <h5 class="list-group-item-heading">
            {{ record[vm.catalog.customAttrs.descField2]  || '[No descField2 Found]'}}
            </h5>
          </div>
        </div>
        <!-- <div class="panel-footer clearfix">
        </div> -->
      </div>

    </div>

  </div>

  <div ng-if="!vm.data || vm.data.length === 0">
  <h1 class="text-center">No data found!</h1>
  </div>

</div>

<div class="panel-footer clearfix">
  <dir-pagination-controls
    on-page-change="vm.paginationChanged(newPageNumber)"
    boundary-links="true"
    template-url="directives/px-cards/pxcards.pagination.html">
  </dir-pagination-controls>
</div>

{'fraction_non_alphanumeric': 0.1828335056876939, 'fraction_numerical': 0.00703205791106515, 'mean_word_length': 2.2283044058744994, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, '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': '3851387', 'n_tokens_mistral': 1528, 'n_tokens_neox': 1494, 'n_words': 253}