<commit_before><!DOCTYPE html>
<html lang="en">
<%@include file="header.jsp" %>
<%@ page import="imageshare.model.Group,imageshare.oraclehandler.OracleHandler,java.util.List,java.util.ArrayList"%>
<%
	String user = (String) session.getAttribute("user");
	List<Group> groups = OracleHandler.getInstance().getGroups(user);
	String error = (String) session.getAttribute("error");
	session.setAttribute("error", null);
%>
<style>
	#upload {
		float: right;
	}
	.panel-footer {
		min-height: 65px;
	}
</style>
<body>
	<%@include file="navbar.jsp" %>

	<div class="jumbotron">
		<div class="container">
			<h1>Image Upload</h1>
			<p id="titleLeft">.jpg and .gif files are currently supported.</p>
		</div>
	</div>	

	<% if (error != null) out.println("<tr>" + error + "</tr>"); %>

	<div class="row">
		<div class="col-lg-6 col-lg-offset-3">

		<!-- Image Upload Form -->
		<form class="form-horizontal" action="singleImageUpload" enctype="multipart/form-data" method="post" role="form">
			<div class="panel panel-default">
				<div class="panel-heading">Please fill in the image upload details.</div>
				<div class="panel-body">
						<label for="filepath" class="col-sm-3 control-label">File Path</label>
						<div class="col-sm-9">
							<input type="file" name="filepath" class="form-control" placeholder="filepath" id="filepath">
						</div>
					<div class="form-group">
						<label for="date" class="col-sm-3 control-label">Date</label>
						<div class="col-sm-9">
							<input type="date" name="date" class="form-control" placeholder="YYYY-MM-DD" id="date">
						</div>
					</div>
					<div class="form-group">
						<label for="subject" class="col-sm-3 control-label">Subject</label><commit_msg>Adding back a missing form group div in image upload<commit_after><!DOCTYPE html>
<html lang="en">
<%@include file="header.jsp" %>
<%@ page import="imageshare.model.Group,imageshare.oraclehandler.OracleHandler,java.util.List,java.util.ArrayList"%>
<%
	String user = (String) session.getAttribute("user");
	List<Group> groups = OracleHandler.getInstance().getGroups(user);
	String error = (String) session.getAttribute("error");
	session.setAttribute("error", null);
%>
<style>
	#upload {
		float: right;
	}
	.panel-footer {
		min-height: 65px;
	}
</style>
<body>
	<%@include file="navbar.jsp" %>

	<div class="jumbotron">
		<div class="container">
			<h1>Image Upload</h1>
			<p id="titleLeft">.jpg and .gif files are currently supported.</p>
		</div>
	</div>	

	<% if (error != null) out.println("<tr>" + error + "</tr>"); %>

	<div class="row">
		<div class="col-lg-6 col-lg-offset-3">

		<!-- Image Upload Form -->
		<form class="form-horizontal" action="singleImageUpload" enctype="multipart/form-data" method="post" role="form">
			<div class="panel panel-default">
				<div class="panel-heading">Please fill in the image upload details.</div>
				<div class="panel-body">
					<div class="form-group">
						<label for="filepath" class="col-sm-3 control-label">File Path</label>
						<div class="col-sm-9">
							<input type="file" name="filepath" class="form-control" placeholder="filepath" id="filepath">
						</div>
					</div>
					<div class="form-group">
						<label for="date" class="col-sm-3 control-label">Date</label>
						<div class="col-sm-9">
							<input type="date" name="date" class="form-control" placeholder="YYYY-MM-DD" id="date">
						</div>
					</div>
					<div class="form-group">
						<label for="subject" class="col-sm-3 control-label">Subject</label>
{'fraction_non_alphanumeric': 0.19691340382966563, 'fraction_numerical': 0.006287510717347814, 'mean_word_length': 4.185185185185185, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, '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': '7527832', 'n_tokens_mistral': 1373, 'n_tokens_neox': 1177, 'n_words': 245}