res=valueBox("0 %",h6(strong("Waiting for the data...")),color="light-blue",width=NULL,icon=uiOutput("spinner_icon"))
res=shinydashboard::valueBox("0 %",h6(strong("Waiting for the data...")),color="light-blue",width=NULL,icon=uiOutput("spinner_icon"))
CMP=isolate(CheckMasque(input,values))
CMP=isolate(CheckMasque(input,values))
Error=CMP$Error
Error=CMP$Error
if(is.null(Error)||num>=1)res=valueBox(paste(values$num,"%"),h6(strong("Analysis in progress...")),color="green",width=NULL,icon=uiOutput("spinner_anim"))
if(is.null(Error)||num>=1)res=shinydashboard::valueBox(paste(values$num,"%"),h6(strong("Analysis in progress...")),color="green",width=NULL,icon=uiOutput("spinner_anim"))
if(num>=100)res=valueBox(paste("100 %"),h6(strong("Analysis completed ! Check your mail.")),color="green",width=NULL,icon=uiOutput("check_icon"))
if(num>=100)res=shinydashboard::valueBox(paste("100 %"),h6(strong("Analysis completed ! Check your mail.")),color="green",width=NULL,icon=uiOutput("check_icon"))