Oliver Walters
55669c79c2
Delete a currency from the currency settings view
2019-09-07 20:22:30 +10:00
Oliver Walters
3188b0ab18
Edit currency from settings view
2019-09-07 20:19:35 +10:00
Oliver Walters
31562826f4
Add modal form for creating a new currency
2019-09-07 20:06:04 +10:00
Oliver Walters
67ea0fa887
Create a new part parameter template
2019-09-07 19:53:47 +10:00
Oliver Walters
94ab7c5b0e
Display list of part parameter templates in the part settings page
2019-09-07 19:45:36 +10:00
Oliver Walters
f415e2040e
API endpoint for PartParameter and PartParameterTemplate
2019-09-07 19:44:10 +10:00
Oliver Walters
6752bdc1c6
Sort currency API
2019-09-07 19:28:20 +10:00
Oliver Walters
873faee040
Display currency list under currency settings page
2019-09-07 19:23:58 +10:00
Oliver Walters
89c3ab5e99
Formatting
2019-09-07 18:58:37 +10:00
Oliver Walters
27878d2d8d
Split settings into multiple pages
...
- Tab style navigation
2019-09-07 18:02:03 +10:00
Oliver Walters
1b8fb4db44
Start skeleton for better settings page
2019-09-07 15:04:18 +10:00
Oliver Walters
eb378e5e5d
Specify PNG image for QR code generation
2019-09-06 12:38:09 +10:00
Oliver Walters
3682e9b5fb
Display currency selection in part pricing dialog
2019-09-03 22:28:53 +10:00
Oliver Walters
273412b63d
Add 'bug report' button
2019-09-02 22:14:50 +10:00
Oliver Walters
fc5682f565
Form is now fully transferred to a formview
2019-07-02 19:20:45 +10:00
Oliver Walters
3dddb10f5d
Pretty toggle buttons in modal forms
2019-06-18 23:12:13 +10:00
Oliver Walters
ee5722857f
Re-add 'new stock item' button
2019-06-18 22:13:54 +10:00
Oliver Walters
1d67b4cdaa
Sliders now update the part options via AJAX
2019-06-18 19:24:10 +10:00
Oliver Walters
65a8a30f87
Many improves of the slidies
2019-06-18 19:05:09 +10:00
Oliver Walters
783b8964d1
Add 'slide' for part type
2019-06-18 18:49:52 +10:00
Oliver Walters
b1c1015778
Add bootstrap-toggle
2019-06-18 18:38:03 +10:00
Oliver Walters
d860336060
Add some pretty buttons to the purchase order detail table
2019-06-13 21:44:09 +10:00
Oliver Walters
4be82a31ce
Remove rows from order form
2019-06-13 20:26:53 +10:00
Oliver Walters
bc05146e72
First pass at 'order parts' fom
...
- Select parts in modal form window
2019-06-11 23:37:32 +10:00
Oliver Walters
8e82488f70
Display 'net stock' value on front page
2019-06-11 21:58:20 +10:00
Oliver Walters
50bab299c5
Add hover image to 'parts to order' table
2019-06-11 21:52:43 +10:00
Oliver Walters
3954b33fb7
Use 'on_order' count in calculation for parts we need to order
2019-06-10 23:05:14 +10:00
Oliver Walters
c49b8546f0
Index page for showing all purchase orders
2019-06-04 23:59:15 +10:00
Oliver Walters
4f1acddb5d
Fix some build status code thingies
2019-06-04 23:42:48 +10:00
Oliver Walters
cc2e3351ff
Search for company
2019-06-04 22:34:58 +10:00
Oliver Walters
7a244f48ae
Solve weird collapse bug
...
- HTML is so gross
- Disable image hover seems to work...
2019-06-03 21:35:40 +10:00
Oliver Walters
64d541f453
Hide result types which return no results
2019-06-02 20:28:17 +10:00
Oliver Walters
ba26acd487
Rename some fields
...
- Oops didn't think that through, gotta go through and fix the data now...
2019-06-02 19:46:30 +10:00
Oliver Walters
fd2e2a71f9
Add search results for part-category and stock-location
2019-06-02 19:15:05 +10:00
Oliver Walters
2ee35ec062
Stock counting now works
2019-06-02 12:20:26 +10:00
Oliver Walters
8214aef0db
Add template for hover_image
2019-06-01 21:13:51 +10:00
Oliver Walters
ecde201bb0
Update to newest bootstrap-table script
2019-05-29 00:20:01 +10:00
Oliver Walters
4011d66b6f
Display sub-location information
2019-05-28 18:08:50 +10:00
Oliver Walters
4218cf8b45
Client-side grouping
...
- Cusomizations made to bootstrap-table-group-by.js
- Group by part name
- Display total stock count per group
- Only group if there are more than 1 item in the group
- Groups send checkbox signals through appropriately!
2019-05-28 17:21:29 +10:00
Oliver Walters
75b21bdd8f
Visual tweaks
2019-05-26 00:20:03 +10:00
Oliver Walters
add601e296
Display supplier part results on search page
2019-05-24 21:34:00 +10:00
Oliver Walters
001dacc14e
Display 'no stock available' warning
2019-05-18 13:24:15 +10:00
Oliver Walters
04420b7f6b
Improve display of allocation page
2019-05-18 13:06:19 +10:00
Oliver Walters
34d1ef7d8d
Change label size for build status
2019-05-18 09:44:16 +10:00
Oliver Walters
0a1887477c
Create template for stock table
2019-05-16 22:15:44 +10:00
Oliver Walters
a1d587b7f4
Rename 'Company' to 'Suppliers' in front-end
2019-05-15 07:44:13 +10:00
Oliver Walters
2e5b3bfdf9
Prevent multiple loads of part.js
2019-05-14 23:44:33 +10:00
Oliver Walters
dc3abec899
Add a secondary modal in modals.html
2019-05-14 22:30:24 +10:00
Oliver Walters
b996c03f61
Add a 'set password' form
2019-05-14 13:58:23 +10:00
Oliver Walters
0032ea3409
Add a form to edit basic user settings
...
- First / last name
- Email address
2019-05-14 13:33:47 +10:00
Oliver Walters
3c6d5756c5
Create a simple user settings view
2019-05-14 13:21:20 +10:00
Oliver Walters
e35a9284eb
Add a generic DeleteForm and update AjaxDeleteView
2019-05-13 22:46:47 +10:00
Oliver Walters
2408318eae
Add new view to duplicate a part
...
- Allows 'deep_copy' (copies all BOM items for the duplicated part)
2019-05-13 21:41:32 +10:00
Oliver Walters
1d36ea3e2e
Add a 'full_name' field for Part
...
- Combines IPN | Name | Variant
- Use this to display in most views
2019-05-12 12:16:04 +10:00
Oliver Walters
7b4584ba2f
Add some more options for modal forms
...
- Ability to display info or warning panels before the form
2019-05-11 18:06:43 +10:00
Oliver Walters
4e4ee2742b
Move modal form error messages to the top
2019-05-11 11:50:00 +10:00
Oliver Walters
f76f1f54ae
Add 'variant' field to Part model
...
- Display 'long_name' which is concatenation of name and variant
2019-05-10 22:17:13 +10:00
Oliver Walters
d04f38c724
Improve CSS for main page
...
- Breadcrumb now appears above sidenav tree
- Better margin / etc
2019-05-09 22:23:43 +10:00
Oliver Walters
6724717346
Added title for Index and Search pages
2019-05-09 18:28:19 +10:00
Oliver Walters
b9b17f39d9
Override page title for Stock app
2019-05-09 18:11:13 +10:00
Oliver Walters
b4b9d1514e
Mark 'inactive' parts in part list table
...
- Fix part display in search results page
2019-05-08 22:03:59 +10:00
Oliver Walters
40d8332e7f
Add 'allocated' status code to build
...
- This means that parts have been taken from stock
2019-05-08 07:48:39 +10:00
Oliver Walters
4f84febbd1
More intelligent BuildItem allocation
...
- Set initial value for quantity based on how many parts are left to allocate
- Auto select the StockItem to take from (if there is only one)
2019-05-07 22:46:37 +10:00
Oliver Walters
e58bed41b0
Visual style improvements
2019-05-07 21:24:09 +10:00
Oliver Walters
6ac3f58e97
Added favicon
...
generated using https://www.favicon-generator.org/
2019-05-07 20:24:27 +10:00
Oliver Walters
eec0fc34d2
Provide function callback when file is dropped
...
- https://stackoverflow.com/questions/6756583/prevent-browser-from-loading-a-drag-and-dropped-file
-
2019-05-06 21:28:49 +10:00
Oliver Walters
dca26b5810
Change the display of the part thumbnail when dragging a file overhead
...
Refs:
- https://stackoverflow.com/questions/26756176/jquery-dragenter-or-dragover-to-include-children#26777526
- https://stackoverflow.com/questions/10867506/dragleave-of-parent-element-fires-when-dragging-over-children-elements
Thanks, StackOverflow!
2019-05-06 19:21:14 +10:00
Oliver Walters
02bd9c2d05
Search part by IPN
2019-05-06 11:23:55 +10:00
Oliver Walters
726109457c
Add icon to navbar dropdown
2019-05-05 11:51:35 +10:00
Oliver Walters
c75d892fd7
Display collapsible list of starred-parts on the index page
2019-05-05 11:41:42 +10:00
Oliver Walters
d2d248c72e
QR button code is now a template
2019-05-05 10:56:59 +10:00
Oliver Walters
c383b2b246
Bug fix for modal question box
2019-05-05 00:38:19 +10:00
Oliver Walters
9aa1a70f18
QR code improvements
...
- Display QR codes as links to served images
- The qr_code plugin caches these images in the background
- Make a qr_code template to push out as a modal form
- Create a QRCodeView to simplify display of QR codes
- Add option to launchModalForm() to disable the 'submit' button
Refactored QR code display for
- StockLocation
- StockItem
- Part
2019-05-04 18:46:57 +10:00
Oliver Walters
b1cdb7833d
Add confirmation modal to activate/deactivate a part
...
- New question modal available
2019-05-04 16:31:23 +10:00
Oliver Walters
b32a9ed597
Add 'About InvenTree' modal
...
- Accessible from the top-right dropdown menu
- Add InvenTree/version.py which contains helper functions
2019-05-04 11:23:30 +10:00
Oliver Walters
2eb825b0e6
Improved table rendering
2019-05-04 00:02:53 +10:00
Oliver Walters
2b3094eac4
Add error dialog box for forms
...
- Display status message
- Display status code
- Display extended error message in collapsible section
2019-05-03 23:41:31 +10:00
Oliver Walters
38100520df
Add 'to_order' and 'to_build' collapsible panels
2019-05-02 20:18:34 +10:00
Oliver Walters
18c5ad7a6e
Add template for collapsible item
2019-05-02 18:46:39 +10:00
Oliver Walters
905d78e25c
Complete build now works
...
- Marks build as complete
- Deletes temporary BuildItem objects
- Preselects the part's default_location if there is one
- Creates a new stockitem in the selected location
2019-05-02 00:04:39 +10:00
Oliver Walters
d061250a9a
Changed delete form close button to "Cancel"
2019-04-30 18:57:37 +10:00
Oliver Walters
1c710e71a5
Modal forms now display non-field errors
...
- Critical for errors not relating to a particular field (e.g. unique_together)
- Ref: https://stackoverflow.com/questions/7419535/how-to-render-django-form-errors-not-in-a-ul
2019-04-26 23:01:04 +10:00
Oliver Walters
deebc80088
Display available stock in part search page
2019-04-26 21:31:53 +10:00
Oliver Walters
41ee6320a8
Delete some other old templates
2019-04-18 23:44:15 +10:00
Oliver Walters
8dc3063765
Vertical centering for header image
2019-04-18 08:40:54 +10:00
Oliver Walters
16dc5e2436
Reorganize script locations
...
- Delete script files that are no longer used
2019-04-17 19:03:28 +10:00
Oliver Walters
69e8f4f5cc
Fix up search box display in the navbar
2019-04-17 08:21:07 +10:00
Oliver Walters
ca7182bf6b
search page now returns matching parts
...
- Searches 'name' and 'description' field
- Uses the JSON API
2019-04-17 08:16:34 +10:00
Oliver Walters
fbf764e2ef
Send search query text to template
2019-04-17 07:53:31 +10:00
Oliver Walters
a4467fee21
Remove bootstrap-editable
...
- Revert to using modal django forms
2019-04-16 07:53:30 +10:00
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 Walters
e6e03963c4
Simplified custom button text for modal forms
...
- Now only configured from the javascript end
- No server-side configuration of button text
2019-04-13 23:02:23 +10:00
Oliver
dcf74292b6
Changed tracking into to datetime field
...
- Added moment.js for formatting dates
-
2018-05-10 21:13:36 +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
517569f510
Clicking on logo returns user to index page
2018-05-09 00:19:34 +10:00
Oliver
8000affeee
Basic Index and Search endpoints
...
Index at /index/
Search at /search/
Search view accepts POST requests with search data
2018-05-08 23:44:51 +10:00
Oliver
c821d22b87
Skeleton for 'index' and 'search' pages
2018-05-08 23:26:32 +10:00
Oliver
552953a1f8
Added bootstrap font files
...
Also added 'search' button
2018-05-08 23:26:09 +10:00
Oliver
84efaba920
Add link to admin page
...
- Only if user is admin!
2018-05-08 23:14:07 +10:00
Oliver
3cf45f5ed3
Added Login and Logout buttons to NavBar
2018-05-08 23:09:52 +10:00
Oliver
47aa3c8a45
Login / Logout views
...
Information found here - https://simpleisbetterthancomplex.com/tutorial/2016/06/27/how-to-use-djangos-built-in-login-system.html
2018-05-08 23:00:27 +10:00
Oliver
c5155d5ac7
Move modal JS file
...
- Loaded by base.
2018-05-08 19:40:29 +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
389908c67a
Moved sidenav into block
2018-05-04 17:51:55 +10:00
Oliver
de176ecac9
Updated modal form code
...
- Modal form template now uses multipart-data (to allow file uploads)
- Cleaned modal_form.js code (split into separate functions)
2018-05-03 23:38:32 +10:00
Oliver
9311164825
Using jquery-forms plugin
...
- Allows AJAX file uploads
- Works!
- Provides upload progress (not yet tested)
2018-05-03 23:37:19 +10:00
Oliver
024fe04e0e
Implemented bootstrap-table for parts list
2018-05-02 22:18:58 +10:00
Oliver
fb9142c3fd
Add static bootstrap-table files
2018-05-02 22:08:10 +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
e62bf92bd6
Notifications work through page-reload / page-redirect
...
- Uses session storage
2018-04-29 23:47:16 +10:00
Oliver
b6665ec2a7
Added dismissable notifications
...
- Bootstrap alert
- Can close manually
- Also set to disappear after configurable time
2018-04-29 23:29:38 +10:00
Oliver
9cc0780367
Sidenav toggles
2018-04-29 20:30:34 +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
095492203f
Simplified javascript templating
...
- Load js modules in block js_load
- Write $(document).ready script in block js_ready
- Write any other js in block_js
2018-04-28 12:45:12 +10:00
Oliver
2e7253ebc4
Tweak javascript for category detail pages
2018-04-28 11:43:26 +10:00
Oliver
c4e305bde6
Loaded both modals into single include
2018-04-27 21:35:36 +10:00
Oliver
784b0dec02
Added AjaxDeleteView
...
- AjaxDeleteView handles ajaxified delete GET and POST events
- Added modal deletion window
- Added launchDeleteForm jQuery function
2018-04-27 00:06:44 +10:00
Oliver
c0902626f4
footable working with BOM items
...
- Event delegation to capture 'edit' button
2018-04-26 23:05:35 +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
8c9442193b
Enable escape-key dismiss for modal
2018-04-26 18:27:28 +10:00
Oliver
280f2c36cb
Modal form for part creation
2018-04-26 18:22:41 +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
d88da28871
Generic AjaxCreateView
...
- Allows for same form to be posted
2018-04-25 14:10:56 +10:00
Oliver
8bc4050d05
Modal form is working for 'create new category'
...
- Had to set form.helper.form_tag to False (so we could control form tags manually)
- Created a 'json' model view
2018-04-25 12:46:58 +10:00
Oliver
9004086632
Add button to launch modal form
2018-04-25 00:09:25 +10:00
Oliver
db49e98f37
Load bootstrap.min.js
2018-04-24 23:41:01 +10:00
Oliver
50fcf5363c
Download bootstrap and jquery to static dir
...
- Allow to run offline
2018-04-24 22:50:56 +10:00
Oliver
f1a5b3c1ca
Add AJAX filtering of company list
...
- Search across NAME and DESCRIPTION fields
- TODO - Implement pagination (how?)
2018-04-23 20:37:36 +10:00
Oliver
ee2f262e19
Company index / detail / edit pages working
2018-04-22 22:21:50 +10:00
Oliver
4bedf0ed4c
Finally got migrations working together
2018-04-22 21:54:12 +10:00
Oliver
cef3c664f9
Moving 'supplier' to 'company'
2018-04-19 09:01:25 +10:00
Oliver
d00f9f74e4
Added details page for SupplierOrder
2018-04-18 01:13:42 +10:00
Oliver
7045443d7b
Add tab view for supplier page
...
- "Parts" tab
- "Orders" tab
2018-04-18 00:42:44 +10:00
Oliver
34d240c6e8
Moved top-level templates to a top-level dir
...
It just seems fitting is all
2018-04-17 23:42:25 +10:00