<%! from os import path tools = [ ("Home", "home", "index", True, None), ("Settings", "settings", "settings", True, None), ("DIVIDER"), ("Copyvio Detector", "copyvios", "copyvios", True, "Blah"), ("EarwigBot Status", "earwigbot", "earwigbot", True, "Blah"), ("Contribution Surveyor", "surveyor", "surveyor", False, "Blah"), ("SWMT Helper", "swmt", "swmt", False, "Blah"), ] %>\ <% root = path.dirname(environ["SCRIPT_NAME"]) pretty = path.split(root)[0] %>\ <%def name="get_tools()"><% return tools %>\ <%include file="/support/header.mako" args="environ=environ, title='Home', slug='home'"/>

My Tools

% for tool in tools: % if tool != "DIVIDER": <% name, tool, link, complete, desc = tool %> % if desc:

${tool}: ${name}

${desc}

% endif % endif % endfor <%include file="/support/footer.mako" args="environ=environ"/>