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

41 lines
987 B
Smarty
Raw Normal View History

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