<commit_before><ol class="breadcrumb">
  <li>Accueil</li>
  <li class="active">Services</li>
</ol>

<table class="table table-hover">
  <tr>
    <th>Protocole</th>
    <th>Nom du service</th>
    <th>Nombre d'entrées</th>
    <th>État</th>
    <th ng-if="session.loggedIn"></th>
  </tr>
  <tr ng-repeat="service in services">
    <td class="vert"><span class="label label-warning">{{ service.protocol | uppercase }}</span></td>
    <td class="vert"><a href="/services/{{ service._id }}/datasets">{{ service.name }}</a></td>
    <td class="vert">{{ service.items | number }}</td>
    <td class="vert">
        <i ng-class="{ 'fa-thumbs-up': service.harvesting.state === 'idle', 'fa-refresh': service.harvesting.state === 'processing', 'fa-spin': service.harvesting.state === 'processing', 'fa-history': service.harvesting.state === 'queued', 'fa-thumbs-down': service.harvesting.state === 'error' }" class="fa"></i>
    </td><commit_msg>Replace harvesting icons by labels<commit_after><ol class="breadcrumb">
  <li>Accueil</li>
  <li class="active">Services</li>
</ol>

<table class="table table-hover">
  <tr>
    <th>Protocole</th>
    <th>Nom du service</th>
    <th>Nombre d'entrées</th>
    <th>État</th>
    <th ng-if="session.loggedIn"></th>
  </tr>
  <tr ng-repeat="service in services">
    <td class="vert"><span class="label label-warning">{{ service.protocol | uppercase }}</span></td>
    <td class="vert"><a href="/services/{{ service._id }}/datasets">{{ service.name }}</a></td>
    <td class="vert">{{ service.items | number }}</td>
    <td class="vert">
      <span style="color: green" ng-if="service.harvesting.state === 'idle'">OK</span>
      <span style="color: purple" ng-if="service.harvesting.state === 'queued'">En attente</span>
      <span style="color: orange" ng-if="service.harvesting.state === 'processing'">En cours</span>
      <span style="color: red" ng-if="service.harvesting.state === 'error'">Erreur</span>
    </td>
{'fraction_non_alphanumeric': 0.22876151484135107, 'fraction_numerical': 0.0, 'mean_word_length': 4.255376344086022, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '6169762', 'n_tokens_mistral': 698, 'n_tokens_neox': 691, 'n_words': 135}