diff --git a/django_projects/metrics/dashboard/views.py b/django_projects/metrics/dashboard/views.py
index 11c6920..1604222 100644
--- a/django_projects/metrics/dashboard/views.py
+++ b/django_projects/metrics/dashboard/views.py
@@ -78,16 +78,27 @@ def heatmap(request):
item.hover += 'Beg
'
item.hover += ''
+ if data == 'perc':
+ item.hover += ''
+ item.hover += '
'
+ item.hover += '
' + str(advanced) + '
'
+ item.hover += '
'
+ item.hover += '
' + str(beginner) + '
'
+ item.hover += '
'
+ item.hover += '
' + str(intermediate) + '
'
+ item.hover += '
'
+ item.hover += ''
+ else:
+ item.hover += ''
+ item.hover += '
'
+ item.hover += str(advanced)
+ item.hover += '
'
+ item.hover += str(intermediate)
+ item.hover += '
'
+ item.hover += str(beginner)
+ item.hover += '
'
+ item.hover += ''
- item.hover += ''
- item.hover += '
'
- item.hover += '
' + str(advanced) + '
'
- item.hover += '
'
- item.hover += '
' + str(beginner) + '
'
- item.hover += '
'
- item.hover += '
' + str(intermediate) + '
'
- item.hover += '
'
- item.hover += ''
if data == 'freq':
diff --git a/django_templates/heatmap.html b/django_templates/heatmap.html
index c3c5154..6377a39 100644
--- a/django_templates/heatmap.html
+++ b/django_templates/heatmap.html
@@ -24,6 +24,7 @@
{% endif %}
+
-
@@ -193,11 +195,11 @@
- {{ site_id_normal.hover|safe }}
-
- {{ site_id_ev.hover|safe }}
-
- {{ site_id_ssl.hover|safe }}
+ {{ site_id_normal.hover|safe }}
+
+ {{ site_id_ssl.hover|safe }}
+
+ {{ site_id_ev.hover|safe }}
@@ -207,7 +209,7 @@
{{ url_enter_key.hover|safe }}
-
+
{{ url_search_enter_key.hover|safe }}
@@ -236,7 +238,7 @@
{{ url_go_button.hover|safe }}
-
+
{{ url_search_go_button.hover|safe }}
diff --git a/media/css/heatmap.css b/media/css/heatmap.css
index 8a93613..65b6361 100644
--- a/media/css/heatmap.css
+++ b/media/css/heatmap.css
@@ -30,7 +30,7 @@ html {
display: none;
position: absolute;
width: 250px;
- padding: 12px 15px;
+ padding: 13px 16px 20px;
margin: 35px 0 0 -15px;
background-color: white;
color: #444;