Subversion Repositories Remote Hare Voting

Rev

Rev 67 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 67 Rev 68
Line 22... Line 22...
22
        <tr><td>CSV file of ballots:
22
        <tr><td>CSV file of ballots:
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 
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 67 2007-10-15 16:11:51Z jtkorb $"))
40
""" % (formaction, formaction, "$Id: vote.py 68 2008-01-31 19:13:10Z jtkorb $"))
41
    return
41
    return
42
 
42
 
43
def emitPostHTML():
43
def emitPostHTML():
44
    emitHTML("""</pre>
44
    emitHTML("""</pre>
45
</body>
45
</body>