You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2015/03/20 15:39:40 UTC

svn commit: r1668032 - in /steve/trunk/pytest/www/htdocs: bulk_yna.html js/steve_rest.js

Author: humbedooh
Date: Fri Mar 20 14:39:39 2015
New Revision: 1668032

URL: http://svn.apache.org/r1668032
Log:
- link back to election main page from yna bulk
- speed up animations a bit

Modified:
    steve/trunk/pytest/www/htdocs/bulk_yna.html
    steve/trunk/pytest/www/htdocs/js/steve_rest.js

Modified: steve/trunk/pytest/www/htdocs/bulk_yna.html
URL: http://svn.apache.org/viewvc/steve/trunk/pytest/www/htdocs/bulk_yna.html?rev=1668032&r1=1668031&r2=1668032&view=diff
==============================================================================
--- steve/trunk/pytest/www/htdocs/bulk_yna.html (original)
+++ steve/trunk/pytest/www/htdocs/bulk_yna.html Fri Mar 20 14:39:39 2015
@@ -15,6 +15,7 @@
     <p style="text-align: center;">
         <img src="/images/steve_logo.png"/>
     </p>
+    <a href="javascript:void(location.href='election.html' + document.location.search);">Back to election</a>
 <div class="formbox">
 
 <div id="preloaderWrapper">

Modified: steve/trunk/pytest/www/htdocs/js/steve_rest.js
URL: http://svn.apache.org/viewvc/steve/trunk/pytest/www/htdocs/js/steve_rest.js?rev=1668032&r1=1668031&r2=1668032&view=diff
==============================================================================
--- steve/trunk/pytest/www/htdocs/js/steve_rest.js (original)
+++ steve/trunk/pytest/www/htdocs/js/steve_rest.js Fri Mar 20 14:39:39 2015
@@ -207,7 +207,7 @@ function loadElection(election, uid, cal
 function displayElection(code, response, el) {
 	election_data = response
 	if (code == 200) {
-		window.setTimeout(el[2], 2000, response, el);
+		window.setTimeout(el[2], 1000, response, el);
 	} else {
 		document.getElementById('preloaderWrapper').innerHTML = "<h1>Sorry, an error occured while fetching election data:</h1><h2>" + response.message + "</h2>"
 	}