A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 

37 wiersze
2.1 KiB

  1. <%page args="title, splash=False"/>\
  2. <%!
  3. from flask import g, request, session, 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. <meta name="viewport" content="width=device-width, initial-scale=1">
  12. <link rel="stylesheet" href="https://tools-static.wmflabs.org/cdnjs/ajax/libs/oojs-ui/0.41.3/oojs-ui-core-wikimediaui.min.css" integrity="sha512-xL+tTXAo7a4IAwNrNqBcOGWSqJF6ip0jg4SEda2mapAUxPzfOZQ7inazR4TvSCblHQjwtTOkUDIFtnpaSrg3xg==" crossorigin="anonymous" referrerpolicy="no-referrer"/>
  13. <link rel="stylesheet" href="https://tools-static.wmflabs.org/cdnjs/ajax/libs/oojs-ui/0.41.3/oojs-ui-images-wikimediaui.min.css" integrity="sha512-A0LSCuOGH1+SyLhOs4eSKGbNgIEGXgIGh4ytb0GRj9GSUsjmmK6LFzB/E0o9ymRUvD+q7bZyv74XpboQt5qFvQ==" crossorigin="anonymous" referrerpolicy="no-referrer"/>
  14. <link rel="stylesheet" href="${request.script_root}${url_for('static', file='style.min.css')}"/>
  15. <script src="https://tools-static.wmflabs.org/cdnjs/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  16. <script src="${request.script_root}${url_for('static', file='script.min.js')}"></script>
  17. </head>
  18. <% selected = g.cookies["CopyviosBackground"].value if "CopyviosBackground" in g.cookies else "list" %>\
  19. % if selected == "plain":
  20. <body>
  21. % else:
  22. <body onload="update_screen_size()" style="background-image: url('${set_background(selected) | h}');">
  23. % endif
  24. <div id="container"${' class="splash"' if splash else ''}>
  25. <div id="content">
  26. <header>
  27. <h1><a href="/">Earwig&apos;s <strong>Copyvio Detector</strong></a></h1>
  28. <% logged_in_user = session.get("username") %>\
  29. % if logged_in_user:
  30. <a class="logout-link" href="/logout" title="Log out">${logged_in_user | h}</a>
  31. % else:
  32. <a class="login-link" href="/login" title="Log in">Login</a>
  33. % endif
  34. <a id="settings-link" href="/settings">Settings</a>
  35. </header>
  36. <main>