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

166 lines
5.5 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>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
content="0bin is a client-side-encrypted
2012-04-28 21:57:18 +04:00
pastebin featuring burn after reading, an history and
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" />
<link href="/static/css/bootstrap.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>
2012-05-17 13:13:40 +04:00
%else:
<script src="/static/js/jquery-1.7.2.min.js"></script>
<script src="/static/js/sjcl.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>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
2012-04-24 18:58:01 +04:00
<div class="container">
2012-04-24 14:22:59 +04:00
<a class="btn btn-navbar" data-toggle="collapse"
data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
2012-04-26 17:26:58 +04:00
<a class="brand" href="/"><span>ø</span>bin<em>.net</em></a>
2012-04-24 14:22:59 +04:00
<div class="nav-collapse">
<ul class="nav">
%for i, entry in enumerate(settings.MENU):
<li
%if not i:
class="active"
%end
>
%if "mailto:" in entry[1]:
<span title="{{ entry[1].replace('mailto:', '').replace('@', '__AT__') }}"
class="email-link" >
{{ entry[0] }}
</span>
%else:
<a href="{{ entry[1] }}">{{ entry[0] }}</a>
%end
</li>
%end
2012-04-24 14:22:59 +04:00
</ul>
2012-05-16 12:38:45 +04:00
<p class="about pull-right">
2012-05-16 12:40:26 +04:00
"A client side encrypted PasteBin"<br>
2012-05-16 12:38:45 +04:00
<span>All pastes are AES256 encrypted, we cannot know what you paste...</span>
</p>
2012-04-24 14:22:59 +04:00
</div><!--/.nav-collapse -->
</div>
</div>
</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>
<div class="container" id="wrap-content">
2012-04-24 18:58:01 +04:00
<div class="row">
2012-04-24 17:05:55 +04:00
<div class="span2">
2012-04-24 14:22:59 +04:00
<div class="well sidebar-nav">
<ul class="nav nav-list previous-pastes">
2012-04-24 18:58:01 +04:00
<li class="nav-header">Previous pastes</li>
<li class="item local-storage">
<em class="grey">
Your previous pastes will be saved in your browser using
<a href="http://www.w3.org/TR/webstorage/">localStorage</a>.
</em>
</li>
<li class="item no-local-storage">
<em class="grey">
Sorry your browser does not support
<a href="http://www.w3.org/TR/webstorage/">LocalStorage</a>,
We cannot display your previous pastes.
</em>
</li>
2012-04-24 14:22:59 +04:00
</ul>
</div><!--/.well -->
2012-04-24 22:15:38 +04:00
</div><!--/span-->
2012-04-24 18:58:01 +04:00
2012-04-30 00:15:11 +04:00
<div id='main' class="span10">
2015-05-10 20:19:02 +03:00
{{!base}}
2012-04-24 18:58:01 +04:00
2012-04-24 22:15:38 +04:00
</div><!--/span-->
2012-04-24 18:58:01 +04:00
2012-04-24 14:22:59 +04:00
</div><!--/row-->
<hr>
<footer>
2012-04-24 18:58:01 +04:00
<blockquote>
<p>“Few persons can be made to believe that it is not quite an easy thing to invent a method of secret writing which shall baffle investigation. Yet it may be roundly asserted that human ingenuity cannot concoct a cipher which human ingenuity cannot resolve...”</p>
2012-04-24 18:58:01 +04:00
<small>Edgar Allan Poe</small>
</blockquote>
2012-04-29 19:36:26 +04:00
2012-05-21 19:14:01 +04:00
%if settings.DISPLAY_COUNTER:
<h4 id="pixels-total" >
<p>ø</p>
2013-01-24 13:59:25 +04:00
<strong>{{ pastes_count }}</strong> <br/>pastes øbinned
2012-05-21 19:14:01 +04:00
</h4>
%end
2012-04-29 19:36:26 +04:00
2012-04-30 00:15:11 +04:00
</br>
2012-04-29 19:36:26 +04:00
<p class="greetings span12">
2012-04-24 14:22:59 +04:00
Based on an original idea from
2012-04-29 22:10:04 +04:00
<a href="http://sebsauvage.net/paste/">sebsauvage.net</a><br>
2012-05-20 16:32:49 +04:00
<a href="http://sametmax.com">Sam &amp; Max</a>
2012-04-24 14:22:59 +04:00
</p>
</footer>
2012-05-17 13:13:40 +04:00
%if settings.COMPRESSED_STATIC_FILES:
<script src="/static/js/additional.min.js?{{ settings.VERSION }}"></script>
2012-05-17 13:13:40 +04:00
%else:
<script src="/static/js/jquery.elastic.source.js"></script>
<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
2012-04-30 00:15:11 +04:00
<p id="alert-template">
<a class="close" data-dismiss="alert" href="#">×</a>
<strong class="title"></strong>
<span class="message"></span>
</p>
2012-05-21 13:13:19 +04:00
</div><!--/wrap-content-->
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
2012-04-24 14:22:59 +04:00
</html>