<commit_before>{% extends "fragments/default.html" %}
{% block navbar %}
{% include "fragments/navbar.html" %}
{% endblock %}

{% block content %}

<div class="col-lg-9">
  <h4>Sideloader admin</h4>
  <br/>
  <ul class="nav nav-tabs" role="tablist" id="manageTabs">
    <li role="presentation" class="active"><a href="#users" aria-controls="users" role="tab" data-toggle="tab">Users</a></li>
    <li role="presentation"><a href="#repos" aria-controls="repos" role="tab" data-toggle="tab">Distribution Repos</a></li>
    <li role="presentation"><a href="#servers" aria-controls="servers" role="tab" data-toggle="tab">Servers</a></li>
    <li role="presentation"><a href="#hive" aria-controls="hive" role="tab" data-toggle="tab">Hive</a></li>
  </ul>

  <div class="tab-content">
    <!-- Tabs -->
    <div role="tabpanel" class="tab-pane" id="repos">
      <br/>
      <table class="table table-hover table-bordered table-condensed">
        <tbody>
          <thead><tr>
            <th>Name</th>
            <th>Owner</th>
            <th>Project</th>
            <th></th>
          </tr></thead>
          {% for repo in repos %}
            <tr>
              <td>{{ repo.name }}</td>
              <td>{{ repo.owner }}</td>
              <td>{{ repo.project }}</td>
              <td width="90em">
                <div class="btn-group btn-group-sm">
                  <a class="btn btn-default" href="#" title="Edit"><span class="glyphicon glyphicon-edit electric"></span></a>
                  <a class="btn btn-default" href="{% url 'manage_delete_repo' id=repo.id %}" title="Delete"><span class="glyphicon glyphicon-remove electric"></span></a>
                </div>
              </td>
            </tr>
          {% endfor %}
        </tbody>
      </table>
      <br/>
      <a href="{% url 'manage_create_repo' %}" class="btn btn-default">Add package repo</a>
    </div>
    <div role="tabpanel" class="tab-pane active" id="users">
      <br/>
      <table class="table table-hover table-bordered table-condensed">
        <tbody>
          <thead><tr>
            <th>Username</th>
            <th>Email address</th>
            <th>Is Admin</th><commit_msg>Fix field name<commit_after>{% extends "fragments/default.html" %}
{% block navbar %}
{% include "fragments/navbar.html" %}
{% endblock %}

{% block content %}

<div class="col-lg-9">
  <h4>Sideloader admin</h4>
  <br/>
  <ul class="nav nav-tabs" role="tablist" id="manageTabs">
    <li role="presentation" class="active"><a href="#users" aria-controls="users" role="tab" data-toggle="tab">Users</a></li>
    <li role="presentation"><a href="#repos" aria-controls="repos" role="tab" data-toggle="tab">Distribution Repos</a></li>
    <li role="presentation"><a href="#servers" aria-controls="servers" role="tab" data-toggle="tab">Servers</a></li>
    <li role="presentation"><a href="#hive" aria-controls="hive" role="tab" data-toggle="tab">Hive</a></li>
  </ul>

  <div class="tab-content">
    <!-- Tabs -->
    <div role="tabpanel" class="tab-pane" id="repos">
      <br/>
      <table class="table table-hover table-bordered table-condensed">
        <tbody>
          <thead><tr>
            <th>Name</th>
            <th>Owner</th>
            <th>Project</th>
            <th></th>
          </tr></thead>
          {% for repo in repos %}
            <tr>
              <td>{{ repo.name }}</td>
              <td>{{ repo.created_by_user }}</td>
              <td>{{ repo.project }}</td>
              <td width="90em">
                <div class="btn-group btn-group-sm">
                  <a class="btn btn-default" href="#" title="Edit"><span class="glyphicon glyphicon-edit electric"></span></a>
                  <a class="btn btn-default" href="{% url 'manage_delete_repo' id=repo.id %}" title="Delete"><span class="glyphicon glyphicon-remove electric"></span></a>
                </div>
              </td>
            </tr>
          {% endfor %}
        </tbody>
      </table>
      <br/>
      <a href="{% url 'manage_create_repo' %}" class="btn btn-default">Add package repo</a>
    </div>
    <div role="tabpanel" class="tab-pane active" id="users">
      <br/>
      <table class="table table-hover table-bordered table-condensed">
        <tbody>
          <thead><tr>
            <th>Username</th>
            <th>Email address</th>
            <th>Is Admin</th>
{'fraction_non_alphanumeric': 0.20059674087675006, 'fraction_numerical': 0.0022951572182694515, 'mean_word_length': 2.402029664324746, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 159, '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': '7553832', 'n_tokens_mistral': 1456, 'n_tokens_neox': 1373, 'n_words': 279}