<commit_before>{% extends "layout.html" %}
{% block content %}
<div id="content">
  <h3 class="inline-block">
    <a class="link" href=/browse/{{repo_base}}>{{repo_base}}</a>
    <a class="link" href=/browse/{{repo_base}}>/</a>
  </h3>
  
  <div class="pull-right">
    <a class="btn btn-primary btn-sm" role="button" href="/newrepo/{{repo_base}}">Create New Repository</a>
  </div>
  <hr />
  <br />
  <div class="panel panel-default">
  <div class="panel-heading"><h4>Repositories</h4></div>
  {% if repos|length > 0 %}
    <div class="table-responsive">
      <table id="repos" class="table">
        <tbody>            
            {% for repo in repos %}
              <tr>
                <td><a class="link" href=/browse/{{repo.owner}}/{{repo.name}}>{{repo.name}}</a></td>
                
                {% if repo.public %}
                  <td>Public</td>
                {% else %}
                  <td>Private</td>
                {% endif %}
                
                <td class="text-right" style="width: 25em; max-width: 30em;">
                  <a href="/settings/{{repo.owner}}/{{repo.name}}" title="Shared with {{repo.collaborators_str}}">{{repo.num_collaborators}} collaborators</a>
                  &nbsp;&nbsp;

                  <a href="/settings/{{repo.owner}}/{{repo.name}}" title="Manage collaborators"><span class="glyphicon glyphicon-cog"></span></a>
                  &nbsp;&nbsp;

                  <span
                      class="modal-link modal-confirm-dialog"
                      target-modal="#confirm-modal"
                      target-modal-title="Confirm Delete"
                      target-modal-body="This will permanently delete the repository <label>{{repo_base}}/{{repo}}</label> and all the tables inside it. The operation can't be undone. Are you sure?"
                      target-modal-operation="Delete"
                      target-url="/delete-repo/{{repo_base}}/{{repo}}"
                      title="Delete">
                    <span class="delete-icon"></span>
                  </span>
                  &nbsp;&nbsp;
                </td>
                
              </tr>
            {% endfor %}
        </tbody><commit_msg>UI for deleting repo<commit_after>{% extends "layout.html" %}
{% block content %}
<div id="content">
  <h3 class="inline-block">
    <a class="link" href=/browse/{{repo_base}}>{{repo_base}}</a>
    <a class="link" href=/browse/{{repo_base}}>/</a>
  </h3>
  
  <div class="pull-right">
    <a class="btn btn-primary btn-sm" role="button" href="/newrepo/{{repo_base}}">Create New Repository</a>
  </div>
  <hr />
  <br />
  <div class="panel panel-default">
  <div class="panel-heading"><h4>Repositories</h4></div>
  {% if repos|length > 0 %}
    <div class="table-responsive">
      <table id="repos" class="table">
        <tbody>            
            {% for repo in repos %}
              <tr>
                <td><a class="link" href=/browse/{{repo.owner}}/{{repo.name}}>{{repo.name}}</a></td>
                
                {% if repo.public %}
                  <td>Public</td>
                {% else %}
                  <td>Private</td>
                {% endif %}
                
                <td class="text-right" style="width: 25em; max-width: 30em;">
                  <a href="/settings/{{repo.owner}}/{{repo.name}}" title="Shared with {{repo.collaborators_str}}">{{repo.num_collaborators}} collaborators</a>
                  &nbsp;&nbsp;

                  <a href="/settings/{{repo.owner}}/{{repo.name}}" title="Manage collaborators"><span class="glyphicon glyphicon-cog"></span></a>
                  &nbsp;&nbsp;

                  <span
                      class="modal-link modal-confirm-dialog"
                      target-modal="#confirm-modal"
                      target-modal-title="Confirm Delete"
                      target-modal-body="This will permanently delete the repository <label>{{repo_base}}/{{repo}}</label> and all the tables inside it. The operation can't be undone. Are you sure?"
                      target-modal-operation="Delete"
                      target-url="/delete-repo/{{repo_base}}/{{repo}}"
                      title="Delete">
                    <span class="glyphicon glyphicon-trash"></span>
                  </span>
                  &nbsp;&nbsp;
                </td>
                
              </tr>
            {% endfor %}
        </tbody>
{'fraction_non_alphanumeric': 0.17483623221142985, 'fraction_numerical': 0.0040659588886379034, 'mean_word_length': 1.6950699939135727, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 97, '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': '4417239', 'n_tokens_mistral': 1360, 'n_tokens_neox': 1210, 'n_words': 233}