passman/templates/views/partials/forms/settings/sharing.html
Marcos Zuriaga 973746389d Sharing settings improvements
More sharing logic benchmarking and tests
2016-10-01 19:04:05 +02:00

27 lines
No EOL
1.1 KiB
HTML

<div ng-controller="SharingSettingsCtrl">
<div class="row">
<div class="col-md-6">
<label>Private Key</label>
<textarea class="col-md-12">{{sharing_keys.private_sharing_key}}</textarea>
</div>
<div class="col-md-6">
<label>Public key</label>
<textarea class="col-md-12">{{sharing_keys.public_sharing_key}}</textarea>
</div>
</div>
<div class="row">
<div class="col-md-12">
<label>Key size
<select ng-model="key_size" ng-options="size.name for size in available_sizes">
<!--<option value="512">512</option>-->
<!--<option value="1024">1024</option>-->
<!--<option value="2048">2048</option>-->
<!--<option value="4096">4096</option>-->
</select>
<button ng-if="!generating" ng-click="generateKeys(key_size.size)">Generate sharing keys</button>
<button ng-if="generating"><i class="fa fa-spinner fa-spin"></i> Generating sharing keys step {{progress}}/2</button>
</label>
</div>
</div>
</div>