summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2013-02-09 22:16:51 +0100
committerSebastian Reichel <sre@ring0.de>2013-02-09 22:16:51 +0100
commit31e481f26c7c58fb4d7d299f95bc52d352dc75bf (patch)
treebca91b40e068ea426f2215a81f73d6e94acf5915 /templates
parent53372774d71b5fa937470812b5345b6cb046f350 (diff)
downloadserial-barcode-scanner-31e481f26c7c58fb4d7d299f95bc52d352dc75bf.tar.bz2
support import of PGP keys via web interface
Diffstat (limited to 'templates')
-rw-r--r--templates/users/import-pgp.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/users/import-pgp.html b/templates/users/import-pgp.html
new file mode 100644
index 0000000..57a5d64
--- /dev/null
+++ b/templates/users/import-pgp.html
@@ -0,0 +1,22 @@
+<h2>Import PGP Keys</h2>
+
+<div style="display: {{{STEP1}}}">
+ <form action="#" method="POST" enctype="multipart/form-data" class="form-horizontal">
+ <div class="control-group">
+ <label class="control-label" for="file">Archive File (zip, tar.gz, ...) containing PGP keys</label>
+ <div class="controls">
+ <input type="file" accept="text/csv" name="file"></input>
+ <input type="hidden" name="step" value="1"></input>
+ </div>
+ </div>
+
+ <button class="btn btn-primary" type="submit">Import</button>
+ </form>
+</div>
+
+
+<div style="display: {{{STEP2}}}">
+ <p>The following keys have been found in the archive and imported into the keyring:</p>
+
+ {{{DATA}}}
+</div>