Fixes in tasks
This commit is contained in:
parent
ec52e45969
commit
6cd4598708
4 changed files with 50 additions and 54 deletions
|
|
@ -6,9 +6,16 @@
|
|||
<div class="form">
|
||||
${txt_error|n}
|
||||
${txt_generate_key|n}
|
||||
% if not regenerate:
|
||||
<p>
|
||||
<select name="ssh_key_type" id="ssh_key_type">
|
||||
<option value="dsa">DSA</option>
|
||||
<option value="ecdsa">ECDSA</option>
|
||||
<option value="ed25519" selected>ED25519</option>
|
||||
</select>
|
||||
</p>
|
||||
<p><input type="submit" value="${txt_generate_key_button}" /></p>
|
||||
</div>
|
||||
% if not regenerate:
|
||||
<p><input type="submit" value="${txt_generate_key_button}" /></p>
|
||||
|
||||
% endif
|
||||
</form>
|
||||
|
|
@ -21,7 +28,7 @@
|
|||
|
||||
% if not regenerate:
|
||||
|
||||
var options={url: "${url_for('admin_app.pastafari2_edit_global_ssh_keys')}", loading: '#layer_loading', pre_callback: function (data) {
|
||||
var options={url: "${url_for('admin_app.pastafari2_edit_global_ssh_keys')}?ssh_key_type="+$('#ssh_key_type').val(), loading: '#layer_loading', pre_callback: function (data) {
|
||||
|
||||
//alert('This action overwrite all ssh keys');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue