<commit_before>﻿@using System.Web.Configuration
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>@ViewBag.Title - @WebConfigurationManager.AppSettings["ApplicationNameLong"]</title>
	@Styles.Render("~/Content/css")
</head>
<body>
@{
	var controllerName = ViewContext.Controller.GetType().Name;
	var suffix = "Controller";
	if (controllerName.EndsWith(suffix)) {
		controllerName = controllerName.Substring(0, controllerName.Length - suffix.Length);
	}
	var viewName = System.IO.Path.GetFileNameWithoutExtension(((RazorView)Html.ViewContext.View).ViewPath);
	var pageClass = string.Format("page-{0}-{1}", controllerName, viewName).ToLowerInvariant();
	ViewBag.ShowNav = ViewBag.ShowNav ?? true;
	}
	@if (ViewBag.ShowNav) {
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="container">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
			    @Html.ActionLink(WebConfigurationManager.AppSettings["ApplicationNameLong"], "Index", "Home", null, new { @class = "navbar-brand" })
			</div>
			<div class="navbar-collapse collapse">
				<ul class="nav navbar-nav">
					<li>@Html.ActionLink("Packs", "Index", "Year")</li>
					@if (User.IsInRole("admin")) { 
						<li>@Html.ActionLink("Scanner", "Index", "Scanner")</li> 
					}
				</ul>
				@Html.Partial("_LoginPartial")
			</div>
		</div>
	</div>
	}
    @RenderSection("SecondaryHeader", required: false)
	<div class="container body-content @pageClass">
		@RenderBody()
		<div style="clear:both"></div>
	</div>
    @if (ViewBag.ShowNav) {
        <footer><commit_msg>Add search link. Closes #37<commit_after>﻿@using System.Web.Configuration
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>@ViewBag.Title - @WebConfigurationManager.AppSettings["ApplicationNameLong"]</title>
	@Styles.Render("~/Content/css")
</head>
<body>
@{
	var controllerName = ViewContext.Controller.GetType().Name;
	var suffix = "Controller";
	if (controllerName.EndsWith(suffix)) {
		controllerName = controllerName.Substring(0, controllerName.Length - suffix.Length);
	}
	var viewName = System.IO.Path.GetFileNameWithoutExtension(((RazorView)Html.ViewContext.View).ViewPath);
	var pageClass = string.Format("page-{0}-{1}", controllerName, viewName).ToLowerInvariant();
	ViewBag.ShowNav = ViewBag.ShowNav ?? true;
	}
	@if (ViewBag.ShowNav) {
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="container">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
			    @Html.ActionLink(WebConfigurationManager.AppSettings["ApplicationNameLong"], "Index", "Home", null, new { @class = "navbar-brand" })
			</div>
			<div class="navbar-collapse collapse">
				<ul class="nav navbar-nav">
					<li>@Html.ActionLink("Packs", "Index", "Year")</li>
					<li>@Html.ActionLink("Search", "Index", "File")</li>
					@if (User.IsInRole("admin")) { 
						<li>@Html.ActionLink("Scanner", "Index", "Scanner")</li> 
					}
				</ul>
				@Html.Partial("_LoginPartial")
			</div>
		</div>
	</div>
	}
    @RenderSection("SecondaryHeader", required: false)
	<div class="container body-content @pageClass">
		@RenderBody()
		<div style="clear:both"></div>
	</div>
    @if (ViewBag.ShowNav) {
        <footer>
{'fraction_non_alphanumeric': 0.18910944206008584, 'fraction_numerical': 0.0037553648068669528, 'mean_word_length': 4.701834862385321, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '5705173', 'n_tokens_mistral': 1385, 'n_tokens_neox': 1242, 'n_words': 212}