A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132
  1. <%!
  2. from os import path
  3. tools = [
  4. ("Home", "home", "index", True, None),
  5. ("Settings", "settings", "settings", True, None),
  6. ("DIVIDER"),
  7. ("Copyvio Detector", "copyvios", "copyvios", True, "Blah"),
  8. ("EarwigBot Status", "earwigbot", "earwigbot", True, "Blah"),
  9. ("Contribution Surveyor", "surveyor", "surveyor", False, "Blah"),
  10. ("SWMT Helper", "swmt", "swmt", False, "Blah"),
  11. ]
  12. %>\
  13. <%
  14. root = path.dirname(environ["SCRIPT_NAME"])
  15. pretty = path.split(root)[0]
  16. %>\
  17. <%def name="get_tools()"><% return tools %></%def>\
  18. <%include file="/support/header.mako" args="environ=environ, cookies=cookies, title='Home', slug='home'"/>
  19. <h1>My Tools</h1>
  20. % for tool in tools:
  21. % if tool != "DIVIDER":
  22. <% name, tool, link, complete, desc = tool %>
  23. % if desc:
  24. <div class="toolbox">
  25. <p class="toolname"><a class="dark" href="${pretty}/${link}"><span class="medium">${tool}:</span> ${name}</a></p>
  26. <p class="tooldesc">${desc}</p>
  27. </div>
  28. % endif
  29. % endif
  30. % endfor
  31. <%include file="/support/footer.mako" args="environ=environ, cookies=cookies"/>