Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

style

  • Loading branch information...
commit c923bfe7818e678392d18b1566cfceac41d0da30 1 parent 46555b2
@jamland jamland authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 index.php
View
4 index.php
@@ -177,6 +177,7 @@ function queue_worker(data) {
});
$.get('/mq/getMessage.php?queue_name=output_queue', null, function (data) {
if (data) {
+ $('#gears').addClass('moving');
$('#step-3 .spinner').fadeOut(400);
$('#step-3').animate({'background-position-y': '40%'}, 500);
$('#processed-image').animate({left: '40%', opacity: '1'}, 1000, function(){
@@ -191,6 +192,8 @@ function queue_worker(data) {
var parsed = jQuery.parseJSON(data);
+ $('#output_queue').html('');
+
$('#output_queue').append('<div class="processed-image">'+
'<img src="'+parsed["thumbnail"]+'" >'+
'<a href="'+parsed["thumbnail"]+'" >'+parsed["thumbnail"]+'</a></div>');
@@ -242,6 +245,7 @@ function (data) {
$('#process-image').delay(1000).animate({left: '40%', opacity: '1'}, 1000, function(){
$(this).animate({left: '95%', opacity: '0'}, 1000, function(){
$(this).css('left', '-10%');
+ $('#gears').delay(400).removeClass('moving');
});
});
$('#send-images img').delay(1000).animate({'opacity': '.75'}, 1000, function(){

0 comments on commit c923bfe

Please sign in to comment.
Something went wrong with that request. Please try again.