<commit_before><!DOCTYPE html> 

<html>
	<head>
		<title>logger</title>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="css/fullcalendar.css" />
		<link rel="stylesheet" type="text/css" href="css/ui-darkness/jquery-ui-1.9.0.custom.min.css" />
		
		<link rel="stylesheet" type="text/css" href="css/ui-corrections.css" />
		
		<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
		<script type="text/javascript" src="js/jquery-ui-1.9.0.custom.min.hilight.fix.js"></script>
		<script src="js/jquery-ui-timepicker-addon.js"></script>
		<script type="text/javascript" src="js/fullcalendar.min.js"></script>
		<script type="text/javascript" src="js/date-en-GB.js"></script>
		<script type="text/javascript" src="js/date-extras.js"></script>
		<script type="text/javascript" src="js/jquery.rule-1.0.2-min.js"></script>
		
		<script type="text/javascript">
			var origTime = null;
			var minTime = 61*60000;
			
			var showDisplayer = null;
			var startDateTextBox = null;
			var endDateTextBox = null;
			var eventCheck = null;
			$(function(){

				//calendar
				
				showDisplayer = $("#calendar").fullCalendar({
					header: {
						left: "prev,next title",
						center: "",
						right: "today"
						},
					timeFormat: 'H:mm',
					axisFormat: 'HH:mm',
					defaultView: "agendaWeek",
					allDaySlot: false,
					slotMinutes: 60,
					selectable:true,
					firstDay:(new Date().getDay()+1)%7,
					theme: true,
					allDayDefault: false,
					lazyFetching:true,
					unselectAuto:false,
					//events: "/laconia/range/schedule/timeslot/",
					
					select:function( startDate, endDate, allDay, jsEvent, view ) {
						if(endDate>(new Date()))
						{
							endDate=new Date()
							updateStartEndCal(startDate, endDate);
						}
						updateStartEndBox(startDate, endDate);
					},
					
					eventClick: function(calEvent, jsEvent, view) {
						updateStartEndCal(calEvent.start, calEvent.end);
					},
					
					eventSources: [
						
						{
							url: '/laconia/range/schedule/timeslot/',
							className:'event-style'
						},
						
						{
							events: [ // put the array in the `events` property
							{
								title  : null,
								start  : '2012-10-20'
							},
							
							{
								title  : "asf",
								start  : '2012-10-22 23:30'
							}
							],
							className:'event-style'
						}
					]
					
				});
				
				//time pickers
				startDateTextBox = $('#startTime').datetimepicker({
					hideCalendar: true,
					altFieldTimeOnly: false,
					showButtonPanel: false,
					timeOnlyTitle: "Start Time",
					maxDateTime: (new Date()),
					
					onSelect: function(dateText, inst) {
						if (endDateTextBox.val() != '') {
							var testStartDate = startDateTextBox.datetimepicker('getDate');
							var testEndDate = endDateTextBox.datetimepicker('getDate');
							if (testStartDate >= testEndDate)
								endDateTextBox.datetimepicker('setDate', testStartDate.add(1).minute());
						}
						else {
							endDateTextBox.val(dateText);
						}
						updateStartEndBox();
						updateStartEndCal();
					}
				});
				
				
				endDateTextBox = $('#endTime').datetimepicker({<commit_msg>oops: removed debugging events<commit_after><!DOCTYPE html> 

<html>
	<head>
		<title>logger</title>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="css/fullcalendar.css" />
		<link rel="stylesheet" type="text/css" href="css/ui-darkness/jquery-ui-1.9.0.custom.min.css" />
		
		<link rel="stylesheet" type="text/css" href="css/ui-corrections.css" />
		
		<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
		<script type="text/javascript" src="js/jquery-ui-1.9.0.custom.min.hilight.fix.js"></script>
		<script src="js/jquery-ui-timepicker-addon.js"></script>
		<script type="text/javascript" src="js/fullcalendar.min.js"></script>
		<script type="text/javascript" src="js/date-en-GB.js"></script>
		<script type="text/javascript" src="js/date-extras.js"></script>
		<script type="text/javascript" src="js/jquery.rule-1.0.2-min.js"></script>
		
		<script type="text/javascript">
			var origTime = null;
			var minTime = 61*60000;
			
			var showDisplayer = null;
			var startDateTextBox = null;
			var endDateTextBox = null;
			var eventCheck = null;
			$(function(){

				//calendar
				
				showDisplayer = $("#calendar").fullCalendar({
					header: {
						left: "prev,next title",
						center: "",
						right: "today"
						},
					timeFormat: 'H:mm',
					axisFormat: 'HH:mm',
					defaultView: "agendaWeek",
					allDaySlot: false,
					slotMinutes: 60,
					selectable:true,
					firstDay:(new Date().getDay()+1)%7,
					theme: true,
					allDayDefault: false,
					lazyFetching:true,
					unselectAuto:false,
					//events: "/laconia/range/schedule/timeslot/",
					
					select:function( startDate, endDate, allDay, jsEvent, view ) {
						if(endDate>(new Date()))
						{
							endDate=new Date()
							updateStartEndCal(startDate, endDate);
						}
						updateStartEndBox(startDate, endDate);
					},
					
					eventClick: function(calEvent, jsEvent, view) {
						updateStartEndCal(calEvent.start, calEvent.end);
					},
					
					eventSources: [
						{
							url: '/laconia/range/schedule/timeslot/',
							className:'event-style'
						}
					]
					
				});
				
				//time pickers
				startDateTextBox = $('#startTime').datetimepicker({
					hideCalendar: true,
					altFieldTimeOnly: false,
					showButtonPanel: false,
					timeOnlyTitle: "Start Time",
					maxDateTime: (new Date()),
					
					onSelect: function(dateText, inst) {
						if (endDateTextBox.val() != '') {
							var testStartDate = startDateTextBox.datetimepicker('getDate');
							var testEndDate = endDateTextBox.datetimepicker('getDate');
							if (testStartDate >= testEndDate)
								endDateTextBox.datetimepicker('setDate', testStartDate.add(1).minute());
						}
						else {
							endDateTextBox.val(dateText);
						}
						updateStartEndBox();
						updateStartEndCal();
					}
				});
				
				
				endDateTextBox = $('#endTime').datetimepicker({
{'fraction_non_alphanumeric': 0.15849301721338097, 'fraction_numerical': 0.01136732705423839, 'mean_word_length': 2.75777913361806, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 55, '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': '851282', 'n_tokens_mistral': 2809, 'n_tokens_neox': 1971, 'n_words': 330}