Commit Graph

26 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells 97dbf87e5b Refactor card templates and styling. 2017-10-28 23:01:39 -04:00
Christopher Charbonneau Wells 6ce6599b39 Clean up card content when no data is in the database. 2017-10-27 20:18:55 -04:00
Christopher Charbonneau Wells 84e96c046f Add pluralize check to naps count card. 2017-10-24 10:08:49 -04:00
Christopher Charbonneau Wells 19ad5b98a3 Adjust card styles.
Removes footers with mostly useless information and uses muted text for all content.
2017-10-23 20:07:45 -04:00
Christopher Charbonneau Wells 66a91fe534 Add a "naps" card. 2017-10-23 19:52:20 -04:00
Christopher Charbonneau Wells 05ece53f18 Tweak dark colors and remove custom coloring classes from some elements. 2017-09-27 11:28:10 -04:00
Christopher Charbonneau Wells 17abac0829 Add an active timers list card. 2017-09-25 12:13:37 -04:00
Christopher Charbonneau Wells 3d88235eb9 Implement generic, app-specific "icon" style names over FA. 2017-09-15 12:29:56 -04:00
Christopher Charbonneau Wells 0ae9c5a408 Fix zero division error when a day has no sleep entries. 2017-09-15 07:09:43 -04:00
Christopher Charbonneau Wells f89a8ce289 Add a total sleep on date card. 2017-09-13 10:31:56 -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 e3d7d64c35 Add Reports menu to child dashboard. 2017-08-24 15:40:11 -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 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 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 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