<commit_before><!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        {% block stylesheets %}
            <link rel="stylesheet" href="{{ asset('bundles/ccetcbootstrap/bootstrap/bootstrap.min.css') }}" type="text/css" media="all" >
            <link rel="stylesheet" href="{{ asset('styles/portals.css') }}" type="text/css" media="all" >
        {% endblock %}
            
        {% block javascripts %}
            <script src="{{ asset('bundles/sonatajquery/jquery-1.7.1.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/sonatajquery/jquery-ui-1.8.17.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/sonatajquery/jquery-ui-i18n.js') }}" type="text/javascript"></script>

            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-tabs.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-alerts.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-modal.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-buttons.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-twipsy.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-popover.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-scrollspy.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-dropdown.js') }}" type="text/javascript"></script>

            <script src="{{ asset('bundles/sonataadmin/jquery/jquery.form.js') }}" type="text/javascript"></script>
        {% endblock %}

        <title>
            {% block title %}
                Green Jobs Green New York - {{ portal.title }}
            {% endblock%}
        </title>
    </head>

    <body>
        <div class="container">
            <div class="content">

                <div class="row">
                    <div class="span7">
                        <div class="gjgny-logo-container">
                            <a href="{{ path('portal', {'url' : portal.url }) }}"><img src="{{ asset('images/Portals/gjgny.png') }}" /></a>
                            <span id="portal-title">{{ portal.title }}</span>
                        </div>
                    </div>
                    <div class="span7">
                        {% if portal.mainLogoUrl %}<a href="{{ portal.mainLogoUrl }}" target="_blank">{% endif %}
                            <img id="main-logo" src="{{ asset('images/Portals/' ~ portal.mainLogoFilename ) }}" />
                        {% if portal.mainLogoUrl %}</a>{% endif %}
                    </div>
                </div>

                <div class="row" id="heading-container">
                    <div class="span14">
                        <h3>Let us help you stop wasting energy dollars & be more comfortable in your home.</h3>
                        <h2>Sign up today!</h2>
                    </div>
                </div>

                {% if app.session.hasFlash('page-message') %}
                    <div class="alert-message success">
                        {{ app.session.flash('page-message') }}
                    </div>
                {% endif %}
                
                {% if not signup %}
                    <div class="row">
                        <div class="span8" id="portal-steps">
                            <ol>
                                <h3>7 Easy Steps to Upgrade Your Home</h3>
                                <li><a href="http://www.upgradeupstate.org/assessments">Apply for a reduced or no-cost energy assessment</a></li>
                                <li><a href="#contractors">Select a Participating Contractor</a></li>
                                <li>Get assessment</li>
                                <li>Choose Your Improvements</li>
                                <li><a href="http://www.upgradeupstate.org/finance">Apply for low-interest financing and rebates to pay for upgrades</a></li>
                                <li>Get the work done</li>
                                <li>Enjoy all the benefits of a more comfortable energy efficient home!</li>
                            </ol>                                
                        </div>

                        <div class="span6">
                            <a target="blank" href="http://www.upgradeupstate.org/learn/howTo/interactive-house">
                                <img style="width: 335px;" src="{{ asset('images/Portals/interactive-house-lg.jpg') }}" />
                            </a>
                            <div style="text-align: left; font-size: 13px; float: left;">
                                <a target="blank" class="btn" href="http://www.upgradeupstate.org/learn/howTo/interactive-house">Tour a house</a>
                            </div>                                
                            <div style="text-align: right; font-size: 11px; float: right;">
                                Source: U.S. EPA
                            </div>
                            <div style="clear: both;">&nbsp;</div>
                            <div>
                                <i>We've partnered with <a href="http://ccetompkins.org">Cornell Cooperative Extension of Tompkins County</a> who created this site</i>
                            </div>
                            <div id="btn-container">
                                <a href="{{ path('signup', {'url': portal.url}) }}" class="btn large">Sign Up</a> 
                                <a href="http://www.upgradeupstate.org/upgradeSteps" class="btn primary large">Learn More &rarr;</a> 
                            </div>
                        </div>                    
                    </div>
                
                    <div class="about-container alert-message block-message info">
                        <p>Green Jobs Green New York Southern Tier is a community-based energy efficiency program funded through the New York State Energy Research and Development Authority (NYSERDA) and by a Department of Energy (DOE) grant obtained by the City of Binghamton.</p><br/>
                        <p>We help New York homeowners at every stage of the energy efficiency upgrade process. Our effort is part of a statewide effort to make your home more comfortable, reduce your energy usage and your bills, and create local jobs. We provide southern tier residents access to free or reduced-cost energy assessments, installation services, low-cost financing and, workforce opportunities. </p>
                    </div>

                    <div class="row">
                        <div class="span7">
                            <h2>Contact Us</h2>
                            {{ portal.contactUs|raw }}
                        </div>
                        <div class="span7">
                            <h2>Events</h2>
                            {{ portal.events|raw }}
                        </div>
                    </div>
                    <div class="row" style="margin-top:25px;" id="contractors">
                        <div class="span14">
                            <h2>Home Performance Contractors</h2>
                            <p style="float: left;">These contractors have supplied additional information not found on the New York State Energy Research & Development Authority’s (NYSERDA) website. View the full list <a href="http://www.nyserda.ny.gov/en/Contractors/Find-a-Contractor/Residential-Contractor.aspx" target="_blank">here</a>.</p>
                            <a href="http://www.upgradeupstate.org/contractors" class="btn pull-right" style="margin-bottom: 10px;">Learn More</a>
                            <table class="" style="">
                                <thead style="background: #666; color: white;">
                                    <tr>
                                        <th>Name</th>
                                        <th>Address</th>
                                        <th>Contact</th>
                                        <th>Specialties</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    {% for contractor in contractors %}
                                        <tr>
                                            <td>
                                                {% if contractor.filename != "" %}<img style="width: 150px;" src="{{ asset('images/Portals/' ~ contractor.filename ) }}" />{% endif %}
                                                {{ contractor.name }}
                                            </td>
                                            <td>{{ contractor.address }}</td>
                                            <td>
                                                {% if contractor.email != "" %}<a href="mailto:{{ contractor.email }}">{{ contractor.email }}</a><br/>{% endif %}
                                                {% if contractor.website != "" %}<a href="{{ contractor.website }}">{{ contractor.website }}</a><br/>{% endif %}
                                                {% if contractor.phone != "" %}{{ contractor.phone }}<br/>{% endif %}
                                            </td>
                                            <td>{{ contractor.specialties }}</td>
                                        </tr>
                                    {% endfor %}
                                </tbody>
                            </table>
                        </div>
                    </div>
                {% else %}
                    <div class="row">
                        <div class="span8" id="portal-signup">
                            <form id="portal-signup-form" novalidate="novalidate" class="form-stacked" action="{{ path('signup', {'url' : portal.url}) }}" method="post" {{ form_enctype(form) }}>
                                {{ form_widget(form) }}

                                <div class="actions">
                                    <input id="portal-signup-submit" class="btn large primary" value="Sign Up" type="submit" />
                                    <a href="{{ path('portal', {'url': portal.url}) }}" class="btn large">cancel</a> 
                                </div>
                            </form>
                        </div>
                    </div>
                    <script>
                        jQuery('form#portal-signup-form').submit(function(e) {
                            var btn = jQuery('input#portal-signup-submit');
                            btn.button('loading');
                        });
                    </script>
                {% endif %}



            </div>
          
            {% if partnerLogos|length > 0 %}
                <footer>
                    <div class="row">
                        <div class="span14" id="partner-logo-container">
                            <h4>Project Partners</h4>
                            {% for logo in partnerLogos %}
                                {% if logo.url %}<a href="{{ logo.url }}" target="_blank">{% endif %}
                                    <img src="{{ asset('images/Portals/' ~ logo.filename ) }}" />
                                {% if logo.url %}</a>{% endif %}                        
                            {% endfor %}
                        </div>
                    </div>
                </footer>
           {% endif %}

             
        </div>
    </body>
</html>

<commit_msg>made signup today heading on portal ortal a link to the ftal a link to the form<commit_after><!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        {% block stylesheets %}
            <link rel="stylesheet" href="{{ asset('bundles/ccetcbootstrap/bootstrap/bootstrap.min.css') }}" type="text/css" media="all" >
            <link rel="stylesheet" href="{{ asset('styles/portals.css') }}" type="text/css" media="all" >
        {% endblock %}
            
        {% block javascripts %}
            <script src="{{ asset('bundles/sonatajquery/jquery-1.7.1.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/sonatajquery/jquery-ui-1.8.17.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/sonatajquery/jquery-ui-i18n.js') }}" type="text/javascript"></script>

            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-tabs.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-alerts.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-modal.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-buttons.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-twipsy.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-popover.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-scrollspy.js') }}" type="text/javascript"></script>
            <script src="{{ asset('bundles/ccetcbootstrap/bootstrap/js/bootstrap-dropdown.js') }}" type="text/javascript"></script>

            <script src="{{ asset('bundles/sonataadmin/jquery/jquery.form.js') }}" type="text/javascript"></script>
        {% endblock %}

        <title>
            {% block title %}
                Green Jobs Green New York - {{ portal.title }}
            {% endblock%}
        </title>
    </head>

    <body>
        <div class="container">
            <div class="content">

                <div class="row">
                    <div class="span7">
                        <div class="gjgny-logo-container">
                            <a href="{{ path('portal', {'url' : portal.url }) }}"><img src="{{ asset('images/Portals/gjgny.png') }}" /></a>
                            <span id="portal-title">{{ portal.title }}</span>
                        </div>
                    </div>
                    <div class="span7">
                        {% if portal.mainLogoUrl %}<a href="{{ portal.mainLogoUrl }}" target="_blank">{% endif %}
                            <img id="main-logo" src="{{ asset('images/Portals/' ~ portal.mainLogoFilename ) }}" />
                        {% if portal.mainLogoUrl %}</a>{% endif %}
                    </div>
                </div>

                <div class="row" id="heading-container">
                    <div class="span14">
                        <h3>Let us help you stop wasting energy dollars & be more comfortable in your home.</h3>
                        <h2><a href="{{ path('signup', {'url': portal.url}) }}">Sign up today!</a></h2>
                    </div>
                </div>

                {% if app.session.hasFlash('page-message') %}
                    <div class="alert-message success">
                        {{ app.session.flash('page-message') }}
                    </div>
                {% endif %}
                
                {% if not signup %}
                    <div class="row">
                        <div class="span8" id="portal-steps">
                            <ol>
                                <h3>7 Easy Steps to Upgrade Your Home</h3>
                                <li><a href="http://www.upgradeupstate.org/assessments">Apply for a reduced or no-cost energy assessment</a></li>
                                <li><a href="#contractors">Select a Participating Contractor</a></li>
                                <li>Get assessment</li>
                                <li>Choose Your Improvements</li>
                                <li><a href="http://www.upgradeupstate.org/finance">Apply for low-interest financing and rebates to pay for upgrades</a></li>
                                <li>Get the work done</li>
                                <li>Enjoy all the benefits of a more comfortable energy efficient home!</li>
                            </ol>                                
                        </div>

                        <div class="span6">
                            <a target="blank" href="http://www.upgradeupstate.org/learn/howTo/interactive-house">
                                <img style="width: 335px;" src="{{ asset('images/Portals/interactive-house-lg.jpg') }}" />
                            </a>
                            <div style="text-align: left; font-size: 13px; float: left;">
                                <a target="blank" class="btn" href="http://www.upgradeupstate.org/learn/howTo/interactive-house">Tour a house</a>
                            </div>                                
                            <div style="text-align: right; font-size: 11px; float: right;">
                                Source: U.S. EPA
                            </div>
                            <div style="clear: both;">&nbsp;</div>
                            <div>
                                <i>We've partnered with <a href="http://ccetompkins.org">Cornell Cooperative Extension of Tompkins County</a> who created this site</i>
                            </div>
                            <div id="btn-container">
                                <a href="{{ path('signup', {'url': portal.url}) }}" class="btn large">Sign Up</a> 
                                <a href="http://www.upgradeupstate.org/upgradeSteps" class="btn primary large">Learn More &rarr;</a> 
                            </div>
                        </div>                    
                    </div>
                
                    <div class="about-container alert-message block-message info">
                        <p>Green Jobs Green New York Southern Tier is a community-based energy efficiency program funded through the New York State Energy Research and Development Authority (NYSERDA) and by a Department of Energy (DOE) grant obtained by the City of Binghamton.</p><br/>
                        <p>We help New York homeowners at every stage of the energy efficiency upgrade process. Our effort is part of a statewide effort to make your home more comfortable, reduce your energy usage and your bills, and create local jobs. We provide southern tier residents access to free or reduced-cost energy assessments, installation services, low-cost financing and, workforce opportunities. </p>
                    </div>

                    <div class="row">
                        <div class="span7">
                            <h2>Contact Us</h2>
                            {{ portal.contactUs|raw }}
                        </div>
                        <div class="span7">
                            <h2>Events</h2>
                            {{ portal.events|raw }}
                        </div>
                    </div>
                    <div class="row" style="margin-top:25px;" id="contractors">
                        <div class="span14">
                            <h2>Home Performance Contractors</h2>
                            <p style="float: left;">These contractors have supplied additional information not found on the New York State Energy Research & Development Authority’s (NYSERDA) website. View the full list <a href="http://www.nyserda.ny.gov/en/Contractors/Find-a-Contractor/Residential-Contractor.aspx" target="_blank">here</a>.</p>
                            <a href="http://www.upgradeupstate.org/contractors" class="btn pull-right" style="margin-bottom: 10px;">Learn More</a>
                            <table class="" style="">
                                <thead style="background: #666; color: white;">
                                    <tr>
                                        <th>Name</th>
                                        <th>Address</th>
                                        <th>Contact</th>
                                        <th>Specialties</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    {% for contractor in contractors %}
                                        <tr>
                                            <td>
                                                {% if contractor.filename != "" %}<img style="width: 150px;" src="{{ asset('images/Portals/' ~ contractor.filename ) }}" />{% endif %}
                                                {{ contractor.name }}
                                            </td>
                                            <td>{{ contractor.address }}</td>
                                            <td>
                                                {% if contractor.email != "" %}<a href="mailto:{{ contractor.email }}">{{ contractor.email }}</a><br/>{% endif %}
                                                {% if contractor.website != "" %}<a href="{{ contractor.website }}">{{ contractor.website }}</a><br/>{% endif %}
                                                {% if contractor.phone != "" %}{{ contractor.phone }}<br/>{% endif %}
                                            </td>
                                            <td>{{ contractor.specialties }}</td>
                                        </tr>
                                    {% endfor %}
                                </tbody>
                            </table>
                        </div>
                    </div>
                {% else %}
                    <div class="row">
                        <div class="span8" id="portal-signup">
                            <form id="portal-signup-form" novalidate="novalidate" class="form-stacked" action="{{ path('signup', {'url' : portal.url}) }}" method="post" {{ form_enctype(form) }}>
                                {{ form_widget(form) }}

                                <div class="actions">
                                    <input id="portal-signup-submit" class="btn large primary" value="Sign Up" type="submit" />
                                    <a href="{{ path('portal', {'url': portal.url}) }}" class="btn large">cancel</a> 
                                </div>
                            </form>
                        </div>
                    </div>
                    <script>
                        jQuery('form#portal-signup-form').submit(function(e) {
                            var btn = jQuery('input#portal-signup-submit');
                            btn.button('loading');
                        });
                    </script>
                {% endif %}



            </div>
          
            {% if partnerLogos|length > 0 %}
                <footer>
                    <div class="row">
                        <div class="span14" id="partner-logo-container">
                            <h4>Project Partners</h4>
                            {% for logo in partnerLogos %}
                                {% if logo.url %}<a href="{{ logo.url }}" target="_blank">{% endif %}
                                    <img src="{{ asset('images/Portals/' ~ logo.filename ) }}" />
                                {% if logo.url %}</a>{% endif %}                        
                            {% endfor %}
                        </div>
                    </div>
                </footer>
           {% endif %}

             
        </div>
    </body>
</html>


{'fraction_non_alphanumeric': 0.1377203192550715, 'fraction_numerical': 0.004655803126039242, 'mean_word_length': 1.1917820699708455, 'pattern_counts': {'":': 0, '<': 417, '<?xml version=': 0, '>': 419, 'https://': 0, 'lorem ipsum': 0, 'www.': 14, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 92, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3315239', 'n_tokens_mistral': 6028, 'n_tokens_neox': 5505, 'n_words': 1255}