changes
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
<th> </th>
|
<th> </th>
|
||||||
<th>Candidate</th>
|
<th>Candidate</th>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- INJECT0 -->
|
<!-- INJECT -->
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<th style="width:50%"><span id="spanid"> </th>
|
<th style="width:50%"><span id="spanid"> </th>
|
||||||
<th>Happiness</th>
|
<th>Happiness</th>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- INJECT0 -->
|
<!-- INJECT -->
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -2,9 +2,14 @@ var express = require('express')
|
|||||||
var bodyParser = require('body-parser')
|
var bodyParser = require('body-parser')
|
||||||
var fs=require('fs')
|
var fs=require('fs')
|
||||||
var hashindex=require('hash-index')
|
var hashindex=require('hash-index')
|
||||||
|
var fc=require('./filechunker.js')
|
||||||
|
|
||||||
var app = express()
|
var app = express()
|
||||||
|
|
||||||
|
var PlurVoteTemplate=fc("./plurvote.html");
|
||||||
|
console.log(PlurVoteTemplate);
|
||||||
|
console.log("Foo!");
|
||||||
|
|
||||||
|
|
||||||
var Candidates=[
|
var Candidates=[
|
||||||
"Chris Christie",
|
"Chris Christie",
|
||||||
|
|||||||
39
results.html
Normal file
39
results.html
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<title>Ballot Experiments Results</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<style>
|
||||||
|
form, table, th, td {
|
||||||
|
border:1px solid black;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Here are the results by Range Voting:
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th> </th>
|
||||||
|
<th>Candidate</th>
|
||||||
|
</tr>
|
||||||
|
<!-- INJECT -->
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
And here are the results by Plurality Voting:
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th> </th>
|
||||||
|
<th>Candidate</th>
|
||||||
|
</tr>
|
||||||
|
<!-- INJECT -->
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
</body>
|
||||||
|
|
||||||
Reference in New Issue
Block a user