Kaynağa Gözat

Added spacing after each key

tags/v1.1
Teknikode 5 yıl önce
ebeveyn
işleme
fdab2ee73b
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1
    1
      home/profile.php
  2. 1
    1
      templates/default/js/profile.js

+ 1
- 1
home/profile.php Dosyayı Görüntüle

@@ -194,7 +194,7 @@ if (isset($_GET['id']))
foreach ($keyList as $key)
{
?>
<div class="input-group public_key_<?php echo $index; ?>"><input type="text" class="form-control" id="public_key_input_<?php echo $index; ?>" value="<?php echo $key; ?>" readonly><span class="input-group-btn"><button class="btn btn-danger public_key_delete" type="button" id="<?php echo $index; ?>">Remove</button></span></div>
<div class="input-group public_key_<?php echo $index; ?>"><input type="text" class="form-control" id="public_key_input_<?php echo $index; ?>" value="<?php echo $key; ?>" readonly><span class="input-group-btn"><button class="btn btn-danger public_key_delete" type="button" id="<?php echo $index; ?>">Remove</button></span></div><br />
<?php
$index++;
}

+ 1
- 1
templates/default/js/profile.js Dosyayı Görüntüle

@@ -51,7 +51,7 @@ $(document).ready(function() {
$("#update_public_key").val(result);
}
var key_index = num_keys + 1;
$("#public_key_list").append('<div class="input-group public_key_'+key_index.toString()+'"><input type="text" class="form-control" id="public_key_input_'+key_index.toString()+'" value="'+result+'" readonly><span class="input-group-btn"><button class="btn btn-danger public_key_delete" type="button" id="'+key_index.toString()+'">Remove</button></span></div>');
$("#public_key_list").append('<div class="input-group public_key_'+key_index.toString()+'"><input type="text" class="form-control" id="public_key_input_'+key_index.toString()+'" value="'+result+'" readonly><span class="input-group-btn"><button class="btn btn-danger public_key_delete" type="button" id="'+key_index.toString()+'">Remove</button></span></div><br />');
linkKeyDelete('.public_key_delete');
}
else

Loading…
İptal
Kaydet