Add link to pubkey/signature instructions
In the modal for importing a pubkey, some guidance would be beneficial to users. This patch will link users to the RefStack documentation regarding pubkey signing and uploading. Change-Id: I07a1b9bcd088b2ea0dd8040c873c01ba50da90e3
This commit is contained in:
parent
ab8ba00554
commit
117b0d452e
@ -200,3 +200,7 @@ a.glyphicon {
|
||||
.test-list-dl:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.modal-body .row {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
@ -1,21 +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/uploading-private-results.md#generate-ssh-keys-locally"
|
||||
target="_blank"
|
||||
title="How to generate and upload SSH key and signature with refstack-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="11" cols="42" ng-model="modal.raw_key" required></textarea>
|
||||
<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="11" cols="42" ng-model="modal.self_signature" required></textarea>
|
||||
<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" ng-click="modal.cancel()">Cancel</button>
|
||||
<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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user