A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

29 行
1.1 KiB

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