summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/ui/profile/importPubKeyModal.html
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-10-27 16:58:49 +0800
committerSerena Feng <feng.xiaowei@zte.com.cn>2017-10-31 01:00:35 +0000
commit10cfa68dc2a67890ffe822a9d4fbbb9f80fbd8a3 (patch)
treeec3016c76a24ce1a43695f6027423be75d2b9d24 /utils/test/testapi/opnfv_testapi/ui/profile/importPubKeyModal.html
parent0e92805f1bfe597334e2a2f4414e460a8e811239 (diff)
remove components out side of 3rd_party
components are implemented by TestAPI team, they are not the third party code, put them under opnfv_testapi/ui directory Change-Id: Ia0f5e2afe4bcb12bcb74d3a8d78fb28fe1432bec Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/ui/profile/importPubKeyModal.html')
-rw-r--r--utils/test/testapi/opnfv_testapi/ui/profile/importPubKeyModal.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/utils/test/testapi/opnfv_testapi/ui/profile/importPubKeyModal.html b/utils/test/testapi/opnfv_testapi/ui/profile/importPubKeyModal.html
new file mode 100644
index 000000000..0f55c27fd
--- /dev/null
+++ b/utils/test/testapi/opnfv_testapi/ui/profile/importPubKeyModal.html
@@ -0,0 +1,27 @@
+<div class="modal-header">
+ <h4>Import Public Key</h4>
+ <p>Instructions for adding a public key and signature can be found
+ <a href="https://github.com/openstack/refstack/blob/master/doc/source/uploading_private_results.rst#generate-ssh-keys-locally"
+ target="_blank"
+ title="How to generate and upload SSH key and signature with testapi-client">here.
+ </a>
+ </p>
+</div>
+<div class="modal-body container-fluid">
+ <div class="row">
+ <div class="col-md-2">Public Key</div>
+ <div class="col-md-9 pull-right">
+ <textarea type="text" rows="10" cols="42" ng-model="modal.raw_key" required></textarea>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-2">Signature</div>
+ <div class="col-md-9 pull-right">
+ <textarea type="text" rows="10" cols="42" ng-model="modal.self_signature" required></textarea>
+ </div>
+ </div>
+ <div class="modal-footer">
+ <button class="btn btn-warning btn-sm" ng-click="modal.cancel()">Cancel</button>
+ <button type="button" class="btn btn-default btn-sm" ng-click="modal.importPubKey()">Import Public Key</button>
+ </div>
+</div>