<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>dList</title>
	<%= stylesheet_link_tag "global" %>
    <%= javascript_include_tag "prototype" %>
</head>

<body>

<div id="main-container">
	<% if flash %>
		<div id="flash">
			<% if flash[:notice] %>
				<span class="notice"><%= flash[:notice] %></span>
			<% elsif flash[:warning] %>
				<span class="warning"><%= flash[:warning] %></span>
			<% end %>
		</div>
	<% end %>
	
	<div id="header" style="position: relative; height: 75px;">
      <div class="header-left" style="position: absolute; left: 5px"> 
		<h1 id="dlist">dList</h1>
		<% if logged_in? %>
		<p><%= link_to "Lists", lists_path %> | <%= link_to "Subscribers", subscribers_path %> | 
          <%= link_to "Topics", topics_path %> | <%= link_to "Messages", messages_path %></p>
		<% end %>
      </div>
      <div class="header-right" style="position: absolute: right: 5px; vertical-align: bottom; " align="right">
        <% if(current_user) %>
          <p>Welcome, <%= current_user.name %>!<br/>
          <em>You are <%= current_user.admin? ? "an admin" : "a subscriber" %></em><br/>
          <%= link_to( h("[Logout]"), "logout") %>
        <% else %>
          <%= link_to( h("[Login]"), "login") %>
        <% end %>
      </div>
	</div>
	
	<div id="body">
		<%= yield %>
	</div>
	
	<div id="footer">

	</div>
</div>


	
</body>
</html>
<commit_msg>Added specific nav for admin and regular users<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>dList</title>
	<%= stylesheet_link_tag "global" %>
    <%= javascript_include_tag "prototype" %>
</head>

<body>

<div id="main-container">
	<% if flash %>
		<div id="flash">
			<% if flash[:notice] %>
				<span class="notice"><%= flash[:notice] %></span>
			<% elsif flash[:warning] %>
				<span class="warning"><%= flash[:warning] %></span>
			<% end %>
		</div>
	<% end %>
	
	<div id="header" style="position: relative; height: 75px;">
      <div class="header-left" style="position: absolute; left: 5px"> 
		<h1 id="dlist">dList</h1>
		<% if logged_in? %>
          <% if current_user.admin? %>
		    <p><%= link_to "Lists", lists_path %> | <%= link_to "Subscribers", subscribers_path %> | 
            <%= link_to "Topics", topics_path %> | <%= link_to "Messages", messages_path %></p>
          <% else %>
		    <p><%= link_to "My Lists", lists_path %> | <%= link_to "My Account", current_user %> </p>
          <% end %>
		<% end %>
      </div>
      <div class="header-right" style="position: absolute: right: 5px; vertical-align: bottom; " align="right">
        <% if(logged_in?) %>
          <p>Welcome, <%= current_user.name %>!<br/>
          <em>You are <%= current_user.admin? ? "an admin" : "a subscriber" %></em><br/>
          <%= link_to( h("[Logout]"), "logout") %>
        <% else %>
          <%= link_to( h("[Login]"), "login") %>
        <% end %>
      </div>
	</div>
	
	<div id="body">
		<%= yield %>
	</div>
	
	<div id="footer">

	</div>
</div>


	
</body>
</html>

{'fraction_non_alphanumeric': 0.23028589381087025, 'fraction_numerical': 0.007540056550424128, 'mean_word_length': 3.0406091370558377, 'pattern_counts': {'":': 0, '<': 128, '<?xml version=': 0, '>': 128, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5613648', 'n_tokens_mistral': 1336, 'n_tokens_neox': 1131, 'n_words': 243}