<commit_before><%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page import="utilities.*"%>
<%	
	PreferenceDao preference = new PreferenceDao();
	preference.showPrefs(request);
%>
<html>
	<head>
		<title><%= request.getAttribute("thisPage") %></title>
		<link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
		<link href="${pageContext.request.contextPath}/css/custom.css" rel="stylesheet" type="text/css" />
		<link href="${pageContext.request.contextPath}/css/fileinput.min.css" media="all" rel="stylesheet" type="text/css" />
		
	</head>
	<body class="backend">
		<c:if test="${isLoggedIn == false || isLoggedIn == null}">
			<c:redirect url="/Main.jsp"/>
		</c:if>
	                       
		<nav class="navbar navbar-static-top">
			<div class="container">
				<div class="navbar-header">
					<!--  todo: modify link to main page - modify image to pull dynamically -->
					<a href="${pageContext.request.contextPath}/Main.jsp" class="pull-left"><img src="${pageContext.request.contextPath}/ImageDao?t=image_small_logo"></a>
				</div>
				<div id="navbar" class="navbar-collapse collapse">
					<ul class="nav navbar-nav">
					<c:if test="${isLoggedIn == true}">
						<li><a href="${pageContext.request.contextPath}/Profile.jsp?userID=${loggedInUserID }">Logged in as ${loggedInUserFullName }</a></li>
						<li><img src="${pageContext.request.contextPath}/ImageDao?t=profile&id=${loggedInUserID }" class="header_photo"></li>
						<li><a href="${pageContext.request.contextPath}/Logout">Log Out</a></li>
					</c:if>
						<li><a href="${pageContext.request.contextPath}/admin/">Dashboard Main</a></li>
					</ul>
				</div>
			</div>
		</nav>
		<div class="container backend">
			<div class="row">
				<div class="sidebar col-sm-2 col-xs-12">
					<%@ include file="/WEB-INF/sidebar_backend.jsp" %>
				</div>
				
				<div class="content col-sm-10 col-xs-12" style="padding-left:50px;">
					<h1><%= request.getAttribute("thisPage") %></h1>
					<hr><commit_msg>Prior to messing with backend navbar<commit_after><%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page import="utilities.*"%>
<%	
	PreferenceDao preference = new PreferenceDao();
	preference.showPrefs(request);
%>
<html>
	<head>
		<title><%= request.getAttribute("thisPage") %></title>
		<link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
		<link href="${pageContext.request.contextPath}/css/custom.css" rel="stylesheet" type="text/css" />
		<link href="${pageContext.request.contextPath}/css/fileinput.min.css" media="all" rel="stylesheet" type="text/css" />
		
	</head>
	<body class="backend">
		<c:if test="${isLoggedIn == false || isLoggedIn == null}">
			<c:redirect url="/Main.jsp"/>
		</c:if>
	                       
		<nav class="navbar navbar-static-top navbar-inverse" role="navigation">
			<div class="container">
				<div class="navbar-header">
					<a href="${pageContext.request.contextPath}/Main.jsp" class="pull-left"><img src="${pageContext.request.contextPath}/ImageDao?t=image_small_logo"></a>
					
			            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
			                <span class="sr-only">Toggle navigation</span>
			                <span class="icon-bar"></span>
			                <span class="icon-bar"></span>
			                <span class="icon-bar"></span>
			            </button>
				</div>
				<div id="navbar" class="navbar-collapse collapse">
					<ul class="nav navbar-nav">
					<c:if test="${isLoggedIn == true}">
						<li><a href="${pageContext.request.contextPath}/Profile.jsp?userID=${loggedInUserID }">Logged in as ${loggedInUserFullName }</a></li>
						<li><img src="${pageContext.request.contextPath}/ImageDao?t=profile&id=${loggedInUserID }" class="header_photo"></li>
						<li><a href="${pageContext.request.contextPath}/Logout">Log Out</a></li>
					</c:if>
						<li><a href="${pageContext.request.contextPath}/admin/">Dashboard Main</a></li>
					</ul>
				</div>
			</div>
		</nav>
		<div class="container backend">
			<div class="row">
				<div class="sidebar col-sm-2 col-xs-12">
					<%@ include file="/WEB-INF/sidebar_backend.jsp" %>
				</div>
				
				<div class="content col-sm-10 col-xs-12" style="padding-left:50px;">
					<h1><%= request.getAttribute("thisPage") %></h1>
					<hr>
{'fraction_non_alphanumeric': 0.2077706212341575, 'fraction_numerical': 0.011219613546644504, 'mean_word_length': 3.8528225806451615, 'pattern_counts': {'":': 0, '<': 130, '<?xml version=': 0, '>': 130, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7232570', 'n_tokens_mistral': 1895, 'n_tokens_neox': 1611, 'n_words': 267}