+ <%
+ background_options = [
+ ("plain-brown", "Use a plain tiled background (brown version)."),
+ ("plain-blue", "Use a plain tiled background (blue version)."),
+ ("potd", 'Use the current Wikimedia CommonsPicture of the Day, unfiltered. Certain POTDs may be unsuitable as backgrounds due to their aspect ratio or subject matter (generally portraits do not work well).'),
+ ("list", 'Randomly select from a subset of previous Commons Pictures of the Day that work well as widescreen backgrounds, refreshed daily (default).'),
+ ]
+ selected = cookies["EarwigBackground"].value if "EarwigBackground" in cookies else None
+ %>
+ % for i, (value, desc) in enumerate(background_options):
+