1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00
0bin/zerobin/views/base.tpl

111 lines
3.6 KiB
Smarty
Raw Normal View History

2012-04-24 14:22:59 +04:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>0bin - encrypted pastebin</title>
2020-08-12 10:26:17 +03:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2012-04-24 14:22:59 +04:00
<meta name="description"
content="0bin is a client-side-encrypted
pastebin featuring burn after reading, history, and
2012-04-28 21:57:18 +04:00
a clipboard">
2012-04-24 14:22:59 +04:00
2012-05-02 12:46:51 +04:00
<link rel="shortcut icon" href="/favicon.ico">
2012-05-17 13:13:40 +04:00
%if settings.COMPRESSED_STATIC_FILES:
<link href="/static/css/style.min.css?{{ settings.VERSION }}"
rel="stylesheet" />
2012-05-17 13:13:40 +04:00
%else:
<link href="/static/css/prettify.css" rel="stylesheet" />
2020-08-12 10:26:17 +03:00
<link href="/static/css/desert.css" rel="stylesheet" />
<!-- <link href="/static/css/bootstrap.css" rel="stylesheet"> -->
<link href="/static/css/bootswatch.4.5.css" rel="stylesheet">
<link href="/static/css/style.css?{{ settings.VERSION }}"
rel="stylesheet">
2012-05-17 13:13:40 +04:00
%end
2012-04-24 14:22:59 +04:00
2012-05-14 19:17:49 +04:00
<!-- Le HTML5 shim, for IE7-8 support of HTML5 elements -->
2012-04-24 14:22:59 +04:00
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
2012-05-17 13:13:40 +04:00
%if settings.COMPRESSED_STATIC_FILES:
<script src="/static/js/main.min.js?{{ settings.VERSION }}"></script>
2020-08-12 10:26:17 +03:00
%else:
2012-05-17 13:13:40 +04:00
<script src="/static/js/sjcl.js"></script>
2020-08-12 10:26:17 +03:00
<script src="/static/js/jquery-1.7.2.min.js"></script>
<script src="/static/js/behavior.js?{{ settings.VERSION }}"></script>
2012-05-17 13:13:40 +04:00
%end
2012-04-29 22:10:04 +04:00
<script type="text/javascript">
2012-05-06 15:54:57 +04:00
zerobin.max_size = {{ settings.MAX_SIZE }};
2012-04-29 22:10:04 +04:00
</script>
2012-04-26 13:38:55 +04:00
2012-04-24 14:22:59 +04:00
</head>
<body>
2020-08-12 10:26:17 +03:00
<div class="topnav" >
<a class="brand" href="/"><span>ø</span>bin<em>.net</em></a>
<span class="tagline">"A client side encrypted PasteBin"<br><span>All pastes are AES256 encrypted, we cannot know what you paste...</span>
</span>
<nav >
<ul>
<li class="submenu" ><a href="#" onclick="ToggleMenu()">Previous pastes +</a>
<ul class="previous-pastes" id="topmenu">
<li class="item active"><a href="#">No paste yet...</a></li>
2012-04-24 14:22:59 +04:00
</ul>
2020-08-12 10:26:17 +03:00
</li>
</ul>
</nav>
2012-04-24 14:22:59 +04:00
</div>
<noscript class="container noscript">
<p>This pastebin uses client-side encryption. Therefore, it needs JavaScript enabled.</p>
<p>It seems like your browser doesn't have JavaScript enable.</p>
<p>Please enable JavaScript for this website or use a JavaScript-capable web browser.</p>
</noscript>
2020-08-12 10:26:17 +03:00
<div class="container-md" id="wrap-content">
<div id='main' >{{!base}}</div>
</div>
2012-04-29 19:36:26 +04:00
2020-08-12 10:26:17 +03:00
<footer class="footer">
<a href="https://www.0bin.net/">Create a paste</a> - <a href="/faq/">Faq</a> - <a href="https://github.com/sametmax/0bin">Github</a>
<br>
%if settings.DISPLAY_COUNTER:
<strong>{{ pastes_count }}</strong> pastes øbinned
%end
</footer>
2012-04-24 14:22:59 +04:00
2020-08-12 10:26:17 +03:00
%if settings.COMPRESSED_STATIC_FILES:
<script src="/static/js/additional.min.js?{{ settings.VERSION }}"></script>
%else:
<script src="/static/js/lzw.js"></script>
<script src="/static/js/prettify.min.js"></script>
<script src="/static/js/ZeroClipboard.js"></script>
%end
2012-04-24 22:15:38 +04:00
2020-08-12 10:26:17 +03:00
<p id="alert-template" class="alert-primary">
2012-04-30 00:15:11 +04:00
<a class="close" data-dismiss="alert" href="#">×</a>
<strong class="title"></strong>
<span class="message"></span>
</p>
2020-08-12 10:26:17 +03:00
<script>
function ToggleMenu() {
var x = document.getElementById("topmenu");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}
</script>
2012-04-30 00:15:11 +04:00
2012-04-24 14:22:59 +04:00
</body>
2012-04-30 00:15:11 +04:00
2020-08-12 10:26:17 +03:00
</html>