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

design paste tpl

This commit is contained in:
johndoe 2012-04-28 15:28:09 +07:00
commit 100d5000b5

View File

@ -1,42 +1,41 @@
%if "burn_after_reading" in str(paste.expiration):
<div class="alert">
<strong>Warning!</strong>
%if keep_alive:
<div class="alert alert-info">
<strong>Ok!</strong>
This paste will be deleted the next time it is read.
</div>
%else:
<div class="alert">
<strong>Warning!</strong>
This paste has self-destructed. If you close this windows, there is not way
to recover it.
</div>
%end
</div>
%end
<div class="well">
<form action="/" method="get" accept-charset="utf-8">
<p>
<a href="{{ paste.path }}">Raw</a>
<span class="paste-option btn-group top">
<button class="btn">New Paste</button>
<button class="btn"><i class="icon-camera"></i>&nbsp;Clone</button>
</span>
</p>
<p class="paste-option btn-group">
<button class="btn">New Paste</button>
<button class="btn"><i class="icon-camera"></i>&nbsp;Clone</button>
</p>
<p>
<pre id="paste-content" class="prettyprint">
<code>
{{ paste.content }}
</code>
</pre>
</p>
<form action="/paste/clone" method="get" accept-charset="utf-8">
</form>
<p>
<pre id="paste-content" class="prettyprint">
<code>
{{ paste.content }}
</code>
</pre>
</p>
<p class="paste-option btn-group">
<button class="btn">New Paste</button>
<button class="btn"><i class="icon-camera"></i>&nbsp;Clone</button>
<p>
</form>
<p class="paste-option btn-group bottom">
<button class="btn">New Paste</button>
<button class="btn"><i class="icon-camera"></i>&nbsp;Clone</button>
<p>
</form>
</div>
%rebase base