Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
khalid
BibEthique
Commits
23740241
Commit
23740241
authored
Jul 01, 2021
by
khalid
Browse files
Change not in DAFNEE icon
parent
f56bb609
Changes
2
Hide whitespace changes
Inline
Side-by-side
app.R
View file @
23740241
...
...
@@ -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> not in DAFNEE : <span style="color:grey; font-size:18px"><i class="
glyphicon glyphicon-thumbs-d
own"></i></span> 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> not in DAFNEE : <span style="color:grey; font-size:18px"><i class="
fas fa-fr
own"></i></span> 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;'
,
' }'
,
...
...
scripts/nginx_config.sh
View file @
23740241
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment