Add title support to all pages and make it clearer
This commit is contained in:
parent
04675d9ba8
commit
e3ac34ada2
|
@ -32,6 +32,11 @@
|
|||
<form action="/save/redirect" method="post" class="form-horizontal">
|
||||
<fieldset>
|
||||
<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;">
|
||||
<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/p/(PASTE)/(lang)</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>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -34,6 +34,9 @@
|
|||
<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"></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>
|
||||
<span class="help-block">Paste your text here</span>
|
||||
</div>
|
||||
|
@ -457,6 +460,7 @@
|
|||
<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/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>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue