„src/main/webapp/group.jsp“ ändern
Die lästige Befüllung von Handy und Passwort habe ich mit autocomplete="new-password" unterbinden können Die Gruppenliste zeigt jetzt zuerst die zugewiesenen Gruppen (Haken gesetzt) an, und danach alle anderen Anmelde-Kennung und Name getrennt (eigene Spalte) Anmelde-Kennung verlinkt - man kann direkt zum Account klicken und dadurch stimmt jetzt die alphabetische Reihenfolge
This commit is contained in:
parent
198d6c7e18
commit
bec2074810
@ -48,14 +48,44 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="membership" class="col-sm-3 control-label"><fmt:message key="groups.label.members"/></label>
|
<label for="membership" class="col-sm-3 control-label"><fmt:message key="groups.label.members"/></label>
|
||||||
<div class="col-sm-9" id ="membership">
|
<div class="col-sm-9" id ="membership">
|
||||||
<c:forEach items="${users}" var="userentry" >
|
<jsp:useBean id="checker" class="de.jalin.ldapadmin.beans.MembershipCheck" />
|
||||||
<div class="checkbox">
|
<table>
|
||||||
<jsp:useBean id="checker" class="de.jalin.ldapadmin.beans.MembershipCheck" />
|
<c:forEach items="${users}" var="userentry" >
|
||||||
<jsp:setProperty property="user" name="checker" value="${userentry.value}" />
|
<jsp:setProperty property="user" name="checker" value="${userentry.value}" />
|
||||||
<jsp:setProperty property="group" name="checker" value="${group}" />
|
<jsp:setProperty property="group" name="checker" value="${group}" />
|
||||||
<label><input type="checkbox" id="${userentry.value.login}" name="check_user_${userentry.value.login}" ${checker.checked}>${userentry.value.firstname} ${userentry.value.lastname} (${userentry.value.login})</label>
|
<c:url var="userurl" value="/user/${userentry.key}" />
|
||||||
</div>
|
<c:if test="${ not empty checker.checked }">
|
||||||
</c:forEach>
|
<tr>
|
||||||
|
<td style="padding: 0px 30px 0px 0px">
|
||||||
|
<input type="checkbox" id="${userentry.value.login}" name="check_user_${userentry.value.login}" ${checker.checked}>
|
||||||
|
<a href="${userurl}">${userentry.value.login}</a>
|
||||||
|
</td>
|
||||||
|
<td style="padding: 0px 10px 0px 0px">${userentry.value.firstname}</td>
|
||||||
|
<td>${userentry.value.lastname}</td>
|
||||||
|
</tr>
|
||||||
|
</c:if>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<div class="checkbox">
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
</div>
|
||||||
|
<table>
|
||||||
|
<c:forEach items="${users}" var="userentry" >
|
||||||
|
<jsp:setProperty property="user" name="checker" value="${userentry.value}" />
|
||||||
|
<jsp:setProperty property="group" name="checker" value="${group}" />
|
||||||
|
<c:url var="userurl" value="/user/${userentry.key}" />
|
||||||
|
<c:if test="${ empty checker.checked }">
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 0px 30px 0px 0px">
|
||||||
|
<input type="checkbox" id="${userentry.value.login}" name="check_user_${userentry.value.login}" ${checker.checked}>
|
||||||
|
<a href="${userurl}">${userentry.value.login}</a>
|
||||||
|
</td>
|
||||||
|
<td style="padding: 0px 10px 0px 0px">${userentry.value.firstname}</td>
|
||||||
|
<td>${userentry.value.lastname}</td>
|
||||||
|
</tr>
|
||||||
|
</c:if>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<c:if test="${ formdisabled ne 'disabled' }">
|
<c:if test="${ formdisabled ne 'disabled' }">
|
||||||
|
Loading…
Reference in New Issue
Block a user