Commit Graph

11 Commits

Author SHA1 Message Date
abog854 ab5bb66c8f
Add feeding method history (#774)
* add feeding method history

* Make it a specialized breastfeeding card instead.

* Minor improvements:

 - don't print days for an empty card.
 - make the width of the bar for each day proportional to that day's total feeding time.

* Don't make bar width proportional to feeding time, actually, it's kinda ugly.

---------

Co-authored-by: ag <ag@ag.com>
Co-authored-by: Christopher C. Wells <git-2022@chris-wells.net>
2024-03-13 19:59:50 -07:00
Christopher C. Wells 34fe811a54 Upgrade to Bootstrap 5 (#479)
* Update Tempus Dominus to v6 (WIP)

* Re-add calendar input prepend container

* Normalize setting of default date values

* Migrate to Bootstrap 5 (WIP)

* Remove deprecated card columns implementation from dashboard

* Update BS5 data props

* Use Masonry layout for dashboard cards (for now)

This doesn't seem particularly ideal so may need a more involved refactor

* Update styles for Bootstrap 5 deprecations

* Remove resolutions crap

* Refactor deprecated BS4 classes

* Update list table styles

* Refactor deprecated jumbotron class usages

* Update close button structure

* Add `v2` branch to standard CI workflows
2023-03-25 12:57:12 -07:00
Christopher Charbonneau Wells 08ba1a32a8
Add a last pumping dashboard card (#604)
* Add a last pumping dashboard card

* Update static assets

* Add domain during dokku CI pre-deploy
2023-02-15 20:22:27 -08:00
Christopher C. Wells 9371b1a100 Do not extend standard CSS classes 2021-11-13 05:38:25 -08:00
Ohad Lutzky 36c44484b4 Add links from dashboard
Fixes #234
2021-08-04 14:23:08 -07:00
Christopher C. Wells 0b437ae5cf Offset horizontal padding in cards with a carousel 2020-02-16 13:38:20 -08:00
Christopher C. Wells 8dd2aa9b3a Custom last feeding method text size 2020-02-16 13:38:20 -08:00
Christopher Charbonneau Wells 770e7a69eb Refactor Averages card as Statistics carousel card. 2017-11-11 07:01:04 -05:00
Christopher Charbonneau Wells e90e31cfd3 Add "Averages" dashboard card. 2017-10-30 14:26:49 -04:00
Christopher Charbonneau Wells 97dbf87e5b Refactor card templates and styling. 2017-10-28 23:01:39 -04:00
Christopher Charbonneau Wells 78ebc87265 Use static_src directories to prevent collisions with Django's collectstatic. 2017-08-24 07:54:47 -04:00