<commit_before><!DOCTYPE html>
<html class="no-js" lang="en">
<head>
	<title>eHOSP - Settings</title>
	<?php
		include '../../includes/html/head.html';
		include '../init.php';
	?>
	<link rel="stylesheet" type="text/css" href="../../css/main.css">
    <link rel="stylesheet" type="text/css" href="../../css/forms.css">
</head>
<body>
	<div id="container">
		<?php
			include '../../includes/html/header.html';
		?>
        <h2> Settings </h2>
        <p> Change the settings below to configure your application according to your
            system and needs
        </p>

		<div>
            <section>
                <form action="setup_config.php" method="post">
					<ul class="input-list style-1 clearfix">
						<li>
                            <p>Hostname (e.g. "localhost")</p>
							<input type="text" placeholder="Hostname" name="hostname">
						</li>
                        <br>
                        <li>
                            <p>Administrator Username</p>
							<input type="text" placeholder="Username" name="username">
						</li>
                        <br>
                        <li>
                            <p>Database Hostname (e.g. "localhost")</p>
							<input type="text" placeholder="Database Hostname" name="db_hostname">
						</li>
                        <br>
                        <li>
                            <p>Database Listening Port (e.g. 3306)</p>
							<input type="number" placeholder="Database Port" name="db_port">
						</li>
                        <br>
                        <li>
                            <p>Database Root Username (e.g. "root")</p>
							<input type="text" placeholder="Database Root User" name="db_username">
						</li>
                        <br>
                        <li>
                            <p>Database Root Password</p>
							<input type="password" placeholder="Database Root Password" name="db_password">
						</li>
                        <br>
                        <li>
                            <p>Database Root Password Again</p>
							<input type="password" placeholder="<PASSWORD>" name="db_password_verification">
						</li>
                        <br>
						<li>
                            <p>Raspberry PI Hostname</p>
							<input type="text" placeholder="Hostname" name="rasp_hostname">
						</li>
                        <br>
						<li>
                            <p>Raspberry PI Listening Port</p>
							<input type="number" placeholder="Port" name="rasp_port">
						</li>
                        <br>
					</ul>
					<input type="submit" value="Save Settings">
				</form>
        </div>
	</div>

	<script src="js/foundation.min.js"></script>
    <script>
    	$(document).foundation();
    </script>
</body>
</html><commit_msg>Changed the names so that they are exactly the same with the keys in the config's array, so that access to that is easier and more efficient<commit_after><!DOCTYPE html>
<html class="no-js" lang="en">
<head>
	<title>eHOSP - Settings</title>
	<?php
		include '../../includes/html/head.html';
		include '../init.php';
	?>
	<link rel="stylesheet" type="text/css" href="../../css/main.css">
    <link rel="stylesheet" type="text/css" href="../../css/forms.css">
</head>
<body>
	<div id="container">
		<?php
			include '../../includes/html/header.html';
		?>
        <h2> Settings </h2>
        <p> Change the settings below to configure your application according to your
            system and needs
        </p>

		<div>
            <section>
                <form action="setup_config.php" method="post">
					<ul class="input-list style-1 clearfix">
						<li>
                            <p>Hostname (e.g. "localhost")</p>
							<input type="text" placeholder="Hostname" name="APP_HOSTNAME">
						</li>
                        <br>
                        <li>
                            <p>Administrator Username</p>
							<input type="text" placeholder="Username" name="APP_USERNAME">
						</li>
                        <br>
                        <li>
                            <p>Database Hostname (e.g. "localhost")</p>
							<input type="text" placeholder="Database Hostname" name="DB_HOSTNAME">
						</li>
                        <br>
                        <li>
                            <p>Database Listening Port (e.g. 3306)</p>
							<input type="number" placeholder="Database Port" name="DB_PORT">
						</li>
                        <br>
                        <li>
                            <p>Database Root Username (e.g. "root")</p>
							<input type="text" placeholder="Database Root User" name="DB_USERNAME">
						</li>
                        <br>
                        <li>
                            <p>Database Root Password</p>
							<input type="password" placeholder="Database Root Password" name="DB_ROOT_PASSWORD">
						</li>
                        <br>
                        <li>
                            <p>Database Root Password Again</p>
							<input type="password" placeholder="Database Root Password" name="DB_ROOT_PASSWORD_verification">
						</li>
                        <br>
						<li>
                            <p>Raspberry PI Hostname</p>
							<input type="text" placeholder="Hostname" name="RASPBERRYPI_HOSTNAME">
						</li>
                        <br>
						<li>
                            <p>Raspberry PI Listening Port</p>
							<input type="number" placeholder="Port" name="RASPBERRYPI_PORT">
						</li>
                        <br>
					</ul>
					<input type="submit" value="Save Settings">
				</form>
        </div>
	</div>

	<script src="js/foundation.min.js"></script>
    <script>
    	$(document).foundation();
    </script>
</body>
</html>
{'fraction_non_alphanumeric': 0.14809615722056502, 'fraction_numerical': 0.0024565713283032113, 'mean_word_length': 1.47074122236671, 'pattern_counts': {'":': 0, '<': 174, '<?xml version=': 0, '>': 174, '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': '3690416', 'n_tokens_mistral': 1901, 'n_tokens_neox': 1577, 'n_words': 373}