<commit_before><div class="aui-page-panel">
  <div class="aui-page-panel-inner">
    <section class="aui-page-panel-content">
      <form class="aui">
        <div class="field-group">
          <label for="search-input">Keywords</label>
          <input name="search-input" class="text full-width-field" type="text" id="search-input" [(ngModel)]="searchInput" required placeholder="keywords" />
        </div>
        <div class="field-group">
          <label for="search-size">Size</label>
          <select class="select" id="search-size" name="search-size" [(ngModel)]="searchSize">
            <option>10</option>
            <option>100</option>
            <option>1000</option>
          </select>
        </div>
        <div class="buttons">
          <input class="aui-button aui-button-primary" type="submit" value="Find!" (click)="search()" />
          <input class="aui-button" type="reset" value="Reset" />
        </div>
      </form>
    </section>
  </div>
</div>
<div class="aui-page-panel">
  <div class="aui-page-panel-inner">
    <section class="aui-page-panel-content">
      <table class="aui">
        <thead>
          <tr>
            <th></th>
            <th>ES Key</th>
            <th>Score</th>
            <th>Index</th>
            <th>Type</th>
          </tr>
        </thead>
        <tbody>
          <tr *ngFor="let resultEntry of searchResult?.hits?.hits">
            <td>
              <a (click)="showJson(resultEntry._id)">JSON</a>

              <section role="dialog" id="dialog-json-{{ resultEntry._id }}" class="aui-layer aui-dialog2 aui-dialog2-large" aria-hidden="true">
                <!-- Dialog header -->
                <header class="aui-dialog2-header">
                  <h2 class="aui-dialog2-header-main">{{ resultEntry._id }}</h2>
                  <a class="aui-dialog2-header-close">
                    <span class="aui-icon aui-icon-small aui-iconfont-close-dialog">Close</span>
                  </a>
                </header>
                <!-- Main dialog content -->
                <div class="aui-dialog2-content">
                  <textarea class="textarea" style="width: 99%; height: 350px;" readonly="true">{{ resultEntry | json}}</textarea>
                </div>
                <!-- Dialog footer -->
                <footer class="aui-dialog2-footer">
                </footer>
              </section>
            </td>
            <td>{{ resultEntry._id }}</td>
            <td>{{ resultEntry._score }}</td>
            <td>{{ resultEntry._index }}</td>
            <td>{{ resultEntry._type }}</td>
          </tr>
        </tbody>
      </table>
    </section>
  </div>
</div><commit_msg>Header eingebaut und Buttons verschoben<commit_after><form class="aui">
  <div class="aui-page-panel-inner">
    <div class="aui-page-panel-content">
      <header class="aui-page-header">
        <div class="aui-page-header-inner">
          <div class="aui-page-header-image">
          </div>
          <div class="aui-page-header-main">
            <h1>Search</h1>
          </div>
          <div class="aui-page-header-actions">
            <div class="aui-buttons">
              <input class="aui-button aui-button-primary" type="submit" value="Find!" (click)="search()" />
              <input class="aui-button" type="reset" value="Reset" />
            </div>
          </div>
        </div>
      </header>
    </div>
  </div>

  <div class="aui-page-panel">
    <div class="aui-page-panel-inner">
      <section class="aui-page-panel-content">
        <div class="field-group">
          <label for="search-input">Keywords</label>
          <input name="search-input" class="text full-width-field" type="text" id="search-input" [(ngModel)]="searchInput" required placeholder="keywords" />
        </div>
        <div class="field-group">
          <label for="search-size">Size</label>
          <select class="select" id="search-size" name="search-size" [(ngModel)]="searchSize">
            <option>10</option>
            <option>100</option>
            <option>1000</option>
          </select>
        </div>
      </section>
    </div>
  </div>
  <div class="aui-page-panel">
    <div class="aui-page-panel-inner">
      <section class="aui-page-panel-content">
        <table class="aui">
          <thead>
            <tr>
              <th></th>
              <th>ES Key</th>
              <th>Score</th>
              <th>Index</th>
              <th>Type</th>
            </tr>
          </thead>
          <tbody>
            <tr *ngFor="let resultEntry of searchResult?.hits?.hits">
              <td>
                <a (click)="showJson(resultEntry._id)">JSON</a>

                <section role="dialog" id="dialog-json-{{ resultEntry._id }}" class="aui-layer aui-dialog2 aui-dialog2-large" aria-hidden="true">
                  <!-- Dialog header -->
                  <header class="aui-dialog2-header">
                    <h2 class="aui-dialog2-header-main">{{ resultEntry._id }}</h2>
                    <a class="aui-dialog2-header-close">
                      <span class="aui-icon aui-icon-small aui-iconfont-close-dialog">Close</span>
                    </a>
                  </header>
                  <!-- Main dialog content -->
                  <div class="aui-dialog2-content">
                    <textarea class="textarea" style="width: 99%; height: 350px;" readonly="true">{{ resultEntry | json}}</textarea>
                  </div>
                  <!-- Dialog footer -->
                  <footer class="aui-dialog2-footer">
                  </footer>
                </section>
              </td>
              <td>{{ resultEntry._id }}</td>
              <td>{{ resultEntry._score }}</td>
              <td>{{ resultEntry._index }}</td>
              <td>{{ resultEntry._type }}</td>
            </tr>
          </tbody>
        </table>
      </section>
    </div>
  </div>
</form>
{'fraction_non_alphanumeric': 0.17825131067140199, 'fraction_numerical': 0.008117706747843734, 'mean_word_length': 1.7016902695294656, 'pattern_counts': {'":': 0, '<': 191, '<?xml version=': 0, '>': 191, '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': '1541802', 'n_tokens_mistral': 1833, 'n_tokens_neox': 1745, 'n_words': 313}