<commit_before><div class="row">
  <aside class="span8">
    <section>
      <p><strong><%= @user.name %></strong></p>
    </section>
  </aside>
</div>

<div class="row">
  <div class="span9">
    <ul class="nav nav-tabs">
      <li class="active"><a href="#maps" data-toggle="tab" class="map-toggle-control">Maps</a></li>
      <% if @is_admin %>
      <li><a href="#resources" data-toggle="tab" class="resource-toggle-control">Resources</a></li>
      <% end %>
    </ul>
  </div>
  <% if @is_admin %>
  <div class="span3" id="resource-controls">
  	<div class="btn-group">
		  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
		  	Actions
		    <span class="caret"></span>
		  </a>
		  <ul class="dropdown-menu">
		    <li><%= link_to t('resources.sync'), "#loading_modal",'data-toggle' => "modal", :onclick => "window.location=\"#{resources_sync_path}\"" %></li>
		    <li><%= link_to "Add Link", "#put_resource_link_modal",'data-toggle' => "modal" %></li>
		  </ul>
		</div>    
    <span id="resource-loading-wheel" style="display:none;">
    	<img alt="loading" width="40px" src="/assets/loading.gif" />
    </span>
  </div>
  <div class="span3" id="maps-controls">
    <%= link_to t('maps.create_map'), "JavaScript:void(0);", 'action-url'=> maps_path, :class => 'btn', id: "users_create_map"%>
  </div>
  <% end %>
</div>

<div class="tab-content">
  <div class="tab-pane active" id="maps"><commit_msg>converted boostrap tabs to pills; pushed controls all the way to the right<commit_after><div class="row">
  <aside class="span8">
    <section>
      <p><strong><%= @user.name %></strong></p>
    </section>
  </aside>
</div>

<div class="row">
  <div class="span9">
    <ul class="nav nav-pills">
      <li class="active"><a href="#maps" data-toggle="tab" class="map-toggle-control">Maps</a></li>
      <% if @is_admin %>
      <li><a href="#resources" data-toggle="tab" class="resource-toggle-control">Resources</a></li>
      <% end %>
    </ul>
  </div>
  <% if @is_admin %>
  <div class="pull-right" id="resource-controls">
  	<div class="btn-group">
		  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
		  	Actions
		    <span class="caret"></span>
		  </a>
		  <ul class="dropdown-menu">
		    <li><%= link_to t('resources.sync'), "#loading_modal",'data-toggle' => "modal", :onclick => "window.location=\"#{resources_sync_path}\"" %></li>
		    <li><%= link_to "Add Link", "#put_resource_link_modal",'data-toggle' => "modal" %></li>
		  </ul>
		</div>    
    <span id="resource-loading-wheel" style="display:none;">
    	<img alt="loading" width="40px" src="/assets/loading.gif" />
    </span>
  </div>
  <div class="pull-right" id="maps-controls">
    <%= link_to t('maps.create_map'), "JavaScript:void(0);", 'action-url'=> maps_path, :class => 'btn', id: "users_create_map"%>
  </div>
  <% end %>
</div>

<div class="tab-content">
  <div class="tab-pane active" id="maps">
{'fraction_non_alphanumeric': 0.23648186173853525, 'fraction_numerical': 0.004106776180698152, 'mean_word_length': 3.815485996705107, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 119, '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': '2825827', 'n_tokens_mistral': 1109, 'n_tokens_neox': 1039, 'n_words': 205}