diff --git a/static/css/style.scss b/static/css/style.scss index e51e185..c667a8e 100644 --- a/static/css/style.scss +++ b/static/css/style.scss @@ -170,33 +170,6 @@ body { } } } - .table-condensed { - & > thead, & > tbody, & > tfoot{ - & > tr > th, & > tr > td[class*="rolling-"]{ - overflow-y: hidden; - clip-path: padding-box; - & > div { - position: absolute; - left: 0; - top: 0; - height: 100%; - width: 100%; - transition-property: transform; - transition-duration: 1s; - transition-timing-function: ease; - div { - padding: 5px; - white-space: nowrap; - height: 100%; - } - &.notrans{ - transition-duration: 0s; - } - } - position: relative; - } - } - } } #help-page { diff --git a/static/js/status.es6 b/static/js/status.es6 index 24927fb..b5ab027 100644 --- a/static/js/status.es6 +++ b/static/js/status.es6 @@ -29,15 +29,14 @@ function kickstartScroll() { setInterval(doScroll, SCROLL_INTERVAL); } +var step = 0; function doScroll() { + step += 1; const targets = $('#mirror-list .row:not(:hover) .tuna-roll'); targets.each(function() { const target = $(this); - const cur = parseInt(target.attr('data-tuna-roll-cur'), 10); const max = parseInt(target.attr('data-tuna-roll-max'), 10); - let next = cur + 1; - if(next > max) next = 0; - target.attr('data-tuna-roll-cur', next); + target.attr('data-tuna-roll-cur', step % max); }); } diff --git a/status.html b/status.html index c8ead48..bb46a4c 100644 --- a/status.html +++ b/status.html @@ -58,8 +58,8 @@ permalink: /status/ {{mir.next_schedule}}, {{mir.next_schedule_ago}} Syncing Now - ​ -
+ +
@@ -70,12 +70,11 @@ permalink: /status/
Last Attempted Sync
Next Scheduled Sync
-
Last Successful Sync
- ​ -
+ +
-
{{mir.last_update}}
Upstream