3
0
Fork 0

Compare commits

..

No commits in common. "f0c0c1b487d16093f521f9fd30b2fed0fe6d0b62" and "9541407978ba25ab8b7df87ea8b3d6016f24463d" have entirely different histories.

2 changed files with 13 additions and 22 deletions

View file

@ -17,15 +17,11 @@
<%def name="page_content()"> <%def name="page_content()">
% if form is not Undefined: % if form is not Undefined:
<div class="wutta-form-wrapper"> <div class="wutta-form-wrapper">
${self.render_form_tag()} ${form.render_vue_tag()}
</div> </div>
% endif % endif
</%def> </%def>
<%def name="render_form_tag()">
${form.render_vue_tag()}
</%def>
<%def name="tool_panels_wrapper()"> <%def name="tool_panels_wrapper()">
<div class="tool-panels-wrapper"> <div class="tool-panels-wrapper">
${self.tool_panels()} ${self.tool_panels()}

View file

@ -2,7 +2,6 @@
<${b}-table :data="gridContext['${grid.key}'].data"> <${b}-table :data="gridContext['${grid.key}'].data">
% for column in grid.get_vue_columns(): % for column in grid.get_vue_columns():
% if not column['hidden']:
<${b}-table-column field="${column['field']}" <${b}-table-column field="${column['field']}"
label="${column['label']}" label="${column['label']}"
v-slot="props" v-slot="props"
@ -15,7 +14,6 @@
<span v-html="props.row.${column['field']}"></span> <span v-html="props.row.${column['field']}"></span>
% endif % endif
</${b}-table-column> </${b}-table-column>
% endif
% endfor % endfor
% if grid.actions: % if grid.actions:
@ -25,9 +23,6 @@
% for action in grid.actions: % for action in grid.actions:
<a v-if="props.row._action_url_${action.key}" <a v-if="props.row._action_url_${action.key}"
:href="props.row._action_url_${action.key}" :href="props.row._action_url_${action.key}"
% if action.click_handler:
@click.prevent="${action.click_handler}"
% endif
class="${action.link_class}"> class="${action.link_class}">
${action.render_icon_and_label()} ${action.render_icon_and_label()}
</a> </a>