<commit_before><%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<c:set var="contextPath" value="${pageContext.request.contextPath}" />
<c:set var="description" value="${pageContext.request.contextPath}" />
<c:set var="author" value="${pageContext.request.contextPath}" />

<!DOCTYPE html>
<html lang="pt_BR">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="${description}">
<meta name="author" content="${author}">

<title>${usuarios[0].username}</title>

<link href="${contextPath}/resources/css/bootstrap.min.css"
	rel="stylesheet">
</head>
<body>
	<%@ include file="../../fragments/header.jsp"%>
	<div class="container">
		<button class="btn btn-default btn-sm" data-toggle="modal"
			data-target="#novoUsuario" type="submit">Adicionar Atividade</button>
		<table class="table table-striped">
			<tr>
				<th>ID</th>
				<th>Foto</th>
				<th>Nome</th>
				<th>Usuario</th>
				<th>E-Mail</th>
				<th>Telefone</th>
				<th>Permisses</th>
				<th>Opes</th>
			</tr>
			<tr>
				<td>${usuario.id}</td>
				<td>
					<figure>
						<img src="${usuario.avatar}" />
					</figure>
				</td>
				<td>${usuario.name}</td>
				<td>${usuario.username}</td>
				<td>${usuario.email}</td>
				<td>${usuario.phone}</td>
				<td><c:forEach items="${usuario.roles}" var="role">
						<ul>
							<li>${role.name}</li>
						</ul>
					</c:forEach></td>
				<td><a href="#" data-toggle="modal"
					data-target="#editarUsuario">Editar</a> <a href="#"
					onclick="excluir(${usuario.id}, 'usuario');">Excluir</a></td>
			</tr>
		</table>
		<div class=header>
			<h3>Atividades</h3>
		</div>
		<table class="table table-striped">
			<tr>
				<th>ID</th>
				<th>Tipo</th>
				<th>Descrio</th>
				<th>Criao</th>
				<th>Prazo Final</th>
				<th>Delegado</th>
				<th>Opes</th>
			</tr>
			<c:forEach items="${usuario.atividadesDoMes}" var="atividade"
				varStatus="f">
				<tr>
					<td>${atividade.id}</td>
					<td onmouseover="this.style.cursor='pointer'"
						onclick="window.location ='/usuario/${atividade.id}'">${atividade.tipoAtividade}</td>
					<td>${atividade.descricao}</td>
					<td><fmt:formatDate value="${atividade.dataCriacao}"
							pattern="dd/MM/yy" /></td>
					<td><fmt:formatDate value="${atividade.prazoFinal}"
							pattern="dd/MM/yy" /></td>
					<td>${atividade.usuario.name}</td>
					<td><a href="#" onclick="excluirUsuario(${atividade.id});">Excluir</a></td>
				</tr>
			</c:forEach>
		</table>
	</div>
	<!-- /container -->
	<div class="modal fade" id="editarUsuario" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
				</div>
				<div class="modal-body">
					<div class="form-group">
						<form id="formUsurLogado" action="editar" method="POST"
							class="form-signin">
							<span>${message}</span> <input name="username" type="text"
								value="${usuario.username} ${i}" class="form-control"
								placeholder="Login" autofocus="true" disabled /> <input
								name="name" type="text" value="${usuario.name}"
								class="form-control" placeholder="<NAME>"
								autofocus="true" /> <input name="email" type="text"
								value="${usuario.email}" class="form-control"
								placeholder="E-mail" autofocus="true" /> <input name="phone"
								type="text" value="${usuario.phone}" class="form-control"
								placeholder="Telefone" autofocus="true" /> <input name="avatar"
								type="text" value="${usuario.avatar}" class="form-control"
								placeholder="Avatar" autofocus="true" /> <span>${error}</span>
							<input type="hidden" name="${_csrf.parameterName}"
								value="${_csrf.token}" /> <input type="hidden" name="password"
								value="${usuario.password}" /> <input type="hidden" name="id"
								value="${usuario.id}" /> <input type="hidden" name="username"
								value="${usuario.username}" />

							<div class="modal-footer">
								<button class="btn btn-default" data-dismiss="modal">Fechar</button>
								<input type="submit" class="btn btn-primary" />
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script
		src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
	<script src="${contextPath}/resources/js/bootstrap.min.js"></script>
	<script src="${contextPath}/resources/js/source.js"></script>
</body>
</html>
<commit_msg>Correção erro<commit_after><%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<c:set var="contextPath" value="${pageContext.request.contextPath}" />
<c:set var="description" value="${pageContext.request.contextPath}" />
<c:set var="author" value="${pageContext.request.contextPath}" />

<!DOCTYPE html>
<html lang="pt_BR">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="${description}">
<meta name="author" content="${author}">

<title>${usuarios[0].username}</title>

<link href="${contextPath}/resources/css/bootstrap.min.css"
	rel="stylesheet">
<link href="${contextPath}/resources/css/common.css" rel="stylesheet">
</head>
<body>
	<%@ include file="../../fragments/header.jsp"%>
	<div class="container">
		<button class="btn btn-default btn-sm" data-toggle="modal"
			data-target="#novaAtividade" type="submit">Adicionar
			Atividade</button>
		<table class="table table-striped">
			<tr>
				<th>ID</th>
				<th>Foto</th>
				<th>Nome</th>
				<th>Usuario</th>
				<th>E-Mail</th>
				<th>Telefone</th>
				<th>Permisses</th>
				<th>Opes</th>
			</tr>
			<tr>
				<td>${usuario.id}</td>
				<td>
					<figure>
						<img src="${usuario.avatar}" />
					</figure>
				</td>
				<td>${usuario.name}</td>
				<td>${usuario.username}</td>
				<td>${usuario.email}</td>
				<td>${usuario.phone}</td>
				<td><c:forEach items="${usuario.roles}" var="role">
						<ul>
							<li>${role.name}</li>
						</ul>
					</c:forEach></td>
				<td><a href="#" data-toggle="modal"
					data-target="#editarUsuario">Editar</a> <a href="#"
					onclick="excluir(${usuario.id}, 'usuario');">Excluir</a></td>
			</tr>
		</table>
		<div class=header>
			<h3>Atividades</h3>
		</div>
		<table class="table table-striped">
			<tr>
				<th>ID</th>
				<th>Tipo</th>
				<th>Descrio</th>
				<th>Criao</th>
				<th>Prazo Final</th>
				<th>Delegado</th>
				<th>Opes</th>
			</tr>
			<c:forEach items="${usuario.atividadesDoMes}" var="atividade"
				varStatus="f">
				<tr>
					<td>${atividade.id}</td>
					<td onmouseover="this.style.cursor='pointer'"
						onclick="window.location ='/usuario/${atividade.id}'">${atividade.tipoAtividade}</td>
					<td>${atividade.descricao}</td>
					<td><fmt:formatDate value="${atividade.dataCriacao}"
							pattern="dd/MM/yy" /></td>
					<td><fmt:formatDate value="${atividade.prazoFinal}"
							pattern="dd/MM/yy" /></td>
					<td>${atividade.usuario.name}</td>
					<td><a href="#" onclick="excluirUsuario(${atividade.id});">Excluir</a></td>
				</tr>
			</c:forEach>
		</table>
	</div>
	<!-- /container -->
	<div class="modal fade" id="editarUsuario" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
				</div>
				<div class="modal-body">
					<div class="form-group">
						<form id="formUsurLogado" action="editar" method="POST"
							class="form-signin">
							<span>${message}</span> <input name="username" type="text"
								value="${usuario.username} ${i}" class="form-control"
								placeholder="Login" autofocus="true" disabled /> <input
								name="name" type="text" value="${usuario.name}"
								class="form-control" placeholder="<NAME>"
								autofocus="true" /> <input name="email" type="text"
								value="${usuario.email}" class="form-control"
								placeholder="E-mail" autofocus="true" /> <input name="phone"
								type="text" value="${usuario.phone}" class="form-control"
								placeholder="Telefone" autofocus="true" /> <input name="avatar"
								type="text" value="${usuario.avatar}" class="form-control"
								placeholder="Avatar" autofocus="true" /> <span>${error}</span>
							<input type="hidden" name="${_csrf.parameterName}"
								value="${_csrf.token}" /> <input type="hidden" name="password"
								value="${<PASSWORD>}" /> <input type="hidden" name="id"
								value="${usuario.id}" /> <input type="hidden" name="username"
								value="${usuario.username}" />

							<div class="modal-footer">
								<button class="btn btn-default" data-dismiss="modal">Fechar</button>
								<input type="submit" class="btn btn-primary" />
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script
		src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
	<script src="${contextPath}/resources/js/bootstrap.min.js"></script>
	<script src="${contextPath}/resources/js/source.js"></script>
</body>
</html>

{'fraction_non_alphanumeric': 0.2246211746063187, 'fraction_numerical': 0.0021788650094087354, 'mean_word_length': 3.772211720226843, 'pattern_counts': {'":': 0, '<': 339, '<?xml version=': 0, '>': 339, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, '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': '5513434', 'n_tokens_mistral': 4428, 'n_tokens_neox': 3636, 'n_words': 562}