<commit_before><%@ include file="../include.jsp" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<%--
  Copyright 2012 SURFnet bv, The Netherlands

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  --%>
<spring:message var="title" code="jsp.cspstatus.title"/>

<jsp:include page="../head.jsp">
  <jsp:param name="title" value="${title}"/>
</jsp:include>

<div class="column-center content-holder no-right-left">
       <section class="data-table-holder">
         <h1><spring:message code="jsp.cspstatus.title"/></h1>
          <p><spring:message code="jsp.cspstatus.info"/></p>

          <div class="data-table-wrapper">

            <div>
              <form:form id="selectIdpForm" method="get" action="selectIdp.shtml" class="selectIdpForm">

                <select id="filteredIdpId" name="filteredIdpId" class="select2-narrow">
                  <c:forEach items="${allIdps}" var="idp">
                    <option value="${idp.id}" ${idp.id eq filteredIdp ? 'selected="selected"' : ''}>
                      <tags:providername provider="${idp}" />
                    </option>
                  </c:forEach>
                </select>
              </form:form>
            </div>

            <c:set var="tableIdentifier" value="csp-statusses"></c:set>

            <c:set var="searchPlaceholder"><spring:message code="jsp.search.placeholder.sp" /></c:set>
                <table class="table table-bordered table-striped table-above-pagination table-with-statuses table-sortable" id="${tableIdentifier}" data-search-placeholder="${searchPlaceholder}">
                  <thead>
                    <tr>
                      <th class="html sorting_asc"><spring:message code="jsp.cspstatus.csp.name"/></th>
                      <th><spring:message code="jsp.cspstatus.csp.lmnglink"/></th>
                      <th><spring:message code="jsp.cspstatus.csp.haslicense"/></th>
                      <th><spring:message code="jsp.cspstatus.csp.licenseStatus"/></th>
                      <th><spring:message code="jsp.cspstatus.csp.grouplicense"/></th>
                      <th><spring:message code="jsp.cspstatus.csp.license.expire"/></th>
                      <th><spring:message code="jsp.cspstatus.csp.islinked"/></th>
                    </tr>
                  </thead>
                  <tbody>
                    <c:forEach items="${compoundSps}" var="compoundSp">

                      <c:set var="serviceDescription">${compoundSp.titleEn}</c:set>

                      <tr>
                        <td title="${serviceDescription} - ${compoundSp.sp.id}">
                          ${serviceDescription}
                        </td>
                        <td>
                          <c:choose>
                            <c:when test="${compoundSp.articleAvailable}">
                              <i class="icon-ok"></i>
                            </c:when>
                            <c:otherwise>
                              <i class="icon-remove icon-greyed-out"></i>
                            </c:otherwise>
                          </c:choose>
                        </td>
                        <td>
                          <c:choose>
                            <c:when test="${compoundSp.licenseAvailable}">
                              <i class="icon-ok"></i>
                            </c:when>
                            <c:otherwise>
                              <i class="icon-remove icon-greyed-out"></i>
                            </c:otherwise>
                          </c:choose>
                        </td>
                        <td>
                          <spring:message code="jsp.lmng_binding_overview.license_status.${compoundSp.licenseStatus}"/>
                        </td>
                        <td>
                          <c:if test="${not empty compoundSp.license}">
                            <c:choose>
                              <c:when test="${compoundSp.license.groupLicense}">
                                <i class="icon-ok"></i>
                              </c:when>
                              <c:otherwise>
                                <i class="icon-remove icon-greyed-out"></i>
                              </c:otherwise>
                            </c:choose>
                          </c:if>
                        </td>
                        <td>
                          <c:if test="${not empty compoundSp.license}">
                            <fmt:formatDate pattern="dd-MM-yyyy" value="${compoundSp.license.endDate}"/>
                          </c:if>
                        </td>
                        <td>
                          <c:choose>
                            <c:when test="${compoundSp.sp.linked}">
                              <i class="icon-ok"></i>
                            </c:when>
                            <c:otherwise>
                              <i class="icon-remove icon-greyed-out"></i>
                            </c:otherwise>
                          </c:choose>
                        </td>
                      </tr>
                    </c:forEach>
                  </tbody>
                </table>

          </div>
        </section>
      </div>

<jsp:include page="../foot.jsp"/><commit_msg>jsp layout<commit_after><%@ include file="../include.jsp" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<%--
  Copyright 2012 SURFnet bv, The Netherlands

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  --%>
<spring:message var="title" code="jsp.cspstatus.title"/>

<jsp:include page="../head.jsp">
  <jsp:param name="title" value="${title}"/>
</jsp:include>

<div class="column-center content-holder no-right-left">
  <section class="data-table-holder">
    <h1><spring:message code="jsp.cspstatus.title"/></h1>
    <p><spring:message code="jsp.cspstatus.info"/></p>

    <div class="data-table-wrapper">

      <div>
        <form:form id="selectIdpForm" method="get" action="selectIdp.shtml" class="selectIdpForm">

          <select id="filteredIdpId" name="filteredIdpId" class="select2-narrow">
            <c:forEach items="${allIdps}" var="idp">
              <option value="${idp.id}" ${idp.id eq filteredIdp ? 'selected="selected"' : ''}>
                <tags:providername provider="${idp}" />
              </option>
            </c:forEach>
          </select>
        </form:form>
      </div>

      <c:set var="tableIdentifier" value="csp-statusses"></c:set>
      <c:set var="searchPlaceholder"><spring:message code="jsp.search.placeholder.sp" /></c:set>

      <table class="table table-bordered table-striped table-above-pagination table-with-statuses table-sortable" id="${tableIdentifier}" data-search-placeholder="${searchPlaceholder}">
        <thead>
          <tr>
            <th class="html sorting_asc"><spring:message code="jsp.cspstatus.csp.name"/></th>
            <th><spring:message code="jsp.cspstatus.csp.lmnglink"/></th>
            <th><spring:message code="jsp.cspstatus.csp.haslicense"/></th>
            <th><spring:message code="jsp.cspstatus.csp.licenseStatus"/></th>
            <th><spring:message code="jsp.cspstatus.csp.grouplicense"/></th>
            <th><spring:message code="jsp.cspstatus.csp.license.expire"/></th>
            <th><spring:message code="jsp.cspstatus.csp.islinked"/></th>
          </tr>
        </thead>
        <tbody>
          <c:forEach items="${compoundSps}" var="compoundSp">

            <c:set var="serviceDescription">${compoundSp.titleEn}</c:set>

            <tr>
              <td title="${serviceDescription} - ${compoundSp.sp.id}">
                ${serviceDescription}
              </td>
              <td>
                <c:choose>
                  <c:when test="${compoundSp.articleAvailable}">
                    <i class="icon-ok"></i>
                  </c:when>
                  <c:otherwise>
                    <i class="icon-remove icon-greyed-out"></i>
                  </c:otherwise>
                </c:choose>
              </td>
              <td>
                <c:choose>
                  <c:when test="${compoundSp.licenseAvailable}">
                    <i class="icon-ok"></i>
                  </c:when>
                  <c:otherwise>
                    <i class="icon-remove icon-greyed-out"></i>
                  </c:otherwise>
                </c:choose>
              </td>
              <td>
                <spring:message code="jsp.lmng_binding_overview.license_status.${compoundSp.licenseStatus}"/>
              </td>
              <td>
                <c:if test="${not empty compoundSp.license}">
                  <c:choose>
                    <c:when test="${compoundSp.license.groupLicense}">
                      <i class="icon-ok"></i>
                    </c:when>
                    <c:otherwise>
                      <i class="icon-remove icon-greyed-out"></i>
                    </c:otherwise>
                  </c:choose>
                </c:if>
              </td>
              <td>
                <c:if test="${not empty compoundSp.license}">
                  <fmt:formatDate pattern="dd-MM-yyyy" value="${compoundSp.license.endDate}"/>
                </c:if>
              </td>
              <td>
                <c:choose>
                  <c:when test="${compoundSp.sp.linked}">
                    <i class="icon-ok"></i>
                  </c:when>
                  <c:otherwise>
                    <i class="icon-remove icon-greyed-out"></i>
                  </c:otherwise>
                </c:choose>
              </td>
            </tr>
          </c:forEach>
        </tbody>
      </table>

    </div>
  </section>
</div>

<jsp:include page="../foot.jsp"/>
{'fraction_non_alphanumeric': 0.1473034863071315, 'fraction_numerical': 0.002056266940835592, 'mean_word_length': 1.4406934306569343, 'pattern_counts': {'":': 0, '<': 265, '<?xml version=': 0, '>': 265, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, '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': '7393691', 'n_tokens_mistral': 3029, 'n_tokens_neox': 2849, 'n_words': 538}