<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view contentType="text/html"
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:a="http://richfaces.org/a4j"
        xmlns:s="http://jboss.com/products/seam/taglib"
                                        xmlns:rich="http://richfaces.org/rich">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>flies</title>
    
    <link rel="shortcut icon" href="#{request.contextPath}/img/favicon.ico" type="image/x-icon"/>
    
    <a:loadStyle src="/stylesheet/reset-fonts-grids.css"/>
    <a:loadStyle src="/stylesheet/base-min.css"/>
    <a:loadStyle src="/stylesheet/theme.css"/>
    <a:loadStyle src="/stylesheet/tabs.css"/>
    <ui:insert name="head"/>
</head>

<body style="min-width: 750px;">
<!-- the id on the containing div determines the page width. -->
<!-- #doc = 750px; #doc2 = 950px; #doc3 = 100%; #doc4 = 974px -->
<div id="doc3" class="yui-t2">					
	<div id="hd">
      <div id="headerlogo">
        <s:link view="/home.xhtml" propagation="none"><img src="#{request.contextPath}/img/flies_banner.png"/></s:link>
      </div>
      
      <div id="header_top_right">
        <s:div rendered="#{identity.loggedIn}" style="margin-right: 15px; display: inline;">
          Selected Language: <a href="#">Gujarati (India)</a>        
        </s:div>
               
        <h:outputText rendered="#{identity.loggedIn}" value="#{identity.username} "/>
        <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}" propagation="none"/>
        <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}" propagation="none"/>
      </div>
      <div id="loading_top_right">
        <a:status>
            <f:facet name="start">
                <h:graphicImage  value="/img/loading.gif"/>
            </f:facet>
        </a:status>
      </div>
      <ui:include src="menu.xhtml">
          <ui:param name="projectName" value="flies"/><commit_msg>improved top-right header<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view contentType="text/html"
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:a="http://richfaces.org/a4j"
        xmlns:s="http://jboss.com/products/seam/taglib"
                                        xmlns:rich="http://richfaces.org/rich">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>flies</title>
    
    <link rel="shortcut icon" href="#{request.contextPath}/img/favicon.ico" type="image/x-icon"/>
    
    <a:loadStyle src="/stylesheet/reset-fonts-grids.css"/>
    <a:loadStyle src="/stylesheet/base-min.css"/>
    <a:loadStyle src="/stylesheet/theme.css"/>
    <a:loadStyle src="/stylesheet/tabs.css"/>
    <ui:insert name="head"/>
</head>

<body style="min-width: 750px;">
<!-- the id on the containing div determines the page width. -->
<!-- #doc = 750px; #doc2 = 950px; #doc3 = 100%; #doc4 = 974px -->
<div id="doc3" class="yui-t2">					
	<div id="hd">
      <div id="headerlogo">
        <s:link view="/home.xhtml" propagation="none"><img src="#{request.contextPath}/img/flies_banner.png"/></s:link>
      </div>
      
      <div id="header_top_right">
        <s:div rendered="#{identity.loggedIn}" style="margin-right: 15px; display: inline;">
          Selected Language: <a href="#">Gujarati (India)</a>        
        </s:div>
               
        <h:outputText rendered="#{identity.loggedIn}" value="#{authenticatedPerson == null ? identity.username : authenticatedPerson.name} "/>
        <s:link view="/login.xhtml" value="Sign In" rendered="#{not identity.loggedIn}" propagation="none"/>
        <s:link view="/home.xhtml" action="#{identity.logout}" value="Sign Out" rendered="#{identity.loggedIn}" propagation="none"/>
      </div>
      <div id="loading_top_right">
        <a:status>
            <f:facet name="start">
                <h:graphicImage  value="/img/loading.gif"/>
            </f:facet>
        </a:status>
      </div>
      <ui:include src="menu.xhtml">
          <ui:param name="projectName" value="flies"/>
{'fraction_non_alphanumeric': 0.19736557978838265, 'fraction_numerical': 0.015115525804361908, 'mean_word_length': 2.6908366533864543, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4608865', 'n_tokens_mistral': 1650, 'n_tokens_neox': 1530, 'n_words': 242}