2016-09-25 23:46:55 +08:00
|
|
|
<div ng-controller="SharingSettingsCtrl">
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<label>Private Key</label>
|
2016-09-26 04:02:58 +08:00
|
|
|
<textarea class="col-md-12">{{sharing_keys.private_sharing_key}}</textarea>
|
2016-09-25 23:46:55 +08:00
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<label>Public key</label>
|
2016-09-26 04:02:58 +08:00
|
|
|
<textarea class="col-md-12">{{sharing_keys.public_sharing_key}}</textarea>
|
2016-09-25 23:46:55 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label>Key size
|
|
|
|
<select ng-model="key_size">
|
|
|
|
<option value="512">512</option>
|
|
|
|
<option value="1024">1024</option>
|
|
|
|
<option value="2048">2048</option>
|
|
|
|
<option value="4096">4096</option>
|
|
|
|
</select>
|
2016-09-26 02:19:58 +08:00
|
|
|
<button ng-if="!generating" ng-click="generateKeys(key_size)">Generate sharing keys</button>
|
|
|
|
<button ng-if="generating"><i class="fa fa-spinner fa-spin"></i> Generating sharing keys step {{progress}}/2</button>
|
2016-09-25 23:46:55 +08:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-26 04:02:58 +08:00
|
|
|
</div>
|