<commit_before>@model notes.Models.NoteSearchContainer
@using notes.Helper

@section title
{
	Search - 
}

<div class="row">
	<div class="col-lg-12">
		<h1 class="page-header">
			<i class="fa fa-search"></i> Search
			<small>for @Model.Term, @Model.Offset.Items hits</small>
		</h1>
	</div>
</div>

<div class="row">
	<div class="col-lg-12">
		
		<div class="list-group">
			@foreach(var note in Model.Notes) {
			<a href="@Url.Action("view", "note", new { id = note.Id, slug = note.Title.ToSlug() })" class="list-group-item">
				<i class="fa fa-comment fa-file"></i> @note.Title
				<span class="pull-right text-muted small"><em>@note.Age</em>
				</span>
			</a>
			}
		</div>

		<nav>
			<ul class="pager">
				@if(Model.Offset.HasPrevious) {
				<li><a href="@Url.Action("search", "home", new { q = Model.Term, ofs = Model.Offset.PreviousOffset })">Newer</a></li>
				}
				@if(Model.Offset.HasNext) {
				<li><a href="@Url.Action("search", "home", new { q = Model.Term, ofs = Model.Offset.NextOffset })">Older</a></li>
				}<commit_msg>Added table to search page.<commit_after>@model notes.Models.NoteSearchContainer
@using notes.Helper

@section title
{
	Search - 
}

<div class="row">
	<div class="col-lg-12">
		<h1 class="page-header">
			<i class="fa fa-search"></i> Search
			<small>for @Model.Term, @Model.Offset.Items hits</small>
		</h1>
	</div>
</div>

<div class="row">
	<div class="col-lg-12">
		<div class="table-responsive">
			<table class="table">
				<thead>
					<tr>
						<th>Title</th>
						<th style="text-align: right;">Submitted</th>
					</tr>
				</thead>
				<tbody>
					@foreach(var note in Model.Notes) {
					<tr>
						<td><a href="@Url.Action("view", "note", new { id = note.Id, slug = note.Title.ToSlug() })">@note.Title</a></td>
						<td><span class="pull-right text-muted small"><em>@note.Age</em></td>
					</tr>
					}
				</tbody>
			</table>
		</div>

		<nav>
			<ul class="pager">
				@if(Model.Offset.HasPrevious) {
				<li><a href="@Url.Action("search", "home", new { q = Model.Term, ofs = Model.Offset.PreviousOffset })">Newer</a></li>
				}
				@if(Model.Offset.HasNext) {
				<li><a href="@Url.Action("search", "home", new { q = Model.Term, ofs = Model.Offset.NextOffset })">Older</a></li>
				}
{'fraction_non_alphanumeric': 0.2218763895064473, 'fraction_numerical': 0.005335704757670075, 'mean_word_length': 3.310344827586207, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 82, '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': '3915098', 'n_tokens_mistral': 1013, 'n_tokens_neox': 854, 'n_words': 168}