<%! from json import dumps, loads from flask import request from copyvios.cookies import get_cookies from copyvios.cache import cache %>\ <% cookies = get_cookies() %>\ <%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 = cookies["CopyviosBackground"].value if "CopyviosBackground" in cookies else "list" %>\
% for value, desc in background_options:
% endfor
<%include file="/support/footer.mako"/>