<commit_before><!DOCTYPE html>

<html>

	<head>
		<title>Votejere - A voting app</title>
		
		<link href="/public/css/main.css" rel="stylesheet" type="text/css">
	</head>

	<header>
		<p>Welcome, <span id="display-name"></span>!</p>
		<a class="menu" href="/profile">Profile</a>
		<p>|</p>
		<a class="menu" href="/logout">Logout</a>
		<p>|</p>
		<a class="menu" href="/createpoll">Create Poll</a>
	</header>

	<body>
		<div class="container">
			<p class="clementine-text">Votejere</p>
			<p class="clementine-text">Create a Poll</p>
		</div>
		<div>
		    <form method="post" class="createpoll">
                Question:<input type="text" name="question"><br>
                <div name="choices" id="choices">
                    Choice 1:<input type="text" name="choice1" count=1><br>
                    Choice 2:<input type="text" name="choice2" count=1><br>
                    Choice 3:<input type="text" name="choice3" count=1><br>
                    Choice 4:<input type="text" name="choice4" count=1><br>
                </div>
                <input type="submit" class="createpoll" value="Submit">
            </form>
            <input onclick="addfields()" type="submit" value="Add another choice">
		    
		</div>
	
		<!--<div class="container">
			<p>You have clicked the button <span id="click-nbr"></span> times.</p>
			<br />
			<div class="btn-container">
				<button type="submit" class="btn btn-add">CLICK ME!</button>
				<button class="btn btn-delete">RESET</button>
			</div>
		</div>-->
		
		<script type="text/javascript" src="common/ajax-functions.js"></script><commit_msg>saving polls<commit_after><!DOCTYPE html>

<html>

	<head>
		<title>Votejere - A voting app</title>
		
		<link href="/public/css/main.css" rel="stylesheet" type="text/css">
	</head>

	<header>
		<p>Welcome, <span id="display-name"></span>!</p>
		<a class="menu" href="/profile">Profile</a>
		<p>|</p>
		<a class="menu" href="/logout">Logout</a>
		<p>|</p>
		<a class="menu" href="/createpoll">Create Poll</a>
	</header>

	<body>
		<div class="container">
			<p class="clementine-text">Votejere</p>
			<p class="clementine-text">Create a Poll</p>
		</div>
		<div>
		    <form class="createpoll">
                Question:<input type="text" name="question"><br>
                <div name="choices" id="choices">
                    Choice 1:<input type="text" name="choice1" count=1><br>
                    Choice 2:<input type="text" name="choice2" count=1><br>
                    Choice 3:<input type="text" name="choice3" count=1><br>
                    Choice 4:<input type="text" name="choice4" count=1><br>
                </div>
                <input type="submit" class="createpoll" value="Submit">
            </form>
            <input onclick="addfields()" type="submit" value="Add another choice">
		    
		</div>
	
		<!--<div class="container">
			<p>You have clicked the button <span id="click-nbr"></span> times.</p>
			<br />
			<div class="btn-container">
				<button type="submit" class="btn btn-add">CLICK ME!</button>
				<button class="btn btn-delete">RESET</button>
			</div>
		</div>-->
		
		<script type="text/javascript" src="common/ajax-functions.js"></script>
{'fraction_non_alphanumeric': 0.20025070510811657, 'fraction_numerical': 0.007521153243497336, 'mean_word_length': 2.859733978234583, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, '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': '4516502', 'n_tokens_mistral': 1189, 'n_tokens_neox': 1060, 'n_words': 217}