<commit_before><?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>

<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>WhoPay</title>
	<meta name="description" content="Creating a new Bill">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="/assets/dist/css/paper.min.css">
  <link rel="stylesheet" href="/assets/assets/css/style.css">
</head>
<body>
	<div class="container">
		<div class="row" style="margin-top: 50px;">
			<div class="col-md-6 col-md-offset-3">
				<form action="/main/receipt" method="post">
					
					<!-- Name Field -->
					<div class ="form-group">
						<label for="name">Name</label>
						<input type="text" class="form-control" id="name" name="name" placeholder="Enter your name">
					</div>

					<!-- Item Field -->
					<div class="form-group">
						<div id="itemlist">
							<label>Items:</label><br>
							<input type="text" class="form-control itemname" name="items[]" placeholder="Item name"><input type="text" class="form-control itemcost" name="itemcosts[]" placeholder="Price of Item">
						</div>
						<br>
						<!-- Button to add Items -->
						<button type="button" class="btn btn-default btn-sm" id="additem">Add item</button>
					</div>

					<!-- Tax and Service Charge -->
					<p class="help-block">Check if the prices you entered does not include Tax and/or Service Charge.</p>
					<div class="form-group form-inline">
						<div class="checkbox">
							<label>
								<input type="checkbox">Service Charge 
								<input type="text" class="form-control" name="servicecharge" value="10%" style="width:30%">
							</label>
						</div>
						<div class="checkbox">
							<label>
								<input type="checkbox">Tax 
								<input type="text" class="form-control" name="tax" value="7%" style="width:40%">
							</label>
						</div>
					</div>

					<!-- Button to submit -->
					<button type="submit" class="btn btn-default" value="Submit">Submit</button>
				</form>
			</div>
		</div>
	</div>

	<script type="text/javascript" src="/assets/dist/js/vendor/jquery.min.js"></script>
  <script type="text/javascript" src="/assets/dist/js/paper.min.js"></script>
  <script type="text/javascript">
    window.twttr=(function(d,s,id){var t,js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id)){return}js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);return window.twttr||(t={_e:[],ready:function(f){t._e.push(f)}})}(document,"script","twitter-wjs"));
  </script>
  <script type="text/javascript" src="https://apis.google.com/js/platform.js" async defer> </script>	
  <script type="text/javascript" src="/assets/dist/js/create.js"></script>
</body>
</html><commit_msg>Added Cancel Button Edited Submit button and Add Item button to be blue colored<commit_after><?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>

<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>WhoPay</title>
	<meta name="description" content="Creating a new Bill">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="/assets/dist/css/paper.min.css">
	<link rel="stylesheet" href="/assets/assets/css/style.css">
</head>
<body>
	<div class="container">
		<div class="row" style="margin-top: 50px;">
			<div class="col-md-6 col-md-offset-3">
				<form action="index.php/main/receipt" method="post" class="form-horizontal">
					<fieldset>
						<!-- Name Field -->
						<div class ="form-group">
							<label for="name">Name</label>
							<input type="text" class="form-control" id="name" name="name" placeholder="Enter your name">
						</div>

						<!-- Item Field -->
						<div class="form-group">
							<div id="itemlist">
								<label>Items:</label><br>
								<input type="text" class="form-control itemname" name="items[]" placeholder="Item name"><input type="text" class="form-control itemcost" name="itemcosts[]" placeholder="Price of Item">
							</div>
							<br>
							<!-- Button to add Items -->
							<button type="button" class="btn btn-info btn-sm" id="additem">Add item</button>
						</div>

						<!-- Tax and Service Charge -->
						<p class="help-block">Check if the prices you entered does not include Tax and/or Service Charge.</p>
						<div class="form-group form-inline">
							<div class="checkbox">
								<label>
									<input type="checkbox"> Service Charge 
									<input type="text" class="form-control" name="servicecharge" value="10%" style="width:30%">
								</label>
							</div>
							<div class="checkbox">
								<label>
									<input type="checkbox"> Tax 
									<input type="text" class="form-control" name="tax" value="7%" style="width:40%">
								</label>
							</div>
						</div>

						<!-- Submit and Cancel Buttons -->
						<div class="form-group">
							<div class="col-lg-10 col-lg-offset-2">
								<a href="/" class="btn btn-default">Cancel</a>
								<button type="submit" class="btn btn-primary" value="Submt">Submit</button>
							</div>
						</div>
					
					</fieldset>
				</form>
			</div>
		</div>
	</div>

	<script type="text/javascript" src="/assets/dist/js/vendor/jquery.min.js"></script>
	<script type="text/javascript" src="/assets/dist/js/paper.min.js"></script>
	<script type="text/javascript">
		window.twttr=(function(d,s,id){var t,js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id)){return}js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);return window.twttr||(t={_e:[],ready:function(f){t._e.push(f)}})}(document,"script","twitter-wjs"));
	</script>
	<script type="text/javascript" src="https://apis.google.com/js/platform.js" async defer> </script>	
	<script type="text/javascript" src="/assets/dist/js/create.js"></script>
</body>
</html>
{'fraction_non_alphanumeric': 0.20090030010003335, 'fraction_numerical': 0.005168389463154384, 'mean_word_length': 3.6794071762870515, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 159, 'https://': 4, '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': '5421253', 'n_tokens_mistral': 2430, 'n_tokens_neox': 1949, 'n_words': 395}