<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">








    <f:loadBundle basename="#{indexController.labelFile}" var="labels"/>








    <h:head>

        <link rel="shortcut icon" 
              href="resources/img/favicon.ico" 
              type="image/x-icon"/>

        <meta name="viewport" 
              content="width=device-width, user-scalable=no"/>

        <meta name="mobile-web-app-capable" 
              content="yes"/>

        <link href="resources/css/main.css" 
              rel="stylesheet" 
              type="text/css"/>        

        <link href="https://fonts.googleapis.com/css?family=Roboto" 
              rel="stylesheet" 
              type="text/css"/>

        <title>#{labels.appTitle} - #{labels.organizationName}</title>

    </h:head>






    <h:body styleClass="myBody">



        <h:form id="mainForm" styleClass="myForm">

            <p:growl id="growl" autoUpdate="true"/>

            <p:sticky target="menu"/>






            <p:menubar id="menu">

                <p:menuitem value="#{labels.menuItemHome}" 
                            icon="fa fa-home"
                            url="?p=home"/>

                <p:submenu label="#{labels.menuItemProjects}" icon="fa fa-users">

                    <p:menuitem value="#{labels.menuItemResubscribe}" 
                                icon="ui-icon-refresh"
                                url="?p=resubscribe"/>

                    <p:menuitem value="#{labels.menuItemAdmin}" 
                                icon="fa fa-legal"
                                url="?p=admin"/>

                </p:submenu>


                <p:menuitem value="#{adminController.currentUser.firstName} 
                            #{labels.menuItemLogout}" 
                            action="#{adminController.logout()}" 
                            icon="fa fa-sign-out" 
                            rendered="#{adminController.currentUserIsAdmin}" 
                            ajax="false" 
                            styleClass="myAdminButton"/>

            </p:menubar>







            <p:spacer/>







            <p:outputPanel id="currentComposition">
                <ui:include src="#{indexController.currentComposition}"/>
            </p:outputPanel>







            <p:idleMonitor timeout="#{session.maxInactiveInterval*900}" 
                           onidle="PF('idleDialog').show();"/>






            <!--
                Session Timeout Dialog
            -->
            <p:dialog widgetVar="idleDialog" 
                      header="#{labels.MSGTimeoutHeader}"  
                      modal="true" 
                      closable="false" 
                      resizable="false">
                <h:outputText value="#{labels.MSGTimeoutBody}" escape="false"/>
                <br/>
                <br/>
                <p:button value="Refresh" onclick="window.location.reload();"/>
            </p:dialog>     








        </h:form>








        <p:outputPanel rendered="#{!indexController.developmentStage}">
            <!--Google Analytics-->
            <ui:include src="#{indexController.compositionsDir}/ga.xhtml"/>
        </p:outputPanel>







    </h:body>

</html>

<commit_msg>Refactored to Maven repo.<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">








    <f:loadBundle basename="#{indexController.labelFile}" var="labels"/>








    <h:head>

        <link rel="shortcut icon" 
              href="resources/img/favicon.ico" 
              type="image/x-icon"/>

        <meta name="viewport" 
              content="width=device-width, user-scalable=no"/>

        <meta name="mobile-web-app-capable" 
              content="yes"/>

        <link href="resources/css/main.css" 
              rel="stylesheet" 
              type="text/css"/>        

        <link href="https://fonts.googleapis.com/css?family=Roboto" 
              rel="stylesheet" 
              type="text/css"/>

        <title>#{labels.appTitle} - #{labels.organizationName}</title>

    </h:head>






    <h:body styleClass="myBody">



        <h:form id="mainForm" styleClass="myForm">

            <p:growl id="growl" autoUpdate="true"/>

            <p:sticky target="menu"/>






            <p:menubar id="menu">

                <p:menuitem value="#{labels.menuItemHome}" 
                            icon="fa fa-home"
                            url="?p=home"/>

                <p:submenu label="#{labels.menuItemProjects}" icon="fa fa-users">

                    <p:menuitem value="#{labels.menuItemResubscribe}" 
                                icon="ui-icon-refresh"
                                url="?p=resubscribe"/>

                    <p:menuitem value="#{labels.menuItemAdmin}" 
                                icon="fa fa-legal"
                                url="?p=admin"/>

                </p:submenu>


                <p:menuitem value="#{adminController.currentUser.firstName} 
                            #{labels.menuItemLogout}"
                            action="#{adminController.logout()}" 
                            icon="fa fa-sign-out" 
                            rendered="#{adminController.currentUserIsAdmin}" 
                            ajax="false" 
                            styleClass="myAdminButton"/>

            </p:menubar>







            <p:spacer/>







            <p:outputPanel id="currentComposition">
                <ui:include src="#{indexController.currentComposition}"/>
            </p:outputPanel>







            <p:idleMonitor timeout="#{session.maxInactiveInterval*900}" 
                           onidle="PF('idleDialog').show();"/>






            <!--
                Session Timeout Dialog
            -->
            <p:dialog widgetVar="idleDialog" 
                      header="#{labels.MSGTimeoutHeader}"  
                      modal="true" 
                      closable="false" 
                      resizable="false">
                <h:outputText value="#{labels.MSGTimeoutBody}" escape="false"/>
                <br/>
                <br/>
                <p:button value="Refresh" onclick="window.location.reload();"/>
            </p:dialog>     








        </h:form>








        <p:outputPanel rendered="#{!indexController.developmentStage}">
            <!--Google Analytics-->
            <ui:include src="#{indexController.compositionsDir}/ga.xhtml"/>
        </p:outputPanel>







    </h:body>

</html>


{'fraction_non_alphanumeric': 0.14857386121753938, 'fraction_numerical': 0.00454093940683979, 'mean_word_length': 1.4054607508532424, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 10}, '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': '2460181', 'n_tokens_mistral': 2176, 'n_tokens_neox': 1869, 'n_words': 239}