<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:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:f="http://xmlns.jcp.org/jsf/core"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:a4j="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich"
                xmlns:richext="http://xmlns.jcp.org/jsf/composite/richext"
 		xmlns:ox="http://xmlns.jcp.org/jsf/composite/ox"
                xmlns:gluufn="http://www.gluu.org/jsf/functions">

    <section class="content-header">
        <h1 style="color: #333;">
            #{msg['sectorIdentifier.openIDConnect']}
            <small>
                <i class="fa fa-caret-right" style="color: #333 !important;"></i>
                #{msg['sectorIdentifier.manageSectorIdentifiers']}
            </small>
            <small>
                <i class="fa fa-caret-right" style="color: #333 !important;"></i>
                #{msg['sectorIdentifier.addSectorIdentifiers']}
            </small>
        </h1>
        <ol class="breadcrumb">
            <li>
                <a href="#{request.contextPath}"><i class="fa fa-home"></i></a>
            </li>
            <li class="organization/configuration">
                <a href="#{request.contextPath}/sectoridentifier/inventory">#{msg['sectorIdentifier.manageSectorIdentifiers']}</a>
            </li>
        </ol>
    </section>
    <section class="content">
        <h:form>
            <div class="row">
                <div class="col-xs-12">
                    <div class="box box-primary">
                        <div class="box-header">
                            <div style="display: inline-block;width: 75% !important;">
                                <h:panelGrid columns="1" width="100%" border="0" cellpadding="0" cellspacing="0">

                                    <ox:decorate id="inu"
                                                rendered="#{not _new}" label="#{msg['sectorIdentifier.id']}">
                                        <h:outputText value="#{_sectorIdentifierAction.sectorIdentifier.id}"/>
                                    </ox:decorate>

                                    <ox:decorate id="url"
                                                rendered="#{not _new}" label="#{msg['sectorIdentifier.url']}">
                                        <h:outputLink value="#{_sectorIdentifierAction.sectorIdentifierUrl}"
                                                      target="_blank">
                                            <i class="icon-external-link"></i>
                                            <h:outputText value="&#160;"/>
                                            <h:outputText value="#{_sectorIdentifierAction.sectorIdentifierUrl}"/>
                                        </h:outputLink>
                                    </ox:decorate>

                                    <ox:decorate id="redirectLoginUrls" label="#{msg['sectorIdentifier.redirectLoginURIs']}">
                                        <h:panelGroup id="selectedLoginURIsId">
                                            <h:panelGroup columns="1" width="100%" border="0" cellpadding="0"
                                                          cellspacing="0">
                                                <a4j:repeat value="#{_sectorIdentifierAction.loginUris}"
                                                            rowKeyVar="_urisIdx" var="_uri">
                                                    <h:outputText value="#{empty _uri ? _uri : _uri}"/>
                                                    <h:outputText value="&#160;"/>

                                                    <div class="row-fluid">
                                                        <div class="span6 pull-right">
                                                            <a4j:commandLink styleClass="glyphicon glyphicon-remove"
                                                                             style="margin-top:-20px;"
                                                                             action="#{_sectorIdentifierAction.removeLoginURI(_uri)}"
                                                                             execute="@this"
                                                                             render="selectedLoginURIsId"
                                                                             eventsQueue="clientQueue">
                                                                <!--  <h:graphicImage value="/img/remove.gif" /> -->
                                                            </a4j:commandLink></div>
                                                    </div>
                                                    <br/>
                                                </a4j:repeat>
                                                <richext:spacer height="16"/>
                                            </h:panelGroup>
                                        </h:panelGroup>
                                    </ox:decorate>

                                    <ox:decorate id="clients" label="#{msg['sectorIdentifier.clients']}">
                                        <h:panelGroup id="selectedClientsId">
                                            <h:panelGrid columns="1" width="100%" border="0" cellpadding="0"
                                                         cellspacing="0">
                                                <a4j:repeat value="#{_sectorIdentifierAction.clientDisplayNameEntries}"
                                                            rowKeyVar="_clientIdx"
                                                            var="_client">
                                                    <div class="row">
                                                        <div class="col-sm-11 prop">
                                                            <h:outputText value="#{_client.inum}"/>
                                                            <h:outputText value="&nbsp;"/>
                                                            <h:outputText value="#{_client.displayName}"/>
                                                            <h:outputText value="&nbsp;"/>
                                                        </div>
                                                        <div class="col-sm-1 prop" style="margin-left:0px !important;">
                                                            <a4j:commandLink styleClass="glyphicon glyphicon-remove"
                                                                             action="#{_sectorIdentifierAction.removeClient(_client.inum)}"
                                                                             render="selectedClientsId" execute="@this">
                                                            </a4j:commandLink>
                                                        </div>
                                                    </div>
                                                    <br/>
                                                </a4j:repeat>
                                            </h:panelGrid>
                                        </h:panelGroup>
                                    </ox:decorate>

                                    <ox:decorate id="command">
                                        <h:panelGroup>
                                            <div class="btn-group" role="group" aria-label="..."
                                                 style="margin-left:105px;">
                                                <a4j:commandButton styleClass="btn btn-primary"
                                                                   value="#{msg['sectorIdentifier.addLoginUri']}"
                                                                   oncomplete="#{rich:component('loginRedirect:inputText')}.show();"
                                                                   execute="@this"
                                                                   eventsQueue="sectorIdentifierQueue"/>
                                                <a4j:commandButton styleClass="btn btn-primary"
                                                                   value="#{msg['sectorIdentifier.addClient']}"
                                                                   action="#{_sectorIdentifierAction.selectAddedClients}"
                                                                   oncomplete="#{rich:component('client:selectClientModalPanel')}.show();"
                                                                   execute="@this"
                                                                   eventsQueue="sectorIdentifierQueue"/>
                                            </div>
                                        </h:panelGroup>
                                    </ox:decorate>
                                </h:panelGrid>
                            </div>
                        </div>
                        <div class="box-footer">
                            <ui:insert name="controlButttons"/>
                        </div>
                    </div>
                </div>
            </div>
        </h:form>
    </section>
</ui:composition><commit_msg>#1027 : alignment for link and cross button. <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:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:f="http://xmlns.jcp.org/jsf/core"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:a4j="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich"
                xmlns:richext="http://xmlns.jcp.org/jsf/composite/richext"
 		xmlns:ox="http://xmlns.jcp.org/jsf/composite/ox"
                xmlns:gluufn="http://www.gluu.org/jsf/functions">
<style type="text/css">
        .odd {
            background-color: #ddd;
        }

        .even {
            background-color: #eee;
        }
    </style>

    <section class="content-header">
        <h1 style="color: #333;">
            #{msg['sectorIdentifier.openIDConnect']}
            <small>
                <i class="fa fa-caret-right" style="color: #333 !important;"></i>
                #{msg['sectorIdentifier.manageSectorIdentifiers']}
            </small>
            <small>
                <i class="fa fa-caret-right" style="color: #333 !important;"></i>
                #{msg['sectorIdentifier.addSectorIdentifiers']}
            </small>
        </h1>
        <ol class="breadcrumb">
            <li>
                <a href="#{request.contextPath}"><i class="fa fa-home"></i></a>
            </li>
            <li class="organization/configuration">
                <a href="#{request.contextPath}/sectoridentifier/inventory">#{msg['sectorIdentifier.manageSectorIdentifiers']}</a>
            </li>
        </ol>
    </section>
    <section class="content">
        <h:form>
            <div class="row">
                <div class="col-xs-12">
                    <div class="box box-primary">
                        <div class="box-header">
                            <div style="display: inline-block;width: 75% !important;">
                                <h:panelGrid columns="1" width="100%" border="0" cellpadding="0" cellspacing="0">

                                    <ox:decorate id="inu"
                                                rendered="#{not _new}" label="#{msg['sectorIdentifier.id']}">
                                        <h:outputText value="#{_sectorIdentifierAction.sectorIdentifier.id}"/>
                                    </ox:decorate>

                                    <ox:decorate id="url"
                                                rendered="#{not _new}" label="#{msg['sectorIdentifier.url']}">
                                        <h:outputLink value="#{_sectorIdentifierAction.sectorIdentifierUrl}"
                                                      target="_blank">
                                            <i class="icon-external-link"></i>
                                            <h:outputText value="&#160;"/>
                                            <h:outputText value="#{_sectorIdentifierAction.sectorIdentifierUrl}"/>
                                        </h:outputLink>
                                    </ox:decorate>

                                    <ox:decorate id="redirectLoginUrls" label="#{msg['sectorIdentifier.redirectLoginURIs']}">
                                        <h:panelGroup id="selectedLoginURIsId">
                                            <h:panelGroup columns="1" width="100%" border="0" cellpadding="0"
                                                          cellspacing="0">
                                                <a4j:repeat value="#{_sectorIdentifierAction.loginUris}"
                                                            rowKeyVar="_urisIdx" var="_uri" iterationStatusVar="loop">
                                                      <div class="row-fluid">
                                                     <div class="#{(loop.index % 2 == 0) ?'odd':'even'}">
                                                    <h:outputText value="#{empty _uri ? _uri : _uri}"/>
                                                    <h:outputText value="&#160;"/>

                                                   
                                                        <div class="span6 pull-right">
                                                            <a4j:commandLink styleClass="glyphicon glyphicon-remove"
                                                                             style="margin-top:-20px;"
                                                                             action="#{_sectorIdentifierAction.removeLoginURI(_uri)}"
                                                                             execute="@this"
                                                                             render="selectedLoginURIsId"
                                                                             eventsQueue="clientQueue">
                                                                <!--  <h:graphicImage value="/img/remove.gif" /> -->
                                                            </a4j:commandLink></div>
                                                    </div></div>
                                                    <br/>
                                                </a4j:repeat>
                                                <richext:spacer height="16"/>
                                            </h:panelGroup>
                                        </h:panelGroup>
                                    </ox:decorate>

                                    <ox:decorate id="clients" label="#{msg['sectorIdentifier.clients']}">
                                        <h:panelGroup id="selectedClientsId">
                                        <div class="col-sm-10 prop">
                                            <h:panelGroup columns="1" width="100%" border="0" cellpadding="0"
                                                         cellspacing="0">
                                                <a4j:repeat value="#{_sectorIdentifierAction.clientDisplayNameEntries}"
                                                            rowKeyVar="_clientIdx"
                                                            var="_client" iterationStatusVar="loop">
                                                    <div class="row-fluid">
                                                    <div class="row #{(loop.index % 2 == 0) ?'odd':'even'}">
                                                        <!-- <div class="col-sm-10 prop"> -->
                                                            <h:outputText value="#{_client.inum}"/>
                                                            <h:outputText value="&nbsp;"/>
                                                            <h:outputText value="#{_client.displayName}"/>
                                                            <h:outputText value="&nbsp;"/>
                                                        <!-- </div> -->
                                                        <div class="span6 pull-right">
                                                            <a4j:commandLink styleClass="glyphicon glyphicon-remove"
                                                                             action="#{_sectorIdentifierAction.removeClient(_client.inum)}"
                                                                             render="selectedClientsId" execute="@this">
                                                            </a4j:commandLink>
                                                        </div>
                                                    </div></div>
                                                    <br/>
                                                </a4j:repeat>
                                            </h:panelGroup>
                                            </div>
                                        </h:panelGroup>
                                    </ox:decorate>

                                    <ox:decorate id="command">
                                        <h:panelGroup>
                                            <div class="btn-group" role="group" aria-label="..."
                                                 style="margin-left:105px;">
                                                <a4j:commandButton styleClass="btn btn-primary"
                                                                   value="#{msg['sectorIdentifier.addLoginUri']}"
                                                                   oncomplete="#{rich:component('loginRedirect:inputText')}.show();"
                                                                   execute="@this"
                                                                   eventsQueue="sectorIdentifierQueue"/>
                                                <a4j:commandButton styleClass="btn btn-primary"
                                                                   value="#{msg['sectorIdentifier.addClient']}"
                                                                   action="#{_sectorIdentifierAction.selectAddedClients}"
                                                                   oncomplete="#{rich:component('client:selectClientModalPanel')}.show();"
                                                                   execute="@this"
                                                                   eventsQueue="sectorIdentifierQueue"/>
                                            </div>
                                        </h:panelGroup>
                                    </ox:decorate>
                                </h:panelGrid>
                            </div>
                        </div>
                        <div class="box-footer">
                            <ui:insert name="controlButttons"/>
                        </div>
                    </div>
                </div>
            </div>
        </h:form>
    </section>
</ui:composition>
{'fraction_non_alphanumeric': 0.10578923334517226, 'fraction_numerical': 0.00827033335024608, 'mean_word_length': 0.7307692307692307, 'pattern_counts': {'":': 0, '<': 225, '<?xml version=': 0, '>': 225, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 28}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 314, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6650696', 'n_tokens_mistral': 3758, 'n_tokens_neox': 3501, 'n_words': 508}