<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="n"><portlet:namespace/></c:set>
<script type="text/javascript" src="<c:url value="/js/conference-program.js"/>"></script>

<script type="text/javascript"><rs:compressJs>
var ${n} = ${n} || {};
${n}.jQuery = up.jQuery;
if (!conference.initialized) conference.init(${n}.jQuery);
${n}.conference = conference;

${n}.jQuery(document).ready(function () { 

    var $ = ${n}.jQuery;
    
    var preferences = {
        programUrl: '<c:url value="/service/program/${hash}.json"/>',
        updateUrl: '<portlet:resourceURL/>',
        mysessions: [],
        selectedImg: '<c:url value="/images/bookmark-selected.png"/>',
        unselectedImg: '<c:url value="/images/bookmark-unselected.png"/>'
    };
    <c:forEach items="${ mysessions }" var="session">
        preferences.mysessions.push('<spring:escapeBody javaScriptEscape="true">${session}</spring:escapeBody>');
    </c:forEach>    
        
    conference.program($("#${n}"), preferences);
    
});
</rs:compressJs></script>

<div id="${n}">

    <ul class="list-template" data-role="listview" style="display:none">
        <li data-role="list-divider" class="header-template">Header</li>
        <li class="link-item-template">
            <a href="javascript:;"><h3>Title</h3><p>Desc</p></a>
        </li>
        <li class="item-template">Item</li>
    </ul>

    <!-- session list by date -->
    <div class="browse-sessions">
        <div data-role="header" class="titlebar portlet-titlebar">
            <h2>
                <a data-role="button" data-icon="arrow-l" data-iconpos="notext" data-inline="true" class="program-date-back-link" href="javascript:;">&lt;</a>
                <span class="date-name"></span>
                <a data-role="button" data-icon="arrow-r" data-iconpos="notext" data-inline="true" class="program-date-forward-link" href="javascript:;">&gt;</a>
            </h2>
            <div class="toolbar">
                <ul>            
                    <li><a href="javascript:;" class="ui-btn-right program-search-button" data-icon="search" data-iconpos="notext">
                        <span>Search</span>
                    </a></li>
                    <li><a href="javascript:;" class="ui-btn-left my-sessions-button" data-icon="star" data-iconpos="notext">
                        <span>Mine</span>
                    </a></li>
                </ul>
            </div>
        </div>
        <div data-role="content" class="portlet-content">
            <ul data-role="listview" class="session-list"></ul>
        </div>
    </div>

    <div class="my-sessions" style="display: none;">
        <div data-role="header" class="titlebar portlet-titlebar">
            <h2>
                <a data-role="button" data-icon="arrow-l" data-iconpos="notext" data-inline="true" class="program-date-back-link" href="javascript:;">&lt;</a>
                <span class="date-name"></span>
                <a data-role="button" data-icon="arrow-r" data-iconpos="notext" data-inline="true" class="program-date-forward-link" href="javascript:;">&gt;</a>
            </h2>
            <div class="toolbar">
                <ul>            
                    <li><a href="javascript:;" class="ui-btn-right program-search-button" data-icon="search" data-iconpos="notext">
                        <span>Search</span>
                    </a></li>
                    <li><a href="javascript:;" class="ui-btn-left browse-sessions-button" data-icon="home" data-iconpos="notext">
                        <span>Home</span>
                    </a></li>
                </ul>
            </div>
        </div>
        <div data-role="content" class="portlet-content">
            <ul data-role="listview" class="session-list"></ul>
        </div>
    </div>

    <!-- session search results -->
    <div class="search-results" style="display:none">
        <div data-role="header" class="titlebar portlet-titlebar">
            <a data-role="button"  data-icon="back" data-inline="true" href="javascript:;" class="matches-back-button">Back</a>
            <h2>Search</h2>
        </div>
        <div data-role="content" class="portlet-content">
            <ul data-role="listview" class="session-list"></ul>
        </div>
    </div>

    <!-- session search form -->
    <div class="session-search-form" style="display:none"><commit_msg>Fixing accidental changes to conference program mobile view<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="n"><portlet:namespace/></c:set>
<script type="text/javascript" src="<c:url value="/js/conference-program.js"/>"></script>

<script type="text/javascript"><rs:compressJs>
var ${n} = ${n} || {};
${n}.jQuery = up.jQuery;
if (!conference.initialized) conference.init(${n}.jQuery);
${n}.conference = conference;

${n}.jQuery(document).ready(function () { 

    var $ = ${n}.jQuery;
    
    var preferences = {
        programUrl: '<c:url value="/service/program/${hash}.json"/>',
        updateUrl: '<portlet:resourceURL/>',
        mysessions: [],
        selectedImg: '<c:url value="/images/bookmark-selected.png"/>',
        unselectedImg: '<c:url value="/images/bookmark-unselected.png"/>'
    };
    <c:forEach items="${ mysessions }" var="session">
        preferences.mysessions.push('<spring:escapeBody javaScriptEscape="true">${session}</spring:escapeBody>');
    </c:forEach>    
        
    conference.program($("#${n}"), preferences);
    
});
</rs:compressJs></script>

<div id="${n}">

    <ul class="list-template" data-role="listview" style="display:none">
        <li data-role="list-divider" class="header-template">Header</li>
        <li class="link-item-template">
            <a href="javascript:;"><h3>Title</h3><p>Desc</p></a>
        </li>
        <li class="item-template">Item</li>
    </ul>

    <!-- session list by date -->
    <div class="browse-sessions">
        <div data-role="header" class="titlebar portlet-titlebar">
            <h2>
                <a data-role="button" data-icon="arrow-l" data-iconpos="notext" data-inline="true" class="program-date-back-link" href="javascript:;">&lt;</a>
                <span class="date-name"></span>
                <a data-role="button" data-icon="arrow-r" data-iconpos="notext" data-inline="true" class="program-date-forward-link" href="javascript:;">&gt;</a>
            </h2>
            <a href="javascript:;" class="ui-btn-right program-search-button" data-icon="search" data-iconpos="notext">
                <span>Search</span>
            </a>
            <a href="javascript:;" class="ui-btn-left my-sessions-button" data-icon="star" data-iconpos="notext">
                <span>Mine</span>
            </a>
        </div>
        <div data-role="content" class="portlet-content">
            <ul data-role="listview" class="session-list"></ul>
        </div>
    </div>

    <div class="my-sessions" style="display: none;">
        <div data-role="header" class="titlebar portlet-titlebar">
            <h2>
                <a data-role="button" data-icon="arrow-l" data-iconpos="notext" data-inline="true" class="program-date-back-link" href="javascript:;">&lt;</a>
                <span class="date-name"></span>
                <a data-role="button" data-icon="arrow-r" data-iconpos="notext" data-inline="true" class="program-date-forward-link" href="javascript:;">&gt;</a>
            </h2>
            <a href="javascript:;" class="ui-btn-right program-search-button" data-icon="search" data-iconpos="notext">
                <span>Search</span>
            </a>
            <a href="javascript:;" class="ui-btn-left browse-sessions-button" data-icon="home" data-iconpos="notext">
                <span>Home</span>
            </a>
            </div>
        </div>
        <div data-role="content" class="portlet-content">
            <ul data-role="listview" class="session-list"></ul>
        </div>
    </div>

    <!-- session search results -->
    <div class="search-results" style="display:none">
        <div data-role="header" class="titlebar portlet-titlebar">
            <a data-role="button"  data-icon="back" data-inline="true" href="javascript:;" class="matches-back-button">Back</a>
            <h2>Search</h2>
        </div>
        <div data-role="content" class="portlet-content">
            <ul data-role="listview" class="session-list"></ul>
        </div>
    </div>

    <!-- session search form -->
    <div class="session-search-form" style="display:none">
{'fraction_non_alphanumeric': 0.17494300723560313, 'fraction_numerical': 0.0023788284269997025, 'mean_word_length': 2.6190817790530847, 'pattern_counts': {'":': 0, '<': 218, '<?xml version=': 0, '>': 218, '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': '7378721', 'n_tokens_mistral': 3026, 'n_tokens_neox': 2970, 'n_words': 633}