Commit Graph

1493 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells 4be3d66a85 Add time since to Timeline entries. 2017-09-25 11:42:41 -04:00
Christopher Charbonneau Wells 43edfddd82 Move "short" duration string function to graphs and exclude seconds. 2017-09-25 11:40:15 -04:00
Christopher Charbonneau Wells 6562fa2390 Finalize child timeline graph/view. 2017-09-20 11:52:30 -04:00
Christopher Charbonneau Wells 98963572ba Use form classes to set appropriate field attributes in date/time fields.
Using a custom input element in the template caused issues with default values (e.g. when set by a timer).
2017-09-17 15:48:23 -04:00
Christopher Charbonneau Wells dad1ff73ca Add custom form field settings for datetime/date fields. 2017-09-17 14:54:50 -04:00
Christopher Charbonneau Wells 33239a097b Add custom form field settings for boolean fields. 2017-09-17 09:36:07 -04:00
Christopher Charbonneau Wells a89a237b5c Use a generic form template for existing forms. 2017-09-17 09:00:34 -04:00
Christopher Charbonneau Wells 36847f0bd2 Default to current time for diaper change and end field entries. 2017-09-17 08:53:11 -04:00
Christopher Charbonneau Wells 8f9a756fa2 Limit paginator links to next and previous two pages. 2017-09-17 08:46:35 -04:00
Christopher Charbonneau Wells ab1b9ee7a8 Add actual events to timeline (WIP). 2017-09-16 17:17:09 -04:00
Christopher Charbonneau Wells bc7b9a97fa Remove FA from vendor CSS. 2017-09-15 12:45:12 -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 c49b8d1930 Simplify core model names. 2017-09-15 11:55:30 -04:00
Christopher Charbonneau Wells 1f1d96093b Add example timeline view (WIP). 2017-09-15 08:11:41 -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 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