<commit_before><!DOCTYPE html>
<html>
<head>
	<link href='http://fonts.googleapis.com/css?family=Belleza' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>
	<link rel="stylesheet" href="https://raw.github.com/jlukic/Semantic-UI/master/build/minified/elements/button.min.css" />
	<link rel="stylesheet" href="https://raw.github.com/jlukic/Semantic-UI/master/build/minified/elements/divider.min.css" />
	<style type="text/css">
		body{
			text-align: center;
			background-image: url('/img/doattend.png');
			background-attachment: fixed;
			background-repeat: no-repeat;
			background-size: 100%;
			font-family: 'Open Sans Condensed', sans-serif;
			padding: 5%;
		}
		h1{
			font-family: 'Belleza', sans-serif;
			font-size: 50;
			color: #615252;
		}
	</style>
</head>
<body>
	<h1>DoAttend Registrations Glancer</h1>
	<div class="ui divider"></div>
	<div class="massive ui button teal">
		Total Registrations <hr>
		<%= @doattend.aggregate %>
	</div>
</body>
</html><commit_msg>added data table of participants list<commit_after><!DOCTYPE html>
<html>
<head>
	<link href='http://fonts.googleapis.com/css?family=Belleza' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>
	<link rel="stylesheet" href="<%= request.env['SCRIPT_NAME'] %>/css/button.min.css" />
	<link rel="stylesheet" href="<%= request.env['SCRIPT_NAME'] %>/css/divider.min.css" />
	<link rel="stylesheet" href="<%= request.env['SCRIPT_NAME'] %>/css/table.min.css" />
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
	<script src="//cdnjs.cloudflare.com/ajax/libs/datatables/1.9.4/jquery.dataTables.min.js"></script>
	<style type="text/css">
		body{
			text-align: center;
			background-image: url('/img/doattend.png');
			background-attachment: fixed;
			background-repeat: no-repeat;
			background-size: 100%;
			font-family: 'Open Sans Condensed', sans-serif;
			padding: 5%;
		}

		h1{
			font-family: 'Belleza', sans-serif;
			font-size: 40pt;
			color: #615252;
		}

		table{
			margin-left: auto;
			margin-right: auto;
		}
		
	</style>
</head>
<body>
	<h1>DoAttend Registrations Glancer</h1>
	<div class="ui divider"></div>
	<div class="massive ui button teal">
		Total Registrations <hr>
		<%= @doattend.aggregate %>
	</div>
	<div class="ui divider"></div>
	<h2>Participants</h2>
	<table class="ui large table segment">
  <thead>
    <tr><th>Ticket</th>
    <th>Email</th>
    <th>Registered On</th>
  </tr></thead>
  <tbody>
		<% @doattend.participant.result.each do |d| %>
			<tr>
				<td><%= d['Ticket_Number'] %></td>
				<td><%= d['Email'] %></td>
				<td><%= Time.iso8601( d['Date'] ).localtime.strftime("%A, %e %B %Y") %></td>
			</tr>
		<% end %>
  </tbody>
</table>
</body>
<script>
	$('table').dataTable()
	$("th").css({'text-align': 'center'})
</script>
</html>
{'fraction_non_alphanumeric': 0.21229425596237822, 'fraction_numerical': 0.01645952300974135, 'mean_word_length': 4.336917562724015, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 86, 'https://': 2, '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': '5373750', 'n_tokens_mistral': 1285, 'n_tokens_neox': 1130, 'n_words': 199}