diff --git a/pages/index.mako b/pages/index.mako index 73b78ce..e401d4a 100644 --- a/pages/index.mako +++ b/pages/index.mako @@ -3,6 +3,8 @@ tools = [ ("Home", "home", "index", True, None), + ("Settings", "settings", "settings", True, None), + ("DIVIDER"), ("Copyvio Detector", "copyvios", "copyvios", True, "Blah"), ("EarwigBot Status", "earwigbot", "earwigbot", True, "Blah"), ("Contribution Surveyor", "surveyor", "surveyor", False, "Blah"), @@ -16,12 +18,15 @@ <%def name="get_tools()"><% return tools %>\ <%include file="/support/header.mako" args="environ=environ, title='Home', slug='home'"/>

My Tools

- % for name, tool, link, complete, desc in tools: - % if desc: -
-

${tool}: ${name}

-

${desc}

-
+ % for tool in tools: + % if tool != "DIVIDER": + <% name, tool, link, complete, desc = tool %> + % if desc: +
+

${tool}: ${name}

+

${desc}

+
+ % endif % endif % endfor <%include file="/support/footer.mako" args="environ=environ"/> diff --git a/pages/settings.mako b/pages/settings.mako new file mode 100644 index 0000000..84b9880 --- /dev/null +++ b/pages/settings.mako @@ -0,0 +1,10 @@ +<%include file="/support/header.mako" args="environ=environ, title='Settings'"/> +

Settings

+

This page contains some configurable options for this Toolserver site. Settings are saved as cookies. You can view and delete all cookies generated by this site at the bottom of this page.

+

Options

+ +

Cookies

+<%include file="/support/footer.mako" args="environ=environ"/> diff --git a/pages/support/header.mako b/pages/support/header.mako index 3307650..2f3075c 100644 --- a/pages/support/header.mako +++ b/pages/support/header.mako @@ -31,8 +31,11 @@