Commit graph

213 commits

Author SHA1 Message Date
Lance Edgar 20b97a88c0 Tweak header styles for 'bobcat' theme 2019-03-09 23:06:33 -06:00
Lance Edgar 9f743daf07 Fix login page styles for bobcat theme 2019-03-09 18:44:13 -06:00
Lance Edgar 84f25ae91e Fix layout issues for bobcat theme, so footer sticks to bottom
i.e. even when page has little/no content
2019-03-09 18:32:43 -06:00
Lance Edgar ef7466e0d5 Add mobile support for basic "feedback" dialog 2019-03-04 18:12:37 -06:00
Lance Edgar 145e7f5529 Allow vendor field to be dropdown, for mobile ordering/receiving
based on config.  useful for apps which have very few vendors
2019-02-19 21:11:49 -06:00
Lance Edgar 841dda903f Refactor product view template to use flexbox styles
finally, the layout is reasonably clean and should stay that way...
2018-12-12 15:07:18 -06:00
Lance Edgar 358ac1592b Fix layout issues for "object-helper" element
thanks flexbox!
2018-11-30 17:53:00 -06:00
Lance Edgar 291128b96f Refactor default and bobcat theme re: "context menu" styles
finally, we have that hugging the top right corner, without float!
2018-11-29 12:04:29 -06:00
Lance Edgar a76a7dd54c Add support for new Bulma 'navbar' menu for bobcat theme
unfortunately the /menu.mako can't be shared (yet?) so apps must maintain a
separate one if they wish to support this new theme.

also, now when changing app theme we totally clear the lookup object's template
cache.  this was necessary for sake of /menu.mako but seems to be 'safe' so far
2018-11-28 23:50:50 -06:00
Lance Edgar 1fa56aa683 Add Bulma-style footer to bobcat theme
also refactor HTML element tree in general, for sake of bulma
2018-11-28 22:23:02 -06:00
Lance Edgar 103f006cc0 Turn on Bulma CSS framework for 'bobcat' theme
still trying to match the default theme here, but only in spirit, and giving
priority to doing things "the bulma way" if possible
2018-11-28 21:39:46 -06:00
Lance Edgar ea0dc1ea19 Add template "theme" feature, albeit global
would be even better to let each user session have something different, but
alas this is all-or-nothing for now
2018-11-27 17:52:02 -06:00
Lance Edgar 02528aecc7 Tweak styles for "global title" in header 2018-11-26 22:58:21 -06:00
Lance Edgar 21014c5013 Remove unwanted style for "email setting description" field
not sure why that was in there, but it broke some other pages sure enough.
will have to revisit whenever i see the "problem" on email settings page again
2018-11-07 16:46:55 -06:00
Lance Edgar 2131ea65cb Add button for restarting filemon
although this button shows up only on the datasync page, for now..
2018-10-25 17:47:43 -05:00
Lance Edgar 05c33a4b34 Add ability to "transform" TD parent row from pack to unit item
to make "claiming" more straightforward
2018-10-24 18:52:49 -05:00
Lance Edgar aa97a36167 Customize template for viewing probe details
probably still need to improve editing also?  we'll see
2018-10-19 16:49:47 -05:00
Lance Edgar 29e023096b Show tempmon readings when viewing client or probe
also make the probes list more helpful when viewing client
2018-10-05 19:29:26 -05:00
Lance Edgar 56392ccdd0 Add "quick receive all" support for mobile receiving
i.e. quick receive button can now receive all/remainder of the ordered qty
2018-08-16 22:21:58 -05:00
Lance Edgar 950af8b5e0 Add "quick lookup" for mobile Products page
only if enabled, otherwise just shows the normal grid
2018-08-09 22:11:44 -05:00
Lance Edgar 634a93061b Let mobile form declare if/how to auto-focus a field
and for mobile ordering, auto-focus the "units" field when editing a row
2018-07-24 21:29:52 -05:00
Lance Edgar 34bdd2ac84 Add (restore?) basic support for mobile receiving from PO 2018-07-18 16:25:54 -05:00
Lance Edgar 4e09b757c3 Add (admin-friendly!) view to manage some App Settings
which settings are available to this view will depend on the project's settings
module, similar to how the email settings work
2018-07-18 13:09:32 -05:00
Lance Edgar d8b45db331 Improve support for "receive from scratch" workflow, esp. for mobile
also try harder to make certain aspects easier to enable/disable via handler,
e.g. whether cases should be allowed as quantity input, or expired credits
should be a thing etc.
2018-07-17 19:55:15 -05:00
Lance Edgar a34a42d2b2 Refactor mobile receiving to use "quick row" feature
plus some other random things thrown in there, for good measure..
2018-07-16 20:40:29 -05:00
Lance Edgar 935a6b2a68 Add basic autocomplete support for "quick row" feature 2018-07-13 19:12:39 -05:00
Lance Edgar 68bd3047c4 Add initial support for mobile "quick row" feature, for ordering
at least for now, ordering only, but hopefully much more soon...
2018-07-12 22:53:29 -05:00
Lance Edgar 477a34cfa7 Improve how cases/units, uom are handled for mobile receiving
last-used uom should be more or less sticky, etc.
2018-07-10 14:24:12 -05:00
Lance Edgar 93b3a5dab6 Change how date fields are handled within grid filters
don't set type="date" b/c that can trigger native browser datepicker
2018-06-14 19:37:50 -05:00
Lance Edgar 961e0e801d Increase allowed width for form labels 2018-05-22 18:35:00 -05:00
Lance Edgar 210508480e Add "Receive 1 CS" button for better efficiency in mobile receiving 2018-05-21 16:16:12 -05:00
Lance Edgar 9ed501a8cc Add initial support for receiving truck dump batch via mobile
i.e. just the initial truck dump, but secondary invoice batches are not yet
supported.  also this maybe breaks other things..we'll see
2018-05-16 09:15:52 -05:00
Lance Edgar bce6662eae Fix autodisable button bug for forms marked as such 2018-03-15 15:54:16 -05:00
Lance Edgar 652f51d484 Add support for making new product on-the-fly during mobile ordering
let's face it, that will be necessary sometimes.  this feature still needs some
work before can be called complete though...
2018-03-06 19:29:15 -06:00
Lance Edgar 802f4bfd6b Add disable_submit_button() global JS function
managed to find another use for this, so split it out
2018-03-06 16:26:15 -06:00
Lance Edgar d9ff59afda Refactor grid filters to use colander/deform 2018-02-12 12:15:07 -06:00
Lance Edgar dd04459748 Refactor batch execution options to use colander/deform 2018-02-11 22:37:17 -06:00
Lance Edgar ec438ead51 Refactor user login, change password to use colander/deform 2018-02-10 16:47:53 -06:00
Lance Edgar e2bfb31cb2 Add 'gridcore' jQuery plugin, for core behavior
also add 'selected' status for checkbox grids, etc.
2018-02-09 15:17:29 -06:00
Lance Edgar f32cf3342c Allow disabling auto-dismiss of flash messages on mobile 2018-01-25 14:15:25 -06:00
Lance Edgar 4147752672 Fix dialog button click event when executing price batch
i.e. fix it for Chrome's sake
2018-01-11 12:32:31 -06:00
Lance Edgar c750ea2355 Tweak feedback dialog styles a bit 2018-01-10 21:23:58 -06:00
Lance Edgar 66d3b7b4af Tweak diff styles when viewing upgrade 2018-01-07 19:44:39 -06:00
Lance Edgar c3c77ed586 Tweak diffs.css and refactor 'view_version' template to use it 2018-01-06 20:28:13 -06:00
Lance Edgar 163c8945ed Provide sane width for filter value dropdowns 2017-12-20 14:25:10 -06:00
Lance Edgar 86cfc59d33 Refactor user and role views to use master3 2017-12-06 12:40:27 -06:00
Lance Edgar 6decabb369 Various batch tweaks, for better execution options etc. 2017-11-29 18:26:55 -06:00
Lance Edgar 43ce0fb44f Auto-scroll window as needed to ensure drop-down choices are visible 2017-11-22 11:21:59 -06:00
Lance Edgar a8c8447297 Improve auto-disable logic for some form buttons 2017-11-17 17:27:33 -06:00
Lance Edgar 8d002f76d2 Convert user feedback mechanism to use modal dialog
instead of navigating to new page.  this is how it should have been done
to begin with...
2017-10-13 08:01:43 -07:00
Lance Edgar e945ebe325 Fix auto-disable button on form submit, per Chrome issues
dang it chrome, why you gotta be like that
2017-08-16 19:10:39 -05:00
Lance Edgar 7d0bb80a90 Merge 'better' theme into base templates
i.e. for now there is no 'better' (or any other) theme
2017-08-13 19:11:53 -05:00
Lance Edgar 4b5e415147 Add show all vs. show diffs for upgrade packages
plus some related tweaks
2017-08-12 22:38:23 -05:00
Lance Edgar e5b0fe7198 Add running display of stdout.log when executing upgrade 2017-08-09 11:44:31 -05:00
Lance Edgar d7f5211fc4 Add support for cloning an upgrade record
until this is all ironed out, seems like it will often be helpful
2017-08-08 21:26:31 -05:00
Lance Edgar b28dc0702e Fix bug which caused new empty worked shift when editing time sheet 2017-08-08 17:59:57 -05:00
Lance Edgar 3fcc105b78 Only use monospace fonts in diff table if so specified 2017-08-07 23:23:58 -05:00
Lance Edgar e14b5a89c3 Improve status tracking for upgrades; add package version diff 2017-08-07 22:23:07 -05:00
Lance Edgar f5688f1f90 Add basic support for performing / tracking app upgrades
also add `MasterView.executable` and friends
2017-08-05 22:07:49 -05:00
Lance Edgar 8186366b69 Add view for consuming new batch ID; misc. tweaks for grids etc. 2017-08-02 19:16:45 -05:00
Lance Edgar 5b35c3dd3b Make login template use same logo as home page 2017-07-31 13:58:38 -05:00
Lance Edgar f9906b26f2 Tweak some basic styles for forms/grids 2017-07-18 16:51:15 -05:00
Lance Edgar 4dcd89fba7 Add new v3 master with v2 forms, with colander/deform
goal here is to replace FormAlchemy dependency, slowly but surely..
so far only the Settings and Stores views use v3 master
2017-07-18 16:17:00 -05:00
Lance Edgar df1c0b0b5e Fix grid pager styles; add default config for version grids
also remove all old grid code from v1 MasterView, since it now is
entirely superseded by v2 master
2017-07-14 21:50:07 -05:00
Lance Edgar 292546e44b Final grid refactor for all templates and CSS/JS (newgrid -> grid) 2017-07-14 21:15:22 -05:00
Lance Edgar c18774e5e5 Fix template/styles for v3 grid views, add purchasing batch status 2017-07-14 15:45:31 -05:00
Lance Edgar 5b1ae27a10 Add new "v3" grids, refactor all views to use them
or at least that's the idea..hopefully we caught them all
2017-07-14 03:57:36 -05:00
Lance Edgar 8a5dbc33a7 Refactor keypad widget for mobile receiving
logic for this is now held in common
2017-07-11 21:05:26 -05:00
Lance Edgar 32d256932e Various tweaks to support mobile inventory batches
still not fully there I think, but pretty close..
2017-07-11 20:57:52 -05:00
Lance Edgar 48f5da4511 Add global key handler for mobile receiving, for scanner wedge input
this way we don't have to focus the UPC search box, since that seems to
always popup the device keyboard.
2017-07-11 13:05:35 -05:00
Lance Edgar bf3d7b9143 Stop using popup for expiration date, for mobile receiving
that was causing event headaches..this way is simpler
2017-07-11 12:13:19 -05:00
Lance Edgar af0eea76e2 Add logic for mobile receiving if product not in batch and/or system 2017-07-11 00:59:51 -05:00
Lance Edgar f47157102c Add initial/basic support for "simple" mobile grid filter w/ radio buttons
so far only one such filter is (presumably?) supported..etc.
2017-07-10 21:04:56 -05:00
Lance Edgar 85d18a760b Fix CS/EA bug for mobile receiving 2017-07-10 16:14:55 -05:00
Lance Edgar 581ced2990 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:47:56 -05:00
Lance Edgar 0befc46070 Refactor "departments by vendor" grid to use newer-style 2017-07-06 14:34:35 -05:00
Lance Edgar 0b68d56ddb Add basic versioning history support for master view
as with actual data versioning, we only support Person thus far
2017-07-05 03:07:35 -05:00
Lance Edgar a03083efdd Add initial support for expiration date for mobile receiving 2017-07-03 21:07:57 -05:00
Lance Edgar 37a9153c4d Pad session timeout warning by 10 seconds, to account for drift 2017-05-24 18:38:33 -05:00
Lance Edgar 38d623bcf9 Fix behavior of mobile receiving when first entering a quantity
i.e. replace default of '1' if user first presses a numeric key, but
always append to quantity after that
2017-05-24 00:17:06 -05:00
Lance Edgar 5eca2347d5 Add initial support for mobile receiving views 2017-05-24 00:04:56 -05:00
Lance Edgar d6bc584831 Add convenience dialog_button() JS function 2017-05-17 14:02:00 -05:00
Lance Edgar 9460b41ec2 Add basic 'robots.txt' support to CommonView 2017-05-13 14:26:16 -05:00
Lance Edgar 9107a26b63 Add basic support for deletion speedbump for row data 2017-05-04 16:35:21 -05:00
Lance Edgar 2c14dce30d Add allowance for Escape key, in numeric.js 2017-05-04 16:33:34 -05:00
Lance Edgar 589a747662 Auto-save time sheet day editor on Enter press if time field is focused
Hopefully this is a good idea, may have to revisit someday..?
2017-04-17 16:24:59 -05:00
Lance Edgar 6156a80db0 Tweak field label styles for mobile 2017-03-30 20:15:09 -05:00
Lance Edgar 04e9752ee1 Detect "backwards" shift when time sheet is edited, alert user 2017-03-27 23:25:17 -05:00
Lance Edgar d373eb9ac1 Broad refactor to improve customization of purchase order form etc.
* add dropdown alternative for autocomplete renderer
* auto-enhance some common dropdowns
* refactor new purchase batch, order form view/templates
2017-03-24 17:22:12 -05:00
Lance Edgar e71204dcec Bump margin between grid and header table, i.e. buttons
hopefully this is a good amount..
2017-03-23 21:35:23 -05:00
Lance Edgar 581a21bd9d Add basic "mobile index" master view, plus support for demo mode 2017-03-19 11:21:00 -05:00
Lance Edgar 555935c71e Expose notes field for purchasing batches
Plus various other tweaks for styles and coding conventions etc.
2017-02-21 14:27:16 -06:00
Lance Edgar 3930ed9a16 Add beginnings of mobile receiving views
Very incomplete, not much is supported yet, but this is a start..
2017-02-19 13:17:28 -06:00
Lance Edgar 6ed752d477 Add generic "bulk delete" support to MasterView 2017-02-17 19:40:21 -06:00
Lance Edgar e3ec3be03b Add support for client-side session timeout warning 2017-02-16 13:32:20 -06:00
Lance Edgar c24120393f Tweak styles for 'sources' grid on products view page 2017-02-15 01:13:46 -06:00
Lance Edgar 6bcfd0515f Advance to password field when Enter pressed on username, login page 2017-02-13 19:08:18 -06:00
Lance Edgar 7ca03df04d Refactor the Edit Time Sheet view for "autocommit" mode
I.e. instead of letting changes queue up for "batch" mode, immediately
flush changes to server after each edit.
2017-02-09 16:11:40 -06:00
Lance Edgar cc7c1e162f Invoke timepicker to correct format of user input, for edit schedule/timesheet
It's hoped that this will prevent possibility of user submitting invalid data
2017-02-04 14:27:47 -06:00
Lance Edgar 7104e275c3 Add ability to edit employee time sheet
Also disable some unwanted autocomplete logic, plus add ability to
prevent autocomplete "change click" event
2017-01-29 18:53:52 -06:00