Commit Graph

317 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells f5768959d8 Use os.path for the reset management command to support multiple platforms. 2017-08-22 09:32:29 -04:00
Christopher Charbonneau Wells aae16346bd Add a TODO note for not intersecting faked dates. 2017-08-21 20:12:50 -04:00
Christopher Charbonneau Wells 4e7f80cd2e Create a mockup of a couple of days of sleep data using progress bars. 2017-08-21 20:10:00 -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 51946dd28a Add a "days" argument to the fake command for number of days of data to fake for each child. 2017-08-21 19:34:06 -04:00
Christopher Charbonneau Wells 8ae33b0f48 Create skeleton of reports app. 2017-08-21 19:22:03 -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 d659fc26e4 Account for duration days in timers. 2017-08-21 18:44:47 -04:00
Christopher Charbonneau Wells c0b38f3790 Add the watch task to gulp's default task. 2017-08-21 16:35:11 -04:00
Christopher Charbonneau Wells e33b3b24b7 Remove compress as a default action and use uncompressed assets for now. 2017-08-21 16:23:45 -04:00
Christopher Charbonneau Wells f62c8edf52 Add a gulp watch task. 2017-08-21 16:19:45 -04:00
Christopher Charbonneau Wells 7daa691b21 Refactor gulp tasks as a directory. 2017-08-21 16:03:16 -04:00
Christopher Charbonneau Wells b0f552f3f8 Refactor gulp tasks as a directory (WIP). 2017-08-21 15:42:32 -04:00
Christopher Charbonneau Wells 50bf6b9a15 Add dependencies for gulp compress tasks. 2017-08-21 15:20:13 -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 b02752f52f Adjust sass process for import globbing (to limit multiple imports). 2017-08-21 11:43:12 -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 3d0af7f9a5 Initiate sass-based app style system. 2017-08-21 10:43:13 -04:00
Christopher Charbonneau Wells f3fc219980 Add hrefs to menu links so they work on mobile. 2017-08-21 09:55:06 -04:00
Christopher Charbonneau Wells 3d8ea65bf9 Add JS and CSS minify. 2017-08-20 16:05:52 -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 2db3f43394 Default to JSON only API for base settings. 2017-08-20 13:31:19 -04:00
Christopher Charbonneau Wells f02e0b59bd Add current user menu. 2017-08-20 12:29:19 -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 f81f763cfb Refactor JS to use BabyBlotter as primary JS namespace. 2017-08-20 11:23:32 -04:00
Christopher Charbonneau Wells 78eb20ab91 Update the timer duration in real time on the timer detail page. 2017-08-20 11:09:40 -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 6f4774ae9e Add "reset" management command for resetting the database with fake data. 2017-08-20 09:44:44 -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 c5fc35b177 Add an actual duration field to relevant models. 2017-08-19 16:16:42 -04:00
Christopher Charbonneau Wells 22fbdf2868 Remove ID from model list templates. 2017-08-19 15:00:29 -04:00
Christopher Charbonneau Wells f30ef88d1b Add dashboard link to child list. 2017-08-19 14:57:21 -04:00
Christopher Charbonneau Wells 502964e070 Add a "fake" management command for creating fake data. 2017-08-19 14:51:40 -04:00
Christopher Charbonneau Wells 8222b4d571 Break out Django settings to separate files. 2017-08-19 10:16:51 -04:00
Christopher Charbonneau Wells 092c271d5a Implement a Gulp/NPM-based dependency management system. 2017-08-19 09:50:03 -04:00
Christopher Charbonneau Wells 3c22a79c4a Refresh migration file. 2017-08-18 14:59:13 -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 0ed0ae1a94 Add a "since" calculated field to existing models with time data. 2017-08-18 09:43:24 -04:00
Christopher Charbonneau Wells c908ae6e2b Refactor dashboard as a separate app. 2017-08-18 09:02:31 -04:00
Christopher Charbonneau Wells fe2b704d16 Add example "Last Feeding" dashboard card. 2017-08-18 08:49:15 -04:00
Christopher Charbonneau Wells b6ba6d440f Add Child dashboard logic. 2017-08-18 08:33:54 -04:00
Christopher Charbonneau Wells 5d4beea512 Add slug-based child URLs.
Also some beginnings of the dashboard system (WIP).
2017-08-18 08:17:45 -04:00
Christopher Charbonneau Wells 37f28c3ff7 Add slug field to Child. 2017-08-18 08:12:50 -04:00