Oliver Walters
bad46f85f4
Edit / delete / add BOM items
...
- Remove x-editable inline editing
- Uses only bootstrap-table and modal forms
- Hide the 'part' field in the bom item edit
2019-04-16 01:41:01 +10:00
Oliver Walters
264f189917
Add function to wrap a value in an in-line editable field
...
- Requires bootstrap-editable
2019-04-15 00:11:14 +10:00
Oliver
7b478fed4e
Redirect if not authed
...
If user not logged in, redirect any requests to login page
2018-05-10 20:40:08 +10:00
Oliver
25e0de1ce7
Vast improvements to stocktake API endpoint
...
- Also acts to ADD and REMOVE stock
- Send 'action' field to specify which one to perform
- Fixed add_stock and remove_stock funcs for StockItem model
- Autoatically add transaction notes for all actions
2018-05-08 22:06:28 +10:00
Oliver
deccdce6d9
Part view updates
2018-05-07 08:41:19 +10:00
Oliver
a7d4e299b2
Cleaned up stock app
2018-05-04 23:31:48 +10:00
Oliver
4f63d12837
Consolidated 'Part' app views
...
- Improved templating
- Part tree open/close status stored to session
2018-05-04 18:55:55 +10:00
Oliver
395bf23d6c
Cleanup / formatting
2018-05-04 01:33:13 +10:00
Oliver
9ad20e85e3
Improve CSS for modal forms
2018-05-04 00:56:29 +10:00
Oliver
211edb23bb
Removed footable
...
- Now using bootstrap-table
2018-05-02 22:22:43 +10:00
Oliver
fb9142c3fd
Add static bootstrap-table files
2018-05-02 22:08:10 +10:00
Oliver
39530831d8
CSS fixes for .notification-area and .alert
...
Missed from previous commit
2018-04-30 00:30:04 +10:00
Oliver
a2c1eda5c0
Added a form that only contains csrf tags
...
- e.g. blank form only required to validate POST data
2018-04-30 00:21:13 +10:00
Oliver
feb45513f7
Prevent serial number for stock item with quantity > 1
2018-04-29 13:20:02 +10:00
Oliver
8d0789c37c
Implemented tree view
...
Using library bootstrap-treeview
- part category tree
- stock location tree
- Currenly is functional but looks terrible
2018-04-28 23:22:12 +10:00
Oliver
c0902626f4
footable working with BOM items
...
- Event delegation to capture 'edit' button
2018-04-26 23:05:35 +10:00
Oliver
8aa6dbdb04
Improved display of checkbox in forms
...
Still not quite right, but a lot better
2018-04-26 22:43:25 +10:00
Oliver
b4ff8f79f0
Fixed position header + footer for modals
...
- Fun with CSS!
- Header title provided by AJAX data
- Footer static
- Submit button text can be customized via JSON dat
2018-04-26 22:38:48 +10:00
Oliver
d02b6f3583
Added scroll-bar to long modals
...
Required to fix a bug in select2 where select boxes are drawn incorrecly in a long scrolling modal.
Enforcing a scrollbar for overflow prevents this (magic)?
Ref: https://github.com/select2/select2/issues/3897
2018-04-26 18:22:14 +10:00
Oliver
5f19b37c6e
Added 'select2' to modal foms
...
- Drop down lists are now text filterable
- Yay for libraries
2018-04-26 17:37:23 +10:00
Oliver
50fcf5363c
Download bootstrap and jquery to static dir
...
- Allow to run offline
2018-04-24 22:50:56 +10:00
Oliver
3c844fc77f
Redirect some links
2018-04-15 21:47:20 +10:00
Oliver
8232baeed7
Improved list and detail views for supplier
...
Huzzah for bootstrap
2018-04-15 13:49:47 +10:00
Oliver
ff2082b156
Fixes for bootstrap
...
- Now using bootstrap3 which seems to work better
- Had to make changes to navbar and part image preview
2018-04-15 09:38:59 +10:00
Oliver
54e78bf468
Ability to delete part
...
- Provides confirmation form
- Shows the flow-on effects (model.CASCADE) from deleting this part
- Bootstrap makes it prettyful
2018-04-15 09:08:35 +10:00
Oliver
8578c8a1a7
Updated breadcrumbs to use bootstrap
2018-04-14 23:42:24 +10:00
Oliver
204874dcb4
Changed some category views to use boostrap list-group
...
- Looks much fancier!
2018-04-14 23:05:36 +10:00
Oliver
0e2c5e6af5
Add tabs to part detail view
...
- Currently each "tab" reloads the entire page but with the new tab selected
- We could use bootstrap js to do this without reloading (load ALL part data)
2018-04-14 22:10:19 +10:00
Oliver
a31ec388f4
Added static files directory
...
- Improved display of part image
2018-04-14 18:22:31 +10:00