| Line 23... |
Line 23... |
| 23 |
<td><input type=file size=70 name=name>
|
23 |
<td><input type=file size=70 name=name>
|
| 24 |
</table>
|
24 |
</table>
|
| 25 |
<p>
|
25 |
<p>
|
| 26 |
<input type=submit name="run1" value="Run 1 Time">
|
26 |
<input type=submit name="run1" value="Run 1 Time">
|
| 27 |
<!-- <input type=submit name="run500" value="Run 500 Times"> -->
|
27 |
<!-- <input type=submit name="run500" value="Run 500 Times"> -->
|
| 28 |
<input type=submit name="runparallel" value="Run All Ways">
|
28 |
<input type=submit name="runparallel" value="Run All Ways">
|
| 29 |
</form>
|
29 |
</form>
|
| 30 |
<p>
|
30 |
<p>
|
| 31 |
Input is a CSV/spreadsheet file with the number of winners to be
|
31 |
Input is a CSV/spreadsheet file with the number of winners to be
|
| 32 |
selected in the first cell. On subsequent lines, the first column contains the names of the candidates (no blanks), with each additional column representing a ballot. Details are given
|
32 |
selected in the first cell. On subsequent lines, the first column contains the names of the candidates (no blanks), with each additional column representing a ballot. Details are given
|
| 33 |
<a href="http://www.bikmort.com/dokuwiki/hare_voting_procedure">here</a>.
|
33 |
<a href="http://www.bikmort.com/dokuwiki/hare_voting_procedure">here</a>.
|
| Line 35... |
Line 35... |
| 35 |
The source code is available <a href="%s?fetch=yes">here</a>.
|
35 |
The source code is available <a href="%s?fetch=yes">here</a>.
|
| 36 |
<p>
|
36 |
<p>
|
| 37 |
<small>%s</small>
|
37 |
<small>%s</small>
|
| 38 |
<hr>
|
38 |
<hr>
|
| 39 |
<pre>
|
39 |
<pre>
|
| 40 |
""" % (formaction, formaction, "$Id: vote.py 77 2016-04-24 13:50:12Z jtkorb $"))
|
40 |
""" % (formaction, formaction, "$Id: vote.py 78 2016-05-11 19:18:03Z jtkorb $"))
|
| 41 |
return
|
41 |
return
|
| 42 |
|
42 |
|
| 43 |
def emitPostHTML():
|
43 |
def emitPostHTML():
|
| 44 |
emitHTML("""</pre>
|
44 |
emitHTML("""</pre>
|
| 45 |
</body>
|
45 |
</body>
|