<commit_before><?xml version="1.0"?>
<!--
  ~ Copyright (c) 2010. M.I.T. All Rights Reserved
  ~ Licensed under the MIT license. Please see http://www.opensource.org/licenses/mit-license.php
  ~ or the license.txt file included in this distribution for the full text of the license.
  -->

<f:view
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:ice="http://www.icesoft.com/icefaces/component"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:collab="http://climatecollaboratorium.org/facelets"
        xmlns:sharedcollab="http://climatecollaboratorium.org/components">

<ice:panelGroup styleClass="hidden" >
  #{contests}
  <script type="text/javascript">
    initializeColumnsInfo();
  </script>
</ice:panelGroup>
<div id="content">
    <div class="headline formmargin">
    <h1>Contests</h1>
    <ice:form>
    <div class="view ${contests.viewType.lowerCase}view"> <!-- To switch the button over to list view just change "gridview" to "listview" -->
        <div class="grid">
            <div>
                <f:subview rendered="#{contests.viewType != 'GRID'}">
                    <ice:commandLink actionListener="#{contests.setViewType}" value="Grid View">
                        <f:attribute name="viewType" value="GRID" />
                    </ice:commandLink>
                </f:subview>
                <f:subview rendered="#{contests.viewType == 'GRID'}">
                    Grid View
                </f:subview>
            
            </div></div>
        <div class="list">
            <div>
                <f:subview rendered="#{contests.viewType != 'LIST'}">
                    <ice:commandLink actionListener="#{contests.setViewType}" value="List View">
                        <f:attribute name="viewType" value="LIST" />
                    </ice:commandLink>
                </f:subview>
                <f:subview rendered="#{contests.viewType == 'LIST'}">
                    <ice:outputText value="List View" />
                </f:subview>
            </div>
        </div>
    </div>
  
  <div class="show"><commit_msg>Revert "Revert "Outline View""<commit_after><?xml version="1.0"?>
<!--
  ~ Copyright (c) 2010. M.I.T. All Rights Reserved
  ~ Licensed under the MIT license. Please see http://www.opensource.org/licenses/mit-license.php
  ~ or the license.txt file included in this distribution for the full text of the license.
  -->

<f:view
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:ice="http://www.icesoft.com/icefaces/component"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:collab="http://climatecollaboratorium.org/facelets"
        xmlns:sharedcollab="http://climatecollaboratorium.org/components">

<ice:panelGroup styleClass="hidden" >
  #{contests}
  <script type="text/javascript">
    initializeColumnsInfo();
  </script>
</ice:panelGroup>
<div id="content">
    <div class="headline formmargin">
    <h1>Contests</h1>
    <ice:form>
    <div class="view ${contests.viewType.lowerCase}view"> <!-- To switch the button over to list view just change "gridview" to "listview" -->
        <div class="grid">
            <div>
                <f:subview rendered="#{contests.viewType != 'GRID'}">
                    <ice:commandLink actionListener="#{contests.setViewType}" value="Grid View">
                        <f:attribute name="viewType" value="GRID" />
                    </ice:commandLink>
                </f:subview>
                <f:subview rendered="#{contests.viewType == 'GRID'}">
                    Grid View
                </f:subview>
            
            </div></div>
        <div class="list">
            <div>
                <f:subview rendered="#{contests.viewType != 'LIST'}">
                    <ice:commandLink actionListener="#{contests.setViewType}" value="List View">
                        <f:attribute name="viewType" value="LIST" />
                    </ice:commandLink>
                </f:subview>
                <f:subview rendered="#{contests.viewType == 'LIST'}">
                    <ice:outputText value="List View" />
                </f:subview>
            </div>
        </div>
    </div>
  
  <div class="show">
  <a href="/web/guest/resources/-/wiki/Main/What%2C+Where%2C+Who+taxonomy--Quick+view" >Outline View</a></div>
  <div class="divider"/> 
  <div class="show">
{'fraction_non_alphanumeric': 0.16016241822693436, 'fraction_numerical': 0.00631626438078051, 'mean_word_length': 2.1446808510638298, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 2, '>': 86, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 14}, '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': '3231355', 'n_tokens_mistral': 1378, 'n_tokens_neox': 1324, 'n_words': 248}