<commit_before><!-- Calender -->

<!-- Stylesheets for this page only -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.0.2/fullcalendar.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/qtip2/2.2.0/jquery.qtip.min.css" />
<link rel="stylesheet" href="css/calendar.css" />
<link rel="stylesheet" href="css/chosen.css" />

<!-- Scripts for this page only -->
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/qtip2/2.2.0/jquery.qtip.min.js"></script>
<script type="text/javascript" src="js/moment.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.0.2/fullcalendar.js"></script>
<script type="text/javascript" src="js/fullCalendar.nl.js"></script>
<script type="text/javascript" src="js/chosen.jquery.min.js"></script>

<!-- Build the calendar -->
<script type="text/javascript" src="js/fullCalendar_helper.js"></script>
<script>
$(function(){
	initializeCalendar("<?=$lang;?>");
	addDateSelectTool("<?=lang('date_text'); ?>");
	addLegendButton("<?=$legend;?>", "<?=lang('legend');?>");
	addFilters();
});
</script>

<?=heading($page_title, 2); ?>
<!-- Filter helper buttons. Disabled in this version -->  

<!-- <div class="filter-control">
	<span class="fc-button fc-state-default" id="all_exps" style="-moz-user-select: none;">Select all experiments</span>
	<span class="fc-button fc-state-default" id="clear_exps" style="-moz-user-select: none;">Clear experiment filter</span>
	<span class="fc-button fc-state-default" id="all_parts" style="-moz-user-select: none;">Select all participants</span>
	<span class="fc-button fc-state-default" id="clear_parts" style="-moz-user-select: none;">Clear participant filter</span>
</div>-->

<div class="filter" style="margin-bottom: 10px;">
	<select class="chosen-select select-experiment" style="width: 350px;" multiple data-placeholder="<?=lang('filter_experiment');?>">
		<?php 
		foreach (experiment_options($experiments) as $id => $option)
		{
			echo '<option value="' . $id . '">' . $option . '</option>\n';
		}
		?>
	</select>
	
	<select class="chosen-select select-participant" style="width: 350px;" multiple data-placeholder="<?=lang('filter_participant');?>">
		<?php 
		foreach (participant_options($participants) as $id => $option)
		{
			echo '<option value="' . $id . '">' . $option . '</option>\n';
		}
		?>
	</select>
	<span class="fc-button fc-state-default"
		id="clearall" style="vertical-align: middle; -moz-user-select: none;">
			<?=lang('clear_filters');?>
	</span>
	
	<div style="margin-top: 10px;"><label id="exclude-canceled-label" style="vertical-align: middle;">
		<input type="checkbox" name="exclude-canceled" style="vertical-align: middle;" checked="checked" id="exclude-canceled" />
		&nbsp;<?=lang('exclude_empty');?>
	</label></div>
	<input type="hidden" name="date_picker" id="date_picker" />
</div>
<div id='calendar'></div>
<commit_msg>Added CDN for some libraries<commit_after><!-- Calender -->

<!-- Stylesheets for this page only -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.0.2/fullcalendar.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/qtip2/2.2.0/jquery.qtip.min.css" />
<link rel="stylesheet" href="css/calendar.css" />
<link rel="stylesheet" href="css/chosen.css" />

<!-- Scripts for this page only -->
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/qtip2/2.2.0/jquery.qtip.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.2/moment.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.0.2/fullcalendar.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.0.2/lang/nl.js"></script>
<script type="text/javascript" src="js/chosen.jquery.min.js"></script>

<!-- Build the calendar -->
<script type="text/javascript" src="js/fullCalendar_helper.js"></script>
<script>
$(function(){
	initializeCalendar("<?=$lang;?>");
	addDateSelectTool("<?=lang('date_text'); ?>");
	addLegendButton("<?=$legend;?>", "<?=lang('legend');?>");
	addFilters();
});
</script>

<?=heading($page_title, 2); ?>
<!-- Filter helper buttons. Disabled in this version -->  

<!-- <div class="filter-control">
	<span class="fc-button fc-state-default" id="all_exps" style="-moz-user-select: none;">Select all experiments</span>
	<span class="fc-button fc-state-default" id="clear_exps" style="-moz-user-select: none;">Clear experiment filter</span>
	<span class="fc-button fc-state-default" id="all_parts" style="-moz-user-select: none;">Select all participants</span>
	<span class="fc-button fc-state-default" id="clear_parts" style="-moz-user-select: none;">Clear participant filter</span>
</div>-->

<div class="filter" style="margin-bottom: 10px;">
	<select class="chosen-select select-experiment" style="width: 350px;" multiple data-placeholder="<?=lang('filter_experiment');?>">
		<?php 
		foreach (experiment_options($experiments) as $id => $option)
		{
			echo '<option value="' . $id . '">' . $option . '</option>\n';
		}
		?>
	</select>
	
	<select class="chosen-select select-participant" style="width: 350px;" multiple data-placeholder="<?=lang('filter_participant');?>">
		<?php 
		foreach (participant_options($participants) as $id => $option)
		{
			echo '<option value="' . $id . '">' . $option . '</option>\n';
		}
		?>
	</select>
	<span class="fc-button fc-state-default"
		id="clearall" style="vertical-align: middle; -moz-user-select: none;">
			<?=lang('clear_filters');?>
	</span>
	
	<div style="margin-top: 10px;"><label id="exclude-canceled-label" style="vertical-align: middle;">
		<input type="checkbox" name="exclude-canceled" style="vertical-align: middle;" checked="checked" id="exclude-canceled" />
		&nbsp;<?=lang('exclude_empty');?>
	</label></div>
	<input type="hidden" name="date_picker" id="date_picker" />
</div>
<div id='calendar'></div>

{'fraction_non_alphanumeric': 0.22432251589160254, 'fraction_numerical': 0.00936768149882904, 'mean_word_length': 5.3471337579617835, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 137, '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': '5309729', 'n_tokens_mistral': 2152, 'n_tokens_neox': 2019, 'n_words': 350}