Commit Graph

1792 Commits

Author SHA1 Message Date
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
Christopher Charbonneau Wells 8772f87d8a Squash migrations. 2017-08-18 01:57:07 -04:00
Christopher Charbonneau Wells f15894fac2 Float active timers to top. 2017-08-18 01:56:23 -04:00
Christopher Charbonneau Wells f08ec94e3c Stop timer on instance save instead of form load. 2017-08-18 01:53:48 -04:00
Christopher Charbonneau Wells 9ac8432ff8 Do not update Timer.start on save(). 2017-08-18 01:01:37 -04:00
Christopher Charbonneau Wells cf1598fe2c Add permissions check for timer detail view buttons. 2017-08-18 00:59:25 -04:00
Christopher Charbonneau Wells a51d9e4c83 Add timer delete functionality and move template back in to core. 2017-08-18 00:55:57 -04:00
Christopher Charbonneau Wells 8cb2c171f2 Redirect to timer detail view instead of "next" on timer quick create. 2017-08-18 00:48:26 -04:00
Christopher Charbonneau Wells 62a1142ad6 Add ability to create instances from timer detail view. 2017-08-18 00:42:37 -04:00
Christopher Charbonneau Wells 24d797db01 Add Timer detail template (WIP). 2017-08-17 23:45:56 -04:00
Christopher Charbonneau Wells b4eefea7f9 Recreate initial migration. 2017-08-17 23:14:16 -04:00
Christopher Charbonneau Wells 68bad13e93 Add navbar-based Timer dropdown. 2017-08-17 23:10:07 -04:00
Christopher Charbonneau Wells 0f73042bfa Change Timer string format and allow null name field. 2017-08-17 22:52:41 -04:00
Christopher Charbonneau Wells 93b942e811 Add dropdown style navbar. 2017-08-17 22:15:15 -04:00
Christopher Charbonneau Wells f474ccb8b9 Refactor overall template structure. 2017-08-17 21:33:08 -04:00
Christopher Charbonneau Wells 0c9b953ab4 Default Child foreign keys if only instance exists. 2017-08-17 20:59:55 -04:00
Christopher Charbonneau Wells ac2cc8ec5f Assign user field during Timer instance save. 2017-08-17 20:42:47 -04:00
Christopher Charbonneau Wells 1b015d4dde Add user association to Timer (WIP - adding timer broken) 2017-08-17 14:42:44 -04:00
Christopher Charbonneau Wells d89fa9df11 Add permissions checks to frontend. 2017-08-17 13:39:23 -04:00
Christopher Charbonneau Wells 3bbfd012f4 Add permissions handling to api and core views. 2017-08-17 13:18:14 -04:00
Christopher Charbonneau Wells 55a908f546 Fix URLs configuration to prevent namespace issues between api and core apps. 2017-08-17 12:17:51 -04:00
Christopher Charbonneau Wells 42e2294c51 Re-order urls to prevent incorrect API urls. 2017-08-17 11:36:20 -04:00
Christopher Charbonneau Wells 60226dd9c5 Update core migrations. 2017-08-17 11:23:40 -04:00
Christopher Charbonneau Wells 72b1f3e37b Add ability to create a Timer. 2017-08-16 21:57:01 -04:00
Christopher Charbonneau Wells 387535a200 Add UI for timers. 2017-08-16 21:03:09 -04:00
Christopher Charbonneau Wells 1185addace Add a short param to the duration_string for XhXmXs formatted durations. 2017-08-16 19:08:52 -04:00