mirror of
https://github.com/aelve/guide.git
synced 2024-11-27 00:14:03 +03:00
Front/fix/category settings dialog (#310)
* Submit buttons in dialogs moved to right and colored * Checkboxes grouped * Fixes opened v-select list items overlaying it's title
This commit is contained in:
parent
e4e507a8cd
commit
73df6f7563
@ -129,4 +129,8 @@ blockquote {
|
||||
margin-right: 0;
|
||||
border-radius: 5px;
|
||||
}
|
||||
/* vuetify v-select component when opened almost overlays its title */
|
||||
.v-menu__content {
|
||||
margin-top: 5px;
|
||||
}
|
||||
</style>
|
||||
|
@ -44,9 +44,8 @@
|
||||
Cancel
|
||||
</v-btn>
|
||||
<v-btn
|
||||
flat
|
||||
title="Submit"
|
||||
color="primary"
|
||||
color="info"
|
||||
class="add-category-submit-btn"
|
||||
:disabled="!isValid"
|
||||
@click.native="submit"
|
||||
|
@ -28,16 +28,6 @@
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer />
|
||||
<v-btn
|
||||
flat
|
||||
color="primary"
|
||||
title="Submit"
|
||||
class="add-cat-submit"
|
||||
:disabled="!isValid"
|
||||
@click.native="submit"
|
||||
>
|
||||
Submit
|
||||
</v-btn>
|
||||
<v-btn
|
||||
flat
|
||||
title="Cancel"
|
||||
@ -46,6 +36,14 @@
|
||||
>
|
||||
Cancel
|
||||
</v-btn>
|
||||
<v-btn
|
||||
color="info"
|
||||
title="Submit"
|
||||
:disabled="!isValid"
|
||||
@click.native="submit"
|
||||
>
|
||||
Submit
|
||||
</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
|
@ -39,35 +39,24 @@
|
||||
v-model="checkboxSections"
|
||||
label="Pros/cons enabled"
|
||||
value="ItemProsConsSection"
|
||||
class="mb-2"
|
||||
append-icon=""
|
||||
class="mt-0 hide-v-messages"
|
||||
/>
|
||||
<v-checkbox
|
||||
v-model="checkboxSections"
|
||||
label="Ecosystem field enabled"
|
||||
value="ItemEcosystemSection"
|
||||
class="mb-2"
|
||||
class="mt-0 hide-v-messages"
|
||||
/>
|
||||
<v-checkbox
|
||||
v-model="checkboxSections"
|
||||
label="Notes field enabled"
|
||||
value="ItemNotesSection"
|
||||
class="mb-2"
|
||||
class="mt-0 hide-v-messages"
|
||||
/>
|
||||
</v-form>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer />
|
||||
<v-btn
|
||||
flat
|
||||
color="primary"
|
||||
title="Submit"
|
||||
class="add-cat-submit"
|
||||
:disabled="!isValid"
|
||||
@click="updateCategoryInfo"
|
||||
>
|
||||
Submit
|
||||
</v-btn>
|
||||
<v-btn
|
||||
flat
|
||||
title="Cancel"
|
||||
@ -76,6 +65,14 @@
|
||||
>
|
||||
Cancel
|
||||
</v-btn>
|
||||
<v-btn
|
||||
color="info"
|
||||
title="Submit"
|
||||
:disabled="!isValid"
|
||||
@click="updateCategoryInfo"
|
||||
>
|
||||
Submit
|
||||
</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
@ -146,3 +143,10 @@ export default class CategoryInfoEdit extends Vue {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
>>> .hide-v-messages .v-messages {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
@ -27,9 +27,8 @@
|
||||
{{ cancelBtnText }}
|
||||
</v-btn>
|
||||
<v-btn
|
||||
flat
|
||||
:title="confirmBtnText"
|
||||
color="primary"
|
||||
color="info"
|
||||
@click.native="confirm"
|
||||
>
|
||||
{{ confirmBtnText }}
|
||||
|
Loading…
Reference in New Issue
Block a user