[IMP] website, *: add missing options previews
*: web_editor, website_blog, website_form task-2280397 closes odoo/odoo#53516 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -43,8 +43,8 @@
|
||||
</we-title>
|
||||
</div>
|
||||
<!--   -->
|
||||
<we-colorpicker t-att-string="indent and (' ⌙ %s' % filter_label) or filter_label" data-set-filter="" data-no-preview="true" data-excluded="common, theme"/>
|
||||
<we-select t-att-string="indent and (' ⌙ %s' % width_label) or width_label" data-name="width_select_opt" data-no-preview="true"/>
|
||||
<we-colorpicker t-att-string="indent and (' ⌙ %s' % filter_label) or filter_label" data-set-filter="" data-excluded="common, theme"/>
|
||||
<we-select t-att-string="indent and (' ⌙ %s' % width_label) or width_label" data-name="width_select_opt"/>
|
||||
<we-range t-att-string="indent and (' ⌙ %s' % quality_label) or quality_label" data-set-quality=""/>
|
||||
<div class="o_we_image_weight d-none"><i class="fa fa-long-arrow-right"/><span/></div>
|
||||
</template>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<we-row string="Background">
|
||||
<t t-call="web_editor.snippet_options_background_color_widget"/>
|
||||
</we-row>
|
||||
<we-select string="Type" data-attribute-name="type" data-attribute-default-value="bar" data-no-preview="true">
|
||||
<we-select string="Type" data-attribute-name="type" data-attribute-default-value="bar">
|
||||
<we-button data-select-data-attribute="bar" data-name="bar_chart_opt">Bar Vertical</we-button>
|
||||
<we-button data-select-data-attribute="horizontalBar" data-name="horizontal_bar_chart_opt">Bar Horizontal</we-button>
|
||||
<we-button data-select-data-attribute="line">Line</we-button>
|
||||
@@ -36,7 +36,7 @@
|
||||
</we-select>
|
||||
<we-checkbox string="Stacked" data-name="stacked_chart_opt" data-dependencies="bar_chart_opt, horizontal_bar_chart_opt"
|
||||
data-select-data-attribute="false|true" data-attribute-name="stacked" data-no-preview="true"/>
|
||||
<we-select string="Legend" data-attribute-name="legendPosition" data-attribute-default-value="top" data-no-preview="true">
|
||||
<we-select string="Legend" data-attribute-name="legendPosition" data-attribute-default-value="top">
|
||||
<we-button data-select-data-attribute="none">None</we-button>
|
||||
<we-button data-select-data-attribute="top">Top</we-button>
|
||||
<we-button data-select-data-attribute="left">Left</we-button>
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
<we-button data-select-data-attribute="published_date desc">Latest</we-button>
|
||||
<we-button data-select-data-attribute="visits desc">Most viewed</we-button>
|
||||
</we-select>
|
||||
<we-select string="Layout" data-no-preview="true" data-attribute-name="template" class="o_we_inline">
|
||||
<we-select string="Layout" data-attribute-name="template">
|
||||
<we-button data-select-data-attribute="website_blog.s_latest_posts_list_template" data-select-class="s_latest_posts_list">List</we-button>
|
||||
<we-button data-select-data-attribute="website_blog.s_latest_posts_big_picture_template"
|
||||
data-select-class="s_latest_posts_big_picture"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<xpath expr="//div" position="after">
|
||||
<!-- Form -->
|
||||
<div data-js="WebsiteFormEditor" data-selector=".s_website_form" data-target="form">
|
||||
<we-select string="Marked Fields" data-name="field_mark_select" data-no-preview="true">
|
||||
<we-select string="Marked Fields" data-name="field_mark_select">
|
||||
<we-button data-select-class="">None</we-button>
|
||||
<we-button data-select-class="o_mark_required" data-name="form_required_opt">Required</we-button>
|
||||
<we-button data-select-class="o_mark_optional" data-name="form_optional_opt">Optional</we-button>
|
||||
@@ -92,8 +92,9 @@
|
||||
<we-button data-multi-checkbox-display="horizontal">Horizontal</we-button>
|
||||
<we-button data-multi-checkbox-display="vertical">Vertical</we-button>
|
||||
</we-select>
|
||||
<we-input string="Input Placeholder" class="o_we_large_input" data-name="placeholder_opt" data-set-placeholder=""/>
|
||||
<we-input string="Label Name" class="o_we_large_input" data-set-label-text=""/>
|
||||
<we-button-group string="Label Position" data-no-preview="true">
|
||||
<we-button-group string="Label Position">
|
||||
<we-button title="Hide"
|
||||
data-select-label-position="none">
|
||||
<i class="fa fa-eye-slash"/>
|
||||
@@ -108,7 +109,6 @@
|
||||
data-select-label-position="right"
|
||||
data-img="/website/static/src/img/snippets_options/pos_right.svg"/>
|
||||
</we-button-group>
|
||||
<we-input string="Input Placeholder" class="o_we_large_input" data-name="placeholder_opt" data-set-placeholder=""/>
|
||||
<we-checkbox string="Required" data-name="required_opt" data-no-preview="true"
|
||||
data-toggle-required="s_website_form_required"/>
|
||||
<we-checkbox string="Hidden" data-name="hidden_opt" data-no-preview="true"
|
||||
|
||||
Reference in New Issue
Block a user