Commit graph

250 commits

Author SHA1 Message Date
Lance Edgar
f2c06042cd Tweak login page logo style for jQuery (non-Buefy) themes 2019-08-17 19:01:29 -05:00
Lance Edgar
fda7230bce Fix form handling for user feedback
issue was noticed on demo site, but possibly existed elsewhere?  also not 100%
sure about this fix, but it's believed to be okay...
2019-08-04 22:14:15 -05:00
Lance Edgar
1bb0330ab5 Refactory Buefy templates to use WholePage and ThisPage components
plus add `GridFilter.set_choices()` method
2019-08-03 16:57:13 -05:00
Lance Edgar
f1b6f8a3e4 Add 'disabled' prop for buefy datepicker
also make sure we return `null` when input is empty
2019-07-23 13:12:07 -05:00
Lance Edgar
069ccab0ae Clear feedback message after sending
that way user can open dialog again, and things not be weird
2019-07-05 19:54:57 -05:00
Lance Edgar
b8274d92db Refactor feedback dialog for Buefy themes
for more proper Vue.js component usage pattern
2019-07-05 19:50:16 -05:00
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
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
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
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
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
3ddde1a1ca Use locale formatting for some numbers in the Buefy grid 2019-06-15 19:50:25 -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
e715794f04 Add Buefy support for "simple" delete confirmation 2019-06-08 21:02:32 -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
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
ea0aff1a3e Tweak permissions styles for view/edit of User, Role
per Buefy themes, but still compatible with jQuery theme also
2019-06-04 19:53:47 -05:00
Lance Edgar
5c28f10921 Improve props handling for <once-button> component
now we use computed properties for some of the underlying button props.  this
also adds a "click" event for the element; callers should be able to add
handler for that which happens *in addition to* the button disabling.  it's
assumed that's always safe or else caller wouldn't use `<once-button>`
2019-06-04 17:50:14 -05:00
Lance Edgar
e06f8c16df Tweak styles for context menu on falafel theme 2019-06-03 16:39:17 -05:00
Lance Edgar
d7c8b80da5 Fix Buefy "row grids" when viewing parent; add basic file upload support 2019-05-23 16:29:29 -05:00
Lance Edgar
5998941741 Refactor Buefy forms a bit more, to copy grid pattern
i.e. each page can modify the component dynamically before it's registered
2019-05-23 14:52:22 -05:00
Lance Edgar
5bd4f84389 Accept disabled prop for <once-button> component 2019-05-23 14:44:31 -05:00
Lance Edgar
dda790b5c4 Fix datepicker behavior for grid filters
apparently we *do* need to accept a 'value' prop for tailbone-datepicker, to
round out the v-model support
2019-05-23 13:57:44 -05:00
Lance Edgar
b829cd260c Assume forms support Buefy if theme does; fix basic CRUD views 2019-05-23 13:11:26 -05:00
Lance Edgar
7b1947914e Make Buefy grids use proper Vue.js component structure
at least, better than before...this lets each page have the final say about the
app logic etc.
2019-05-23 12:10:11 -05:00
Lance Edgar
6c3722737d OMG so many Buefy things...and much to be done yet it seems
these changes are all with Buefy "forms" support in mind.  hopefully didn't
break any legacy/jquery stuff... and yeah, lots more left to do still for the
sake of Buefy forms
2019-05-22 15:31:23 -05:00
Lance Edgar
f4f435c682 Add <once-button> component for Buefy templates
i.e. just a button, which allows only one click and then auto-disables
2019-05-21 20:11:57 -05:00
Lance Edgar
9a48a60d28 Add "full justify" for grid filter pseudo-column elements
at least the field name and verb columns, for now...
2019-05-21 16:18:12 -05:00
Lance Edgar
d5d04b7dac Add support for Buefy datepicker in grid filters 2019-05-21 13:44:02 -05:00
Lance Edgar
fbf3ee5cd1 Improve readonly form templates somewhat, for Buefy
progress at least, more polish needed yet
2019-05-21 12:14:49 -05:00
Lance Edgar
3c8d16a368 Add custom tailbone-datepicker component for Buefy
for easier reuse, outside of main CRUD forms
2019-05-20 19:59:21 -05:00
Lance Edgar
a3ca6abb7a Add basic support for "quickie" search
a master view can "support" quickie search, which means it will setup a route
suitable for the quickie search form action.  and/or it can "expose" quickie
search which means it will actually show a quickie search form on its views
2019-05-06 18:34:42 -05:00
Lance Edgar
a0cd1f4cd0 Add "most of" Buefy support for grid filters
still a couple of details to wrap up yet, but this is most of it!
2019-04-15 18:36:14 -05:00
Lance Edgar
05b8ed7153 Add support for "row status" in Buefy grid tables 2019-03-28 23:09:10 -05:00
Lance Edgar
30ed84fd1d Allow width of object helper panel to grow 2019-03-21 19:30:10 -05:00
Lance Edgar
0a68ff6dd0 Add 'falafel' theme, based on bobcat
but with more aggressive approach, includes no jQuery UI JS/CSS (and is
somewhat broken accordingly, for now)
2019-03-10 21:36:25 -05:00
Lance Edgar
9a85bd0edb Add basic 'dodo' theme
definitely not complete, but a decent feature preview
2019-03-09 23:19:59 -06:00
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