<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
	<title>Projexion</title>
    <%= stylesheet_link_tag 'reset' %> <%# This is loaded first to reset the browser default value %>
	<%= stylesheet_link_tag 'projexion' %>
    <%= stylesheet_link_tag 'facebox' %>
    <%= javascript_include_tag 'jquery-1.4.1.min' %>
    <%= javascript_include_tag 'jquery.inlineEdit' %>
    <%= javascript_include_tag 'jquery.slugify' %>
    <%= javascript_include_tag 'jquery.tooltip.min' %>
    <%= javascript_include_tag 'jquery.flot.min' %>
    <%= javascript_include_tag 'jquery.corner' %>
    <%= javascript_include_tag 'facebox' %>
    <script type="text/javascript">
      $(document).ready(function(){
        <%# TODO: This doesn't work. The height of content and sidebar is not equal %>  
        $("#sidebar").height($("#content").height()); //  Make the #sidebar height always the same as #content
        $("a[rel*=facebox]").facebox();
          
        <% if flash[:notice] %>
        $("p.success").css("display","block"); // Display the notice
        <% end %>

        $('#toolbar li a').corner("top");  
      });
    </script>

</head>
<body>
    <div id="header">
      <div id="title">Projexion</div>
      <div id="login">Logged in as: <%= @current_user.login %> |
        <%= link_to "Logout", logout_path , :method => :delete, :confirm => "Are you sure you want to logout?" %>
      </div>

      <div style="clear:both"></div>  
    </div>
    
    <div id="toolbar">
        <ul style="float:left">
          <li><%= link_to 'Dashboard', root_url %></li>
          <li><%= link_to 'Projects', projects_url %></li>
          <li><%= link_to 'Admin', :controller => :admin %></li>

          <% if @project != nil and controller_name != 'projects' %><li><%= link_to 'Dashboard', project_path(@project.code) %></li><% end %>
        </ul>
        
        <ul style="float:right">
        	<li><%= link_to 'My Account', edit_user_url(@current_user) %></li>
        </ul>
    </div>
    <div style="clear:both;"></div>
    <div id="middle">

        <%= yield %>
        
        <div style="clear:both"></div>
    </div>

    <div id="footer">
      <a href="http://github.com/scrum8/projexion">Projexion</a> is a Free Software made by <a href="http://scrum8.com/">Scrum8</a> licensed under <a href="http://www.gnu.org/licenses/gpl-3.0-standalone.html">GNU GPL v3.0</a>. <br/>
      <a href="http://scrum8.com/contact">Contact us</a> for more info on how we can help you with your project.
    </div>
</body>
</html><commit_msg>Fix link wording<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
	<title>Projexion</title>
    <%= stylesheet_link_tag 'reset' %> <%# This is loaded first to reset the browser default value %>
	<%= stylesheet_link_tag 'projexion' %>
    <%= stylesheet_link_tag 'facebox' %>
    <%= javascript_include_tag 'jquery-1.4.1.min' %>
    <%= javascript_include_tag 'jquery.inlineEdit' %>
    <%= javascript_include_tag 'jquery.slugify' %>
    <%= javascript_include_tag 'jquery.tooltip.min' %>
    <%= javascript_include_tag 'jquery.flot.min' %>
    <%= javascript_include_tag 'jquery.corner' %>
    <%= javascript_include_tag 'facebox' %>
    <script type="text/javascript">
      $(document).ready(function(){
        <%# TODO: This doesn't work. The height of content and sidebar is not equal %>  
        $("#sidebar").height($("#content").height()); //  Make the #sidebar height always the same as #content
        $("a[rel*=facebox]").facebox();
          
        <% if flash[:notice] %>
        $("p.success").css("display","block"); // Display the notice
        <% end %>

        $('#toolbar li a').corner("top");  
      });
    </script>

</head>
<body>
    <div id="header">
      <div id="title">Projexion</div>
      <div id="login">Logged in as: <%= @current_user.login %> |
        <%= link_to "Logout", logout_path , :method => :delete, :confirm => "Are you sure you want to logout?" %>
      </div>

      <div style="clear:both"></div>  
    </div>
    
    <div id="toolbar">
        <ul style="float:left">
          <li><%= link_to 'My Dashboard', root_url %></li>
          <li><%= link_to 'Admin', :controller => :admin %></li>

          <% if @project != nil and controller_name != 'projects' %><li><%= link_to @project.name, project_path(@project.code) %></li><% end %>
        </ul>
        
        <ul style="float:right">
        	<li><%= link_to 'My Account', edit_user_url(@current_user) %></li>
        </ul>
    </div>
    <div style="clear:both;"></div>
    <div id="middle">

        <%= yield %>
        
        <div style="clear:both"></div>
    </div>

    <div id="footer">
      <a href="http://github.com/scrum8/projexion">Projexion</a> is a Free Software made by <a href="http://scrum8.com/">Scrum8</a> licensed under <a href="http://www.gnu.org/licenses/gpl-3.0-standalone.html">GNU GPL v3.0</a>. <br/>
      <a href="http://scrum8.com/contact">Contact us</a> for more info on how we can help you with your project.
    </div>
</body>
</html>
{'fraction_non_alphanumeric': 0.1995633982172094, 'fraction_numerical': 0.008368200836820083, 'mean_word_length': 2.95255212077642, 'pattern_counts': {'":': 0, '<': 154, '<?xml version=': 0, '>': 160, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 4}, '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': '644038', 'n_tokens_mistral': 1998, 'n_tokens_neox': 1833, 'n_words': 399}