From b0d51b3b0d123d486554541cf91e494bd992d1a7 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 26 Aug 2013 18:26:29 -0400 Subject: [PATCH] HTML standards compliance fixes. --- pages/settings.mako | 106 ++++++++++++++++++++++++++-------------------------- 1 file changed, 54 insertions(+), 52 deletions(-) diff --git a/pages/settings.mako b/pages/settings.mako index 37f3aa5..02c31d3 100644 --- a/pages/settings.mako +++ b/pages/settings.mako @@ -9,62 +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): +
+ + +
Default site: - http:// - - . - - .org -
- % if i == 0: - - % else: - - % endif + - % endfor - - - -
Background: Default site: - ${desc} + http:// + + . + + .org
-
+ <% + background_options = [ + ("plain", "Use a plain tiled background (default)."), + ("potd", 'Use the current Wikimedia Commons Picture 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: + Background: + % else: +   + % endif + + ${desc} + + + % endfor + + + + + +

Cookies

% if cookies: