%namespace module="copyvios.settings" import="main"/>\ <% bot, status, langs, projects = main(environ, headers, cookies) %>\ <%include file="/support/header.mako" args="environ=environ, cookies=cookies, title='Settings - Earwig\'s Copyvio Detector'"/>\ <%! from json import dumps, loads %>\ % if status:
${status}
This page contains some configurable options for the copyvio detector. Settings are saved as cookies. You can view and delete all cookies generated by this site at the bottom of this page.
${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, cookies=cookies"/>