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.

header.mako 1.3 KiB

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