diff --git a/index.js b/index.js old mode 100644 new mode 100755 index 63720ef..1af8ff6 --- a/index.js +++ b/index.js @@ -1,3 +1,4 @@ +#!/usr/bin/env node const gphoto2 = require('./tools/tools-gphoto2') const server = require('./server') @@ -33,3 +34,5 @@ if (args.noinit) { // num : pNum // }); // }) + +// bobinoscope admin: 63748543 \ No newline at end of file diff --git a/server/views/scope.ejs b/server/views/scope.ejs index 3c00c1b..1e23d8f 100644 --- a/server/views/scope.ejs +++ b/server/views/scope.ejs @@ -188,16 +188,19 @@ function BOB_takeThe1Pictures() { $.get('/booth/dslr/takepicture/'+BOB_var_context.boothId+'/'+BOB_var_context.pictureId, function(pResponse) { if( pResponse.error ) { - if( confirm(pResponse.error) ) { - BOB_var_context.boothOnGoing = false; - $('#idViewCountdown').fadeOut(500, function() { - $('#idViewTrigger').fadeIn(); - }); - return; - } + // if( confirm(pResponse.error) ) { + // BOB_var_context.boothOnGoing = false; + // $('#idViewCountdown').fadeOut(500, function() { + // $('#idViewTrigger').fadeIn(); + // }); + // return; + // } + $('#idViewCountdown').html("Oops ! Un problème de pellicule
On Recommence !!!"); + $('#idViewCountdown').css('fontSize', '14em') + } else { + BOB_var_context.pictureId += 1 } - BOB_var_context.pictureId += 1; if( BOB_var_context.pictureId < 4 ) { BOB_var_context.onGoingTimer = BOB_var_context.initTimer; BOB_countdown();