A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.mako 1.1 KiB

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