<%! 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', splash=True"/> % if status:

${status}

% endif

Settings

This page contains some configurable options for the copyvio detector. Settings are saved as cookies.

Default site

Background

<% background_options = [ ("list", 'Randomly select from a subset of previous Wikimedia Commons Pictures of the Day that work well as widescreen backgrounds, refreshed daily (default).'), ("potd", 'Use the current Commons Picture of the Day, unfiltered. Certain POTDs may be unsuitable as backgrounds due to their aspect ratio or subject matter.'), ("plain", "Use a plain background."), ] selected = g.cookies["CopyviosBackground"].value if "CopyviosBackground" in g.cookies else "list" %>\
% for value, desc in background_options:
% endfor
<%include file="/support/footer.mako"/>