<commit_before>%include('header')

<body>

<style>
  .table {
    font-size: 120%;
  }
</style>

%include('navbar')
<h1 align=center>Users</h1>

<table class="table table-striped">
<thead>
<tr>
  <th>user</th> 
  <th>email</th> 
  <th>actions</th>
</tr>
</thead>
<tbody>
%for row in rows:
  <tr>
     <td>{{row['user']}}</td>
     <td>{{row['email']}}</td>
     <td> <form method="post" action="/admin/delete_user" 
                onclick="if(confirm('confirm')) return true; return false">
          <input type="hidden" name="uid" value="{{row['id']}}">
          <input class="btn btn-default" type="submit" value="delete"></form></td>
  </tr> 
%end
</tbody>
</table>

%include('footer')<commit_msg>add glyphicon instead of delete button for removing users<commit_after>%include('header')

<body>

<style>
  .table {
    font-size: 120%;
  }
</style>

%include('navbar')
<h1 align=center>Users</h1>

<table class="table table-striped">
<thead>
<tr>
  <th>user</th> 
  <th>email</th> 
  <th>actions</th>
</tr>
</thead>
<tbody>
%for row in rows:
  <tr>
     <td>{{row['user']}}</td>
     <td>{{row['email']}}</td>
     <td> <form method="post" action="/admin/delete_user" 
                onclick="if(confirm('confirm')) return true; return false">
          <input type="hidden" name="uid" value="{{row['id']}}">
          <button class="btn btn-link" style="color:#d9302c; font-size:150%" type="submit">
            <span class="glyphicon glyphicon-remove-sign"></span>
          </button>          
          <!-- <input class="btn btn-danger" type="submit" value="delete"></form> -->
      </td>
  </tr> 
%end
</tbody>
</table>

%include('footer')
{'fraction_non_alphanumeric': 0.22867513611615245, 'fraction_numerical': 0.0102843315184513, 'mean_word_length': 3.3526315789473684, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 0, '>': 70, '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': '6306034', 'n_tokens_mistral': 624, 'n_tokens_neox': 589, 'n_words': 120}