## -*- coding: UTF-8 -*- % if not c.wrap: ${self.body()} % else: ${h.if_ie('')} byCycle.org - Bicycle Trip Planner - ${self.region_title()} ${h.stylesheet_link_tag('base', 'fixed-pane')} ${h.if_ie(h.stylesheet_link_tag('base_ie'))} ${h.stylesheet_link_tag('print', media='print')} ${self.stylesheet_links()} ${h.javascript_include_tag('prototype')} ${h.javascript_include_tag('bycycle', 'util')}

${h.image_tag('logo.png', title='byCycle.org Home Page', width=150, height=25, alt='byCycle.org')}

${h.link_to('Bicycle Trip Planner', h.url_for('/'), title='byCycle.org Bicycle Trip Planner (this page)')}

beta

<%call expr="self.input_container()" />
% if c.status: ${c.status} % else: Welcome to the byCycle.org bicycle trip planner. % endif Loading...
<% show_msg_pane = (not c.http_status or c.info or c.exception or (c.http_status and c.http_status > 299)) show_error_pane = (c.exception or (c.http_status and c.http_status > 299)) show_info_pane = not show_error_pane msg_pane_style = {'display': ('block' if show_msg_pane else 'none')} %> <%call expr="fixed_pane(id='message_pane', classes=['display-pane'], style=msg_pane_style)">
% if c.info: ${c.info} % else:

byCycle needs your support. Spread the word. Make a donation if you can. Thanks.

<%include file="/widgets/paypal-button.html" />

Users should independently verify all information presented here. This service is provided AS IS with NO WARRANTY of any kind. Please be careful out there.

© 2004-2008 byCycle.org

% endif
${self.body()}
<%call expr="self.result_pane()" />
<%call expr="self.map_controls()" />
Bike map legend
${h.javascript_include_tag('map', 'gmap')} ${h.javascript_include_tag('widgets/fixed_pane', 'ui', 'regions')} ${self.javascript_includes()} <%include file="/widgets/center_marker.html" /> <%include file="_google_analytics.html" /> <%namespace file="/widgets/fixed-pane.html" import="fixed_pane" /> <%def name="region_title()"> ${c.region.title if c.region else 'Select a region'} <%def name="stylesheet_links()"> <%def name="input_container(classes=[])">
% if caller: ${caller.body()} % endif
<%def name="links()"> <%def name="result_pane(classes=[])">
% if caller: ${caller.body()} % endif
<%def name="map_controls()"> <%def name="javascript_includes()"> <%def name="javascript()"> <%def name="errors()">

${getattr(c.exception, 'title', 'Error')}

% if hasattr(c.exception, 'errors'): % for error in c.exception.errors:

${error}

% endfor % else:

${c.exception.description}

% endif <% explanation = getattr(c.exception, 'explanation', None) %> % if explanation is not None:

What This Means

${explanation.strip().replace('\n', '

')}

% endif
% endif ## if not c.wrap