CLI HTML output: Correctly generate print view for other report styles
This commit is contained in:
parent
fafb093c1a
commit
1a57fba093
|
@ -782,8 +782,8 @@ where
|
||||||
</div></div>
|
</div></div>
|
||||||
<div id="printWarning">Printing directly from this page is not supported. Use the ‘Print result’ button to generate a printer-friendly report.</div>
|
<div id="printWarning">Printing directly from this page is not supported. Use the ‘Print result’ button to generate a printer-friendly report.</div>
|
||||||
<script src="https://yingtongli.me/opentally/stv/print.js"></script>
|
<script src="https://yingtongli.me/opentally/stv/print.js"></script>
|
||||||
<input type="hidden" id="selReport" value="votes_transposed"><!-- TODO: Allow this to be customised -->
|
<input type="hidden" id="selReport" value="{}">
|
||||||
</body></html>"#);
|
</body></html>"#, report_style);
|
||||||
|
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue