mirror of https://github.com/snachodog/mybuddy.git
28 lines
911 B
HTML
28 lines
911 B
HTML
{% extends 'babybuddy/page.html' %}
|
|
{% load static %}
|
|
|
|
{% block title %}{% endblock %}
|
|
|
|
{% block breadcrumbs %}
|
|
<li class="breadcrumb-item"><a href="{% url 'core:child-list' %}">Children</a></li>
|
|
<li class="breadcrumb-item font-weight-bold"><a href="{% url 'core:child' object.slug %}">{{ object }}</a></li>
|
|
<li class="breadcrumb-item">Reports</li>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container-fluid">
|
|
{% if html %}
|
|
{{ html|safe }}
|
|
{% else %}
|
|
<div class="jumbotron text-center">
|
|
<i class="icon icon-sad" aria-hidden="true"></i>
|
|
There is no enough data to generate this report.
|
|
<i class="icon icon-sad" aria-hidden="true"></i>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block javascript %}
|
|
<script src="{% static "babybuddy/js/graph.js" %}"></script>
|
|
{% endblock %} |