<commit_before><p id="notice"><%= notice %></p>

<h1>Listing Domains</h1>
<%= "not login" if current_user.blank? %>
<%= link_to "Logout", destroy_user_session_path, :method => :delete %>
<%= $DNS_PID %>
<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @domains.each do |domain| %>
      <tr>
        <td><%= domain.name %></td>
        <td><%= domain.description %></td>
        <td><%= link_to 'Show', domain_path(domain.url_name) %></td>
        <td><%= link_to 'Edit', edit_domain_path(domain.url_name) %></td>
        <td><%= link_to 'Destroy', domain_path(domain.url_name), method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Domain', new_domain_path %><commit_msg>[domain page] remove unnecessary dom, apply bootstrap<commit_after><p id="notice"><%= notice %></p>

<h1>Listing Domains</h1>

<div class="text-right">
    <%= link_to '+ New Domain', new_domain_path, {class: "btn btn-default"} %>
</div>
<table class="table">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @domains.each do |domain| %>
      <tr>
        <td><%= domain.name %></td>
        <td><%= domain.description %></td>
        <td><%= link_to 'Show', domain_path(domain.url_name) %></td>
        <td><%= link_to 'Edit', edit_domain_path(domain.url_name) %></td>
        <td><%= link_to 'Destroy', domain_path(domain.url_name), method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>
<br>

{'fraction_non_alphanumeric': 0.23040095751047276, 'fraction_numerical': 0.003590664272890485, 'mean_word_length': 3.1182266009852215, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 89, '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': '5280304', 'n_tokens_mistral': 669, 'n_tokens_neox': 623, 'n_words': 137}