Christopher C. Wells
bafa1dec6e
Separate "information" and "action" icons for small screens
2021-08-31 08:08:13 -07:00
Christopher C. Wells
e1f20db2cb
Update back/forward arrow icon classes
2021-08-31 08:08:13 -07:00
Christopher C. Wells
2c029d3579
Prevent top menus from line breaking on small screens
2021-08-31 08:08:13 -07:00
Christopher C. Wells
c850998b64
Remove deprecated `icon` base class usage
2021-08-31 08:08:13 -07:00
Christopher C. Wells
0990678325
Add basic timeline view (WIP)
2021-08-31 08:08:13 -07:00
Ohad Lutzky
5e4e3753e7
Nav items linking to timeline from dashboard
...
Fixes #271
2021-08-31 08:08:13 -07:00
Christopher C. Wells
c1dab44596
Use POST for timer quick add functionality
2021-07-31 13:56:48 -07:00
Christopher C. Wells
605660ff94
Only use full width submit on smaller screens
2021-07-19 20:55:30 -07:00
Christopher C. Wells
f4134cd226
Make form submit full width fixed
2021-07-19 20:55:30 -07:00
Christopher C. Wells
1689bc8e20
Refactor API key reset as part of settings form
...
This adds core CSRF protection to the reset functionality.
2021-06-21 21:27:45 -07:00
Benjamin Häublein
e8696a8b00
Dashboard: Hide old data ( #215 )
...
* filter card data by age
* add setting for hide_age
* add option to settings form
* fix name to consistently use hide_age
* rename filter, use setting for filter
* add test for old hiding old data
* fix migration to contain correct imports, remove month from timedelta
* remove months from timedelta, allow blank
* fix with block
* add settings test
* add test for filter
* mock localtime
* fix timezone issues with tests
* linting
* linting
* Adjust migration
Co-authored-by: Benjamin Häublein <benjaminh@debian.vm.hp>
Co-authored-by: Christopher C. Wells <git@chris-wells.net>
2021-06-19 14:09:05 -07:00
Benjamin Häublein
1dca1cc050
Add option for hiding empty dashboard cards ( #213 )
...
* add option for hiding empty dashboard cards
* rework add option for hiding empty dashboard cards
missed statistics.html
* don't exit early in cards
* add forms test for dashboard_hide_empty
* add tests for cards
* fix early exit in card_diaperchange_latest
* change dependency of migration
* rename migration
* introduce hiding of cards in templates
* linting
* add context to test_card_diaperchange_last
* setup MockUserRequest
* add context to all cards test cases
* add test for settings_dashboard_hide_empty_on
* change dashboard_hide_test, but it doesn't work
* add test for _user_wants_hide
* fix test_user_wants_hide user object, simpliy check for data['empty']
* add test for user_wants_hide to every card
* linting
* fix trailing whitespace
* rename user_wants_hide to hide_empty
* fix hidden statistics
* add user.refresh_from_db to test case, add test case for dashboard_refresh_rate
* Follow redirect and correct assertion
Co-authored-by: jcgoette <jcgoette@gmail.com>
Co-authored-by: Benjamin Häublein <benjaminh@debian.vm.hp>
Co-authored-by: Christopher C. Wells <git@chris-wells.net>
2021-05-13 20:28:39 -07:00
Nicholas Trecina
f5d523ba80
Boolean field labels are no longer clickable so they can't be accidentally toggle the field value
2021-01-19 08:37:07 -08:00
Christopher C. Wells
d0b33c2b1b
Use user first and last name, when available, in UI
2020-02-18 14:41:33 -08:00
Christopher C. Wells
192d8d9b09
Change Django backend name to "Database Admin"
...
This is primarily done to make the documentation for import/export a little easier to understand.
2020-02-18 14:41:33 -08:00
Christopher C. Wells
8735655f23
Add user timezone setting support to datetime form fields
2020-02-14 12:07:43 -08:00
Christopher C. Wells
1514e77f8c
Add user configurable timezone setting
2020-02-14 10:56:13 -08:00
Christopher C. Wells
86f0c2f04b
Update references to old repo address
2020-02-06 22:16:57 -08:00
Christopher C. Wells
682ebb34ca
Implement pull-to-refresh ( #107 )
2020-02-04 10:58:26 -08:00
Christopher C. Wells
e168babd86
Style datetime picker inputs
2020-01-31 08:47:03 -08:00
Christopher C. Wells
e587ddeccd
Use large inputs for datetime picker
2020-01-31 08:47:03 -08:00
Christopher C. Wells
475b7abf78
Apply custom style to `.datetimepicker-input`
2020-01-31 08:47:03 -08:00
Christopher C. Wells
26b54b114e
Add wrapper for datetime picker widget
2020-01-27 14:56:37 -08:00
Christopher C. Wells
4194d833d2
Remove `vendor.css` reference (see 7030258
)
2020-01-26 13:31:29 -08:00
Christopher C. Wells
746526d4ed
Add "trimmed" key to `blocktrans` tags and update formatting
2020-01-23 20:00:32 -08:00
Christopher C. Wells
a93070c5ba
Add locale support for datetime picker
2020-01-20 15:50:35 -08:00
Christopher C. Wells
d68410cdae
Use cookie for language setting
...
Django 4.0 will deprecate the use of session for language setting.
2020-01-04 08:09:28 -08:00
Christopher C. Wells
4397d4a406
Add temperature tracking.
2019-05-16 21:33:26 -07:00
Christopher C. Wells
83b4edf95d
Store and retrieve language in user Setting.
2019-04-16 21:41:55 -07:00
Christopher C. Wells
c36451fc8e
Add translateable strings support in babybuddy app.
2019-04-13 21:55:16 -07:00
Christopher C. Wells
0e4d80dab0
Add cookie-based language selection to user settings.
...
This will likely be refactored to use a database column instead of dropping a cookie.
2019-04-13 20:07:46 -07:00
Xitij Ritesh Patel
131bec7698
Modify app manifest to fix iOS link issue. Fixes #57 .
2018-09-05 19:27:05 -04:00
Christopher Charbonneau Wells
2bc9d4703d
Use logo in app.
2018-05-20 15:59:45 -07:00
Christopher Charbonneau Wells
f59bbc03df
Use logo for favicon.
2018-05-20 15:44:23 -07:00
Christopher Charbonneau Wells
08488af718
Raise permission denied instead of redirecting to login ( #49 ).
2018-05-20 14:40:09 -07:00
Christopher Charbonneau Wells
0a5ffed012
Include messages template on registration pages.
2018-05-20 07:11:54 -07:00
Christopher Charbonneau Wells
81e4a1ea51
Make list filters toggleable.
2018-03-13 20:16:16 -07:00
Christopher Charbonneau Wells
742c21d003
Use Bootstrap custom select for entry list filters.
2018-03-13 19:55:54 -07:00
Christopher Charbonneau Wells
7d3d13338e
Lessen hover effect on checkbox buttons.
2018-02-17 17:24:41 -05:00
Christopher Charbonneau Wells
d69667bbab
Change checkboxes to checkbox buttons.
2018-02-04 20:39:47 -05:00
Christopher Charbonneau Wells
18583d8cb6
Use .custom-select for select fields.
2018-02-04 19:56:04 -05:00
Christopher Charbonneau Wells
a01b02b832
Remove extra space around datetime input fields.
2018-02-03 18:39:35 -05:00
Christopher Charbonneau Wells
119f4182e5
Use custom control for checkboxes.
2018-02-03 18:39:17 -05:00
Christopher Charbonneau Wells
99c55fa392
Update checkbox structure (BS4 beta 3).
2018-01-13 08:28:54 -05:00
Christopher Charbonneau Wells
a9dfe686db
Replace .input-group-addon with .input-group-prepend (BS4 beta 3).
2018-01-13 08:24:24 -05:00
Christopher Charbonneau Wells
a5c94455ca
Prep meta files for v1.0.0 release.
2017-12-27 09:20:32 -05:00
Christopher Charbonneau Wells
183a30b0a3
Only allow staff members to manage users.
2017-12-13 13:49:10 -05:00
Christopher Charbonneau Wells
29e2a4af20
Add staff and active settings for users.
2017-12-11 17:44:02 -05:00
Christopher Charbonneau Wells
e234c1cfd2
Add basic user management forms and views.
2017-12-10 21:36:25 -05:00
Christopher Charbonneau Wells
553d9fbc3b
Consolidate messages and errors in to main page template.
2017-12-06 13:02:41 -05:00