mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Fixed paste template forms
This commit is contained in:
parent
1a46d998ac
commit
783c5471ba
@ -1,39 +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">
|
||||||
<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> Clone</button>
|
|
||||||
<p>
|
<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>
|
<p>
|
||||||
|
|
||||||
<pre id="paste-content" class="prettyprint">
|
<pre id="paste-content" class="prettyprint">
|
||||||
<code>
|
<code>
|
||||||
{{ paste.content }}
|
{{ paste.content }}
|
||||||
</code>
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="paste-option btn-group">
|
<p class="paste-option btn-group bottom">
|
||||||
<button class="btn">New Paste</button>
|
<button class="btn">New Paste</button>
|
||||||
<button class="btn"><i class="icon-camera"></i> Clone</button>
|
<button class="btn"><i class="icon-camera"></i> Clone</button>
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
%rebase base
|
%rebase base
|
Loading…
Reference in New Issue
Block a user