billybonks
66ccc1c6c8
refactor: move javascript to babybuddy.js
...
having it directly in the page html is not ideal, now its properly
isolated.
Also use the new classname
2024-02-27 20:11:41 -08:00
billybonks
b7743674d8
feat: Improve advanced fields styling
...
on mobile it text align center
Increased the font size so its easier to click
Added translations
2024-02-27 20:11:41 -08:00
billybonks
232cde19ee
feat: use field set on some forms
...
Create choices template to have all multi choice experience be the same
as radio select choices.
Moved notes and tags into advanced template in order to reduce the
amount of fields in a form for users. Given that these two fields are
usually a catch all for anything that is not in the core data model. it
is not garunteed that users will use them.
If a user does decide to use the fields we will store that selection in
localstorage so that they dont have to open it every time.
I put the javascript into the page section, as i seem to have had issues
with javascript blocks overriding each other.
2024-02-27 20:11:41 -08:00
billybonks
f28df6ecf3
lint: lint all js and sjon files with prettier
2024-02-07 19:46:51 -08:00
Sebastien Stettler
f30479db42
ci: add djlint to ci ( #763 )
...
* ci: add djlint to ci
* lint: all django templates
2024-02-06 05:35:36 -08:00
Christopher C. Wells
17635a71a1
Update node dependencies and static assets
2024-01-27 19:41:10 -08:00
Christopher C. Wells
9baec8d906
Increase carousel slider contrast
2023-10-20 19:24:23 -07:00
Christopher C. Wells
b0de44b5d5
Correct missed BS5 class name updates
...
Fixes #677
2023-07-13 10:27:32 -07:00
Christopher C. Wells
ad5f81d84a
Adopt new Bootstrap 5 dark mode support
2023-07-09 09:26:13 -07:00
Christopher C. Wells
353533a6ef
Remove custom frontend datetime handlers
2023-03-25 13:15:20 -07:00
Christopher C. Wells
44418b2906
Remove issue workaround from Tempus Dominus 4
2023-03-25 13:12:13 -07:00
Christopher C. Wells
3e60f61031
Update node dependencies
2023-03-25 13:10:55 -07:00
Christopher C. Wells
34fe811a54
Upgrade to Bootstrap 5 ( #479 )
...
* Update Tempus Dominus to v6 (WIP)
* Re-add calendar input prepend container
* Normalize setting of default date values
* Migrate to Bootstrap 5 (WIP)
* Remove deprecated card columns implementation from dashboard
* Update BS5 data props
* Use Masonry layout for dashboard cards (for now)
This doesn't seem particularly ideal so may need a more involved refactor
* Update styles for Bootstrap 5 deprecations
* Remove resolutions crap
* Refactor deprecated BS4 classes
* Update list table styles
* Refactor deprecated jumbotron class usages
* Update close button structure
* Add `v2` branch to standard CI workflows
2023-03-25 12:57:12 -07:00
Christopher C. Wells
5a257f5b11
Revert "Set default date during picker initialization"
...
This reverts commit d397d169
2022-08-04 08:16:01 -07:00
Christopher C. Wells
d397d169f9
Set default date during picker initialization
2022-07-29 07:58:01 -07:00
Jean-Louis Jouannic
e6107b6f3d
♻️ changes the way to prevent double form submission
...
Instead of disabling form submit buttons, which values were lost
in the process, attach a new handler which disabled form submission
until first submission is processed
2022-07-24 12:32:07 -07:00
Christopher C. Wells
7178bf9fa4
Update node dependencies
2022-05-29 15:51:48 -07:00
bugbountyguy
4ceb6095d3
Rename breastpump to pumping
2022-04-04 20:39:39 -07:00
bugbountyguy
3474185b00
Add icon
2022-04-04 20:39:39 -07:00
Paul Konstantin Gerke
b7e15e6da9
Fix typo, sourced different "complementary color" code
2022-03-05 12:24:53 +01:00
Paul Konstantin Gerke
23e7c84547
Merge remote-tracking branch 'origin/master' into tags
2022-03-02 22:13:41 +01:00
Paul Konstantin Gerke
cfdb9e1ade
Made widget translateable, added German translation
2022-02-27 19:41:27 +01:00
Paul Konstantin Gerke
f1aa7c151c
Replaced alert with bootstrap-modal
2022-02-27 02:19:19 +01:00
Paul Konstantin Gerke
7baeb8a85b
Completed decomposing the tags-editor in its own javascript file
2022-02-26 16:08:29 +01:00
Paul Konstantin Gerke
332a5999bc
Adding/removing tags works again
2022-02-26 15:50:38 +01:00
Christopher C. Wells
e7862801b1
Do not focus text field when using date picker
...
Fixes #385
2022-02-26 06:14:40 -08:00
Christopher C. Wells
ff45ab46a3
Set base design for error response templates
2022-02-25 20:28:12 -08:00
Paul Konstantin Gerke
747b398bd5
Create new javascript file for tags editor
2022-02-22 19:40:27 +01:00
Yulian Kuncheff
9b604627a1
Add Height, Head Circumference, and BMI, corresponding reports, and move to separate menu with Weight and Temperature.
2021-12-31 09:19:53 -05:00
Christopher Charbonneau Wells
8f6d0295f3
Improve PWA experience ( #359 )
2021-12-25 14:31:58 -05:00
Christopher C. Wells
32bfede6e2
Re-add non-svg favicon metadata files
...
Fixes #357
2021-12-18 17:11:55 -05:00
Christopher C. Wells
fd9a0eb656
Replace usages of `darken` and `lighten`
2021-11-13 05:47:11 -08:00
Christopher Charbonneau Wells
4cf523dff0
Improve logo/favicon styling ( #312 )
...
* Update brand logo color (WIP)
Need more SVG hackery for proper transparency...
* Add SVG favicon (WIP)
👻
* Create transparent logo variant; use for brand icon
* Update primary color for all logo assets
* Add small white stroke to favicon
* Switch to SVG favicon
2021-09-25 14:16:48 -07:00
Nick Trecina
a844aa7613
Date picker changes ( #304 )
...
Only open datepicker on calendar click
Co-authored-by: Christopher C. Wells <git@chris-wells.net>
2021-09-16 20:29:47 -07:00
Christopher C. Wells
45cb43958d
Set default password policies in base settings
2021-09-16 19:14:48 -07:00
Christopher C. Wells
53f249d1af
Default to time in datetime picker
...
Closes #284
2021-09-03 20:46:12 -07:00
Christopher C. Wells
690a270185
Replace datetime picker icons
...
Fixes #302
2021-09-03 20:17:38 -07:00
Christopher C. Wells
bc1d4a707b
Fix refresh icon name
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
49aa852fe8
Fix activities icon spelling
2021-08-31 08:08:13 -07:00
Christopher C. Wells
d2decc03b6
Replace Font Awesome with a Fontello custom font
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
32a6ea1960
Ensure datetimepicker is not behind submit button on mobile
...
Fixes #265
2021-08-27 20:57:27 -07:00
Christopher C. Wells
605660ff94
Only use full width submit on smaller screens
2021-07-19 20:55:30 -07:00
Ohad Lutzky
e2e2c8c43a
Brighten blue and cyan colors ( #251 )
...
For slightly easier viewing on mobile phones in daylight
2021-07-09 07:36:38 -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
=
187d2226e0
Fixed duplicate data/form-submit from double click
2020-10-28 14:35:22 -07:00
Christopher C. Wells
e3c2f0c0b9
Implement example notes handling in Diaper Change list
2020-02-16 15:09: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