Christopher Charbonneau Wells
e77c2a5639
Refactor naming of current reports.
2017-09-13 11:25:12 -04:00
Christopher Charbonneau Wells
6cfbba5f81
Further standardize report templates.
2017-09-13 11:20:28 -04:00
Christopher Charbonneau Wells
f89a8ce289
Add a total sleep on date card.
2017-09-13 10:31:56 -04:00
Christopher Charbonneau Wells
aba6fdff15
Remove last tummy time card from child dashboard.
2017-09-10 16:27:52 -04:00
Christopher Charbonneau Wells
4f93d96501
Fix diaper change types care query min_date to match range (seven days).
2017-09-10 04:40:10 -04:00
Christopher Charbonneau Wells
89e60e46b7
Do not set default init date in Tummy Time card declaration.
...
This would cause the date to default to the date the instance starts, not the date the method is called from a template.
2017-09-07 20:12:36 -04:00
Christopher Charbonneau Wells
422b381e50
Change Diaper Change Types card to not care about dates (or timezones) for the data dict.
2017-09-07 20:08:28 -04:00
Christopher Charbonneau Wells
6939adccaa
Add a Last Feeding Method card and rearrange child dashboard cards.
2017-08-25 17:39:10 -04:00
Christopher Charbonneau Wells
ae71c5933e
Prepare for a sleep reports page.
2017-08-25 08:08:02 -04:00
Christopher Charbonneau Wells
0da15482bd
Fix last diaper change time on card.
2017-08-24 16:29:31 -04:00
Christopher Charbonneau Wells
e3d7d64c35
Add Reports menu to child dashboard.
2017-08-24 15:40:11 -04:00
Christopher Charbonneau Wells
4d0a75d020
Add an upper limit for diaper change card data and some method descriptions.
2017-08-24 14:58:33 -04:00
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