Matthew Smith
cd73b6cafe
Fixed #370 , asset categories that are default selected are now shown
2019-12-04 23:04:31 +00:00
68e977d749
CHANGE: Further tweak colouration
...
Red is for broken/lost - things we should have but don't
Yellow is for sold/scrapped - things we had but don't have on purpose
Blue is not built yet because... I don't have a reason for that one.
2019-12-04 21:28:03 +00:00
4bf399090b
FIX: Update table row colouration for production statuses
...
TODO: Make the colour defined by the status as opposed to hardcoding it...
2019-12-04 21:11:33 +00:00
Matthew Smith
15acc02f74
Switched URL to use asset_id rather than the database ID
2019-12-04 20:13:09 +00:00
Matthew Smith
d335ab3a80
Fixed asset picker backend
2019-11-25 13:40:16 +00:00
127b22fe71
Attempt at fancy supplier search
...
#374
2019-11-24 14:36:53 +00:00
22f0041eaf
Add ability to search supplier list. Partial #374
2019-11-24 14:13:47 +00:00
Matthew Smith
0a724e645f
Improved colouring of list items so that Lost & Binned are actually visible to the human eye
2019-10-31 19:36:57 +00:00
Matthew Smith
d7e5e61b49
Fixed outdated link to old duplicate
2019-10-31 19:33:37 +00:00
a5da5ad7a8
Remove top right form buttons from create/update
...
Works on RIGS coz it's just one button. Makes a mess here imo.
2019-10-23 13:11:46 +01:00
7bc47f708c
Hide asset list quicklinks on mobile. Partial #336 .
...
Bit of a sledgehammer approach I know...
2019-10-23 13:09:08 +01:00
Matthew Smith
3079ee0814
Select now store selections between forms.Partial: #362
2019-10-16 20:06:20 +01:00
Matthew Smith
3de58740c6
Added multi-option search along.
...
Added auto hiding of categories in search unless selected.
Added field allowing to choose whether category auto-hidden
Fixes #353
2019-10-16 18:23:16 +01:00
Matthew Smith
2d84a598f7
Fixes #357 , removes the ability to delete assets
2019-10-16 14:11:20 +01:00
Matthew Smith
d2ba39bc60
Merge of cable additions
2019-10-14 00:13:00 +01:00
Matthew Smith
aac900318e
Cables are now a thing, unfortunately by making a monolithic Asset model
...
Co-authored-by: Arona Jones <aj@aronajones.com >
2019-10-14 00:05:18 +01:00
f5fc41ce30
Initial work on asset DB perms
...
Partial #352 .
2019-10-11 17:41:48 +01:00
1d6208414f
Fix old duplicate link
2019-10-08 18:32:49 +01:00
5c9d7466c2
Change asset buttons - added cancel button, moved stuff
2019-10-08 18:01:15 +01:00
dc68a1f808
Improve handling of really long strings
...
Partially resolves #350 , my table fix/hack doesn't work on mobile.
2019-10-08 17:51:33 +01:00
1811cc98ba
Oops. Create is an edit state...
2019-10-08 17:04:10 +01:00
1b124a9da9
Partialize alllllll the things
...
Split each form section into its own partial which handles both the form and display view of that section.
2019-10-08 16:49:10 +01:00
bfd4a380f3
Wrap cableform input groups
2019-10-08 13:56:56 +01:00
f9c851b960
Sod it. Cable form display now depends only on checkbox state
2019-10-08 13:53:24 +01:00
Matthew Smith
f8a9062b8e
Merge branch 'asset-assetforms' of https://github.com/nottinghamtec/PyRIGS into asset-assetforms
2019-10-08 01:34:01 +01:00
Matthew Smith
fe1541acbf
Cables can now be created.
2019-10-08 01:33:38 +01:00
d30bd9850d
Align text against buttons (middle) in asset list
2019-10-07 16:46:15 +01:00
b8b82c0970
Prettify search/filter a bit
2019-10-07 16:41:52 +01:00
Matthew Smith
7b795ac332
Fixed some bugs with search
2019-10-06 01:03:41 +01:00
Matthew Smith
d944f99e1f
Fixed cable form fields not appearing, and made the 'cable details' group appearing more reliable
2019-10-05 23:19:22 +01:00
a22956cc62
Initial work on cable template things
2019-10-05 22:42:21 +01:00
Matthew Smith
3d5272d722
Fixed incorrecty data being sent to the date_sold field in the asset_update template. Fixes last of dates not being passed around correctly
2019-10-05 21:58:49 +01:00
366d9c4130
Label the collection 'set parent' field as such
2019-10-05 20:33:03 +01:00
Matthew Smith
e3cbcbd151
Fixed search and implemented an asset search api
...
Added asset picker for parent attribute
Co-authored-by: Panagiotis Petridis <lPanagiotisPetridisl@gmail.com >
2019-10-05 20:18:07 +01:00
Matthew Smith
1d253aa452
Fixed edit always being invalid due to always failing form validation
2019-10-05 15:08:40 +01:00
Matthew Smith
3aa3498d3a
Split out create and duplicate templates, got both working
2019-10-05 14:59:15 +01:00
Matthew Smith
769137fabd
Started work on improving asset form update and validation - requires de-spaghettifying of asset_update.html before continuing
2019-10-05 01:44:54 +01:00
5bfa737f6b
First pass at filters
...
They're currently exclusive with each other and search, which ain't quite right!
Also stopped search from searching comments.
2019-10-02 22:49:54 +01:00
Matthew Smith
63eb0fc3ce
Merge branch 'assets' of https://github.com/nottinghamtec/PyRIGS into assets
2019-10-02 21:14:03 +01:00
Matthew Smith
207bf7bd7a
Added dependency django-polymorphic
...
Model change to take advantage of said polymorphism
Implemented asset search
2019-10-02 21:12:24 +01:00
e591ebe05a
Show purchase and collection details side by side
...
Not sure if I like this or not. Maybe collection should start collapsed, too.
2019-10-02 19:38:05 +01:00
3d7fc18fb7
Fix unclosed tags in asset_update
2019-10-02 18:58:52 +01:00
6c68343653
Add status colors to asset list
2019-10-02 18:34:34 +01:00
5cb668fd7a
Fix delete confirmation modal styling
2019-10-02 17:40:21 +01:00
42a63f035c
Asset detail view button improvements
2019-10-02 17:17:35 +01:00
15113c4fbc
Fix asset list quicklinks
2019-10-02 16:51:45 +01:00
warlordjones
9bcff7cd5f
Supplier bootstrap port
2019-10-02 12:40:55 +01:00
warlordjones
f3c7f89f31
Initial bootstrap port of asset_update
2019-10-02 12:08:52 +01:00
Matthew Smith
8c60f6cb1d
created separate base for RIGS and assets.
...
Fixed create asset form
2019-10-01 22:46:48 +01:00
warlordjones
a9a05b06fa
Begin bootstrap port
2019-10-01 19:59:02 +01:00