Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

style

  • Loading branch information...
commit c6ec456d3bc63841adec3d4ae8773ea2ea394242 1 parent 2cf5b14
@jamland jamland authored
Showing with 13 additions and 3 deletions.
  1. +1 −1  README
  2. +9 −2 index.php
  3. +3 −0  style.css
View
2  README
@@ -23,4 +23,4 @@ b.3)Set proper credentials in config.ini
b.4)Create app: cctrlapp APP_NAME create php
b.5)Push app:cctrlapp APP_NAME/DEP_NAME push
b.6)Deploy app:cctrlapp APP_NAME/DEP_NAME deploy
-.......
+.......
View
11 index.php
@@ -199,10 +199,11 @@ function queue_worker(data,queue_name) {
task_id + '_rotated"><img src="images/ajax-loader-circle.gif" class="spinner" /></span></td><td><span id="' +
task_id + '_grayscale"><img src="images/ajax-loader-circle.gif" class="spinner" /></span></td></tr>';
$('#output tbody').prepend(html);
- console.log(html);
if( $('#result-flow').hasClass('hidden') ){
- $('#result-flow').removeClass('hidden').slideDown(500);
+ $('#result-flow').slideDown(500, function(){
+ $(this).removeClass('hidden');
+ });
}
}
});
@@ -235,6 +236,12 @@ function queue_worker(data,queue_name) {
$("#" + parsed["task_id"] + "_thumb").html('<img src="' + parsed["thumbnail"] + '"/>');
$("#" + parsed["task_id"] + "_rotated").html('<img src="' + parsed["rotated"] + '"/>');
$("#" + parsed["task_id"] + "_grayscale").html('<img src="' + parsed["grayscale"] + '"/>');
+
+ if( $('#result-flow').hasClass('hidden') ){
+ $('#result-flow').slideDown(500, function(){
+ $(this).removeClass('hidden');
+ });
+ }
}
})
View
3  style.css
@@ -293,6 +293,7 @@ code {
bottom: 0;
left: 0;
opacity: .3;
+ z-index:0;
}
#posted-image {
@@ -420,6 +421,8 @@ code {
#result-flow {
margin: 60px auto 0;
width: 600px;
+ position: relative;
+ z-index: 1;
}
#result-flow h2 {
Please sign in to comment.
Something went wrong with that request. Please try again.