Commit 23740241 authored by khalid's avatar khalid
Browse files

Change not in DAFNEE icon

parent f56bb609
......@@ -418,7 +418,7 @@ output$shiny_table <- DT::renderDataTable({
datatable(this_table$table, style= "bootstrap4",class = 'table-bordered table-condensed',
caption = htmltools::tags$caption( style = 'caption-side: top; text-align: center;',
htmltools::HTML('Journal in DAFNEE : <span style="color:forestgreen; font-size:18px"><i class="glyphicon glyphicon-thumbs-up"></i></span>&nbsp;&nbsp;&nbsp; not in DAFNEE : <span style="color:grey; font-size:18px"><i class="glyphicon glyphicon-thumbs-down"></i></span>&nbsp;&nbsp;&nbsp; not surveyed : <span style="color:grey; font-size:18px"><i class="glyphicon glyphicon-eye-close"></i></span>' )
htmltools::HTML('Journal in DAFNEE : <span style="color:forestgreen; font-size:18px"><i class="glyphicon glyphicon-thumbs-up"></i></span>&nbsp;&nbsp;&nbsp; not in DAFNEE : <span style="color:grey; font-size:18px"><i class="fas fa-frown"></i></span>&nbsp;&nbsp;&nbsp; not surveyed : <span style="color:grey; font-size:18px"><i class="glyphicon glyphicon-eye-close"></i></span>' )
),
options = list( pageLength = 15,
dom = "Bfrtip",
......@@ -445,8 +445,8 @@ output$shiny_table <- DT::renderDataTable({
render=JS('function(data, type, row, meta){',
' if(type === "display"){',
' var color = data === "ok" ? "forestgreen" : data === "no" ? "grey" : "grey";',
' var gdata = data === "ok" ? "thumbs-up" : data === "no" ? "thumbs-down" : "eye-close"; ',
' return "<span style=\\\"color:" + color + "; font-size:18px\\\"><i class=\\\"glyphicon glyphicon-" + gdata + "\\\"></i></span>";',
' var gdata = data === "ok" ? "glyphicon glyphicon-thumbs-up" : data === "no" ? "fas fa-frown" : "glyphicon glyphicon-eye-close"; ',
' return "<span style=\\\"color:" + color + "; font-size:18px\\\"><i class=\\\"" + gdata + "\\\"></i></span>";',
' } else {',
' return data;',
' }',
......
......@@ -34,12 +34,12 @@ do
done
#check
ps aux | grep shiny | grep -v grep | grep -v mbbshiny | awk '{print $2}'
ps aux | grep shiny | grep -v grep | grep -v mbbshiny | awk '{print $2}' | wc -l
# on shiny.mbb.univ-montp2.fr (162.38.181.10) juste 10 instances
sudo kill -9 $(ps aux | grep shiny | grep -v grep | grep -v mbbshiny | awk '{print $2}')
sudo kill -9 $(ps aux | grep shiny | grep -v grep | grep -v mbbshiny | awk '{print $2}')
dossier="/usr/local/maintenance"
......@@ -58,12 +58,12 @@ do
done
#check
ps aux | grep shiny | grep -v grep | grep -v mbbshiny | awk '{print $2}'
ps aux | grep shiny | grep -v grep | grep -v mbbshiny | awk '{print $2}' | wc -l
# on khalid (162.38.181.45) juste 10 instances
sudo kill -9 $(ps aux | grep shiny | grep -v grep | grep -v mbbshiny | awk '{print $2}')
sudo kill -9 $(ps aux | grep shiny | grep -v grep | grep -v mbbshiny | awk '{print $2}')
dossier="/disk1/projets/workspace"
......@@ -82,7 +82,7 @@ do
done
#check
ps aux | grep shiny | grep -v grep | grep -v mbbshiny | awk '{print $2}'
ps aux | grep shiny | grep -v grep | grep -v mbbshiny | awk '{print $2}' | wc -l
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment