A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
Não pode escolher mais do que 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.
 
 
 
 
 

28 linhas
1.1 KiB

  1. <%page args="title, splash=False"/>\
  2. <%!
  3. from flask import g, request, url_for
  4. from copyvios.background import set_background
  5. %>\
  6. <!DOCTYPE html>
  7. <html lang="en">
  8. <head>
  9. <meta charset="utf-8">
  10. <title>${title | h}</title>
  11. <link rel="stylesheet" href="${request.script_root}${url_for('static', file='style.min.css')}"/>
  12. <script src="https://tools-static.wmflabs.org/cdnjs/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  13. <script src="${request.script_root}${url_for('static', file='script.min.js')}"></script>
  14. </head>
  15. <% selected = g.cookies["CopyviosBackground"].value if "CopyviosBackground" in g.cookies else "list" %>\
  16. % if selected == "plain":
  17. <body>
  18. % else:
  19. <body onload="update_screen_size()" style="background-image: url('${set_background(selected) | h}');">
  20. % endif
  21. <div id="container"${' class="splash"' if splash else ''}>
  22. <div id="content">
  23. <header>
  24. <h1><a href="/">Earwig&apos;s <strong>Copyvio Detector</strong></a></h1>
  25. <a id="settings-link" href="/settings">Settings</a>
  26. </header>
  27. <main>