<commit_before><?php 
	require_once('admin.class.php');
	$admin->requiresAdmin();
	include('tpl' . DIRECTORY_SEPARATOR . 'header.tpl.html');
?>

<div class="page-header clearfix">
	<h2>ELA Event Manager</h2>
</div>
	
<div data-ng-controller="event-edit" data-ng-cloak>
	<div class="col-md-12">
		<div class="col-md-6" style="position:absolute;bottom:0;right:0">
			<select 
				class="form-control" 
				data-ng-options="v.programYear for v in prgmYears | orderBy:'programYear'" 
				data-ng-model="activePrgmYear"
			>
				<option value="" disabled> -- CHOOSE ONE -- </option>
			</select>
		</div>
		<h3>Program Year <small>Choose one</small></h3>
	</div>
	<div class="col-md-6">
		<h3>Year In Program <small ng-show="activePrgmYear.programYear">During {{activePrgmYear.programYear}}</small></h3>
		<table class="table" ng-show="filteredYears.length">
			<thead>
				<tr>
					<th class="col-xs-2">Year</th>
					<th class="col-xs-5">Workbook</th>
					<th class="col-xs-5">Calendar</th>
				</tr>
			</thead>
			<tbody>
				<tr data-ng-repeat=" year in filteredYears = (years | filter:{programYearID:activePrgmYear.programYearID}) | orderBy:'year' ">
					<td>Year {{ year.year }}</td>
					<td data-col-editor data-col-field="year.workbook" data-save-cb="saveYear(year)">-</td>
					<td data-col-editor data-col-field="year.calendar" data-save-cb="saveYear(year)">-</td>
				</tr>
			</tbody>
		</table>
	</div>
	<div class="col-md-6">
		<h3>Events <small ng-show="activePrgmYear.programYear">In {{activePrgmYear.programYear}}</small></h3>
		<table class="table" ng-show="filteredEvents.length">
			<thead>
				<tr>
					<th class="col-xs-3">Name</th>
					<th class="col-xs-4">Date</th>
					<th class="col-xs-5">Link</th>
					<th></th>
				</tr>
			</thead>
			<tbody><commit_msg>Georgia: add date format to admin<commit_after><?php 
	require_once('admin.class.php');
	$admin->requiresAdmin();
	include('tpl' . DIRECTORY_SEPARATOR . 'header.tpl.html');
?>

<div class="page-header clearfix">
	<h2>ELA Event Manager</h2>
</div>
	
<div data-ng-controller="event-edit" data-ng-cloak>
	<div class="col-md-12">
		<div class="col-md-6" style="position:absolute;bottom:0;right:0">
			<select 
				class="form-control" 
				data-ng-options="v.programYear for v in prgmYears | orderBy:'programYear'" 
				data-ng-model="activePrgmYear"
			>
				<option value="" disabled> -- CHOOSE ONE -- </option>
			</select>
		</div>
		<h3>Program Year <small>Choose one</small></h3>
	</div>
	<div class="col-md-6">
		<h3>Year In Program <small ng-show="activePrgmYear.programYear">During {{activePrgmYear.programYear}}</small></h3>
		<table class="table" ng-show="filteredYears.length">
			<thead>
				<tr>
					<th class="col-xs-2">Year</th>
					<th class="col-xs-5">Workbook</th>
					<th class="col-xs-5">Calendar</th>
				</tr>
			</thead>
			<tbody>
				<tr data-ng-repeat=" year in filteredYears = (years | filter:{programYearID:activePrgmYear.programYearID}) | orderBy:'year' ">
					<td>Year {{ year.year }}</td>
					<td data-col-editor data-col-field="year.workbook" data-save-cb="saveYear(year)">-</td>
					<td data-col-editor data-col-field="year.calendar" data-save-cb="saveYear(year)">-</td>
				</tr>
			</tbody>
		</table>
	</div>
	<div class="col-md-6">
		<h3>Events <small ng-show="activePrgmYear.programYear">In {{activePrgmYear.programYear}}</small></h3>
		<table class="table" ng-show="filteredEvents.length">
			<thead>
				<tr>
					<th class="col-xs-3">Name</th>
					<th class="col-xs-4">Date <small><code>YYYY-MM-DD</code></small></th>
					<th class="col-xs-5">Link</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
{'fraction_non_alphanumeric': 0.21056977704376548, 'fraction_numerical': 0.011560693641618497, 'mean_word_length': 3.7752956636005255, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 139, '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': '2829465', 'n_tokens_mistral': 1635, 'n_tokens_neox': 1387, 'n_words': 223}