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

View File

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