optimize FormDisplayPicker ui
This commit is contained in:
@@ -1,29 +1,31 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="cm-settings-form-displaypicker">
|
<div class="cm-settings-form-displaypicker">
|
||||||
<NcButton
|
<div class="cm-settings-button-inline">
|
||||||
:variant="is(false, false, false) ? 'primary' : 'seconday'"
|
<NcButton
|
||||||
@click="update(false, false, false)"
|
:variant="is(false, false, false) ? 'primary' : 'seconday'"
|
||||||
>
|
@click="update(false, false, false)"
|
||||||
{{ t('side_menu', 'Default') }}
|
>
|
||||||
</NcButton>
|
{{ t('side_menu', 'Default') }}
|
||||||
<NcButton
|
</NcButton>
|
||||||
:variant="is(true, false, false) ? 'primary' : 'seconday'"
|
<NcButton
|
||||||
@click="update(true, false, false)"
|
:variant="is(true, false, false) ? 'primary' : 'seconday'"
|
||||||
>
|
@click="update(true, false, false)"
|
||||||
{{ t('side_menu', 'Always displayed') }}
|
>
|
||||||
</NcButton>
|
{{ t('side_menu', 'Always displayed') }}
|
||||||
<NcButton
|
</NcButton>
|
||||||
:variant="is(false, true, false) ? 'primary' : 'seconday'"
|
<NcButton
|
||||||
@click="update(false, true, false)"
|
:variant="is(false, true, false) ? 'primary' : 'seconday'"
|
||||||
>
|
@click="update(false, true, false)"
|
||||||
{{ t('side_menu', 'Big menu') }}
|
>
|
||||||
</NcButton>
|
{{ t('side_menu', 'Big menu') }}
|
||||||
<NcButton
|
</NcButton>
|
||||||
:variant="is(false, false, true) ? 'primary' : 'seconday'"
|
<NcButton
|
||||||
@click="update(false, false, true)"
|
:variant="is(false, false, true) ? 'primary' : 'seconday'"
|
||||||
>
|
@click="update(false, false, true)"
|
||||||
{{ t('side_menu', 'With categories') }}
|
>
|
||||||
</NcButton>
|
{{ t('side_menu', 'With categories') }}
|
||||||
|
</NcButton>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<img
|
<img
|
||||||
|
|||||||
Reference in New Issue
Block a user