<commit_before><?php require __DIR__ . '/bootstrap.php'; ?>
<?php require 'header.php'; ?>

<div class="row">
	<div class="col-sm-4">
		<h1 class="title">CashMoney</h1><img class="piggybank-icon pull-right" src="img/piggybank.png"/>
		<p><a class="add-trip" href="#">Add a new trip</a></p>
		<div class="list-group past-trips"></div>
	</div>
</div>

<script type="handlerbars-template" id="trip-item-template">
	{{#each this}}
		<a href="trip.php?id={{id}}" data-id="{{id}}" class="list-group-item">{{name}}<span class="remove glyphicon glyphicon-remove pull-right"/></a>
	{{/each}}
</script>

<script>
	$(function() {
		<?php $data = new CashMoney\Data\Data(); ?>
		var lessFakeTripData = <?= json_encode($data->getTrips()) ?>;
		
		listTrips();<commit_msg>put the panels back in there<commit_after><?php require __DIR__ . '/bootstrap.php'; ?>
<?php require 'header.php'; ?>

<div class="row">
	<div class="col-sm-8">
		<div class="panel panel-default">
			<div class="panel-heading"><h1 class="title">CashMoney</h1><img class="piggybank-icon pull-right" src="img/piggybank.png"/></div>
			<div class="panel-body">
		
		<p><a class="add-trip" href="#">Add a new trip</a></p>
		<div class="list-group past-trips"></div>
		</div>
		</div>
	</div>
</div>

<script type="handlerbars-template" id="trip-item-template">
	{{#each this}}
		<a href="trip.php?id={{id}}" data-id="{{id}}" class="list-group-item">{{name}}<span class="remove glyphicon glyphicon-remove pull-right"/></a>
	{{/each}}
</script>

<script>
	$(function() {
		<?php $data = new CashMoney\Data\Data(); ?>
		var lessFakeTripData = <?= json_encode($data->getTrips()) ?>;
		
		listTrips();
{'fraction_non_alphanumeric': 0.24303030303030304, 'fraction_numerical': 0.0036363636363636364, 'mean_word_length': 5.003636363636364, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 57, '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': '1494352', 'n_tokens_mistral': 654, 'n_tokens_neox': 612, 'n_words': 116}