<commit_before><div class="panel panel-info" ng-if="success">
  <div class="panel-heading">
    URLhaus search results for
    <strong>{{artifact.data}}</strong>
  </div>
  <div class="panel-body">
    <p ng-if="content.results.length == 0">
      No result found.
    </p>
    <table class="table" ng-if="content.results">
      <thead>
        <th>Dateadded (UTC)</th>
        <th>Malware URL</th>
        <th>Status</th>
        <th>Tags</th>
        <th>GSB</th>
        <th>Reporter</th>
      </thead>
      <tbody ng-repeat="r in content.results">
        <tr>
          <td>{{r.dateadded}}</td>
          <td>
            <a href="https://urlhaus.abuse.ch{{r.link}}" target=”_blank”>
              {{r.malware_url}}
            </a>
          </td>
          <td>{{r.status}}</td>
          <td>
            <span ng-repeat="tag in r.tags"> {{tag}} </span>
          </td>
          <td>{{r.gsb}}</td>
          <td>{{r.reporter}}</td>
        </tr>
      </tbody>
    </table>
  </div>
</div>

<!-- General error  -->
<div class="panel panel-danger" ng-if="!success">
  <div class="panel-heading">
    <strong>{{artifact.data | fang}}</strong>
  </div>
  <div class="panel-body">
    <dl class="dl-horizontal" ng-if="content.errorMessage">
      <dt>
        <i class="fa fa-warning"></i> urlscan.io: </dt>
      <dd class="wrap">{{content.errorMessage}}</dd>
    </dl>
  </div>
</div><commit_msg>#270 update URLHaus long report with shiny colored labels for tags, status and GSB<commit_after><div class="panel panel-info" ng-if="success">
  <div class="panel-heading">
    URLhaus search results for
    <strong>{{artifact.data}}</strong>
  </div>
  <div class="panel-body">
    <p ng-if="content.results.length == 0">
      No result found.
    </p>
    <table class="table" ng-if="content.results">
      <thead>
        <th>Dateadded (UTC)</th>
        <th>Malware URL</th>
        <th>Status</th>
        <th>Tags</th>
        <th>GSB</th>
        <th>Reporter</th>
      </thead>
      <tbody ng-repeat="r in content.results">
        <tr>
          <td>{{r.dateadded}}</td>
          <td>
            <a href="https://urlhaus.abuse.ch{{r.link}}" target=”_blank”>
              {{r.malware_url}}
            </a>
          </td>
          <td><span  class="label" ng-class="{'Offline': 'label-success', 'Online':'label-danger'}[r.status]">{{r.status}}</span></td>
          <td>
            <span class="label label-primary mr-xxs" ng-repeat="tag in r.tags"> {{tag}} </span>
          </td>
          <td><span class="label" ng-class="{'Clean': 'label-success', '!Clean':'label-warning'}[r.gsb]">{{r.gsb}}</span></td>
          <td>{{r.reporter}}</td>
        </tr>
      </tbody>
    </table>
  </div>
</div>

<!-- General error  -->
<div class="panel panel-danger" ng-if="!success">
  <div class="panel-heading">
    <strong>{{artifact.data | fang}}</strong>
  </div>
  <div class="panel-body">
    <dl class="dl-horizontal" ng-if="content.errorMessage">
      <dt>
        <i class="fa fa-warning"></i> urlscan.io: </dt>
      <dd class="wrap">{{content.errorMessage}}</dd>
    </dl>
  </div>
</div>
{'fraction_non_alphanumeric': 0.21815848572345203, 'fraction_numerical': 0.0016041065126724415, 'mean_word_length': 2.241164241164241, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 133, 'https://': 2, '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': '3856015', 'n_tokens_mistral': 1122, 'n_tokens_neox': 1077, 'n_words': 203}