Commit Graph

33 Commits

Author SHA1 Message Date
e2eca77827 rentals: Remove list editable fields Locker Info admin
Have already done the bulk input, so this is just likely to cause
accidental changes now
2023-03-28 12:54:27 -04:00
d56c505c6e rentals: Improve performance of Locker Info admin 2023-03-28 12:54:27 -04:00
0d9e2e970e Add type checking, fix some minor typing issues 2022-12-13 13:31:22 -05:00
9bf33f9b50 Use djlint for js and css 2022-11-07 12:49:12 -05:00
1127978e10 Apply new djlint version 2022-09-03 00:30:18 -04:00
9932a8dfa9 [rentals] Add notes field to locker index dropdowns 2022-05-05 17:30:58 -04:00
e14e57c39e [rentals] Use django-autocomplete-light for locker renter selection
This primarily to make the list of members not block/slow down
loading excessively, as it was currently doing
2022-05-05 17:23:36 -04:00
8eba17af13 [rentals] Clear locker forms when dropdown menus are closed 2022-05-05 17:23:36 -04:00
ef88601076 [rentals] Fix broken template in lockers.dj.html 2022-05-05 17:23:33 -04:00
88368466e8 [rentals] Make locker grid display box sizes more reactive 2022-03-15 22:17:53 -04:00
87df8d460c [rentals] Allow reserving lockers for internal makerspace use 2022-03-15 21:59:48 -04:00
3225f2ff87 [rentals] Don't close locker pop up when clicked inside 2022-03-15 21:50:46 -04:00
43d3f5dffa [rentals] Wrap long names in locker grid list 2022-03-15 21:50:46 -04:00
5ae60be3b4 [rentals] Use widget_tweaks to apply CSS classes to form fields
... instead of subclassing ModelForm to apply a class to all fields
2022-03-15 21:50:43 -04:00
fb738441d2 [rentals] Show notes in changelist of LockerInfo 2022-02-18 15:35:03 -05:00
6326972b8f [rentals] Make LockerInfo blind code and bitting code editable in changelist 2022-02-18 15:33:27 -05:00
7e0a5fc609 [rentals] Add Notes field to LockerInfo 2022-02-18 14:55:57 -05:00
8b5489bc6f [rentals] Use select_related in LockerInfo admin to improve load times 2022-02-18 13:18:36 -05:00
81377a8a87 [rentals] Allow sorting LockerInfos by address 2022-02-18 13:17:08 -05:00
3b8d97573f [rentals] Fix form field ids in lockerIndex view 2022-02-17 00:07:36 -05:00
ff723e019d [rentals] Simplify locker index view/template rendering
Also create locker info instances when a new locker unit is created
2022-02-16 22:45:39 -05:00
55bccb930f Add a pdm script to run code formatters 2022-02-16 17:12:30 -05:00
24e8bf819b [rentals] Store more info on lockers and allow editing via front end 2022-02-16 17:12:30 -05:00
52feb2d0b2 Merge remote-tracking branch 'paperwork/main' 2022-02-14 16:26:57 -05:00
c79a748720 Change LockerRental address to just include column letter and number 2022-01-28 17:03:55 -05:00
78f5d79e01 Add search fields for locker rentals 2022-01-28 16:03:58 -05:00
bd9ce2457b rentals: Reverse ordering of locker numbers
Because for some reason, our lockers are numbered right to left
2022-01-28 15:59:54 -05:00
d41dc9044c rentals: Add __str__() for LockerUnit 2022-01-27 17:14:44 -05:00
91255cb06c rentals: Change numbering scheme to match reality 2022-01-27 17:14:44 -05:00
813e432399 Use {% url %} instead of hard-coded urls 2022-01-25 00:59:10 -05:00
29c0afadcc Add namespaces to app URL confs 2022-01-25 00:56:31 -05:00
ecdd2f861c Add and apply black formatter 2022-01-25 00:56:30 -05:00
0d34d4832a Add first attempt at locker rental management 2022-01-25 00:56:11 -05:00