<commit_before><!DOCTYPE html>
<html>
<head>
	<title>Strategiespiel</title>
	<%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
	<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
	<%= csrf_meta_tags %>
</head>
<body>

<div id="wrapper">
	<div id="top" >
		<div id="login" class="content">
			<% if !user_signed_in? %>
			  <%= form_for(:user, :url => session_path(:user)) do |f| %>
			  	<br>
				<%= f.text_field :login, placeholder: "Username", :class => 'logintext' %>
			    <%= f.password_field :password , placeholder: "<PASSWORD>", :class => 'logintext' %>
			    <%= f.check_box :remember_me %>
			    <%= f.label :remember_me %>
			    <%= f.submit 'Sign in', :id => 'loginbutton' %>
			  <% end %>
			<% else %>
				<p class="login_text"><%= link_to current_user.username, profile_index_path %></p><br>
				<% if UserIcon.find_by_user_id(current_user.id) != nil %>
					<div id="user_icon" style="background-image: <%= image_url(UserIcon.find_by_user_id(current_user.id).image.url) %>"></div><br>
				<% else %>
					<div id="user_icon"></div><br>
				<% end %>
				<p class="login_text"><%= link_to('Logout', destroy_user_session_path, :method => :delete) %></p>
			<% end %>
		</div>
		<div id="banner" class="content">
			<p id="game_name">SpielName</p>
		</div>
	</div>

	<div id="mid">
		<div id="ranking" class="content">
			<% if user_signed_in? %>
				<p>Points:</p>
				<p>0</p>
			<% else %>
				<p>Not logged in</p>
			<% end %>
		</div>
		<div id="resources" class="content">
			<div id="res-metal" class="tooltip" data-tooltip="Verfügbare Metall-Resourcen"></div>
			<div id="res-crystal" class="tooltip" data-tooltip="Verfügbare Kristall-Resourcen"></div>
			<div id="res-fuel" class="tooltip" data-tooltip="Verfügbare Treibstoff-Resourcen"></div>
		</div>
	</div>

	<div id="botm">
		<div id="menu-wrapper">
			<div id="menu" class="content">
				<br>
				<ul>
					<li><%= link_to "Home", root_path %></li>
					<% if user_signed_in? %>
						<li><%= link_to "Schiffe", root_path %></li>
						<li><%= link_to "Forschung", root_path %></li>
						<li><%= link_to "Stationen", root_path %></li>
						<li><%= link_to "Anlagen", root_path %></li>
						<li><%= link_to "Einheiten", root_path %></li>
						<li><%= link_to "Handel", trades_path %></li>
						<li><%= link_to "Rangliste", ranks_path %></li>
						<li><%= link_to "Einstellungen", edit_user_registration_path %></li>
					<% else %>
						<li><%= link_to "Registrieren", new_user_registration_path %></li>
					<% end %>
				</ul>
			</div>		
			<div id="notification" class="content">
				<img id="notification-image" src="http://businessmattersindia.com/wp-content/uploads/2014/01/Notification-2.png">
				<p id="notification-text"></p>
			</div>
		</div>
		<div id="game" class="content">
			<%= yield %>
		</div>	
	</div>
</div><commit_msg>fixed menu links<commit_after><!DOCTYPE html>
<html>
<head>
	<title>Strategiespiel</title>
	<%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
	<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
	<%= csrf_meta_tags %>
</head>
<body>

<div id="wrapper">
	<div id="top" >
		<div id="login" class="content">
			<% if !user_signed_in? %>
			  <%= form_for(:user, :url => session_path(:user)) do |f| %>
			  	<br>
				<%= f.text_field :login, placeholder: "Username", :class => 'logintext' %>
			    <%= f.password_field :password , placeholder: "<PASSWORD>", :class => 'logintext' %>
			    <%= f.check_box :remember_me %>
			    <%= f.label :remember_me %>
			    <%= f.submit 'Sign in', :id => 'loginbutton' %>
			  <% end %>
			<% else %>
				<p class="login_text"><%= link_to current_user.username, profile_index_path %></p><br>
				<% if UserIcon.find_by_user_id(current_user.id) != nil %>
					<div id="user_icon" style="background-image: <%= image_url(UserIcon.find_by_user_id(current_user.id).image.url) %>"></div><br>
				<% else %>
					<div id="user_icon"></div><br>
				<% end %>
				<p class="login_text"><%= link_to('Logout', destroy_user_session_path, :method => :delete) %></p>
			<% end %>
		</div>
		<div id="banner" class="content">
			<p id="game_name">SpielName</p>
		</div>
	</div>

	<div id="mid">
		<div id="ranking" class="content">
			<% if user_signed_in? %>
				<p>Points:</p>
				<p>0</p>
			<% else %>
				<p>Not logged in</p>
			<% end %>
		</div>
		<div id="resources" class="content">
			<div id="res-metal" class="tooltip" data-tooltip="Verfügbare Metall-Resourcen"></div>
			<div id="res-crystal" class="tooltip" data-tooltip="Verfügbare Kristall-Resourcen"></div>
			<div id="res-fuel" class="tooltip" data-tooltip="Verfügbare Treibstoff-Resourcen"></div>
		</div>
	</div>

	<div id="botm">
		<div id="menu-wrapper">
			<div id="menu" class="content">
				<br>
				<ul>
					<li><%= link_to "Home", root_path %></li>
					<% if user_signed_in? %>
						<li><%= link_to "Schiffe", ships_path %></li>
						<li><%= link_to "Forschung", root_path %></li>
						<li><%= link_to "Stationen", stations_path %></li>
						<li><%= link_to "Anlagen", root_path %></li>
						<li><%= link_to "Einheiten", root_path %></li>
						<li><%= link_to "Handel", trades_path %></li>
						<li><%= link_to "Rangliste", ranks_path %></li>
						<li><%= link_to "Einstellungen", edit_user_registration_path %></li>
					<% else %>
						<li><%= link_to "Registrieren", new_user_registration_path %></li>
					<% end %>
				</ul>
			</div>		
			<div id="notification" class="content">
				<img id="notification-image" src="http://businessmattersindia.com/wp-content/uploads/2014/01/Notification-2.png">
				<p id="notification-text"></p>
			</div>
		</div>
		<div id="game" class="content">
			<%= yield %>
		</div>	
	</div>
</div>
{'fraction_non_alphanumeric': 0.22218394764037203, 'fraction_numerical': 0.002755769893213917, 'mean_word_length': 3.732681336593317, 'pattern_counts': {'":': 0, '<': 243, '<?xml version=': 0, '>': 257, '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': '6186380', 'n_tokens_mistral': 2690, 'n_tokens_neox': 2181, 'n_words': 415}