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.
 
 
 
 
 

29 lines
1.2 KiB

  1. <%page args="title"/>\
  2. <%!
  3. from flask import g, request
  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}</title>
  11. <link rel="stylesheet" href="${request.script_root}/static/style.min.css" type="text/css" />
  12. <script src="${request.script_root}/static/script.min.js" type="text/javascript"></script>
  13. </head>
  14. <% selected = g.cookies["CopyviosBackground"].value if "CopyviosBackground" in g.cookies else "list" %>\
  15. % if selected == "plain":
  16. <body style="background-image: url('${request.script_root}/static/background.png');">
  17. % else:
  18. <body onload="update_screen_size()" style="background-image: url('${set_background(selected) | h}'); background-size: cover;">
  19. % endif
  20. <div id="header">
  21. <table id="heading">
  22. <tr>
  23. <td id="head-home"><a id="a-home" href="${request.script_root}">Earwig's Copyvio Detector</a></td>
  24. <td id="head-settings"><a id="a-settings" href="${request.script_root}/settings">Settings</a></td>
  25. </tr>
  26. </table>
  27. </div>
  28. <div id="container">