From 12e8611c4bd0f4b63039a3c8960e4e44170dcd59 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 26 Aug 2013 18:32:45 -0400 Subject: [PATCH] Try again. --- pages/settings.mako | 108 ++++++++++++++++++++++++++-------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/pages/settings.mako b/pages/settings.mako index 02c31d3..420d095 100644 --- a/pages/settings.mako +++ b/pages/settings.mako @@ -9,64 +9,64 @@ % endif

Settings

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.

-
-
- - + +
+ + + + + <% + background_options = [ + ("plain", "Use a plain tiled background (default)."), + ("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.'), + ] + selected = cookies["CopyviosBackground"].value if "CopyviosBackground" in cookies else "plain" + %>\ + % for i, (value, desc) in enumerate(background_options): - + % if i == 0: + + % else: + + % endif - <% - background_options = [ - ("plain", "Use a plain tiled background (default)."), - ("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.'), - ] - selected = cookies["CopyviosBackground"].value if "CopyviosBackground" in cookies else "plain" - %>\ - % for i, (value, desc) in enumerate(background_options): - - % if i == 0: - - % else: - - % endif - - - % endfor - - - -
Default site: + http:// + + . + + .org +
Default site:Background:  - http:// - - . - - .org + ${desc}
Background:  - ${desc} -
-
-
+ % endfor + + + + + + + +

Cookies

% if cookies: