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
vidjil
vidjil
Commits
b3d66adb
Commit
b3d66adb
authored
Jun 30, 2014
by
Marc Duez
Browse files
index.html : change menu oragnization
parent
f00b60cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
browser/css/vidjil.less
View file @
b3d66adb
...
...
@@ -586,7 +586,7 @@ span .substitution{
left :50%;
font-size: 13px;
padding: 10px;
background:
inherit
;
background:
@background
;
display:none;
}
...
...
@@ -849,7 +849,7 @@ span.logo
color: grey;
}
.selector, #list_menu, #top-container, .list_clones, .bot-bar, #bot-container, #popup-container, #file_menu, #tagSelector, .closeButton
.selector, #list_menu, #top-container, .list_clones, .bot-bar, #bot-container, #popup-container, #file_menu, #tagSelector, .closeButton
, #analysis_menu
{
border-color: @border;
}
...
...
browser/index.html
View file @
b3d66adb
...
...
@@ -96,19 +96,20 @@
<div
class=
"menu"
id=
"demo_file_menu"
onmouseover=
"showSelector('demoSelector');"
>
file
<div
id=
"demoSelector"
class=
"selector"
><div>
<a
class=
"buttonSelector"
onclick=
"javascript:loadData()"
>
load data/analysis
</a></br>
<!--<a class="buttonSelector" onclick="javascript:loadAnalysis()">load analysis</a> -->
<div
class=
"menu_box"
>
<a
class=
"buttonSelector"
onclick=
"javascript:loadData()"
>
Open
</a>
<a
class=
"buttonSelector"
onclick=
"javascript:loadAnalysis()"
>
Open analysis file
</a>
</div>
<!--<a class="buttonSelector" onclick="javascript:m.resetAnalysis()">reset analysis</a> -->
<!--<a class="buttonSelector" onclick="javascript:reset()">reset all</a> -->
<div
id=
"upload_list"
></br>
<div
class=
"menu_box"
>
<a
class=
"buttonSelector"
onclick=
"javascript:m.saveAnalysis()"
>
Save analysis file
</a>
<a
class=
"buttonSelector"
onclick=
"javascript:new PDF(m, 'visu2_svg')"
>
Save pdf (graph + selected clones)
</a>
</div>
<div
class=
"menu_box"
>
<div
id=
"upload_list"
>
</div>
</div>
</div></div>
</div>
<div
class=
"menu"
onmouseover=
"showSelector('loadSelector');"
>
export
<div
id=
"loadSelector"
class=
"selector"
><div>
<a
class=
"buttonSelector"
onclick=
"javascript:m.saveAnalysis()"
>
save analysis
</a>
<a
class=
"buttonSelector"
onclick=
"javascript:new PDF(m, 'visu2_svg')"
>
export pdf (graph + selected clones)
</a>
</div></div>
</div>
...
...
@@ -145,54 +146,48 @@
</div></div>
</div>
<div
class=
"menu"
id=
"display_menu"
onmouseover=
"showSelector('displaySelector');"
>
display
<div
id=
"displaySelector"
class=
"selector"
><div>
<div
class=
"submenu"
>
<div
class=
"menu_box"
>
tag visibility
</br>
<ul>
</ul>
</div>
<div
class=
"menu"
onmouseover=
"showSelector('filterSelector');"
>
filter
<div
id=
"filterSelector"
class=
"selector"
><div>
<div
class=
"menu_box"
>
number of clones
</br>
<input
id=
"top_slider"
type=
"range"
min=
"5"
max=
"100"
step=
"5"
value=
"10"
onchange=
"m.displayTop(this.value)"
/>
</div>
<div
class=
"menu_box"
>
tag visibility
</br>
<ul
id=
"tagList"
>
</ul>
</div>
</div></div>
</div>
<div
class=
"submenu"
>
<div
class=
"menu_box"
>
number of clones
</br>
<input
id=
"top_slider"
type=
"range"
min=
"5"
max=
"100"
step=
"5"
value=
"10"
onchange=
"m.displayTop(this.value)"
/>
</div>
<div
class=
"menu_box"
>
normalization (
<span
id=
"normalize_value"
>
</span>
)
</br>
<input
id=
"normalize"
type=
"checkbox"
name=
"normalize"
onclick=
"m.normalization_switch(this.checked);"
>
<span
id=
"normalize_info"
></span>
</div>
<div
class=
"menu_box"
>
size display
</br>
<input
type=
"radio"
name=
"notation"
value=
"scientific"
onchange=
"m.notation_switch()"
>
scientific notation
</input></br>
<input
type=
"radio"
name=
"notation"
value=
"percent"
onchange=
"m.notation_switch()"
checked
>
percent
</input>
</div>
<div
class=
"menu"
onmouseover=
"showSelector('settingsSelector');"
>
settings
<div
id=
"settingsSelector"
class=
"selector"
><div>
<div
class=
"menu_box"
>
normalization (
<span
id=
"normalize_value"
>
</span>
)
</br>
<input
id=
"normalize"
type=
"checkbox"
name=
"normalize"
onclick=
"m.normalization_switch(this.checked);"
>
<span
id=
"normalize_info"
></span>
</div>
<div
class=
"menu_box"
>
point ke
y
</br>
<input
type=
"radio"
name=
"
time
"
value=
"
name
"
onchange=
"m.
time
_switch()"
checked
>
name
</input>
<input
type=
"radio"
name=
"
time
"
value=
"
sampling_date
"
onchange=
"m.
time
_switch()"
>
sampling date
</input>
</br>
</div>
<div
class=
"menu_box"
>
size displa
y
</br>
<input
type=
"radio"
name=
"
notation
"
value=
"
scientific
"
onchange=
"m.
notation
_switch()"
>
scientific notation
</input>
</br>
<input
type=
"radio"
name=
"
notation
"
value=
"
percent
"
onchange=
"m.
notation
_switch()"
checked
>
percent
</input>
</div>
<div
class=
"menu_box"
>
point key
</br>
<input
type=
"radio"
name=
"time"
value=
"name"
onchange=
"m.time_switch()"
checked
>
name
</input></br>
<input
type=
"radio"
name=
"time"
value=
"sampling_date"
onchange=
"m.time_switch()"
>
sampling date
</input>
</div>
<div
class=
"submenu"
id=
"system_menu"
style=
"display:none"
>
<div
class=
"menu_box"
>
germline (for color and scatterplot)
</br>
<ul
id=
"germline_list"
>
</ul>
</div>
</div>
</div></div>
</div>
...
...
browser/js/builder.js
View file @
b3d66adb
...
...
@@ -267,7 +267,7 @@ Builder.prototype = {
var
self
=
this
;
var
displaySelector
=
document
.
getElementById
(
"
displaySelector
"
)
var
listTag
=
d
isplaySelector
.
getElement
s
By
TagName
(
"
ul
"
)[
0
]
var
listTag
=
d
ocument
.
getElementBy
Id
(
"
tagList
"
)
var
listGermline
=
document
.
getElementById
(
"
germline_list
"
)
//reset
...
...
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