76 lines
2.2 KiB
HTML
76 lines
2.2 KiB
HTML
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<title>{title} - ZeroNet</title>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<link rel="stylesheet" href="/uimedia/all.css?rev={rev}" />
|
|
{meta_tags}
|
|
</head>
|
|
<body style="{body_style}">
|
|
|
|
<script>
|
|
// If we are inside iframe escape from it
|
|
if (window.self !== window.top) window.open(window.location.toString(), "_top");
|
|
if (window.self !== window.top) window.stop();
|
|
if (window.self !== window.top && document.execCommand) document.execCommand("Stop", false)
|
|
|
|
|
|
// Dont allow site to load in a popup
|
|
/*
|
|
if (window.opener) document.write("Opener not allowed")
|
|
if (window.opener && document.execCommand) document.execCommand("Stop", false)
|
|
if (window.opener && window.stop) window.stop()
|
|
*/
|
|
</script>
|
|
|
|
<div class="progressbar">
|
|
<div class="peg"></div>
|
|
</div>
|
|
|
|
<!-- Fixed button -->
|
|
<div class='fixbutton'>
|
|
<div class='fixbutton-text'>0</div>
|
|
<div class='fixbutton-burger'>≡</div>
|
|
<a class='fixbutton-bg' href="{homepage}/"></a>
|
|
</div>
|
|
|
|
|
|
<!-- Notifications -->
|
|
<div class='notifications'>
|
|
<div class='notification template'><span class='notification-icon'>!</span> <span class='body'>Test notification</span><a class="close" href="#Close">×</a><div style="clear: both"></div></div>
|
|
</div>
|
|
|
|
|
|
<!-- Loadingscreen -->
|
|
<div class='loadingscreen'>
|
|
<div class='loading-text console'>
|
|
</div>
|
|
<div class="flipper-container">
|
|
<div class="flipper"> <div class="front"></div><div class="back"></div> </div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- Site Iframe -->
|
|
<iframe src='about:blank' id='inner-iframe' sandbox="allow-forms allow-scripts allow-top-navigation allow-popups allow-popups-to-escape-sandbox {sandbox_permissions}"></iframe>
|
|
|
|
<!-- Site info -->
|
|
<script>
|
|
document.getElementById("inner-iframe").src = "about:blank"
|
|
document.getElementById("inner-iframe").src = "{file_url}{query_string}"
|
|
address = "{address}"
|
|
wrapper_nonce = "{wrapper_nonce}"
|
|
wrapper_key = "{wrapper_key}"
|
|
postmessage_nonce_security = {postmessage_nonce_security}
|
|
file_inner_path = "{file_inner_path}"
|
|
permissions = {permissions}
|
|
show_loadingscreen = {show_loadingscreen}
|
|
server_url = '{server_url}'
|
|
</script>
|
|
<script type="text/javascript" src="/uimedia/all.js?rev={rev}"></script>
|
|
|
|
</body>
|
|
</html>
|