<commit_before>@(calls: List[AssistanceCall])

@import helper._
@import java.math.BigInteger; var i=1

@mainRefreshed("Assistance calls", calls.size() + " call(s)", "") {
	<table class="table table-hover" id="callsTable">
		<thead>
			<tr>
				<th>
					#
				</th>
				<th>
					Date
				</th>
				<th>
					Student
				</th>
				<th>
					Details
				</th>
				<th>
					Hostname
				</th>
				<th>
					Actions
				</th>
			</tr>
		</thead>
		<tbody>
			@for(call <- calls) {
				<tr>
					<td>
						@i
					</td>
					<td>
						@call.date
					</td>
					<td>
						@call.student.name
					</td>
					<td>
						@call.details
					</td>
					<td>
						@call.hostname
					</td>
					<td>
						<div class="col-md-5 column">
							@form(routes.JGit.displayBranch(call.student.hashedUuid, call.student.name)) {
								<input class="btn btn-primary" type="submit" value="View student">
							}
						</div>
						
						<div class="col-md-3 column">
							 @form(routes.AssistanceCallController.delete(call.id)) {
								<input class="btn btn-danger" type="submit" value="Delete">
							}
						</div>
					</td>
				</tr>
				@{i=i+1}
			}
		</tbody>
	</table>
	
	<script>
		$(document).ready(function() 
		{ 
			$("#callsTable").tablesorter(); 
		} 
	); 
	</script>
}<commit_msg>[Fix] Buttons overlap on "Help calls" page<commit_after>@(calls: List[AssistanceCall])

@import helper._
@import java.math.BigInteger; var i=1

@mainRefreshed("Assistance calls", calls.size() + " call(s)", "") {
	<table class="table table-hover" id="callsTable">
		<thead>
			<tr>
				<th>
					#
				</th>
				<th>
					Date
				</th>
				<th>
					Student
				</th>
				<th>
					Details
				</th>
				<th>
					Hostname
				</th>
				<th>
					Actions
				</th>
			</tr>
		</thead>
		<tbody>
			@for(call <- calls) {
				<tr>
					<td>
						@i
					</td>
					<td>
						@call.date
					</td>
					<td>
						@call.student.name
					</td>
					<td>
						@call.details
					</td>
					<td>
						@call.hostname
					</td>
					<td>
						<div class="col-md-6 column">
							@form(routes.JGit.displayBranch(call.student.hashedUuid, call.student.name)) {
								<input class="btn btn-primary" type="submit" value="View student">
							}
						</div>
						
						<div class="col-md-3 column">
							 @form(routes.AssistanceCallController.delete(call.id)) {
                                 <button type="submit" class="btn btn-danger" title="Delete">
                                     <i class="glyphicon glyphicon-trash"></i>
                                 </button>
							}
						</div>
					</td>
				</tr>
				@{i=i+1}
			}
		</tbody>
	</table>
	
	<script>
		$(document).ready(function() 
		{ 
			$("#callsTable").tablesorter(); 
		} 
	); 
	</script>
}
{'fraction_non_alphanumeric': 0.182674882203697, 'fraction_numerical': 0.002899601304820587, 'mean_word_length': 1.7353815659068386, 'pattern_counts': {'":': 0, '<': 92, '<?xml version=': 0, '>': 90, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6066089', 'n_tokens_mistral': 1466, 'n_tokens_neox': 1015, 'n_words': 186}