passman/templates/views/partials/forms/settings/sharing.html
Marcos Zuriaga 19bcdd91c0 Sharing RSA key generation and settings page
Included Forge lib
2016-09-25 17:46:55 +02:00

26 lines
No EOL
957 B
HTML

<div ng-controller="SharingSettingsCtrl">
<div class="row">
<div class="col-md-6">
<label>Private Key</label>
<textarea class="col-md-12">{{active_vault.private_sharing_key}}</textarea>
</div>
<div class="col-md-6">
<label>Public key</label>
<textarea class="col-md-12">{{active_vault.public_sharing_key}}</textarea>
</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>
<button ng-click="generateKeys(key_size)" class="btn btn-default">Generate sharing keys</button>
</label>
</div>
</div>
</div>