Skip to content

Commit

Permalink
Merge 2e393b8 into 8231b24
Browse files Browse the repository at this point in the history
  • Loading branch information
cmheisel committed Dec 22, 2016
2 parents 8231b24 + 2e393b8 commit a240591
Show file tree
Hide file tree
Showing 6 changed files with 185 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dashboard/static/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"dependencies": {
"chartist-plugin-legend": "^0.6.0"
"chartist-plugin-legend": "^0.6.0",
"chartist-plugin-tooltips": "0.0.17"
},
"devDependencies": {},
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions dashboard/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">

<link rel="stylesheet" href="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.css">
<link rel="stylesheet" href="{% static "dashboard/node_modules/chartist-plugin-tooltips/dist/chartist-plugin-tooltip.css" %}">

<script src="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.js"></script>
<script src="{% static "dashboard/node_modules/chartist-plugin-legend/chartist-plugin-legend.js" %}"></script>
<script src="{% static "dashboard/node_modules/chartist-plugin-tooltips/dist/chartist-plugin-tooltip.min.js" %}"></script>

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
Expand Down
7 changes: 6 additions & 1 deletion dashboard/templates/forecast.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
{% block page_title %}Project Forecast: {{ filter_id }}{% endblock page_title %}

{% block content %}
<p><small><a href="{% url 'dashboard' %}" title="Back"><< Back</a></small></p>
<p><small><a href="{% url 'dashboard' %}" title="Back"><< Back</a> / <a href="{{ JIRA_URL }}/secure/IssueNavigator.jspa?mode=hide&amp;requestId={{ filter_id }}" title="View JIRA filter">JIRA <span class="glyphicon glyphicon-filter"></span></a>
</small></p>


<div class="col-md-6" style="padding-left: 0px">
Expand Down Expand Up @@ -167,6 +168,10 @@ <h2>Progress over past {{ recent_history|length }} days</h2>
plugins: [
Chartist.plugins.legend({
className: 'crazyPink'
}),
Chartist.plugins.tooltip({
anchorToPoint: true,
appendToBody: true
})
]
}
Expand Down

0 comments on commit a240591

Please sign in to comment.