diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 8284e853..5b1c7653 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -88,6 +88,7 @@ All platforms and browsers - I.E. so that can change save button enabled and colour when state of form broken rules changes? - Surface property that will force an item to be surfaced to the left of the menu in the app-bar - Keep the original in the menu though for people that are used to it? + - reorganize SAVE, DELETE ETC, put a divider between main form actions and then all the myriad of secondary things diff --git a/ayanova/src/App.vue b/ayanova/src/App.vue index 99fd5416..3177b825 100644 --- a/ayanova/src/App.vue +++ b/ayanova/src/App.vue @@ -19,6 +19,7 @@ {{ appBar.title}} + fa-save diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index a76eeb69..48e576ce 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -181,20 +181,22 @@ export default { title: this.$gzlocale.get("Widget"), helpUrl: "intro/#searching", menuItems: [ - { - title: this.$gzlocale.get("Duplicate"), - icon: "clone", - key: "duplicate" - }, { title: this.$gzlocale.get("Save"), icon: "save", + surface: true, key: "save" }, { title: this.$gzlocale.get("Delete"), icon: "trash-alt", key: "delete" + }, + { divider: true, inset: false }, + { + title: this.$gzlocale.get("Duplicate"), + icon: "clone", + key: "duplicate" } ] }); @@ -275,6 +277,7 @@ export default { stubTestClick() { this.$gzevent.$emit("menu-replace-item", { title: this.$gzlocale.get("Save"), + surface: true, icon: "save", color: "error", disabled: true,