Commit Graph

1579 Commits

Author SHA1 Message Date
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 6ec4307173 Increase default top margin to account for two line graph titles. 2017-09-13 14:52:18 -04:00
Christopher Charbonneau Wells e73cb380ef Add duration figures to graph view for sleep totals. 2017-09-13 14:10:11 -04:00
Christopher Charbonneau Wells f4d94a3ca0 Add a short string duration utility function. 2017-09-13 14:07:51 -04:00
Christopher Charbonneau Wells 83aaab5bde Add a sleep totals graph. 2017-09-13 11:53:32 -04:00
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 944d33390d Begin Sleep Amount graph (WIP). 2017-09-10 17:26:18 -04:00
Christopher Charbonneau Wells 10ff754e67 Add a paginator to all list views. 2017-09-10 17:02:57 -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 44dd4877a6 Re-order list displays and add a boolean formatter template tag. 2017-09-10 16:24:59 -04:00
Christopher Charbonneau Wells 6d1f35cd59 Add a quick timer start link for small devices. 2017-09-10 10:08:03 -04:00
Christopher Charbonneau Wells 115ef15c48 Fix timer add form to include user. 2017-09-10 09:50:16 -04:00
Christopher Charbonneau Wells 32da7873fa Add a timer edit flow. 2017-09-10 05:11:09 -04:00
Christopher Charbonneau Wells 476b7ece70 Add a timer form template. 2017-09-10 04:56:06 -04:00
Christopher Charbonneau Wells d29e47861d Only display active timers nav menu if active timers exist. 2017-09-10 04:42:37 -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 99dcb1e7ca Fixer Timer.stop method to respect custom end argument. 2017-09-09 13:00:13 -04:00
Christopher Charbonneau Wells c38290838b Add action buttons to timer detail page. 2017-09-09 12:57:31 -04:00
Christopher Charbonneau Wells a9bc52dfff Move timer_stop to a model method and add a restart method. 2017-09-09 12:47:41 -04:00
Christopher Charbonneau Wells 4def741d37 Display all timers to any user with view_timer access. 2017-09-09 11:57:58 -04:00
Christopher Charbonneau Wells 1ae44c408f Add timers list. 2017-09-09 11:54:34 -04:00
Christopher Charbonneau Wells fe1b54842d Correct sleep graph duration displays for entries crossing midnight. 2017-09-09 11:20:37 -04:00
Christopher Charbonneau Wells b317c08504 Fix Tummy Time display fields. 2017-09-08 18:03:44 -04:00
Christopher Charbonneau Wells 9767315878 Add styling to stopped timers in detail page. 2017-09-08 14:39:01 -04:00
Christopher Charbonneau Wells 7f5a40ae41 Add ability to stop a timer (WIP).
This commit handles everything except including the timer in the timers list in the UI. This may require changing the model declaration to make the "active" field more complex or add another field.
2017-09-08 14:36:22 -04:00
Christopher Charbonneau Wells c3e5a0349e Include seconds in Tummy Time entry form fields. 2017-09-07 20:14:26 -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 4b2e08e0fb Lock latest dependencies. 2017-08-25 17:40:53 -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 2320d31d48 Add graph handling for sleep entry start and end dates that cross midnight. 2017-08-25 17:32:46 -04:00
Christopher Charbonneau Wells 9d0572ba92 Move duration methods in to utils for use elsewhere in the project. 2017-08-25 16:33:14 -04:00
Christopher Charbonneau Wells 1dbdc582dd Add TODO reminder... 2017-08-25 14:19:08 -04:00
Christopher Charbonneau Wells 81af1dacf5 Format sleep vs. wake time graph. 2017-08-25 14:17:15 -04:00
Christopher Charbonneau Wells 9a2facfa72 Create a sleep times graph (WIP).
Adding a Pandas requirement for dealing with the data and separating graph processing in to a separate file.
2017-08-25 12:19:06 -04:00
Christopher Charbonneau Wells ae71c5933e Prepare for a sleep reports page. 2017-08-25 08:08:02 -04:00
Christopher Charbonneau Wells 2fdee5785b Update Pipfile.lock. 2017-08-25 06:51:29 -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 d11733442d Add a diaper change types over time report. 2017-08-24 14:54:01 -04:00
Christopher Charbonneau Wells a114ce7421 Fix gulp styles:app task for static_src folder name change. 2017-08-24 13:18:00 -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 e4a92e0614 Use local graph assets instead of Plotly CDN. 2017-08-24 09:53:23 -04:00
Christopher Charbonneau Wells bc13ab09e8 Add a gulp "build" task for building and compressing all assets. 2017-08-24 09:50:39 -04:00
Christopher Charbonneau Wells aafc44a70d Add plotly and create a separate "graph" JS handler for gulp. 2017-08-24 09:48:38 -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