|
|
@ -63,8 +63,12 @@
|
|
|
|
<label for="j_group" class="col-lg-2 control-label">属组<span class="red-fonts">*</span></label>
|
|
|
|
<label for="j_group" class="col-lg-2 control-label">属组<span class="red-fonts">*</span></label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<select id="j_group" name="j_group" class="form-control m-b" multiple>
|
|
|
|
<select id="j_group" name="j_group" class="form-control m-b" multiple>
|
|
|
|
<option selected>Test1</option>
|
|
|
|
{% for group in groups %}
|
|
|
|
<option>Test2</option>
|
|
|
|
{% if forloop.first %}
|
|
|
|
|
|
|
|
<option value="{{ group.id }}" selected>group.name</option>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<option value="{{ group.id }}">group.name</option>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -73,16 +77,20 @@
|
|
|
|
<label for="j_role" class="col-lg-2 control-label">角色<span class="red-fonts">*</span></label>
|
|
|
|
<label for="j_role" class="col-lg-2 control-label">角色<span class="red-fonts">*</span></label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<select id="j_role" name="j_role" class="form-control m-b">
|
|
|
|
<select id="j_role" name="j_role" class="form-control m-b">
|
|
|
|
<option>Test role</option>
|
|
|
|
{% for r, role in roles.items %}
|
|
|
|
<option selected>Test role</option>
|
|
|
|
<option value="{{ r }}">{{ role }}</option>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="hr-line-dashed"></div>
|
|
|
|
<div class="hr-line-dashed"></div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="j_ldap_pwd" class="col-sm-2 control-label">LDAP密ç <span class="red-fonts">*</span></label>
|
|
|
|
<label for="j_ldap_pwd" class="col-sm-2 control-label">SSH密ç </label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<input id="j_ldap_pwd" name="j_ldap_pwd" type="password" placeholder="LDAP Password" class="form-control">
|
|
|
|
<input id="j_ldap_pwd" name="j_ldap_pwd" type="password" placeholder="LDAP Password" class="form-control">
|
|
|
|
|
|
|
|
<span class="help-block m-b-none">
|
|
|
|
|
|
|
|
如果使用passwordæ–¹å¼ï¼Œè¯¥å¯†ç 是用户在åŽç«¯æœåŠ¡å™¨çš„密ç
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="hr-line-dashed"></div>
|
|
|
|
<div class="hr-line-dashed"></div>
|
|
|
@ -111,6 +119,4 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
{% endblock %}
|