Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
698c7166
Commit
698c7166
authored
Feb 03, 2017
by
Piotr Gawron
Browse files
fix on aligning left panel
parent
b5bfab29
Changes
4
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/main/js/GuiConnector.js
View file @
698c7166
...
...
@@ -69,9 +69,7 @@ GuiConnector.init = function() {
});
});
GuiConnector
.
leftPanelTabNavi
=
new
TabNavi
(
"
tabView
"
,
{
top
:
"
17px
"
});
GuiConnector
.
leftPanelTabNavi
=
new
TabNavi
(
"
tabView
"
);
};
/**
...
...
frontend-js/src/main/js/map/CustomMap.js
View file @
698c7166
...
...
@@ -415,7 +415,7 @@ CustomMap.prototype.openSubmodel = function(id) {
};
CustomMap
.
prototype
.
customizeGoogleMapView
=
function
(
div
)
{
var
mapOptions
=
this
.
creatMapOptions
(
this
.
getLayouts
().
length
);
var
mapOptions
=
this
.
creatMapOptions
();
this
.
setGoogleMap
(
new
google
.
maps
.
Map
(
div
,
mapOptions
));
this
.
setupLayouts
();
...
...
frontend-js/src/main/js/map/overlay/AbstractTargettingDbOverlay.js
View file @
698c7166
...
...
@@ -120,6 +120,9 @@ AbstractTargettingDbOverlay.prototype.getDetailDataByIdentifiedElement = functio
var
queries
=
self
.
getQueries
();
for
(
var
i
=
0
;
i
<
queries
.
length
;
i
++
)
{
var
drugs
=
self
.
_elementsByQuery
[
queries
[
i
]];
if
(
drugs
===
undefined
)
{
drugs
=
[];
}
for
(
var
j
=
0
;
j
<
drugs
.
length
;
j
++
){
var
drug
=
drugs
[
j
];
var
targets
=
drug
.
getTargets
();
...
...
web/src/main/webapp/index.xhtml
View file @
698c7166
...
...
@@ -16,7 +16,7 @@
<title>
#{mapMB.currentProject.name}
</title>
<!-- Google Maps API version 3.20 -->
<script
src=
"https://maps.google.com/maps/api/js?libraries=drawing&v=3.2
2
"
type=
"text/javascript"
/>
<script
src=
"https://maps.google.com/maps/api/js?libraries=drawing&v=3.2
6
"
type=
"text/javascript"
/>
<
script
src
=
"
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js
"
type
=
"
text/javascript
"
/>
<
script
src
=
"
http://twitter.github.io/typeahead.js/releases/latest/typeahead.bundle.min.js
"
type
=
"
text/javascript
"
/>
...
...
@@ -76,7 +76,6 @@ function initMap(){
<h:outputScript
library=
"primefaces"
name=
"jquery/jquery.js"
target=
"head"
/>
<div
class =
"containerClass"
>
<div
id=
"leftPanel"
class =
"leftPanelClass"
>
<ui:include
src=
"/WEB-INF/components/admin/header.xhtml"
/>
<p:tabView
id=
"tabView"
widgetVar=
"_tabViewVar"
styleClass=
"leftTabView"
activeIndex=
"0"
>
...
...
@@ -115,6 +114,7 @@ function initMap(){
</div>
<div
style=
"display: table-cell;height:100%;width:100%;"
>
<div
style=
"height:100%;width:100%;"
>
<div
class=
"menuBelt"
>
<div
class=
"headerHideDivButton"
>
<button
name=
"hideButton"
class=
"headerHideButton"
>
...
...
@@ -169,6 +169,7 @@ function initMap(){
</div>
</div>
</div>
</div>
<ui:include
src=
"/WEB-INF/components/map/feedbackDialog.xhtml"
/>
...
...
@@ -192,6 +193,7 @@ function initMap(){
<p:remoteCommand
name=
"_sendReferenceGenomeDetailRequest"
actionListener=
"#{referenceGenomeMB.requestJavasciptGenomeDetails}"
/>
</h:form>
</h:body>
</f:view>
</html>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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