<commit_before><%--

    Licensed to Jasig under one or more contributor license
    agreements. See the NOTICE file distributed with this work
    for additional information regarding copyright ownership.
    Jasig licenses this file to you 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.

--%>
<jsp:directive.include file="/WEB-INF/jsp/include.jsp"/>

<c:set var="includeJQuery" value="${renderRequest.preferences.map['includeJQuery'][0]}"/>
<c:if test="${includeJQuery}">
    <script src="<rs:resourceURL value="/rs/jquery/1.8.3/jquery-1.8.3.min.js"/>" type="text/javascript"></script>
    <script src="<rs:resourceURL value="/rs/jqueryui/1.7.2/jquery-ui-1.7.2-v2.min.js"/>" type="text/javascript"></script>
</c:if>

<c:set var="n"><portlet:namespace/></c:set>
<portlet:resourceURL id="accountSummary" var="accountSummaryUrl" />
<portlet:actionURL var="showPreviewUrl">
    <portlet:param name="action" value="showPreview"/>
</portlet:actionURL>
<portlet:actionURL var="showPreviewUrlMaximized" windowState="maximized">
    <portlet:param name="action" value="showPreview"/>
</portlet:actionURL>
<c:set var="focusOnPreview" value="${renderRequest.preferences.map['focusOnPreview'][0]}"/>

<!-- email splash styles -->
<style type="text/css">
    .emailSplash {
        height: 120px;
        margin: 0 auto;
        color: #847d76;
        position: relative;
    }
    .emailSplash .graphic,
    .emailSplash .graphic span,
    .emailSplash .text {
        position: absolute;
    }
    .emailSplash .graphic {
        background: url(<c:url value="/images/icon_email.png"/>) no-repeat top left;
        height: 60px;
        width: 58px;
        left: 48px;
        top: 10px;
    }
    .emailSplash .graphic span {
        background: url(<c:url value="/images/circle.png"/>) no-repeat top left;
        line-height: 28px; /* vertical centering */
        padding-left: 9px;
        height: 28px;
        width: 19px;
        right: 0;
        bottom: 0;
        color: #eae8e6;
        display: block;
    }
    .emailSplash .text {
        top: 0px;
        left: 118px;
        line-height: 20px;
    }
    .emailSplash .text h2 {
        font-size: 16px;
        font-family: Georgia, serif;
        font-weight: normal;
        font-style: italic;
        margin: 0;
    }
    .emailSplash .text p {
        font-size: 10px;
        font-family: Verdana, sans-serif;
    }
    .emailSplash .text a {
        color: #00694e;
        font-weight: bold;
    }
    .emailSplash .text a:hover {
        color: #0b4133;
    }
    .emailSplash .inbox {
        float: right;
    }
</style>

<div id="${n}splash" class="emailSplash">
    <div class="graphic">
        <span class="unreadContainer unreadCountCircle" style="display: none;"></span>
    </div>
    <div class="text">
        <h2 style="color: #847d76;"><c:out value="${emailAddress}"/></h2>
        <p class="unreadContainer" style="display: none;"><spring:message code="rollup.summary.preLink"/> <b><span class="unreadCount"></span> <spring:message code="rollup.summary.linkText"/></b> <spring:message code="rollup.summary.postLinkPreTotal"/> <span class="totalCount"></span> <spring:message code="rollup.summary.postTotal"/><br />
        <span class="stats"><strong><spring:message code="common.quota"/>: </strong><span class="email-quota-usage"></span> / <span class="email-quota-limit"></span><br /></span>
        <c:if test="${not empty inboxUrl}">
            &bull; <a href="${inboxUrl}" target="_blank" title="<spring:message code="rollup.summary.inboxLink.tooltip"/>"><spring:message code="rollup.summary.inboxLink"/></a> <spring:message code="rollup.summary.inboxPostLink"/><br />
        </c:if>
        &bull; <a href="<c:out value="${focusOnPreview == 'true' ?  showPreviewUrlMaximized : showPreviewUrl}"/>" title="<spring:message code="rollup.summary.previewLink.tooltip"/>"><spring:message code="rollup.summary.previewLink"/></a> <spring:message code="rollup.summary.previewPostLink"/></p>
    </div>
    <div class="inbox">
        <c:if test="${not empty inboxUrl}">
            <a href="${inboxUrl}" target="_blank" title="<spring:message code="rollup.inbox.linkText.tooltip"/>"><img alt="<spring:message code="rollup.inbox.linkText"/>" src="<rs:resourceURL value="/rs/famfamfam/silk/1.3/email.png"/>"/> <spring:message code="rollup.inbox.linkText"/></a><br/>
        </c:if>
        <c:if test="${supportsEdit}">
            <a href="<portlet:renderURL portletMode="EDIT"/>" title="<spring:message code="rollup.inbox.preferences.tooltip"/>"><img alt="Preferences" src="<rs:resourceURL value="/rs/famfamfam/silk/1.3/cog_edit.png"/>"/> <spring:message code="rollup.inbox.preferences"/></a><br/>
        </c:if>
        <c:if test="${supportsHelp}">
           <a href="<portlet:renderURL portletMode="HELP"/>" title="<spring:message code="rollup.inbox.help.tooltip"/>"><img alt="Help" src="<rs:resourceURL value="/rs/famfamfam/silk/1.3/help.png"/>"/> <spring:message code="rollup.inbox.help"/></a>
        </c:if>
    </div>
</div>

<div id="${n}error-message" class="error-message portlet-msg-error portlet-msg error" role="alert" style="display:none">
    <p class="error-text"></p><commit_msg>NOJIRA: Fixed overlap issue when portlet width is made smaller.<commit_after><%--

    Licensed to Jasig under one or more contributor license
    agreements. See the NOTICE file distributed with this work
    for additional information regarding copyright ownership.
    Jasig licenses this file to you 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.

--%>
<jsp:directive.include file="/WEB-INF/jsp/include.jsp"/>

<c:set var="includeJQuery" value="${renderRequest.preferences.map['includeJQuery'][0]}"/>
<c:if test="${includeJQuery}">
    <script src="<rs:resourceURL value="/rs/jquery/1.8.3/jquery-1.8.3.min.js"/>" type="text/javascript"></script>
    <script src="<rs:resourceURL value="/rs/jqueryui/1.7.2/jquery-ui-1.7.2-v2.min.js"/>" type="text/javascript"></script>
</c:if>

<c:set var="n"><portlet:namespace/></c:set>
<portlet:resourceURL id="accountSummary" var="accountSummaryUrl" />
<portlet:actionURL var="showPreviewUrl">
    <portlet:param name="action" value="showPreview"/>
</portlet:actionURL>
<portlet:actionURL var="showPreviewUrlMaximized" windowState="maximized">
    <portlet:param name="action" value="showPreview"/>
</portlet:actionURL>
<c:set var="focusOnPreview" value="${renderRequest.preferences.map['focusOnPreview'][0]}"/>

<!-- email splash styles -->
<style type="text/css">
    .emailSplash {
        height: 120px;
        margin: 0 auto;
        color: #847d76;
        position: relative;
    }
    .emailSplash .graphic,
    .emailSplash .text {
        /* position: absolute; */
        float: left;
    }
    .emailSplash .graphic {
        background: url(<c:url value="/images/icon_email.png"/>) no-repeat top left;
        height: 60px;
        width: 58px;
        margin: 0 20px 20px 0;
        position: relative;
    }
    .emailSplash .graphic span {
        background: url(<c:url value="/images/circle.png"/>) no-repeat top left;
        line-height: 28px; /* vertical centering */
        padding-left: 9px;
        height: 28px;
        width: 19px;
        right: 0;
        bottom: 0;
        color: #eae8e6;
        display: block;
        position: absolute;
    }
    .emailSplash .text {
        width: 70%;
        line-height: 20px;
    }
    .emailSplash .text h2 {
        font-size: 16px;
        font-family: Georgia, serif;
        font-weight: normal;
        font-style: italic;
        margin: 0;
    }
    .emailSplash .text p {
        font-size: 10px;
        font-family: Verdana, sans-serif;
    }
    .emailSplash .text a {
        color: #00694e;
        font-weight: bold;
    }
    .emailSplash .text a:hover {
        color: #0b4133;
    }
    .emailSplash .inbox {
        float: left;
        clear: both;
        margin: 0;
    }

    .emailSplash .inbox li {
        list-style: none;
        float: left;
        margin-right: 1em;
    }

    .emailSplash .inbox li a {
        display: block;
        text-decoration: none;
    }
    .emailSplash .inbox li img {
        position: relative;
        top: 3px;
    }
</style>

<div id="${n}splash" class="emailSplash">
    <div class="graphic">
        <span class="unreadContainer unreadCountCircle" style="display: none;"></span>
    </div>
    <div class="text">
        <h2 style="color: #847d76;"><c:out value="${emailAddress}"/></h2>
        <p class="unreadContainer" style="display: none;"><spring:message code="rollup.summary.preLink"/> <b><span class="unreadCount"></span> <spring:message code="rollup.summary.linkText"/></b> <spring:message code="rollup.summary.postLinkPreTotal"/> <span class="totalCount"></span> <spring:message code="rollup.summary.postTotal"/><br />
        <span class="stats"><strong><spring:message code="common.quota"/>: </strong><span class="email-quota-usage"></span> / <span class="email-quota-limit"></span><br /></span>
        <c:if test="${not empty inboxUrl}">
            &bull; <a href="${inboxUrl}" target="_blank" title="<spring:message code="rollup.summary.inboxLink.tooltip"/>"><spring:message code="rollup.summary.inboxLink"/></a> <spring:message code="rollup.summary.inboxPostLink"/><br />
        </c:if>
        &bull; <a href="<c:out value="${focusOnPreview == 'true' ?  showPreviewUrlMaximized : showPreviewUrl}"/>" title="<spring:message code="rollup.summary.previewLink.tooltip"/>"><spring:message code="rollup.summary.previewLink"/></a> <spring:message code="rollup.summary.previewPostLink"/></p>
    </div>
    <ul class="inbox">
        <c:if test="${not empty inboxUrl}">
            <li>
                <a href="${inboxUrl}" target="_blank" title="<spring:message code="rollup.inbox.linkText.tooltip"/>"><img alt="<spring:message code="rollup.inbox.linkText"/>" src="<rs:resourceURL value="/rs/famfamfam/silk/1.3/email.png"/>"/> <spring:message code="rollup.inbox.linkText"/></a>
            </li>
        </c:if>
        <c:if test="${supportsEdit}">
            <li>
                <a href="<portlet:renderURL portletMode="EDIT"/>" title="<spring:message code="rollup.inbox.preferences.tooltip"/>"><img alt="Preferences" src="<rs:resourceURL value="/rs/famfamfam/silk/1.3/cog_edit.png"/>"/> <spring:message code="rollup.inbox.preferences"/></a>
            </li>
        </c:if>
        <c:if test="${supportsHelp}">
            <li>
                <a href="<portlet:renderURL portletMode="HELP"/>" title="<spring:message code="rollup.inbox.help.tooltip"/>"><img alt="Help" src="<rs:resourceURL value="/rs/famfamfam/silk/1.3/help.png"/>"/> <spring:message code="rollup.inbox.help"/></a>
            </li>
        </c:if>
    </ul>
</div>

<div id="${n}error-message" class="error-message portlet-msg-error portlet-msg error" role="alert" style="display:none">
    <p class="error-text"></p>
{'fraction_non_alphanumeric': 0.17004798383702333, 'fraction_numerical': 0.014058422426130146, 'mean_word_length': 3.235294117647059, 'pattern_counts': {'":': 0, '<': 225, '<?xml version=': 0, '>': 225, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, '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': '2634597', 'n_tokens_mistral': 3946, 'n_tokens_neox': 3797, 'n_words': 809}