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

39 lines
845 B
Smarty
Raw Normal View History

%if "burn_after_reading" in str(paste.expiration):
<div class="alert">
<strong>Warning!</strong>
%if keep_alive:
This paste will be deleted the next time it is read.
%else:
This paste has self-destructed. If you close this windows, there is not way
to recover it.
%end
</div>
%end
2012-04-26 17:26:58 +04:00
<div class="well">
2012-04-26 13:38:55 +04:00
2012-04-26 17:26:58 +04:00
<form action="/paste/clone" method="get" accept-charset="utf-8">
</form>
<p class="paste-option btn-group">
<button class="btn">New Paste</button>
<button class="btn"><i class="icon-camera"></i>&nbsp;Clone</button>
<p>
2012-04-26 13:38:55 +04:00
<p>
2012-04-26 23:04:36 +04:00
<pre id="paste-content" class="prettyprint">
<code>
2012-04-26 17:26:58 +04:00
{{ paste.content }}
2012-04-26 23:04:36 +04:00
</code>
2012-04-26 17:26:58 +04:00
</pre>
2012-04-26 23:04:36 +04:00
2012-04-26 13:38:55 +04:00
</p>
2012-04-26 17:26:58 +04:00
<p class="paste-option btn-group">
<button class="btn">New Paste</button>
<button class="btn"><i class="icon-camera"></i>&nbsp;Clone</button>
<p>
2012-04-26 13:38:55 +04:00
</form>
%rebase base