Add title support to all pages and make it clearer
This commit is contained in:
parent
49b352b19a
commit
d446219b7d
|
@ -32,6 +32,11 @@
|
||||||
<form action="/save/redirect" method="post" class="form-horizontal">
|
<form action="/save/redirect" method="post" class="form-horizontal">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div class="well" style="padding-top: 10px;">
|
<div class="well" style="padding-top: 10px;">
|
||||||
|
<div class="form-group is-empty" style="margin-top: 0px;">
|
||||||
|
<textarea class="form-control" rows="1" id="textArea" name="title">{{.Title}}</textarea>
|
||||||
|
<span class="help-block">Paste Title</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="form-group is-empty" style="margin-top: 0px;">
|
<div class="form-group is-empty" style="margin-top: 0px;">
|
||||||
<textarea class="form-control" rows="20" id="textArea">{{printf "%s" .Body}}</textarea>
|
<textarea class="form-control" rows="20" id="textArea">{{printf "%s" .Body}}</textarea>
|
||||||
|
|
||||||
|
@ -462,6 +467,7 @@
|
||||||
<code>https://p.pantsu.cat/save/(XML|JSON|HTML)</code><br/>
|
<code>https://p.pantsu.cat/save/(XML|JSON|HTML)</code><br/>
|
||||||
<code>https://p.pantsu.cat/p/(PASTE)/(lang)</code><br/>
|
<code>https://p.pantsu.cat/p/(PASTE)/(lang)</code><br/>
|
||||||
<code>https://p.pantsu.cat/del/(PASTE)/(DELKEY)</code><br/>
|
<code>https://p.pantsu.cat/del/(PASTE)/(DELKEY)</code><br/>
|
||||||
|
<code>pasteurl = urllib2.urlopen("https://p.pantsu.cat/save", "p="+ data).read()</code><br/>
|
||||||
<p>Source: <a href="https://github.com/ewhal/Pastebin">Github</a></p>
|
<p>Source: <a href="https://github.com/ewhal/Pastebin">Github</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,6 +34,9 @@
|
||||||
<div class="well" style="padding-top: 10px;">
|
<div class="well" style="padding-top: 10px;">
|
||||||
<div class="form-group is-empty" style="margin-top: 0px;">
|
<div class="form-group is-empty" style="margin-top: 0px;">
|
||||||
<textarea class="form-control" rows="1" id="textArea" name="title"></textarea>
|
<textarea class="form-control" rows="1" id="textArea" name="title"></textarea>
|
||||||
|
<span class="help-block">Paste Title</span>
|
||||||
|
</div>
|
||||||
|
<div class="form-group is-empty" style="margin-top: 0px;">
|
||||||
<textarea class="form-control" rows="20" id="textArea" name="p"></textarea>
|
<textarea class="form-control" rows="20" id="textArea" name="p"></textarea>
|
||||||
<span class="help-block">Paste your text here</span>
|
<span class="help-block">Paste your text here</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -457,6 +460,7 @@
|
||||||
<code>https://p.pantsu.cat/save/(XML|JSON|HTML)</code><br/>
|
<code>https://p.pantsu.cat/save/(XML|JSON|HTML)</code><br/>
|
||||||
<code>https://p.pantsu.cat/p/(PASTE)/(lang)</code><br/>
|
<code>https://p.pantsu.cat/p/(PASTE)/(lang)</code><br/>
|
||||||
<code>https://p.pantsu.cat/del/(PASTE)/(DELKEY)</code><br/>
|
<code>https://p.pantsu.cat/del/(PASTE)/(DELKEY)</code><br/>
|
||||||
|
<code>pasteurl = urllib2.urlopen("https://p.pantsu.cat/save", "p="+ data).read()</code><br/>
|
||||||
<p>Source: <a href="https://github.com/ewhal/Pastebin">Github</a></p>
|
<p>Source: <a href="https://github.com/ewhal/Pastebin">Github</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue