Revert "„src/main/webapp/user.jsp“ ändern"

This reverts commit 27b9d45e88.
This commit is contained in:
Peter Hormanns 2021-12-07 15:04:33 +01:00
parent 79666fe285
commit e0b2493d9e

View File

@ -117,8 +117,8 @@
<label for="password" class="col-sm-3 control-label"><fmt:message key="users.label.password"/></label> <label for="password" class="col-sm-3 control-label"><fmt:message key="users.label.password"/></label>
<div class="col-sm-9"> <div class="col-sm-9">
<input <input
type="password" autocomplete="new-password" class="form-control" id="password" name="password" type="password" class="form-control" id="password" name="password"
value="" placeholder="Enter password" > value="" placeholder="Enter password" autofocus>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
@ -134,31 +134,13 @@
<div class="form-group"> <div class="form-group">
<label for="membership" class="col-sm-3 control-label"><fmt:message key="users.label.memberof"/></label> <label for="membership" class="col-sm-3 control-label"><fmt:message key="users.label.memberof"/></label>
<div class="col-sm-9" id ="membership"> <div class="col-sm-9" id ="membership">
<jsp:useBean id="checker" class="de.jalin.ldapadmin.beans.MembershipCheck" />
<c:forEach items="${groups}" var="groupentry" > <c:forEach items="${groups}" var="groupentry" >
<jsp:setProperty property="user" name="checker" value="${user}" /> <div class="checkbox">
<jsp:setProperty property="group" name="checker" value="${groupentry.value}" /> <jsp:useBean id="checker" class="de.jalin.ldapadmin.beans.MembershipCheck" />
<c:if test="${ not empty checker.checked }"> <jsp:setProperty property="user" name="checker" value="${user}" />
<div class="checkbox"> <jsp:setProperty property="group" name="checker" value="${groupentry.value}" />
<label> <label><input type="checkbox" id="${groupentry.value.name}" name="check_group_${groupentry.value.name}" ${checker.checked}>${groupentry.value.name}</label>
<input type="checkbox" id="${groupentry.value.name}" name="check_group_${groupentry.value.name}" ${checker.checked}>${groupentry.value.name} </div>
</label>
</div>
</c:if>
</c:forEach>
<div class="checkbox">
------------------------------------------------------------------------------------------------
</div>
<c:forEach items="${groups}" var="groupentry" >
<jsp:setProperty property="user" name="checker" value="${user}" />
<jsp:setProperty property="group" name="checker" value="${groupentry.value}" />
<c:if test="${ empty checker.checked }">
<div class="checkbox">
<label>
<input type="checkbox" id="${groupentry.value.name}" name="check_group_${groupentry.value.name}" ${checker.checked}>${groupentry.value.name}
</label>
</div>
</c:if>
</c:forEach> </c:forEach>
</div> </div>
</div> </div>