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.
 
 
 
 
 

26 lines
1.1 KiB

  1. <%page args="title, root, cookies"/>\
  2. <%namespace module="copyvios.background" import="set_background"/>\
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta charset="utf-8">
  7. <title>${title}</title>
  8. <link rel="stylesheet" href="${root}/static/style.min.css" type="text/css" />
  9. <script src="${root}/static/script.min.js" type="text/javascript"></script>
  10. </head>
  11. <% selected = cookies["CopyviosBackground"].value if "CopyviosBackground" in cookies else "list" %>\
  12. % if selected == "plain":
  13. <body style="background-image: url('${root}/static/background.png');">
  14. % else:
  15. <body onload="update_screen_size()" style="background-image: url('${set_background(cookies, selected) | h}'); background-size: cover;">
  16. % endif
  17. <div id="header">
  18. <table id="heading">
  19. <tr>
  20. <td id="head-home"><a id="a-home" href="${root}">Earwig's Copyvio Detector</a></td>
  21. <td id="head-settings"><a id="a-settings" href="${root}/settings">Settings</a></td>
  22. </tr>
  23. </table>
  24. </div>
  25. <div id="container">