<commit_before><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title th:text="#{edit_user_membership.title}">Edit user membership</title>

	<th:block th:include="head :: includes"></th:block>

</head>
<body>

<th:block th:include="header :: header"></th:block>

<div class="container shadow" id="content">
	<div th:replace="makros :: topbar">
		Topbar ...
	</div>

	<div class="row">
		<div class="col-md-6 form-group">
			<h4 style="margin-bottom:5px" th:text="#{edit_user_membership.user.group}">Group Members</h4>
			<form method="POST" action="">
				<!--/* ALL forms with PATCH, POST, PUT, and DELETE methods must include a CSRF-Token! */-->
				<th:block th:replace="makros :: csrf" />
				<input type="hidden" name="panel" value="remove" />

				<table class="table table-hover table-striped table-bordered table-condensed" id="insider">
					<thead>
						<tr>
							<th>
								<input id="group-checkbox" type="checkbox" class="checkbox master-checkbox" />
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.login}">Login</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='userName', assignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='userName', assignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.givenName}">Given Name</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='name.givenName', assignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='name.givenName', assignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.lastName}">Last Name</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='name.familyName', assignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='name.familyName', assignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
						</tr>
					</thead>

					<tbody>
						<tr th:object="${pagingInformationAssignedUsers.filterFields}">
							<!--/* All osiam-query relevant fields must begin with "query."!  */-->
							<td></td>
							<td><input id="filter-login" name="query.userName" type="text" th:value="*{get('query.userName')}" /></td>
							<td><input id="filter-givenname" name="query.name.givenName" type="text"  th:value="*{get('query.name.givenName')}" /></td>
							<td><input id="filter-familyname" name="query.name.familyName" type="text" th:value="*{get('query.name.familyName')}" /></td>
							<td>
								<button id="filter-button" class="btn btn-default btn-sm" name="action" value="filter" type="submit">
									<span class="glyphicon glyphicon-filter" th:text="#{msg.button.filter}">Filter</span>
								</button>
							</td>
						</tr>
						<tr th:each="user : ${assignedUsers.resources}">
							<td>
								<input type="checkbox" name="userId" th:value="${user.id}" class="checkbox" />
							</td>
							<td th:text="${user.userName}">
							</td>
							<td th:text="${user.name} != null ? ${user.name.givenName} : '-'">
							</td>
							<td th:text="${user.name} != null ? ${user.name.familyName} : '-'">
							</td>
							<td>
								<a th:href="@{'' (id=${param.id}, panel=remove, userId=${user.id})}" class="btn btn-danger btn-sm">
									<span class="glyphicon glyphicon-minus"></span>
								</a>
							</td>
						</tr>

						<tr>
							<td colspan="5">
								<input type="submit" class="btn btn-md btn-primary" />
							</td>
						</tr>
					</tbody>
				</table>
			</form>
			<span th:text="#{msg.list.result(${#lists.size(assignedUsers.resources)}, ${assignedUsers.startIndex} - 1 + ${#lists.size(assignedUsers.resources)}, ${assignedUsers.totalResults})}">Result x - y of total</span>
			<div th:replace="makros :: pagingControlls(${pagingAssignedUsers}, 2, '')">
				Paging-Navigation...
			</div>
			<span th:text="#{msg.list.limit}"></span>
			<form name="form-assigned-limit" th:action="@{'' (id=${param.id})}" method="POST" class="resultsPerPage">
				<!--/* ALL forms with PATCH, POST, PUT, and DELETE methods must include a CSRF-Token! */-->
				<th:block th:replace="makros :: csrf" />
				<input type="hidden" name="action" value="assignedLimit" />

				<select id="paging-limit" name="assignedLimit" class="" onchange="document['form-assigned-limit'].submit();">
					<option th:selected="${pagingInformationAssignedUsers.limit} == 5" >5</option>
					<option th:selected="${pagingInformationAssignedUsers.limit} == 10">10</option>
					<option th:selected="${pagingInformationAssignedUsers.limit} == 20">20</option>
					<option th:selected="${pagingInformationAssignedUsers.limit} == 50">50</option>
					<option th:selected="${pagingInformationAssignedUsers.limit} == 100">100</option>
					<option th:selected="${pagingInformationAssignedUsers.limit} == 0" th:text="#{msg.list.limit.all}" value="0">All</option>
				</select>
			</form>
		</div>



		<div class="col-md-6 form-group">
			<h4 style="margin-bottom:5px" th:text="#{edit_user_membership.user.other}">External Group</h4>
			<form method="POST" action="">
				<!--/* ALL forms with PATCH, POST, PUT, and DELETE methods must include a CSRF-Token! */-->
				<th:block th:replace="makros :: csrf" />
				<input type="hidden" name="panel" value="add" />

				<table class="table table-hover table-striped table-bordered table-condensed" id="outsider" th:object="${model}">
					<thead>
						<tr>
							<th>
								<input id="group-checkbox" type="checkbox" class="checkbox master-checkbox" />
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.login}">Login</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='userName', unassignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='userName', unassignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.givenName}">Given name</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='name.givenName', unassignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='name.givenName', unassignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.lastName}">Last name</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='name.familyName', unassignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='name.familyName', unassignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
						</tr>
					</thead>
					<tbody>
						<tr th:object="${pagingInformationUnassignedUsers.filterFields}">
							<!--/* All osiam-query relevant fields must begin with "query."!  */-->
							<td></td>
							<td><input id="filter-login" name="query.userName" type="text" th:value="*{get('query.userName')}" /></td>
							<td><input id="filter-givenname" name="query.name.givenName" type="text"  th:value="*{get('query.name.givenName')}" /></td>
							<td><input id="filter-familyname" name="query.name.familyName" type="text" th:value="*{get('query.name.familyName')}" /></td>
							<td>
								<button id="filter-button" class="btn btn-default btn-sm" name="action" value="filter" type="submit">
									<span class="glyphicon glyphicon-filter" th:text="#{msg.button.filter}">Filter</span>
								</button>
							</td>
						</tr>
						<tr  th:each="user : ${unassignedUsers.resources}">
							<td>
								<input type="checkbox" name="userId" th:value="${user.id}" class="checkbox" />
							</td>
							<td th:text="${user.userName}"></td>
							<td th:text="${user.name} != null ? ${user.name.givenName} : '-'"></td>
							<td th:text="${user.name} != null ? ${user.name.familyName} : '-'"></td>
							<td>
								<a th:href="@{'' (id=${param.id}, panel=add, userId=${user.id})}" class="btn btn-success btn-sm">
									<span class="glyphicon glyphicon-plus"></span>
								</a>
							</td>
						</tr>
						<tr>
							<td colspan="5">
								<input type="submit" class="btn btn-md btn-primary" />
							</td>
						</tr>
					</tbody>
				</table>
			</form>

			<span th:text="#{msg.list.result(${#lists.size(unassignedUsers.resources)}, ${unassignedUsers.startIndex} - 1 + ${#lists.size(unassignedUsers.resources)}, ${unassignedUsers.totalResults})}">Result x - y of total</span>
			<div th:replace="makros :: pagingControlls(${pagingUnassignedUsers}, 2, '')">
				Paging-Navigation...
			</div>
			<span th:text="#{msg.list.limit}"></span>
			<form name="form-unassigned-limit" th:action="@{'' (id=${param.id})}" method="POST" class="resultsPerPage">
				<!--/* ALL forms with PATCH, POST, PUT, and DELETE methods must include a CSRF-Token! */-->
				<th:block th:replace="makros :: csrf" />
				<input type="hidden" name="action" value="unassignedLimit" />

				<select id="paging-limit" name="unassignedLimit" class="" onchange="document['form-unassigned-limit'].submit();">
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 5" >5</option>
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 10">10</option>
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 20">20</option>
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 50">50</option>
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 100">100</option>
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 0" th:text="#{msg.list.limit.all}" value="0">All</option>
				</select>
			</form><commit_msg>Add ids to make elements unique and usable for tests<commit_after><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title th:text="#{edit_user_membership.title}">Edit user membership</title>

	<th:block th:include="head :: includes"></th:block>

</head>
<body>

<th:block th:include="header :: header"></th:block>

<div class="container shadow" id="content">
	<div th:replace="makros :: topbar">
		Topbar ...
	</div>

	<div class="row">
		<div id="form-group-insider" class="col-md-6 form-group">
			<h4 style="margin-bottom:5px" th:text="#{edit_user_membership.user.group}">Group Members</h4>
			<form method="POST" action="">
				<!--/* ALL forms with PATCH, POST, PUT, and DELETE methods must include a CSRF-Token! */-->
				<th:block th:replace="makros :: csrf" />
				<input type="hidden" name="panel" value="remove" />

				<table class="table table-hover table-striped table-bordered table-condensed" id="insider">
					<thead>
						<tr>
							<th>
								<input id="group-checkbox" type="checkbox" class="checkbox master-checkbox" />
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.login}">Login</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='userName', assignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='userName', assignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.givenName}">Given Name</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='name.givenName', assignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='name.givenName', assignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.lastName}">Last Name</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='name.familyName', assignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='assignedSort', assignedOrderBy='name.familyName', assignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
						</tr>
					</thead>

					<tbody>
						<tr th:object="${pagingInformationAssignedUsers.filterFields}">
							<!--/* All osiam-query relevant fields must begin with "query."!  */-->
							<td></td>
							<td><input id="filter-login" name="query.userName" type="text" th:value="*{get('query.userName')}" /></td>
							<td><input id="filter-givenname" name="query.name.givenName" type="text"  th:value="*{get('query.name.givenName')}" /></td>
							<td><input id="filter-familyname" name="query.name.familyName" type="text" th:value="*{get('query.name.familyName')}" /></td>
							<td>
								<button id="filter-button" class="btn btn-default btn-sm" name="action" value="filter" type="submit">
									<span class="glyphicon glyphicon-filter" th:text="#{msg.button.filter}">Filter</span>
								</button>
							</td>
						</tr>
						<tr th:each="user : ${assignedUsers.resources}">
							<td>
								<input type="checkbox" name="userId" th:value="${user.id}" class="checkbox" />
							</td>
							<td th:text="${user.userName}">
							</td>
							<td th:text="${user.name} != null ? ${user.name.givenName} : '-'">
							</td>
							<td th:text="${user.name} != null ? ${user.name.familyName} : '-'">
							</td>
							<td>
								<a th:href="@{'' (id=${param.id}, panel=remove, userId=${user.id})}" class="btn btn-danger btn-sm">
									<span class="glyphicon glyphicon-minus"></span>
								</a>
							</td>
						</tr>

						<tr>
							<td colspan="5">
								<input type="submit" class="btn btn-md btn-primary" />
							</td>
						</tr>
					</tbody>
				</table>
			</form>
			<span th:text="#{msg.list.result(${#lists.size(assignedUsers.resources)}, ${assignedUsers.startIndex} - 1 + ${#lists.size(assignedUsers.resources)}, ${assignedUsers.totalResults})}">Result x - y of total</span>
			<div th:replace="makros :: pagingControlls(${pagingAssignedUsers}, 2, '')">
				Paging-Navigation...
			</div>
			<span th:text="#{msg.list.limit}"></span>
			<form name="form-assigned-limit" th:action="@{'' (id=${param.id})}" method="POST" class="resultsPerPage">
				<!--/* ALL forms with PATCH, POST, PUT, and DELETE methods must include a CSRF-Token! */-->
				<th:block th:replace="makros :: csrf" />
				<input type="hidden" name="action" value="assignedLimit" />

				<select id="paging-limit-intern" name="assignedLimit" class="" onchange="document['form-assigned-limit'].submit();">
					<option th:selected="${pagingInformationAssignedUsers.limit} == 5" >5</option>
					<option th:selected="${pagingInformationAssignedUsers.limit} == 10">10</option>
					<option th:selected="${pagingInformationAssignedUsers.limit} == 20">20</option>
					<option th:selected="${pagingInformationAssignedUsers.limit} == 50">50</option>
					<option th:selected="${pagingInformationAssignedUsers.limit} == 100">100</option>
					<option th:selected="${pagingInformationAssignedUsers.limit} == 0" th:text="#{msg.list.limit.all}" value="0">All</option>
				</select>
			</form>
		</div>



		<div id="form-group-outsider" class="col-md-6 form-group">
			<h4 style="margin-bottom:5px" th:text="#{edit_user_membership.user.other}">External Group</h4>
			<form method="POST" action="">
				<!--/* ALL forms with PATCH, POST, PUT, and DELETE methods must include a CSRF-Token! */-->
				<th:block th:replace="makros :: csrf" />
				<input type="hidden" name="panel" value="add" />

				<table class="table table-hover table-striped table-bordered table-condensed" id="outsider" th:object="${model}">
					<thead>
						<tr>
							<th>
								<input id="group-checkbox" type="checkbox" class="checkbox master-checkbox" />
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.login}">Login</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='userName', unassignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='userName', unassignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.givenName}">Given name</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='name.givenName', unassignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='name.givenName', unassignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
							<th>
								<span th:text="#{edit_user_membership.user.lastName}">Last name</span>
								<span class="sortingArrows">
									<a id="order-by-displayname-asc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='name.familyName', unassignedAsc=true)}"><img src="../../img/arrow_up.png" alt="" /></a>
									<a id="order-by-displayname-desc" th:href="@{'' (id=${param.id}, action='unassignedSort', unassignedOrderBy='name.familyName', unassignedAsc=false)}"><img src="../../img/arrow_down.png" alt="" /></a>
								</span>
							</th>
						</tr>
					</thead>
					<tbody>
						<tr th:object="${pagingInformationUnassignedUsers.filterFields}">
							<!--/* All osiam-query relevant fields must begin with "query."!  */-->
							<td></td>
							<td><input id="filter-login" name="query.userName" type="text" th:value="*{get('query.userName')}" /></td>
							<td><input id="filter-givenname" name="query.name.givenName" type="text"  th:value="*{get('query.name.givenName')}" /></td>
							<td><input id="filter-familyname" name="query.name.familyName" type="text" th:value="*{get('query.name.familyName')}" /></td>
							<td>
								<button id="filter-button" class="btn btn-default btn-sm" name="action" value="filter" type="submit">
									<span class="glyphicon glyphicon-filter" th:text="#{msg.button.filter}">Filter</span>
								</button>
							</td>
						</tr>
						<tr  th:each="user : ${unassignedUsers.resources}">
							<td>
								<input type="checkbox" name="userId" th:value="${user.id}" class="checkbox" />
							</td>
							<td th:text="${user.userName}"></td>
							<td th:text="${user.name} != null ? ${user.name.givenName} : '-'"></td>
							<td th:text="${user.name} != null ? ${user.name.familyName} : '-'"></td>
							<td>
								<a th:href="@{'' (id=${param.id}, panel=add, userId=${user.id})}" class="btn btn-success btn-sm">
									<span class="glyphicon glyphicon-plus"></span>
								</a>
							</td>
						</tr>
						<tr>
							<td colspan="5">
								<input type="submit" class="btn btn-md btn-primary" />
							</td>
						</tr>
					</tbody>
				</table>
			</form>

			<span th:text="#{msg.list.result(${#lists.size(unassignedUsers.resources)}, ${unassignedUsers.startIndex} - 1 + ${#lists.size(unassignedUsers.resources)}, ${unassignedUsers.totalResults})}">Result x - y of total</span>
			<div th:replace="makros :: pagingControlls(${pagingUnassignedUsers}, 2, '')">
				Paging-Navigation...
			</div>
			<span th:text="#{msg.list.limit}"></span>
			<form name="form-unassigned-limit" th:action="@{'' (id=${param.id})}" method="POST" class="resultsPerPage">
				<!--/* ALL forms with PATCH, POST, PUT, and DELETE methods must include a CSRF-Token! */-->
				<th:block th:replace="makros :: csrf" />
				<input type="hidden" name="action" value="unassignedLimit" />

				<select id="paging-limit-extern" name="unassignedLimit" class="" onchange="document['form-unassigned-limit'].submit();">
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 5" >5</option>
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 10">10</option>
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 20">20</option>
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 50">50</option>
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 100">100</option>
					<option th:selected="${pagingInformationUnassignedUsers.limit} == 0" th:text="#{msg.list.limit.all}" value="0">All</option>
				</select>
			</form>
{'fraction_non_alphanumeric': 0.22153432032301482, 'fraction_numerical': 0.005742485419470615, 'mean_word_length': 3.692842105263158, 'pattern_counts': {'":': 0, '<': 525, '<?xml version=': 0, '>': 525, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5146690', 'n_tokens_mistral': 9467, 'n_tokens_neox': 7382, 'n_words': 1278}