diff --git a/dashboard/static/css/style.css b/dashboard/static/css/style.css
index 8b7d3d9a8..445fdad40 100644
--- a/dashboard/static/css/style.css
+++ b/dashboard/static/css/style.css
@@ -353,22 +353,21 @@ a[href^="https://launchpad"]:after {
font-size: 19pt;
font-weight: bold;
text-align: center; vertical-align: middle;
- background-color: lightgray; color: white;
+ color: lightgray;
float: left; width: 32px; height: 32px;
}
.kpi_good {
- background-color: #008000;
+ color: #008000;
}
.kpi_bad {
- background-color: red;
+ color: #C00000;
}
-.kpi_note {
+.kpi_info {
font-size: 11pt;
color: #606060;
- display: none;
}
.select2-results {
diff --git a/dashboard/templates/kpi/kpi.html b/dashboard/templates/kpi/kpi.html
index 2a5ee63ef..ec8294d42 100644
--- a/dashboard/templates/kpi/kpi.html
+++ b/dashboard/templates/kpi/kpi.html
@@ -7,9 +7,9 @@
{% block scripts %}
-{% endblock %}
-{% macro marker_block(id, title) %}
-
-
+
- {{ marker_block(id, title) }}
-{%- endmacro %}
-
-{% macro goal_percentage_in_top_less_than(record_filter, item_type, item_id, target_percentage, title) -%}
- {% set id = title|remove_ctrl_chars %}
- {% set uri = '/api/1.0/stats/' + item_type %}
-
-
-
- {{ marker_block(id, title) }}
-{%- endmacro %}
+{% endblock %}
{% block content %}
Metrics
- {{ goal_position_in_top({'release': 'icehouse', 'project_type': 'openstack', 'metric': 'commits'}, 'companies', 'Mirantis', 5, 'Position by commits') }}
- {{ goal_position_in_top({'release': 'icehouse', 'project_type': 'openstack', 'metric': 'marks'}, 'engineers', 'boris-42', 5, 'Position by reviews') }}
- {{ goal_position_in_top({'release': 'icehouse', 'project_type': 'openstack', 'metric': 'marks', 'module': 'glance', 'exclude': 'core'},
- 'engineers', 'boris-42', 3, 'Top-3 in non-core top reviewers') }}
+
- {{ goal_percentage_in_top_less_than({'release': 'all', 'project_type': 'stackforge', 'metric': 'commits', 'module': 'stackalytics'},
- 'companies', 'Mirantis', 0.8, 'Internal contribution is less than 80%') }}
+
{% endblock %}