<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" xml:lang="en" lang="en">
<!--
# Community Almanac - A place for your stories.
# Copyright (C) 2009  <NAME>, <NAME>,
# <NAME>, <NAME>

# This file is part of Community Almanac.

# Community Almanac is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.

# Community Almanac is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with Community Almanac.  If not, see <http://www.gnu.org/licenses/>.
-->
  <head>
    <title>${self.title()} - Community Almanac</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Language" content="en-us" />
    <link type="text/css" rel="stylesheet" href="${h.url_for('/css/reset.css')}" />
    <link type="text/css" rel="stylesheet" href="${h.url_for('/css/style.css')}" />
    <link type="text/css" rel="stylesheet" href="${h.url_for('/css/openlayers.css')}" />
    <link type="text/css" rel="stylesheet" href="${h.url_for('/css/turn.css')}" />
    ${self.extra_head()}
  </head>
  <body 
  %if c.is_homepage:
  class="home"
  %elif self.attr.error_class:
  class="${self.attr.error_class}"
  %endif
  >
    <div id="ill-sky">
      <div id="ill-clouds">
        <div id="ill-mountains">
          <div id="ill-hills">
            <div id="ill-foreground">
              <div id="header" class="selfclear">
                <h1 id="logo"><a class="pngfix" href="${h.url_for('home')}">Community Almanac</a></h1>
                <% flash_messages = h.retrieve_flash_messages() %>
                %if flash_messages:
                  <div id="flash-messages">
                    <a id="flash-closer" href="#" title="Dismiss messages">Close</a>
                    <div id="flash-content">
                      %for flash_message in flash_messages:
                        <div>${flash_message}</div>
                      %endfor
                    </div><!-- /#flash-content -->
                  </div><!-- /#flash-messages -->
                %endif
                %if c.user:
                <div id="welcome">Welcome, ${c.user.username}! <a href="/logout">Sign Out</a></div>
                %else:
                <div id="login">
                  <form action="/do_login" method="post">
                    <input id="username" name="login" type="text" />
                    <input id="password" name="password" type="password" />
                    <input id="login-submit" type="submit" value="Log In"/>Not a member yet? <a href="/login#login-new">Sign Up!</a><br /><a href="/forgot">Forgot your password?</a></form><div class="tab"><a href="/login#login-returning">Login</a></div></div>
                %endif         
                <h3 id="tagline">The heart <span class="amp">&#038;</span> soul of <nobr>the place you live&hellip;</nobr></h3>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div id="content" class="selfclear">
      ${self.pagearea()}
    </div><!-- /#content-->
    <div id="footer" class="selfclear">
      <ul id="footer-nav">
        <li><a href="#">About</a></li>
        <li><a href="#">Contact</a></li>
        <li><a href="#">Help</a></li>
      </ul>
    </div>
    <script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="/js/jquery-ui-1.7.1.custom.min.js"></script>
    <script type="text/javascript" src="/js/almanac.js"></script>
    <script type="text/javascript" src="/js/turn.js"></script>
    <script type="text/javascript" src="/js/jquery.cycle-2.60.min.js"></script>
    <script type="text/javascript" src="/js/OpenLayers.js"></script>
    <script type="text/javascript"
            src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=${g.map_key}"></script>
    <script type="text/javascript">
  		$(document).ready(function(){
  			$('#target').fold({directory: '/img', side: 'right', turnImage: 'fold-sw.png', maxHeight: 110,	startingWidth: 24, startingHeight: 24});
  			$('#turn_object').resize(function(){
          if('${self.attr.next_page_url}' != '' && $('#turn_object').width() >= 110) {window.location = '${self.attr.next_page_url}'}
        });
      	$('div#login').hover(
      	  function () {
      	    $(this).animate({top: '0'},{queue:false,duration:500});
      	    $('#username').focus();
      	  }, 
      	  function () {
      	    $(this).animate({top: '-11.6em'},{queue:false,duration:500});	
      	  }
      	);
  		});
  	</script>
    ${self.extra_body()}
  </body>
</html>
<%def name="title()"></%def>
<%def name="extra_head()"></%def>
<%def name="extra_body()"></%def>
<%def name="bookmark()"></%def>
<%def name="pagenav(prev_page_url=None, prev_page_text=None, next_page_url=None, next_page_text=None)">
%if prev_page_url and prev_page_text:
<span class="prev"><a href="${prev_page_url}">${prev_page_text}</a></span>
%endif
%if next_page_url and next_page_text:
<span class="next"><a href="${next_page_url}">${next_page_text}</a></span>
%endif
</%def>
<%def name="sidebar()">
<div class="sidebar">
  % if c.almanac:<commit_msg>Turn on page turning for "page"s...<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" xml:lang="en" lang="en">
<!--
# Community Almanac - A place for your stories.
# Copyright (C) 2009  <NAME>, <NAME>,
# <NAME>, <NAME>

# This file is part of Community Almanac.

# Community Almanac is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.

# Community Almanac is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with Community Almanac.  If not, see <http://www.gnu.org/licenses/>.
-->
  <head>
    <title>${self.title()} - Community Almanac</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Language" content="en-us" />
    <link type="text/css" rel="stylesheet" href="${h.url_for('/css/reset.css')}" />
    <link type="text/css" rel="stylesheet" href="${h.url_for('/css/style.css')}" />
    <link type="text/css" rel="stylesheet" href="${h.url_for('/css/openlayers.css')}" />
    <link type="text/css" rel="stylesheet" href="${h.url_for('/css/turn.css')}" />
    ${self.extra_head()}
  </head>
  <body 
  %if c.is_homepage:
  class="home"
  %elif self.attr.error_class:
  class="${self.attr.error_class}"
  %endif
  >
    <div id="ill-sky">
      <div id="ill-clouds">
        <div id="ill-mountains">
          <div id="ill-hills">
            <div id="ill-foreground">
              <div id="header" class="selfclear">
                <h1 id="logo"><a class="pngfix" href="${h.url_for('home')}">Community Almanac</a></h1>
                <% flash_messages = h.retrieve_flash_messages() %>
                %if flash_messages:
                  <div id="flash-messages">
                    <a id="flash-closer" href="#" title="Dismiss messages">Close</a>
                    <div id="flash-content">
                      %for flash_message in flash_messages:
                        <div>${flash_message}</div>
                      %endfor
                    </div><!-- /#flash-content -->
                  </div><!-- /#flash-messages -->
                %endif
                %if c.user:
                <div id="welcome">Welcome, ${c.user.username}! <a href="/logout">Sign Out</a></div>
                %else:
                <div id="login">
                  <form action="/do_login" method="post">
                    <input id="username" name="login" type="text" />
                    <input id="password" name="password" type="password" />
                    <input id="login-submit" type="submit" value="Log In"/>Not a member yet? <a href="/login#login-new">Sign Up!</a><br /><a href="/forgot">Forgot your password?</a></form><div class="tab"><a href="/login#login-returning">Login</a></div></div>
                %endif         
                <h3 id="tagline">The heart <span class="amp">&#038;</span> soul of <nobr>the place you live&hellip;</nobr></h3>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div id="content" class="selfclear">
      ${self.pagearea()}
    </div><!-- /#content-->
    <div id="footer" class="selfclear">
      <ul id="footer-nav">
        <li><a href="#">About</a></li>
        <li><a href="#">Contact</a></li>
        <li><a href="#">Help</a></li>
      </ul>
    </div>
    <script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="/js/jquery-ui-1.7.1.custom.min.js"></script>
    <script type="text/javascript" src="/js/almanac.js"></script>
    <script type="text/javascript" src="/js/turn.js"></script>
    <script type="text/javascript" src="/js/jquery.cycle-2.60.min.js"></script>
    <script type="text/javascript" src="/js/OpenLayers.js"></script>
    <script type="text/javascript"
            src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=${g.map_key}"></script>
    <script type="text/javascript">
  		$(document).ready(function(){
  			$('#target').fold({directory: '/img', side: 'right', turnImage: 'fold-sw.png', maxHeight: 110,	startingWidth: 24, startingHeight: 24});
  			$('#turn_object').resize(function(){
          if('${self.attr.next_page_url}' != '' && $('#turn_object').width() >= 110) {window.location = '${self.attr.next_page_url}'}
        });
      	$('div#login').hover(
      	  function () {
      	    $(this).animate({top: '0'},{queue:false,duration:500});
      	    $('#username').focus();
      	  }, 
      	  function () {
      	    $(this).animate({top: '-11.6em'},{queue:false,duration:500});	
      	  }
      	);
  		});
  	</script>
    ${self.extra_body()}
  </body>
</html>
<%def name="title()"></%def>
<%def name="extra_head()"></%def>
<%def name="extra_body()"></%def>
<%def name="bookmark()"></%def>
<%def name="pagenav(prev_page_url=None, prev_page_text=None, next_page_url=None, next_page_text=None)">
%if prev_page_url and prev_page_text:
<span class="prev"><a href="${prev_page_url}">${prev_page_text}</a></span>
%endif
%if next_page_url and next_page_text:
<span class="next"><a class="turn" href="${next_page_url}">${next_page_text}</a></span>
%endif
</%def>
<%def name="sidebar()">
<div class="sidebar">
  % if c.almanac:
{'fraction_non_alphanumeric': 0.199911777679753, 'fraction_numerical': 0.00952801058667843, 'mean_word_length': 2.80658159838818, 'pattern_counts': {'":': 0, '<': 261, '<?xml version=': 0, '>': 263, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 4}, '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': '1195375', 'n_tokens_mistral': 3808, 'n_tokens_neox': 3655, 'n_words': 765}