diff --git a/babybuddy/static_src/scss/icons.scss b/babybuddy/static_src/scss/icons.scss index 5c96c90b..257636fc 100644 --- a/babybuddy/static_src/scss/icons.scss +++ b/babybuddy/static_src/scss/icons.scss @@ -16,6 +16,10 @@ @extend .fa-plus; } +.icon-camera { + @extend .fa-camera; +} + .icon-chevron-left { @extend .fa-chevron-left; } diff --git a/core/static_src/scss/core.scss b/core/static_src/scss/core.scss index d6b2e132..34f63a9c 100644 --- a/core/static_src/scss/core.scss +++ b/core/static_src/scss/core.scss @@ -4,6 +4,20 @@ } } +#view-child-list { + .picture-column { + text-align: center; + width: 65px; + min-width: 65px; + } + + .child-list { + th, td { + vertical-align: middle; + } + } +} + @include media-breakpoint-up(md) { #view-child { .child-detail-column { diff --git a/core/templates/core/child_list.html b/core/templates/core/child_list.html index afce2b75..7702075a 100644 --- a/core/templates/core/child_list.html +++ b/core/templates/core/child_list.html @@ -11,10 +11,10 @@

Children

{% include 'babybuddy/filter.html' %}
- +
- + @@ -24,7 +24,7 @@ {% for child in object_list %} - - - - - + +
First Name Last Name Birth Date
+ {% if child.picture %} {% thumbnail child.picture 40x40 upscale crop as thumb %} @@ -32,12 +32,12 @@ {% endif %} + {{ child.first_name }} {{ child.last_name }}{{ child.birth_date }} + {{ child.last_name }}{{ child.birth_date }}
{% if perms.core.change_child %}