Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
d06090e9
Commit
d06090e9
authored
Apr 18, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set brand (app name displayed) from settings_explorerjs
parent
97c0ccce
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
2 deletions
+10
-2
explorerjs.html
explorerjs.html
+2
-1
settings_explorerjs.js
settings_explorerjs.js
+1
-0
enviroment.js
tinawebJS/enviroment.js
+3
-1
main.js
tinawebJS/main.js
+3
-0
sigmaUtils.js
tinawebJS/sigmaUtils.js
+1
-0
No files found.
explorerjs.html
View file @
d06090e9
...
...
@@ -69,7 +69,8 @@
</li>
<li
style=
"margin-left:10px;"
>
<a
href=
"#"
class=
"navbar-middle navbar-brand"
>
<span
id=
"twbrand"
>
Mapping Risk Research
</span>
<!-- will be replaced by TW.branding -->
<span
id=
"twbrand"
>
TinaWebJS
</span>
</a>
</li>
...
...
settings_explorerjs.js
View file @
d06090e9
...
...
@@ -101,6 +101,7 @@ var semanticConverged=false;
// ============ < / DEVELOPER OPTIONS > ============
TW
.
branding
=
'Politoscope: explorer les programmes'
TW
.
nodeClusAtt
=
"modularity_class"
TW
.
edgeDefaultOpacity
=
0.5
// opacity when true_color
...
...
tinawebJS/enviroment.js
View file @
d06090e9
...
...
@@ -14,7 +14,9 @@ var theHtml = document.getElementsByTagName('html')[0]
TW
.
anynodegoes
=
true
// TW.anynodegoes = true
function
writeBrand
(
brandString
)
{
document
.
getElementById
(
'twbrand'
).
innerHTML
=
brandString
}
//============================ < NEW BUTTONS > =============================//
...
...
tinawebJS/main.js
View file @
d06090e9
...
...
@@ -78,6 +78,9 @@ function jsActionOnGexfSelector(gexfBasename , db_json){
}
// show the custom name of the app
writeBrand
(
TW
.
branding
)
var
file
=
""
if
(
!
isUndef
(
getUrlParam
.
mode
))
{
// if {db|api}.json
file
=
getUrlParam
.
mode
...
...
tinawebJS/sigmaUtils.js
View file @
d06090e9
...
...
@@ -769,6 +769,7 @@ function repaintEdges() {
}
// rewrite of clustersBy with binning and for attributes that can have negative float values
// /!\ age and growth_rate attributes referred to by name
function
colorsRelByBins
(
daclass
)
{
cancelSelection
(
false
);
...
...
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