mirror of https://github.com/snachodog/mybuddy.git
37 lines
1.3 KiB
HTML
37 lines
1.3 KiB
HTML
{% extends 'babybuddy/page.html' %}
|
|
{% load cards %}
|
|
|
|
{% block title %}Dashboard - {{ object }}{% endblock %}
|
|
|
|
{% block breadcrumbs %}
|
|
<li class="breadcrumb-item"><a href="{% url 'child-list' %}">Children</a></li>
|
|
<li class="breadcrumb-item font-weight-bold"><a href="{% url 'child' object.slug %}">{{ object }}</a></li>
|
|
<li class="breadcrumb-item active" aria-current="page">Dashboard</li>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div id="dashboard-child" class="row align-items-start">
|
|
<div class="col-lg-4 col-md-6 col-sm-12">
|
|
{% card_feeding_last object %}
|
|
{% card_feeding_last_method object %}
|
|
{% card_timer_list %}
|
|
{% card_averages object %}
|
|
</div>
|
|
<div class="col-lg-4 col-md-6 col-sm-12">
|
|
{% card_sleep_last object %}
|
|
{% card_sleep_day object %}
|
|
{% card_sleep_naps_day object %}
|
|
{% card_tummytime_day object %}
|
|
</div>
|
|
<div class="col-lg-4 col-md-6 col-sm-12">
|
|
{% card_diaperchange_last object %}
|
|
{% card_diaperchange_types object %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block javascript %}
|
|
<script type="application/javascript">
|
|
BabyBuddy.Dashboard.watch('dashboard-child');
|
|
</script>
|
|
{% endblock %} |