Add basic Buefy support for App Settings page
also various buttons have been tweaked on some other "master view" pages
This commit is contained in:
parent
e1ff4578e9
commit
fcfc8b56bb
13 changed files with 245 additions and 52 deletions
|
@ -67,7 +67,7 @@
|
|||
|
||||
<div class="grid-tools-wrapper">
|
||||
% if tools:
|
||||
<div class="grid-tools">
|
||||
<div class="grid-tools field is-grouped">
|
||||
## TODO: stop using |n filter
|
||||
${tools|n}
|
||||
</div>
|
||||
|
@ -299,6 +299,14 @@
|
|||
// apply current filters as normal, but add special directive
|
||||
const params = ['save-current-filters-as-defaults=true']
|
||||
this.applyFilters(params)
|
||||
},
|
||||
|
||||
deleteResults(event) {
|
||||
|
||||
// submit form if user confirms
|
||||
if (confirm("You are about to delete " + this.total + " ${grid.model_title_plural}.\n\nAre you sure?")) {
|
||||
event.target.form.submit()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue