mirror of https://github.com/jumpserver/jumpserver
asset udpate url bug
parent
1a32fb5da1
commit
2496f1c654
|
@ -374,7 +374,7 @@
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "post",
|
type: "post",
|
||||||
data: {asset_id_all: asset_id_all},
|
data: {asset_id_all: asset_id_all},
|
||||||
url: "{% url 'asset_add_batch' %}",
|
url: "{% url 'asset_update_batch' %}",
|
||||||
success: function () {
|
success: function () {
|
||||||
parent.location.reload();
|
parent.location.reload();
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
<label for="role_key" class="col-sm-2 control-label">用户密钥</label>
|
<label for="role_key" class="col-sm-2 control-label">用户密钥</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<textarea class="form-control" name="role_key" placeholder="请复制粘贴私钥" rows="10" style="font-size: 9px;"></textarea>
|
<textarea class="form-control" name="role_key" placeholder="请复制粘贴私钥" rows="10" style="font-size: 9px;"></textarea>
|
||||||
<span class="help-block m-b-none">如果不添加密钥,会自动生成, 密码密钥必填一项</span>
|
<span class="help-block m-b-none">如果不添加密钥,会自动生成 </span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hr-line-dashed"></div>
|
<div class="hr-line-dashed"></div>
|
||||||
|
|
Loading…
Reference in New Issue