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.

index.mako 1.2 KiB

1234567891011121314151617181920212223242526272829
  1. <%!
  2. from os import path
  3. import time
  4. tools = [
  5. ("Home", "home", "index", True, None),
  6. ("Copyvio Detector", "copyvios", "copyvios", False, "Blah"),
  7. ("EarwigBot Status", "earwigbot", "earwigbot", True, "Blah"),
  8. ("File Extension Checker", "extensions", "extensions", False, "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, title='Home', slug='home'"/>
  19. <h1>My Tools</h1>
  20. % for name, tool, link, complete, desc in tools:
  21. % if desc:
  22. <div class="toolbox">
  23. <p class="toolname"><a class="dark" href="${pretty}/${link}"><span class="medium">${tool}:</span> ${name}</a></p>
  24. <p class="tooldesc">${desc}</p>
  25. </div>
  26. % endif
  27. % endfor
  28. <%include file="/support/footer.mako" args="environ=environ"/>