%! from json import dumps, loads from flask import g, request from copyvios.misc import cache %>\ <%include file="/support/header.mako" args="title='Settings - Earwig\'s Copyvio Detector'"/> % 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"/>