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
f4d94a3ca0
Add a short string duration utility function.
2017-09-13 14:07:51 -04:00
Christopher Charbonneau Wells
10ff754e67
Add a paginator to all list views.
2017-09-10 17:02:57 -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
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
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
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
9d0572ba92
Move duration methods in to utils for use elsewhere in the project.
2017-08-25 16:33:14 -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
eefa00bfd3
Add a very basic prototype dashboard for multiple children.
2017-08-24 13:09:56 -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
Christopher Charbonneau Wells
23acc006d4
Linting fixes.
2017-08-22 13:36:49 -04:00
Christopher Charbonneau Wells
2789234a92
Linting fixes.
2017-08-22 13:16:35 -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
d659fc26e4
Account for duration days in timers.
2017-08-21 18:44:47 -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
f3fc219980
Add hrefs to menu links so they work on mobile.
2017-08-21 09:55:06 -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
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
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
e92050cb44
Add a Last Diaper Change card.
2017-08-18 11:00:58 -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