fix upload field alignment

This commit is contained in:
Kai Michaelis 2019-02-22 16:11:41 +01:00
parent 4f3acc1252
commit 4d3405a99c
1 changed files with 12 additions and 8 deletions

View File

@ -1,21 +1,25 @@
{{#> layout }}
<p>After uploading you key we will send a verification link to every email address we find inside. Clicking that link will make your key searchable by this email address.</p>
<p>After uploading you key we will send a verification link to every email address we find inside. Clicking that link will make your key searchable by this email address.</p>
<div class="row">
<form action="/upload/add" method=POST enctype=multipart/form-data>
<input type="hidden" name="csrf" value="{{csrf}}" />
<input type="file" id="keytext" name="keytext" class="fileUpload" />
<button type="submit" class="uploadButton button smallButton">
<i class="fa fa-upload"></i>
</button>
<div class="upload">
<input type="hidden" name="csrf" value="{{csrf}}" />
<input type="file" id="keytext" name="keytext" class="fileUpload" placeholder="Your public key"/>
<button type="submit" class="uploadButton button smallButton">
<i class="fa fa-upload"></i>
</button>
</div>
</form>
</div>
<p>If you're using GnuPG you can use the following snipped to export you public key. <b>Replace &lt;email&gt;</b> with you email address (User ID) of the key you want to upload. This will create a file called mykey.pgp that you can upload here.</p>
<div class="row">
<p>If you're using GnuPG you can use the following snipped to export you public key. <b>Replace &lt;email&gt;</b> with you email address (User ID) of the key you want to upload. This will create a file called mykey.pgp that you can upload here.</p>
<pre><code>gpg --export &lt;email&gt; &gt; mykey.pgp</code></pre>
</div>
<div class="row">
You can delete an uploaded key <a href="/delete">here</a>.
<p>You can delete an uploaded key <a href="/delete">here</a>.</p>
</div>
<script>