A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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", True, "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"/>