2021-06-02 13:37:47 +02:00
|
|
|
|
<!--
|
|
|
|
|
* OpenTally: Open-source election vote counting
|
2023-02-07 11:12:26 +01:00
|
|
|
|
* Copyright © 2021–2023 Lee Yingtong Li (RunasSudo)
|
2021-06-02 13:37:47 +02:00
|
|
|
|
*
|
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
-->
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<title>OpenTally</title>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" integrity="sha512-NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w==" crossorigin="anonymous" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="main.css?v=GITVERSION">
|
|
|
|
|
</head>
|
|
|
|
|
<body class="interactive">
|
2021-06-04 07:01:53 +02:00
|
|
|
|
<div id="divLoading">
|
|
|
|
|
Loading…
|
2021-06-02 13:37:47 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
2021-06-04 07:01:53 +02:00
|
|
|
|
<div id="divUI" style="display: none;">
|
|
|
|
|
<div class="menudiv">
|
|
|
|
|
<input type="file" id="bltFile">
|
|
|
|
|
<button onclick="clickCount()">Count</button>
|
2021-06-05 16:38:25 +02:00
|
|
|
|
<label>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
Preset:
|
|
|
|
|
<select id="selPreset" onchange="changePreset()">
|
2021-07-23 09:00:45 +02:00
|
|
|
|
<optgroup label="Recommended">
|
2021-07-20 05:41:38 +02:00
|
|
|
|
<option value="wigm" selected>OpenTally WIGM</option>
|
|
|
|
|
<option value="scottish">Scottish STV</option>
|
2021-07-21 16:40:01 +02:00
|
|
|
|
<option value="meek87">OpenTally Meek</option>
|
2021-07-20 05:41:38 +02:00
|
|
|
|
</optgroup>
|
2021-07-23 09:00:45 +02:00
|
|
|
|
<optgroup label="Legislative">
|
2021-07-20 05:41:38 +02:00
|
|
|
|
<option value="senate">Australian Senate STV</option>
|
2021-07-22 12:31:06 +02:00
|
|
|
|
<option value="act">Australian Capital Territory STV</option>
|
2022-03-18 15:47:40 +01:00
|
|
|
|
<option value="nswlg">NSW Local Government STV</option>
|
2023-02-08 11:36:15 +01:00
|
|
|
|
<option value="viclc">Victorian Legislative Council STV</option>
|
2021-07-23 09:00:45 +02:00
|
|
|
|
<option value="wa">Western Australia STV</option>
|
|
|
|
|
<option value="meeknz">Meek STV (New Zealand)</option>
|
2021-08-07 10:51:48 +02:00
|
|
|
|
<option value="minneapolis">Minneapolis STV</option>
|
2021-08-03 10:38:45 +02:00
|
|
|
|
<option value="cambridge">Cambridge STV</option>
|
2021-09-14 14:47:35 +02:00
|
|
|
|
<option value="dail">Dáil Éireann STV</option>
|
2021-07-23 09:00:45 +02:00
|
|
|
|
</optgroup>
|
|
|
|
|
<optgroup label="Hand-count">
|
2021-07-20 05:41:38 +02:00
|
|
|
|
<option value="prsa77">PRSA 1977</option>
|
|
|
|
|
<option value="ers97">ERS97</option>
|
|
|
|
|
<option value="ers76">ERS76</option>
|
|
|
|
|
<option value="ers73">ERS73</option>
|
2021-07-21 16:40:01 +02:00
|
|
|
|
<option value="cofe">Church of England</option>
|
2021-07-20 05:41:38 +02:00
|
|
|
|
</optgroup>
|
2021-07-23 09:00:45 +02:00
|
|
|
|
<optgroup label="Computer-count">
|
|
|
|
|
<option value="meek06">Meek STV (2006)</option>
|
2022-08-23 10:37:42 +02:00
|
|
|
|
<option value="vdc">van der Craats (‘Wright’) STV</option>
|
2021-07-23 09:00:45 +02:00
|
|
|
|
</optgroup>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</select>
|
2021-06-05 16:38:25 +02:00
|
|
|
|
</label>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
<button id="btnAdvancedOptions" onclick="clickAdvancedOptions()">Show advanced options</button>
|
|
|
|
|
OpenTally (revision <span id="spanRevNum"></span>)
|
2021-10-27 15:29:06 +02:00
|
|
|
|
· <a href="https://yingtongli.me/opentally/">Information and instructions</a>
|
2021-06-02 13:37:47 +02:00
|
|
|
|
</div>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
|
|
|
|
|
<div id="divAdvancedOptions" class="menudiv cols-12 cols-sm-6" style="display: none;">
|
|
|
|
|
<div class="col-6" style="align-self: start;">
|
|
|
|
|
<div class="subheading">
|
|
|
|
|
Method specification:
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<label>
|
|
|
|
|
Quota:
|
|
|
|
|
<select id="selQuotaCriterion">
|
2021-06-11 13:22:28 +02:00
|
|
|
|
<option value="geq">≥</option>
|
|
|
|
|
<option value="gt" selected>></option>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</select>
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<select id="selQuota">
|
2021-08-11 13:34:42 +02:00
|
|
|
|
<option value="droop" selected>Droop</option>
|
|
|
|
|
<option value="droop_exact">Droop (exact)</option>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
<option value="hare">Hare</option>
|
|
|
|
|
<option value="hare_exact">Hare (exact)</option>
|
|
|
|
|
</select>
|
|
|
|
|
</label>
|
2021-06-07 12:52:18 +02:00
|
|
|
|
<label>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
<select id="selQuotaMode">
|
|
|
|
|
<option value="static" selected>Static quota</option>
|
2021-06-07 12:52:18 +02:00
|
|
|
|
<!--<option value="progressive">Progressive quota</option>-->
|
2021-06-04 07:01:53 +02:00
|
|
|
|
<option value="ers97">Static with ERS97 rules</option>
|
2021-07-18 12:01:35 +02:00
|
|
|
|
<option value="ers76">Static with ERS76 rules</option>
|
2021-08-08 11:34:02 +02:00
|
|
|
|
<option value="dynamic_by_total">Dynamic by total vote</option>
|
|
|
|
|
<option value="dynamic_by_active">Dynamic by active vote</option>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</select>
|
2021-06-07 12:52:18 +02:00
|
|
|
|
</label>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<label>
|
|
|
|
|
Surplus order:
|
|
|
|
|
<select id="selSurplus">
|
|
|
|
|
<option value="by_size" selected>By size</option>
|
|
|
|
|
<option value="by_order">By order</option>
|
|
|
|
|
</select>
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
Method:
|
2021-08-04 05:46:32 +02:00
|
|
|
|
<select id="selMethod">
|
2021-06-04 07:01:53 +02:00
|
|
|
|
<option value="wig" selected>Weighted inclusive Gregory</option>
|
|
|
|
|
<option value="uig">Unweighted inclusive Gregory</option>
|
|
|
|
|
<option value="eg">Exclusive Gregory (last bundle)</option>
|
|
|
|
|
<option value="meek">Meek method</option>
|
2021-08-04 05:46:32 +02:00
|
|
|
|
<option value="hare">Hare (exclusive sample)</option>
|
2021-09-27 11:02:30 +02:00
|
|
|
|
<option value="ihare">Inclusive Hare (sample)</option>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</select>
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<select id="selPapers">
|
2022-04-20 12:03:20 +02:00
|
|
|
|
<option value="both" selected>Include non-transferable ballots</option>
|
2023-06-11 13:47:37 +02:00
|
|
|
|
<option value="assume_progress_total">Assume progress total</option>
|
2022-04-20 12:03:20 +02:00
|
|
|
|
<option value="transferable">Use transferable ballots only</option>
|
2022-03-24 16:46:30 +01:00
|
|
|
|
<option value="subtract_nontransferable">Subtract non-transferables</option>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</select>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
2021-06-22 15:47:35 +02:00
|
|
|
|
<label style="margin-right:1em;">
|
2021-08-04 05:46:32 +02:00
|
|
|
|
<span class="pill-grey" title="This option has effect only if “Method” is set to a Gregory method">Gregory</span>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
Exclusion:
|
|
|
|
|
<select id="selExclusion">
|
2021-06-05 16:38:25 +02:00
|
|
|
|
<option value="single_stage" selected>Single stage</option>
|
|
|
|
|
<option value="by_value">By value</option>
|
2023-02-07 11:12:26 +01:00
|
|
|
|
<option value="first_prefs_then_by_value">FPV then by value</option>
|
2021-07-19 15:15:17 +02:00
|
|
|
|
<option value="by_source">By source</option>
|
2021-06-05 16:38:25 +02:00
|
|
|
|
<option value="parcels_by_order">By parcel (by order)</option>
|
2022-08-23 10:37:42 +02:00
|
|
|
|
<option value="reset_and_reiterate">Reset and re-iterate</option>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</select>
|
|
|
|
|
</label>
|
2021-06-22 15:47:35 +02:00
|
|
|
|
<label>
|
2021-06-19 17:28:54 +02:00
|
|
|
|
<input type="checkbox" id="chkMeekNZExclusion">
|
2021-06-23 12:18:53 +02:00
|
|
|
|
<span class="pill-grey" title="This option has effect only if “Method” is set to “Meek method”">Meek</span>
|
2021-06-22 15:47:35 +02:00
|
|
|
|
NZ-style exclusion
|
2021-06-19 17:28:54 +02:00
|
|
|
|
</label>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</div>
|
2021-08-04 05:46:32 +02:00
|
|
|
|
<div>
|
2021-08-05 10:41:39 +02:00
|
|
|
|
<label style="margin-right:1em;">
|
2021-09-27 11:02:30 +02:00
|
|
|
|
<span class="pill-grey" title="This option has effect only if “Method” is set to a Hare method">Hare</span>
|
2021-08-05 10:41:39 +02:00
|
|
|
|
Sample method:
|
|
|
|
|
<select id="selSample">
|
2021-09-27 11:02:30 +02:00
|
|
|
|
<option value="stratify" selected>Stratify</option>
|
|
|
|
|
<!--<option value="stratify_floor" selected>Stratify (floor)</option>-->
|
2021-08-05 10:41:39 +02:00
|
|
|
|
<option value="by_order">By order</option>
|
2021-09-27 11:02:30 +02:00
|
|
|
|
<option value="cincinnati">Cincinnati</option>
|
2021-08-05 10:41:39 +02:00
|
|
|
|
</select>
|
|
|
|
|
</label>
|
2021-08-04 05:46:32 +02:00
|
|
|
|
<label>
|
|
|
|
|
<input type="checkbox" id="chkSamplePerBallot">
|
|
|
|
|
Per-ballot transfers
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
2021-06-12 16:39:49 +02:00
|
|
|
|
<div class="subheading">
|
2021-06-04 07:01:53 +02:00
|
|
|
|
Tie-breaking:
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<label>
|
|
|
|
|
Ties:
|
|
|
|
|
<select id="selTies">
|
2021-06-12 16:39:49 +02:00
|
|
|
|
<option value="backwards,random" selected>Backwards then random</option>
|
|
|
|
|
<option value="forwards,random">Forwards then random</option>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
<option value="random">Random</option>
|
|
|
|
|
<option value="prompt">Prompt</option>
|
|
|
|
|
</select>
|
|
|
|
|
</label>
|
2021-06-12 19:15:15 +02:00
|
|
|
|
<label>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
Random seed:
|
|
|
|
|
<input type="text" id="txtSeed" value="">
|
2021-06-12 19:15:15 +02:00
|
|
|
|
</label>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</div>
|
2021-06-27 14:09:34 +02:00
|
|
|
|
<div class="subheading">
|
2021-06-04 07:01:53 +02:00
|
|
|
|
Constraints:
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
2022-04-15 18:27:59 +02:00
|
|
|
|
<label>
|
|
|
|
|
<input type="file" id="conFile">
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
Method:
|
|
|
|
|
<select id="selConstraintMethod">
|
|
|
|
|
<option value="guard_doom" selected>Guard/doom</option>
|
|
|
|
|
<option value="repeat_count">Repeat count</option>
|
|
|
|
|
</select>
|
|
|
|
|
</label>
|
2021-06-27 14:09:34 +02:00
|
|
|
|
</div>
|
2021-08-16 10:48:49 +02:00
|
|
|
|
<div class="subheading">
|
|
|
|
|
Report options:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
<label style="margin-right:1em;">
|
|
|
|
|
Report style:
|
|
|
|
|
<select id="selReport">
|
2021-09-04 14:24:01 +02:00
|
|
|
|
<option value="votes">Votes only</option>
|
|
|
|
|
<option value="votes_transposed" selected>Votes (transposed)</option>
|
2021-08-16 10:48:49 +02:00
|
|
|
|
<option value="ballots_votes">Ballots and votes</option>
|
|
|
|
|
</select>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<label class="col-12">
|
|
|
|
|
Display up to
|
|
|
|
|
<input type="number" id="txtPPDP" value="2" min="0" style="width: 3em;">
|
|
|
|
|
d.p.
|
|
|
|
|
</label>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</div>
|
|
|
|
|
<div class="col-6 cols-12" style="align-self: start;">
|
|
|
|
|
<div class="col-12 subheading">
|
|
|
|
|
Numeric representation:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-12">
|
2021-06-22 15:47:35 +02:00
|
|
|
|
<label style="margin-right:1em;">
|
2021-06-04 07:01:53 +02:00
|
|
|
|
Numbers:
|
|
|
|
|
<select id="selNumbers">
|
2021-06-11 13:22:28 +02:00
|
|
|
|
<option value="rational" selected>Rational</option>
|
|
|
|
|
<option value="fixed">Fixed</option>
|
2021-06-14 13:43:43 +02:00
|
|
|
|
<option value="gfixed">Fixed (guarded)</option>
|
2021-06-04 10:59:50 +02:00
|
|
|
|
<option value="float64">Float (64-bit)</option>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</select>
|
|
|
|
|
</label>
|
2021-06-04 14:05:48 +02:00
|
|
|
|
<label>
|
2021-06-23 12:18:53 +02:00
|
|
|
|
<span class="pill-grey" title="This option has effect only if “Numbers” is set to “Fixed” or “Fixed (guarded)”">Fixed</span>
|
2021-06-22 15:47:35 +02:00
|
|
|
|
Decimal places:
|
2021-06-04 07:01:53 +02:00
|
|
|
|
<input type="number" id="txtDP" value="5" min="0" style="width: 3em;">
|
2021-06-04 14:05:48 +02:00
|
|
|
|
</label>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</div>
|
2021-06-09 04:42:47 +02:00
|
|
|
|
<div class="col-12 subheading">
|
2021-06-04 07:01:53 +02:00
|
|
|
|
Count optimisations:
|
|
|
|
|
</div>
|
|
|
|
|
<label class="col-6">
|
2021-06-22 16:52:25 +02:00
|
|
|
|
<input type="checkbox" id="chkBulkElection" checked>
|
2021-06-22 07:23:26 +02:00
|
|
|
|
Early bulk election
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</label>
|
|
|
|
|
<label class="col-6">
|
|
|
|
|
<input type="checkbox" id="chkBulkExclusion">
|
|
|
|
|
Bulk exclusion
|
|
|
|
|
</label>
|
2021-06-18 10:48:12 +02:00
|
|
|
|
<label class="col-6">
|
2021-06-04 07:01:53 +02:00
|
|
|
|
<input type="checkbox" id="chkDeferSurpluses">
|
|
|
|
|
Defer surpluses
|
2021-06-09 04:42:47 +02:00
|
|
|
|
</label>
|
2021-06-18 10:48:12 +02:00
|
|
|
|
<label class="col-6">
|
2021-08-07 10:51:48 +02:00
|
|
|
|
<input type="checkbox" id="chkImmediateElect" checked>
|
2021-06-22 15:47:35 +02:00
|
|
|
|
Immediate election
|
2021-06-18 10:48:12 +02:00
|
|
|
|
</label>
|
2021-08-03 15:22:52 +02:00
|
|
|
|
<label class="col-12">
|
|
|
|
|
Minimum threshold:
|
|
|
|
|
<input type="number" id="txtMinThreshold" value="0" min="0" style="width: 3em;">
|
|
|
|
|
</label>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
<div class="col-12 subheading">
|
|
|
|
|
Rounding:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<label>
|
2021-06-11 13:22:28 +02:00
|
|
|
|
<input type="checkbox" id="chkRoundQuota">
|
2021-06-04 07:01:53 +02:00
|
|
|
|
Quota:
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input type="number" id="txtRoundQuota" value="0" min="0" style="width: 3em;">
|
|
|
|
|
d.p.
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="checkbox" id="chkRoundVotes">
|
|
|
|
|
Votes:
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input type="number" id="txtRoundVotes" value="0" min="0" style="width: 3em;">
|
|
|
|
|
d.p.
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<label>
|
2021-08-03 08:46:21 +02:00
|
|
|
|
<input type="checkbox" id="chkRoundSFs">
|
2021-06-11 13:22:28 +02:00
|
|
|
|
Surplus fractions:
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</label>
|
|
|
|
|
<label>
|
2021-08-03 08:46:21 +02:00
|
|
|
|
<input type="number" id="txtRoundSFs" value="0" min="0" style="width: 3em;">
|
2021-06-04 07:01:53 +02:00
|
|
|
|
d.p.
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<label>
|
2021-08-03 08:46:21 +02:00
|
|
|
|
<input type="checkbox" id="chkRoundValues">
|
|
|
|
|
Ballot values:
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</label>
|
|
|
|
|
<label>
|
2021-08-03 08:46:21 +02:00
|
|
|
|
<input type="number" id="txtRoundValues" value="0" min="0" style="width: 3em;">
|
2021-06-04 07:01:53 +02:00
|
|
|
|
d.p.
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
2021-06-11 13:22:28 +02:00
|
|
|
|
<label class="col-12">
|
2021-07-21 16:40:01 +02:00
|
|
|
|
<span class="pill-grey" title="This option has effect only if “Method” is a Gregory method">Gregory</span>
|
2022-03-22 14:34:43 +01:00
|
|
|
|
Round subtransfers:
|
2021-06-11 13:22:28 +02:00
|
|
|
|
<select id="selSumTransfers">
|
2022-03-22 14:34:43 +01:00
|
|
|
|
<option value="single_step" selected>Single step</option>
|
|
|
|
|
<option value="by_value">By value</option>
|
2022-03-22 15:51:38 +01:00
|
|
|
|
<option value="by_value_and_source">By value and source</option>
|
2022-03-24 17:04:00 +01:00
|
|
|
|
<option value="by_parcel">By parcel</option>
|
2021-06-11 13:22:28 +02:00
|
|
|
|
<option value="per_ballot">Per ballot</option>
|
|
|
|
|
</select>
|
|
|
|
|
</label>
|
2021-06-18 10:48:12 +02:00
|
|
|
|
<label class="col-12">
|
2021-06-23 12:18:53 +02:00
|
|
|
|
<span class="pill-grey" title="This option has effect only if “Method” is set to “Meek method”">Meek</span>
|
2021-06-22 15:47:35 +02:00
|
|
|
|
Surplus tolerance:
|
2021-06-18 10:48:12 +02:00
|
|
|
|
<input type="text" id="txtMeekSurplusTolerance" value="0.001%" style="width: 5em;">
|
|
|
|
|
</label>
|
2021-06-02 13:37:47 +02:00
|
|
|
|
</div>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
2021-06-06 09:31:20 +02:00
|
|
|
|
<div id="resultsDiv">
|
|
|
|
|
<div id="resultLogs1" style="white-space: pre-wrap;"></div>
|
|
|
|
|
|
|
|
|
|
<table id="result" class="result"></table>
|
|
|
|
|
|
|
|
|
|
<div id="resultLogs2"></div>
|
|
|
|
|
</div>
|
2021-06-04 07:01:53 +02:00
|
|
|
|
|
|
|
|
|
<div id="printPane" style="display: none;">
|
|
|
|
|
<button onclick="printResult()">Print result</button>
|
|
|
|
|
<label>
|
|
|
|
|
Paper size:
|
|
|
|
|
<select id="selPaperSize">
|
|
|
|
|
<option value="A4" selected>A4</option>
|
|
|
|
|
<option value="A3">A3</option>
|
|
|
|
|
<option value="letter">US Letter</option>
|
|
|
|
|
</select>
|
2021-06-06 09:31:20 +02:00
|
|
|
|
(Landscape)
|
2021-06-02 13:37:47 +02:00
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-06-06 09:31:20 +02:00
|
|
|
|
<div id="printWarning">Printing directly from this page is not supported. Use the ‘Print result’ button to generate a printer-friendly report.</div>
|
|
|
|
|
|
2021-07-20 05:41:38 +02:00
|
|
|
|
<script src="vendor/vanilla-js-dropdown.min.js"></script>
|
2021-06-02 13:37:47 +02:00
|
|
|
|
<script src="index.js?v=GITVERSION"></script>
|
2022-03-18 15:47:40 +01:00
|
|
|
|
<script src="presets.js?v=GITVERSION"></script>
|
2022-08-26 16:58:51 +02:00
|
|
|
|
<script src="print.js?v=GITVERSION"></script>
|
2021-06-02 13:37:47 +02:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|