<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>${self.title()}</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    ${self.styles()}
</head>
<body>
    <div id="doc4"${self.yui_class()}>
        <div id="hd">
            <h1 id="logo" class="replace">PylonsHQ<span>.</span></h1>
            ${nav(getattr(c, 'active_tab', None), getattr(c, 'active_sub', None))}
        </div>
        <div id="bd">
            <div id="loginbar">
                <div class="links">
                % if session.get('logged_in'):
                    Logged in as ${session['displayname']}
                    ${h.link_to('Logout', url=url('account_logout'))}
                % else:
                ${h.link_to('Login', url=url('account_login'))} or 
                ${h.link_to('Register', url=url('account_register'))}
                % endif
                </div>
            </div>
            % for message_type in ['success', 'failure']:
            <% 
                messages = getattr(h, '%s_flash' % message_type).pop_messages() 
            %>
            % if messages:
            <ul id="${message_type}-flash-messages">
            % for message in messages:
                <li>${message}</li>
            % endfor
            </ul>
            % endif
            % endfor
            ${next.body()}
            ## Load Javascripts and such at the end
            ${self.more_body()}
        </div>
        <div id="ft">
            <p>Powered by Pylons - <a href="#">Contact Administrators</a></p>
        </div>
    </div>
    ${self.javascript()}
</body>
</html>
<%def name="yui_class()"></%def>
<%def name="more_body()"></%def>
<%def name="title()">PylonsHQ</%def>
<%def name="styles()">
% if c.use_minified_assets:
    ${h.stylesheet_link('/css/phq-06202008.1-min.css')}
% else:
    ${h.stylesheet_link(*h.load_stylesheet_assets())}
%endif
</%def>
<%def name="javascript()">
<script type="text/javascript" src="/javascripts/jquery-1.2.6.min.js" charset="utf-8"></script>
<script type="text/javascript" src="/javascripts/jquery.blockUI.js" charset="utf-8"></script>
<script type="text/javascript" src="/javascripts/behavior.js" charset="utf-8"></script>
</%def>
<%def name="nav(tab, sub)">
<div id="nav">\
<%
    active_tab = {}
    active_tab[tab or 'Home'] = ' class="selected"'
    active_sub = {}
    active_sub[sub or 'Overview'] = ' class="selected"'
%>\
  <ul class="clearfix">
    <li id="nav-1"${active_tab.get('Home', '') | n}>${h.link_to('Home', url=url('home'))}
      <ul>
        <li${active_sub.get('Overview', '') | n}>${h.link_to('Overview', url=url('home'))}</li>
        <li${active_sub.get('Features', '') | n}>${h.link_to('Features', url=url('features'))}</li>
        <li${active_sub.get('History', '') | n}>${h.link_to('History', url=url('history'))}</li>
##        <li${active_sub.get('The Team', '') | n}><a href="#">The Team</a></li><commit_msg>Fix css link<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>${self.title()}</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    ${self.styles()}
</head>
<body>
    <div id="doc4"${self.yui_class()}>
        <div id="hd">
            <h1 id="logo" class="replace">PylonsHQ<span>.</span></h1>
            ${nav(getattr(c, 'active_tab', None), getattr(c, 'active_sub', None))}
        </div>
        <div id="bd">
            <div id="loginbar">
                <div class="links">
                % if session.get('logged_in'):
                    Logged in as ${session['displayname']}
                    ${h.link_to('Logout', url=url('account_logout'))}
                % else:
                ${h.link_to('Login', url=url('account_login'))} or 
                ${h.link_to('Register', url=url('account_register'))}
                % endif
                </div>
            </div>
            % for message_type in ['success', 'failure']:
            <% 
                messages = getattr(h, '%s_flash' % message_type).pop_messages() 
            %>
            % if messages:
            <ul id="${message_type}-flash-messages">
            % for message in messages:
                <li>${message}</li>
            % endfor
            </ul>
            % endif
            % endfor
            ${next.body()}
            ## Load Javascripts and such at the end
            ${self.more_body()}
        </div>
        <div id="ft">
            <p>Powered by Pylons - <a href="#">Contact Administrators</a></p>
        </div>
    </div>
    ${self.javascript()}
</body>
</html>
<%def name="yui_class()"></%def>
<%def name="more_body()"></%def>
<%def name="title()">PylonsHQ</%def>
<%def name="styles()">
% if c.use_minified_assets:
    ${h.stylesheet_link('/css/%s' % config['phq.minified_css'])}
% else:
    ${h.stylesheet_link(*h.load_stylesheet_assets())}
%endif
</%def>
<%def name="javascript()">
<script type="text/javascript" src="/javascripts/jquery-1.2.6.min.js" charset="utf-8"></script>
<script type="text/javascript" src="/javascripts/jquery.blockUI.js" charset="utf-8"></script>
<script type="text/javascript" src="/javascripts/behavior.js" charset="utf-8"></script>
</%def>
<%def name="nav(tab, sub)">
<div id="nav">\
<%
    active_tab = {}
    active_tab[tab or 'Home'] = ' class="selected"'
    active_sub = {}
    active_sub[sub or 'Overview'] = ' class="selected"'
%>\
  <ul class="clearfix">
    <li id="nav-1"${active_tab.get('Home', '') | n}>${h.link_to('Home', url=url('home'))}
      <ul>
        <li${active_sub.get('Overview', '') | n}>${h.link_to('Overview', url=url('home'))}</li>
        <li${active_sub.get('Features', '') | n}>${h.link_to('Features', url=url('features'))}</li>
        <li${active_sub.get('History', '') | n}>${h.link_to('History', url=url('history'))}</li>
##        <li${active_sub.get('The Team', '') | n}><a href="#">The Team</a></li>
{'fraction_non_alphanumeric': 0.22187805673296382, 'fraction_numerical': 0.008640365177698076, 'mean_word_length': 2.554461181923523, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, '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': '4194978', 'n_tokens_mistral': 2159, 'n_tokens_neox': 2043, 'n_words': 336}