This commit is contained in:
2019-04-17 22:36:33 +00:00
parent bc5f37ccf8
commit 3610c44ad7
3 changed files with 10 additions and 5 deletions

View File

@@ -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? - 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 - 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? - 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

View File

@@ -19,6 +19,7 @@
<span>{{ appBar.title}}</span> <span>{{ appBar.title}}</span>
</v-toolbar-title> </v-toolbar-title>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn icon> <v-btn icon>
<v-icon>fa-save</v-icon> <v-icon>fa-save</v-icon>
</v-btn> </v-btn>

View File

@@ -181,20 +181,22 @@ export default {
title: this.$gzlocale.get("Widget"), title: this.$gzlocale.get("Widget"),
helpUrl: "intro/#searching", helpUrl: "intro/#searching",
menuItems: [ menuItems: [
{
title: this.$gzlocale.get("Duplicate"),
icon: "clone",
key: "duplicate"
},
{ {
title: this.$gzlocale.get("Save"), title: this.$gzlocale.get("Save"),
icon: "save", icon: "save",
surface: true,
key: "save" key: "save"
}, },
{ {
title: this.$gzlocale.get("Delete"), title: this.$gzlocale.get("Delete"),
icon: "trash-alt", icon: "trash-alt",
key: "delete" key: "delete"
},
{ divider: true, inset: false },
{
title: this.$gzlocale.get("Duplicate"),
icon: "clone",
key: "duplicate"
} }
] ]
}); });
@@ -275,6 +277,7 @@ export default {
stubTestClick() { stubTestClick() {
this.$gzevent.$emit("menu-replace-item", { this.$gzevent.$emit("menu-replace-item", {
title: this.$gzlocale.get("Save"), title: this.$gzlocale.get("Save"),
surface: true,
icon: "save", icon: "save",
color: "error", color: "error",
disabled: true, disabled: true,