diff --git a/heliosbooth/css/booth.css b/heliosbooth/css/booth.css index 894ec3d4934f92a3ca445a68e07d503bd36a61e8..716ada2b63398cef00c25d12e7113dd6bbe1cf75 100644 --- a/heliosbooth/css/booth.css +++ b/heliosbooth/css/booth.css @@ -103,4 +103,7 @@ h3 { #election_hash { font-family: courier; } + +#loading_div { + display: none; } \ No newline at end of file diff --git a/heliosbooth/templates/seal.html b/heliosbooth/templates/seal.html index 0194232da2f9beb135a1703374ab53ba2255c17a..a9d3ecce595319bf806d360840a2cac8c7116756 100644 --- a/heliosbooth/templates/seal.html +++ b/heliosbooth/templates/seal.html @@ -31,7 +31,7 @@ You will then be guided to re-encrypt your choices for final casting. Once you click "Proceed", Helios will remember only your encrypted vote. Thus, only you know your vote.</p> <button id="proceed_button" onclick="BOOTH.cast_ballot();">Proceed to Submission</button><br /> -<div id="loading_div"></div> +<div id="loading_div"><img src="loading.gif" id="proceed_loading_img" /></div> diff --git a/heliosbooth/vote.html b/heliosbooth/vote.html index d6b11a047aeb25d99f30663af096a37cb20e9858..1f910ac3437a43e056fec7d0f94114a24dd2542c 100644 --- a/heliosbooth/vote.html +++ b/heliosbooth/vote.html @@ -563,7 +563,7 @@ BOOTH.post_audited_ballot = function() { BOOTH.cast_ballot = function() { // show progress spinner - $('#loading_div').html('<img src="loading.gif" id="proceed_loading_img" />'); + $('#loading_div').show(); $('#proceed_button').attr('disabled', 'disabled'); // at this point, we delete the plaintexts by resetting the ballot