Commit graph

3309 commits

Author SHA1 Message Date
Lance Edgar 744347c269 Clear checked rows when refreshing async grid data
we don't want to accidentally "remember" checked rows which aren't currently
visible...  at least not yet / by default
2019-07-01 13:22:38 -05:00
Lance Edgar d087071fc9 Update changelog 2019-07-01 12:27:38 -05:00
Lance Edgar a4d6c6694a Make sure grid action links preserve white-space
i.e. don't wrap between link icon and text!
2019-07-01 11:46:52 -05:00
Lance Edgar ff3ee351d1 Add 'duration_hours' type for grid column display 2019-07-01 11:46:21 -05:00
Lance Edgar b14e8daa1a Expose a way to embed "raw" data values within Buefy grid data
for sake of custom front-end stuff
2019-06-28 15:47:52 -05:00
Lance Edgar 3a53ffcc23 Add NumericInputWidget for use with Buefy themes
uses a Vue.js component for better logic encapsulation
2019-06-28 13:06:43 -05:00
Lance Edgar 2abe589ef6 Allow "touch" for customer records 2019-06-27 19:50:24 -05:00
Lance Edgar f81e4fac79 Update changelog 2019-06-25 20:49:56 -05:00
Lance Edgar a4b27115ac Refactor all Buefy form submit buttons, per Chrome behavior
ugh, what a pain.  and turns out i'd previously ran into this same issue for
jQuery, per commit e945ebe325
2019-06-25 20:32:49 -05:00
Lance Edgar 43a210cac4 Fix "edit row" icon for batch row grids, for Buefy themes 2019-06-21 15:47:30 -05:00
Lance Edgar 355a49e463 Fix PO total calculation bug for mobile ordering
also fix currency formatting for PO calculated total
2019-06-21 15:18:41 -05:00
Lance Edgar 975aa0a3cc Only expose "Make User" button when viewing a person
i.e. don't expose when editing the person
2019-06-18 16:54:05 -05:00
Lance Edgar a99b8c6aaf Update changelog 2019-06-18 16:49:55 -05:00
Lance Edgar 8a968a1f89 Fix inheritance issue with "view row" master template 2019-06-18 16:48:55 -05:00
Lance Edgar c7eeaffec9 Update changelog 2019-06-18 16:25:37 -05:00
Lance Edgar cc79fe76fd Refactor form/page component structure for Buefy/Vue.js
this also moves Execute Batch from the form buttons area, to object helper
2019-06-17 15:07:19 -05:00
Lance Edgar 4cadeb8e5d Fix click behavior for all/diffs package links in upgrade view 2019-06-16 16:27:45 -05:00
Lance Edgar 76a19ebe5b Pull the grid tools to the right, for Buefy 2019-06-16 16:23:01 -05:00
Lance Edgar b5613ec6dc Only include execute form if applicable, for batch grid view 2019-06-16 16:22:48 -05:00
Lance Edgar 26137ec81e Add Buefy support for "execute results" from core batch grid view 2019-06-16 15:50:40 -05:00
Lance Edgar 0e67c62c86 Add generic /page.mako template
helps with getting a proper Vue.js app going for arbitrary extra pages
2019-06-16 14:43:29 -05:00
Lance Edgar 90bf4edf0d Update changelog 2019-06-16 13:29:35 -05:00
Lance Edgar d51fe8483a Buefy support for "mark batch as (in)complete" 2019-06-15 20:47:45 -05:00
Lance Edgar 3ddde1a1ca Use locale formatting for some numbers in the Buefy grid 2019-06-15 19:50:25 -05:00
Lance Edgar 48e28a1ba4 Assign client IP address to session, for sake of data versioning 2019-06-15 19:02:51 -05:00
Lance Edgar 558e127caa Fix package diff table for upgrade view template, per Buefy 2019-06-15 18:06:54 -05:00
Lance Edgar 63807e71fd Use once-button for tempmon client restart 2019-06-15 17:31:49 -05:00
Lance Edgar f684c38958 Refactor tempmon probe graph view per Vue.js 2019-06-15 17:00:46 -05:00
Lance Edgar 4b2abf791c Refactor tempmon probe view template, per Buefy 2019-06-15 15:51:25 -05:00
Lance Edgar a8b83d9fe1 Update changelog 2019-06-14 21:33:29 -05:00
Lance Edgar 4ce695d933 Make person, created by fields readonly when editing Person Note 2019-06-14 20:47:16 -05:00
Lance Edgar 44aa54f247 Fix some response headers per python 3 2019-06-13 14:25:54 -05:00
Lance Edgar 25e5739b34 Update changelog 2019-06-13 13:50:22 -05:00
Lance Edgar 33e1bd567d Add some vendor fields for product Excel download 2019-06-13 10:00:29 -05:00
Lance Edgar f727c87b56 Add Buefy support for "delete w/ simple confirm" from index grid 2019-06-10 21:59:10 -05:00
Lance Edgar 3775c53df3 Add generic support for "delete w/ simple confirm" in master index template
jquery only, for now
2019-06-09 21:34:47 -05:00
Lance Edgar e715794f04 Add Buefy support for "simple" delete confirmation 2019-06-08 21:02:32 -05:00
Lance Edgar 796170100f Add support for "simple confirm" of object deletion
i.e. can just use `window.confirm()` instead of showing full confirm page

note, this is jquery-only for now
2019-06-08 18:50:16 -05:00
Lance Edgar f25e4fab28 Tweak structure of "view product" page to support Buefy, context menu 2019-06-08 15:50:16 -05:00
Lance Edgar c44c6c79f9 Only tweak field value width for "normal" primary forms, in falafel theme 2019-06-08 15:17:40 -05:00
Lance Edgar 3f6d5daa1e More Buefy tweaks, for file upload, and "edit batch" generally 2019-06-08 14:26:33 -05:00
Lance Edgar 7224be9de2 More Buefy form cleanup for upgrades, clone/execute 2019-06-08 14:06:07 -05:00
Lance Edgar 2b6d88105c Add support for Buefy autocomplete; several other form tweaks
at least the Edit User form should work now, for instance
2019-06-08 13:46:00 -05:00
Lance Edgar d7e19865de Update calculated PO totals for purchasing batch, when editing row 2019-06-08 13:16:57 -05:00
Lance Edgar 643d29ba57 Use <once-button> for "find by perm" feature for Users, Roles 2019-06-06 16:53:16 -05:00
Lance Edgar 4b6038c50c Use <once-button> for app settings form 2019-06-06 16:46:11 -05:00
Lance Edgar f10a80333b Add <once-button> for sending email preview; various other tweaks 2019-06-06 15:58:46 -05:00
Lance Edgar 0a80e01d0b Use <once-button> for restarting datasync daemon 2019-06-06 15:11:01 -05:00
Lance Edgar 93a3da2335 Tweak initial v-bind model value for Buefy form, when is colander.null 2019-06-06 15:10:33 -05:00
Lance Edgar 96c5bd0b69 Fix "current value" for <b-select> element in e.g. edit form views
apparently marking an `<option>` as "selected" does not cut it for Buefy, and
we must bind to a v-model somehow.  not real crazy about the current method,
but it does seem to work okay so far...
2019-06-06 14:57:31 -05:00