| 19 | | <form class="groupForm" id="${ id }" action=""> |
| 20 | | <input type="hidden" id="${ id }_uuid" value="${ uuid }" /> |
| 21 | | |
| 22 | | <table> |
| 23 | | <tr class="title"> |
| 24 | | <td class="label"> |
| 25 | | <label for="${ id }_name"> |
| 26 | | Group name: |
| 27 | | </label> |
| 28 | | </td> |
| 29 | | <td> |
| 30 | | <input id="${ id }_name" class="editable disabledInput" disabled="true" value="${ entity.name }" /> |
| 31 | | </td> |
| 32 | | </tr> |
| 33 | | <tr class="title"> |
| 34 | | <td class="label"> |
| 35 | | <label for="${ id }_description"> |
| 36 | | Description: |
| 37 | | </label> |
| 38 | | </td> |
| 39 | | <td> |
| 40 | | <textarea id="${ id }_description" class="editable disabledInput" disabled="true" rows="4" cols="30">${ entity.description }</textarea> |
| 41 | | </td> |
| 42 | | </tr> |
| 43 | | <tr class="title"> |
| 44 | | <td class="label"> |
| 45 | | <label for="${ id }_owner_login"> |
| 46 | | Owner: |
| 47 | | </label> |
| 48 | | </td> |
| 49 | | <td> |
| 50 | | <input id="${ id }_owner_login" class="disabledInput" disabled="true" value="${ entity.owner.login }" /> |
| 51 | | </td> |
| 52 | | </tr> |
| 53 | | <c:if test="${ editable }"> |
| 54 | | <tr class="title"> |
| 55 | | <td class="label"> |
| 56 | | <label for="${ id }_edit"> |
| 57 | | Edit: |
| 58 | | </label> |
| 59 | | </td> |
| 60 | | <td> |
| 61 | | <input id="${ id }_edit" type="checkbox" /> |
| 62 | | </td> |
| 63 | | </tr> |
| 64 | | </c:if> |
| 65 | | </table> |
| 66 | | |
| 67 | | <c:if test="${ infoOnly != true }"> |
| 68 | | <ul class="userList"> |
| 69 | | <c:forEach items="${entity.users}" var="user"> |
| 70 | | <li id="${ user.UUID }" class="label" > |
| 71 | | <span> |
| 72 | | <a href="${pageContext.request.contextPath}/user/${user.UUID}" > |
| 73 | | ${ user.login } |
| 74 | | </a> |
| 75 | | </span> |
| 76 | | <span> |
| 77 | | <input class="detailsButton" type="button" value="details" /> |
| 78 | | </span> |
| 79 | | </li> |
| 80 | | </c:forEach> |
| 81 | | </ul> |
| 82 | | </c:if> |
| 83 | | |
| 84 | | </form> |
| | 21 | <div id="${ id }_wrapper" class="${ (infoOnly)?'excludedFromLayout':'' }"> |
| | 22 | <form class="groupForm" id="${ id }" action=""> |
| | 23 | <input type="hidden" id="${ id }_uuid" value="${ uuid }" /> |
| | 24 | |
| | 25 | <table> |
| | 26 | <tr> |
| | 27 | <td class="label"> |
| | 28 | <label for="${ id }_name"> |
| | 29 | Group name: |
| | 30 | </label> |
| | 31 | </td> |
| | 32 | <td> |
| | 33 | <input id="${ id }_name" class="editable disabledInput" disabled="true" value="${ entity.name }" /> |
| | 34 | </td> |
| | 35 | </tr> |
| | 36 | <tr> |
| | 37 | <td class="label"> |
| | 38 | <label for="${ id }_description"> |
| | 39 | Description: |
| | 40 | </label> |
| | 41 | </td> |
| | 42 | <td> |
| | 43 | <textarea id="${ id }_description" class="editable disabledInput" disabled="true" rows="4" cols="30">${ entity.description }</textarea> |
| | 44 | </td> |
| | 45 | </tr> |
| | 46 | <tr> |
| | 47 | <td class="label"> |
| | 48 | <label for="${ id }_owner_login"> |
| | 49 | Owner: |
| | 50 | </label> |
| | 51 | </td> |
| | 52 | <td> |
| | 53 | <input id="${ id }_owner_login" class="disabledInput" disabled="true" value="${ entity.owner.login }" /> |
| | 54 | </td> |
| | 55 | </tr> |
| | 56 | <c:if test="${ editable }"> |
| | 57 | <tr class="controlRow"> |
| | 58 | <td class="label" /> |
| | 59 | <td> |
| | 60 | <span id="${ id }_edit" class="toggleButton">Edit</span> |
| | 61 | <span class="button excludedFromLayout submit"><a id="${ id }_apply">Apply</a></span> |
| | 62 | </td> |
| | 63 | </tr> |
| | 64 | </c:if> |
| | 65 | </table> |
| | 66 | |
| | 67 | <c:if test="${ infoOnly != true }"> |
| | 68 | <ul class="userList"> |
| | 69 | <c:forEach items="${entity.users}" var="user"> |
| | 70 | <li id="${ user.UUID }"> |
| | 71 | <span> |
| | 72 | <a href="${pageContext.request.contextPath}/user/${user.UUID}" > |
| | 73 | ${ user.login } |
| | 74 | </a> |
| | 75 | </span> |
| | 76 | <span class="detailsButton"> |
| | 77 | <a href="#userDetails"> |
| | 78 | <span class="faceboxButton">Details</span> |
| | 79 | </a> |
| | 80 | </span> |
| | 81 | </li> |
| | 82 | </c:forEach> |
| | 83 | </ul> |
| | 84 | </c:if> |
| | 85 | |
| | 86 | </form> |
| | 87 | </div> |