%include file="/support/header.mako" args="environ=environ, title='Settings'"/>\ <%namespace module="toolserver.settings" import="main"/>\ <%! from json import dumps, loads %> <% bot, cookies, status, langs, projects = main(environ, headers) %>
${status}
This page contains some configurable options for this Toolserver site. Settings are saved as cookies. You can view and delete all cookies generated by this site at the bottom of this page.
${cookie.key | h} | % try: <% lines = dumps(loads(cookie.value), indent=4).splitlines() %>
% for line in lines:
${line | h}
% endfor
|
% except ValueError:
${cookie.value | h} | % endtry|
No cookies!
% endif <%include file="/support/footer.mako" args="environ=environ"/>