wrapper.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{title} - ZeroNet</title>
  5. <meta charset="utf-8">
  6. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  7. <link rel="stylesheet" href="{server_url}/uimedia/all.css?rev={rev}" />
  8. {meta_tags}
  9. </head>
  10. <body style="{body_style}">
  11. <script>
  12. // If we are inside iframe escape from it
  13. if (window.self !== window.top) window.open(window.location.toString(), "_top");
  14. if (window.self !== window.top) window.stop();
  15. </script>
  16. <div class="progressbar">
  17. <div class="peg"></div>
  18. </div>
  19. <!-- Fixed button -->
  20. <div class='fixbutton'>
  21. <div class='fixbutton-text'>0</div>
  22. <div class='fixbutton-burger'>&#x2261;</div>
  23. <a class='fixbutton-bg' href="{homepage}"></a>
  24. </div>
  25. <!-- Notifications -->
  26. <div class='notifications'>
  27. <div class='notification template'><span class='notification-icon'>!</span> <span class='body'>Test notification</span><a class="close" href="#Close">&times;</a><div style="clear: both"></div></div>
  28. </div>
  29. <!-- Loadingscreen -->
  30. <div class='loadingscreen'>
  31. <div class='loading-text console'>
  32. </div>
  33. <div class="flipper-container">
  34. <div class="flipper"> <div class="front"></div><div class="back"></div> </div>
  35. </div>
  36. </div>
  37. <!-- Site Iframe -->
  38. <iframe src='{file_url}{query_string}' id='inner-iframe' sandbox="allow-forms allow-scripts allow-top-navigation allow-popups"></iframe>
  39. <!-- Site info -->
  40. <script>
  41. address = "{address}"
  42. wrapper_key = "{wrapper_key}"
  43. file_inner_path = "{file_inner_path}"
  44. permissions = {permissions}
  45. show_loadingscreen = {show_loadingscreen}
  46. server_url = '{server_url}'
  47. </script>
  48. <script type="text/javascript" src="{server_url}/uimedia/all.js?rev={rev}"></script>
  49. </body>
  50. </html>