<commit_before><!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="./WEB-INF/layout/template.xhtml">
    
    <ui:define name="center_content">
        <rich:jQuery id="tabHome" selector="#tab_home" query="addClass('ui-tabs-selected')" />
        <h1>#{messages['jsf.WelcomeToFlies']}</h1>

		<br/>       
        <h2>Getting started?</h2>
        The documentation is <a href="#{applicationConfiguration.helpPath}">here</a>.
		<br/>       

      <rich:spacer height ="20px" />

       <s:formattedText id="project-home-content" value="#{applicationConfiguration.homeContent}"></s:formattedText>
 </ui:define>

<ui:define name="left_content">
  <rich:panel id="loggedIn" rendered="#{s:hasRole('admin')}">
    <f:facet name="header">#{messages['jsf.Actions']}</f:facet>
    <s:link styleClass="action_link" value="#{messages['jsf.EditHomepageContent']}" view="/edit_home_content.xhtml" propagation="none">
    </s:link>
  </rich:panel>

</ui:define>

</ui:composition><commit_msg>Create a home page, remove all the previous content<commit_after><!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="./WEB-INF/layout/template.xhtml">
    
    <ui:define name="center_content">
        <rich:jQuery id="tabHome" selector="#tab_home" query="addClass('ui-tabs-selected')" />

       <s:formattedText id="project-home-content" value="#{applicationConfiguration.homeContent}"></s:formattedText>

 </ui:define>

<ui:define name="left_content">
  <rich:panel id="loggedIn" rendered="#{s:hasRole('admin')}">
    <f:facet name="header">#{messages['jsf.Actions']}</f:facet>
    <s:link styleClass="action_link" value="#{messages['jsf.EditHomepageContent']}" view="/edit_home_content.xhtml" propagation="none">
    </s:link>
  </rich:panel>

</ui:define>

</ui:composition>
{'fraction_non_alphanumeric': 0.20533227218463987, 'fraction_numerical': 0.011142061281337047, 'mean_word_length': 4.429805615550756, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 0, '>': 44, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 12}, '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': '4218970', 'n_tokens_mistral': 948, 'n_tokens_neox': 896, 'n_words': 104}