<commit_before><!DOCTYPE html>
<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"
      xmlns:jsf="http://xmlns.jcp.org/jsf">

    <h:head>

    </h:head>

    <h:body>
        <f:metadata>
            <!--<f:viewAction action="#{OAuth2FirstLoginPage.setupMockData()}"/>-->
        </f:metadata>
        <ui:composition template="/dataverse_template.xhtml">
            <ui:param name="pageTitle" value="#{bundle['oauth2.convertAccount.title']}"/>
            <ui:param name="showDataverseHeader" value="false"/>
            <ui:param name="showMessagePanel" value="#{true}"/>
            <ui:define name="body">
                <div class="row">
                    <div class="col-md-12">
                        <h1>
                            <h:outputFormat value="#{bundle['oauth2.newAccount.pageTitle']}">
                                <f:param value="#{OAuth2FirstLoginPage.userReference}" />
                            </h:outputFormat>
                        </h1>
                    </div>
                </div>

                <p:tabView id="tabView" activeIndex="#{OAuth2FirstLoginPage.selectedTabIndex}">
                    <p:tab id="convertAccountTab" title="#{bundle['oauth2.newAccount.tabs.convertAccount']}">
                        <h:form id="convertAccountForm" styleClass="form-horizontal">
                            <p class="help-block">
                                <span class="glyphicon glyphicon-info-sign"/>
                                <span>#{OAuth2FirstLoginPage.convertTip}</span>
                            </p>
                            <div class="form-group">
                                <label for="position" class="col-sm-3 control-label">
                                    #{bundle['oauth2.convertAccount.username']} <span class="glyphicon glyphicon-asterisk text-danger" title="#{bundle.requiredField}"/>
                                </label>
                                <div class="col-sm-9">
                                    <h:inputText value="#{OAuth2FirstLoginPage.username}" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="position" class="col-sm-3 control-label">
                                    #{bundle['oauth2.convertAccount.password']} <span class="glyphicon glyphicon-asterisk text-danger" title="#{bundle.requiredField}"/>
                                </label>
                                <div class="col-sm-9">
                                    <h:inputSecret value="#{OAuth2FirstLoginPage.password}" />
                                </div>
                            </div>
                            <div jsf:rendered="#{OAuth2FirstLoginPage.authenticationFailed}" class="row"><commit_msg>allow conversion based on email address and password per the mockups #3338<commit_after><!DOCTYPE html>
<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"
      xmlns:jsf="http://xmlns.jcp.org/jsf">

    <h:head>

    </h:head>

    <h:body>
        <f:metadata>
            <!--<f:viewAction action="#{OAuth2FirstLoginPage.setupMockData()}"/>-->
        </f:metadata>
        <ui:composition template="/dataverse_template.xhtml">
            <ui:param name="pageTitle" value="#{bundle['oauth2.convertAccount.title']}"/>
            <ui:param name="showDataverseHeader" value="false"/>
            <ui:param name="showMessagePanel" value="#{true}"/>
            <ui:define name="body">
                <div class="row">
                    <div class="col-md-12">
                        <h1>
                            <h:outputFormat value="#{bundle['oauth2.newAccount.pageTitle']}">
                                <f:param value="#{OAuth2FirstLoginPage.userReference}" />
                            </h:outputFormat>
                        </h1>
                    </div>
                </div>

                <p:tabView id="tabView" activeIndex="#{OAuth2FirstLoginPage.selectedTabIndex}">
                    <p:tab id="convertAccountTab" title="#{bundle['oauth2.newAccount.tabs.convertAccount']}">
                        <h:form id="convertAccountForm" styleClass="form-horizontal">
                            <p class="help-block">
                                <span class="glyphicon glyphicon-info-sign"/>
                                <span>#{OAuth2FirstLoginPage.convertTip}</span>
                            </p>
                            <div class="form-group">
                                <label for="position" class="col-sm-3 control-label">
                                    #{bundle['login.builtin.credential.usernameOrEmail']} <span class="glyphicon glyphicon-asterisk text-danger" title="#{bundle.requiredField}"/>
                                </label>
                                <div class="col-sm-9">
                                    <h:inputText value="#{OAuth2FirstLoginPage.username}" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="position" class="col-sm-3 control-label">
                                    #{bundle['oauth2.convertAccount.password']} <span class="glyphicon glyphicon-asterisk text-danger" title="#{bundle.requiredField}"/>
                                </label>
                                <div class="col-sm-9">
                                    <h:inputSecret value="#{OAuth2FirstLoginPage.password}" />
                                </div>
                            </div>
                            <div jsf:rendered="#{OAuth2FirstLoginPage.authenticationFailed}" class="row">
{'fraction_non_alphanumeric': 0.14302191464821223, 'fraction_numerical': 0.008732904926676553, 'mean_word_length': 1.388823297914207, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6523376', 'n_tokens_mistral': 1656, 'n_tokens_neox': 1570, 'n_words': 208}