mirror of https://github.com/jumpserver/jumpserver
没怎么修改
parent
6c10b06d5a
commit
d72d55c965
|
@ -8,7 +8,7 @@ password = mysql234
|
|||
database = jumpserver
|
||||
|
||||
[ldap]
|
||||
ldap_enable = 0
|
||||
ldap_enable = 1
|
||||
host_url = ldap://127.0.0.1:389
|
||||
base_dn = dc=jumpserver, dc=org
|
||||
root_dn = cn=admin,dc=jumpserver,dc=org
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
<td class="text-center" name="j_port"> {{ post.port }} </td>
|
||||
<td class="text-center" name="j_type"> {{ login_types|get_item:post.login_type }} </td>
|
||||
<td class="text-center" name="j_idc"> {{ post.idc.name }} </td>
|
||||
<td class="text-center" name="j_group">{% for group in post.bis_group.all|filter_private %} {{ group }} {% endfor %}</td>
|
||||
<td class="text-center" name="j_group">{{ post.bis_group.all | group_str2}}</td>
|
||||
<td class="text-center" name="j_active"> {{ post.is_active|bool2str }} </td>
|
||||
<td class="text-center"> {{ post.date_added|date:"Y-m-d H:i:s" }} </td>
|
||||
<td class="text-center" name="j_comment"> {{ post.comment }} </td>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<div class="form-group">
|
||||
<label for="group_name" class="col-sm-2 control-label">组名<span class="red-fonts">*</span></label>
|
||||
<div class="col-sm-8">
|
||||
<input name="group_id" type="text" class="form-control" value="{{ group.id }}">
|
||||
<input name="group_id" type="text" class="form-control" value="{{ group.id }}" style="display: none">
|
||||
<input id="group_name" name="group_name" placeholder="Group name" type="text" class="form-control" value="{{ group.name }}">
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue