Fixup newline and add well to textarea

This commit is contained in:
Eliot Whalan 2016-06-23 13:36:47 +10:00
parent 64e584df75
commit 5092706792
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 9 additions and 7 deletions

View File

@ -31,10 +31,12 @@
</div> </div>
<form action="/save" method="post" class="form-horizontal"> <form action="/save" method="post" class="form-horizontal">
<fieldset> <fieldset>
<div class="well">
<div class="form-group is-empty"> <div class="form-group is-empty">
<textarea class="form-control" rows="10" id="textArea" name="p"></textarea> <textarea class="form-control" rows="10" 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>
</div>
<div class="form-group"> <div class="form-group">
<div class="col-md-6"> <div class="col-md-6">
<label for="syntax" class="control-label">Language</label> <label for="syntax" class="control-label">Language</label>
@ -448,10 +450,10 @@
</fieldset> </fieldset>
</form> </form>
<div class="well"> <div class="well">
<code>$ &lt;command&gt; | curl -F 'p=&lt;-' https://p.pantsu.cat/save</code> <code>$ &lt;command&gt; | curl -F 'p=&lt;-' https://p.pantsu.cat/save</code><br/>
<code>https://p.pantsu.cat/save/(XML|JSON)</code> <code>https://p.pantsu.cat/save/(XML|JSON)</code><br/>
<code>https://p.pantsu.cat/p/(PASTE)/(lang)</code> <code>https://p.pantsu.cat/p/(PASTE)/(lang)</code><br/>
<code>https://p.pantsu.cat/del/(PASTE)/(DELKEY)</code> <code>https://p.pantsu.cat/del/(PASTE)/(DELKEY)</code<br/>
<p>Source: <a href="https://github.com/ewhal/Pastebin">Pastebin</a></p> <p>Source: <a href="https://github.com/ewhal/Pastebin">Pastebin</a></p>
</div> </div>
</div> </div>