Commit Graph

24 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells eefa00bfd3 Add a very basic prototype dashboard for multiple children. 2017-08-24 13:09:56 -04:00
Christopher Charbonneau Wells 536283e3db Handle dashboard redirect when there are no Child objects. 2017-08-24 08:04:54 -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
Christopher Charbonneau Wells e3b73d53c5 Replace timezone.now() usage with localtime. 2017-08-22 21:36:44 -04:00
Christopher Charbonneau Wells 23acc006d4 Linting fixes. 2017-08-22 13:36:49 -04:00
Christopher Charbonneau Wells 2789234a92 Linting fixes. 2017-08-22 13:16:35 -04:00
Christopher Charbonneau Wells faaa67995f Make the dashboard cards layout more opinionated.
This puts all the "last" cards in one row consistently, assuming that the tummy time and diaper change cards should always have fairly large heights. The shifting heights were causing cards to appear in different places with the masonry setup.
2017-08-21 19:53:21 -04:00
Christopher Charbonneau Wells 7bffb41718 Fix all url declarations to specifying starts with (^). 2017-08-21 19:19:48 -04:00
Christopher Charbonneau Wells 0b8205a830 Include all of the past five days in the diaper change types card. 2017-08-21 19:00:08 -04:00
Christopher Charbonneau Wells 347b1ff11b Make the timer display smaller on small devices. 2017-08-21 11:43:46 -04:00
Christopher Charbonneau Wells b05b268c7e Replace inline CSS for diaper change types card and prepare for other sass styling. 2017-08-21 11:03:18 -04:00
Christopher Charbonneau Wells 267c6483b5 Clarify last tummy time language on card. 2017-08-20 15:36:26 -04:00
Christopher Charbonneau Wells 628fe44217 Keep timezone aware in cards. 2017-08-20 13:48:49 -04:00
Christopher Charbonneau Wells e1379b0bf4 Minor dashboard adjustments. 2017-08-20 11:57:48 -04:00
Christopher Charbonneau Wells 591f2fba52 Use a timedelta for last tummy time card. 2017-08-20 11:45:26 -04:00
Christopher Charbonneau Wells 21e4af6f58 Move duration tools to a separate template tag collection. 2017-08-20 10:04:20 -04:00
Christopher Charbonneau Wells 6d73cb69f6 Convert duration_string to a template tag (WIP). 2017-08-19 16:46:50 -04:00
Christopher Charbonneau Wells f30ef88d1b Add dashboard link to child list. 2017-08-19 14:57:21 -04:00
Christopher Charbonneau Wells 25fbf4c4d0 Add Tummy Time day activity card. 2017-08-18 14:58:10 -04:00
Christopher Charbonneau Wells c2c708883e Add a Diaper Change types card. 2017-08-18 14:01:27 -04:00
Christopher Charbonneau Wells 63faa0b553 Add last Sleep and Tummy Time cards and change to a card columns layout. 2017-08-18 11:22:08 -04:00
Christopher Charbonneau Wells e92050cb44 Add a Last Diaper Change card. 2017-08-18 11:00:58 -04:00
Christopher Charbonneau Wells 4cfc6cb360 Create extended template example for Last Feeding. 2017-08-18 10:32:17 -04:00
Christopher Charbonneau Wells c908ae6e2b Refactor dashboard as a separate app. 2017-08-18 09:02:31 -04:00