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
itminedu
djnro
Commits
96c4a324
Commit
96c4a324
authored
Dec 04, 2012
by
Leonidas Poulopoulos
Browse files
Fixed issue with infowindow not showing up
parent
f50b5a4b
Changes
5
Hide whitespace changes
Inline
Side-by-side
templates/base.html
View file @
96c4a324
...
...
@@ -41,7 +41,6 @@ body {
"ITC Franklin Gothic"
,
Arial
,
sans-serif
;
letter-spacing
:
-1px
;
width
:
300px
;
"
}
.navbar
.brand
{
max-height
:
40px
;
overflow
:
visible
;
padding-top
:
0
;
padding-bottom
:
0
;
}
</style>
...
...
templates/edumanage/welcome.html
View file @
96c4a324
...
...
@@ -98,7 +98,7 @@ $.get("{% url get-service-points %}", function(data){
bounds
.
extend
(
marker
.
position
);
markers
.
push
(
marker
);
google
.
maps
.
event
.
addListener
(
marker
,
'
click
'
,
function
()
{
infoWindow
.
c
ontent
=
"
<div><h4>
"
+
jsonMarker
.
name
+
"
</h4>
"
+
infoWindow
.
setC
ontent
(
"
<div><h4>
"
+
jsonMarker
.
name
+
"
</h4>
"
+
"
<div class='tabbable'>
"
+
"
<ul class='nav nav-tabs'>
"
+
...
...
@@ -125,7 +125,7 @@ $.get("{% url get-service-points %}", function(data){
"
</div>
"
+
"
</div>
"
+
"
<div style='text-align:right;'><a href = '{% url edit-services %}
"
+
jsonMarker
.
key
+
"
' class='btn btn-primary'>Edit</a></div>
"
+
"
</div>
"
;
"
</div>
"
)
;
infoWindow
.
open
(
map
,
marker
);
});
}
...
...
templates/front/geolocate.html
View file @
96c4a324
...
...
@@ -262,9 +262,9 @@ margin-bottom: 0px;
eduMarker
,
'
click
'
,
function
()
{
infoWindow
.
c
ontent
=
"
<div>
"
infoWindow
.
setC
ontent
(
"
<div>
"
+
data
.
text
+
"
</div>
"
;
+
"
</div>
"
)
;
infoWindow
.
open
(
map
,
...
...
templates/front/index.html
View file @
96c4a324
...
...
@@ -4,11 +4,7 @@
{% block hometop %}class="active"{% endblock %}
{% block extrahead %}
<style
type=
"text/css"
>
/* html,body {
height: 100%;
overflow: hidden;
}*/
.headtitle
{
font-family
:
"Franklin Gothic Demi"
,
"Franklin Gothic"
,
"ITC Franklin Gothic"
,
Arial
,
sans-serif
;
letter-spacing
:
-1px
;
}
.headtitle
{
font-family
:
"Franklin Gothic Demi"
,
"Franklin Gothic"
,
"ITC Franklin Gothic"
,
Arial
,
sans-serif
;
letter-spacing
:
-1px
;
}
</style>
<script
type=
"text/javascript"
src=
"/static/js/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/markerclusterer.js"
></script>
...
...
@@ -158,7 +154,7 @@
marker
,
'
click
'
,
function
()
{
infoWindow
.
c
ontent
=
"
<div><h4>
"
infoWindow
.
setC
ontent
(
"
<div><h4>
"
+
jsonMarker
.
inst
+
"
</h4>
"
+
...
...
@@ -207,7 +203,7 @@
+
"
</div>
"
+
"
</div>
"
+
"
</div>
"
+
"
</div>
"
;
+
"
</div>
"
)
;
infoWindow
.
open
(
map
,
...
...
templates/front/world.html
View file @
96c4a324
...
...
@@ -157,7 +157,7 @@
marker
,
'
click
'
,
function
()
{
infoWindow
.
c
ontent
=
jsonMarker
.
text
;
infoWindow
.
setC
ontent
(
jsonMarker
.
text
)
;
infoWindow
.
open
(
map
,
...
...
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