<commit_before>
<div class="col-sm-12 column">

	<!-- Main site files panel -->
	<div class="panel panel-primary">
		<div class="panel-heading">
			<h3 class="panel-title"><?= __("Nginx site configuration files") ?></h3>
		</div>
		<div class="panel-body">
			<table class="table">
				<caption><?= __('As found in ') . $data['directories']['sites-available'] ?></caption>
				<thead>
					<tr>
						<th>#</th>
						<th><?= __("Filename") ?></th>
						<th><?= __("Enabled") ?></th>
						<th><?= __("Last Modified") ?></th>

					</tr>
				</thead>
				<tbody>
					<?php foreach ($data['sitefiles'] as $key => $file): ?>
						<tr>
							<td><?= $key + 1 ?></td>
							<td class="filename"><?= $file['name'] ?></td>
							<td><?= $file['enabled'] ? __('Yes') : __('No') ?></td>
							<td><?= $this->Time->format($file['modified'], 'YYYY-MM-dd'); ?></td>
							<td>
								<button type="button" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#fileModal">
									View file
								</button>
							</td>
						</tr>
					<?php endforeach ?>
				</tbody>
			</table>

		</div>
	</div>
	<!-- EOF main site files panel -->

</div>

<!-- Modal -->
<div class="modal fade" id="fileModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
				<h4 class="modal-title" id="myModalLabel">ajax-loaded-title</h4>
			</div>
			<div class="modal-body">
				ajax-loaded-content
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
			</div><commit_msg>Themes sitefiles/index<commit_after>
<div class="col-sm-12 column">

	<!-- Applications widget -->
	<div class="widget stacked widget-table action-table">

		<div class="widget-header">
			<i class="fa fa-file-text-o"></i>
			<h3><?= __('Nginx site configuration files') ?></h3>
		</div> <!-- /widget-header -->

		<div class="widget-content">
			<div class="panel-body">
				<table class="table">
					<caption><?= __('As found in ') . $data['directories']['sites-available'] ?></caption>
					<thead>
						<tr>
							<th>#</th>
							<th><?= __("Filename") ?></th>
							<th><?= __("Enabled") ?></th>
							<th><?= __("Last Modified") ?></th>
						</tr>
					</thead>
					<tbody>
						<?php foreach ($data['sitefiles'] as $key => $file): ?>
							<tr>
								<td><?= $key + 1 ?></td>
								<td class="filename"><?= $file['name'] ?></td>
								<td><?= $file['enabled'] ? __('Yes') : __('No') ?></td>
								<td><?= $this->Time->format($file['modified'], 'YYYY-MM-dd'); ?></td>
								<td>
									<button type="button" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#fileModal">
										View file
									</button>
								</td>
							</tr>
						<?php endforeach ?>
					</tbody>
				</table>
			</div>

		</div> <!-- /widget-content -->

	</div> <!-- /widget -->


<!-- Modal -->
<div class="modal fade" id="fileModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
				<h4 class="modal-title" id="myModalLabel">ajax-loaded-title</h4>
			</div>
			<div class="modal-body">
				ajax-loaded-content
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
			</div>
{'fraction_non_alphanumeric': 0.24411134903640258, 'fraction_numerical': 0.004282655246252677, 'mean_word_length': 3.075245365321701, 'pattern_counts': {'":': 0, '<': 158, '<?xml version=': 0, '>': 164, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2865193', 'n_tokens_mistral': 1620, 'n_tokens_neox': 1284, 'n_words': 268}