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:
commit
100d5000b5
@ -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> Clone</button>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<p class="paste-option btn-group">
|
||||
<button class="btn">New Paste</button>
|
||||
<button class="btn"><i class="icon-camera"></i> 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> 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> Clone</button>
|
||||
<p>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
%rebase base
|
Loading…
Reference in New Issue
Block a user