Commit d9431747 authored by christianrhansen's avatar christianrhansen

added buttons to cards

parent be9c60aa
Pipeline #50718 passed with stage
in 5 minutes and 28 seconds
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
:pagination.sync="pagination", :pagination.sync="pagination",
:filter="filter", :filter="filter",
:title="tableTitle") :title="tableTitle")
div.q-pa-md(slot="item", slot-scope="props", style="width: 50%;") div.q-pa-md.full-width(slot="item", slot-scope="props")
q-card.bg-grey-9 q-card.bg-grey-9
q-card-title q-card-title
template(v-if="customTitleLink") template(v-if="customTitleLink")
...@@ -29,6 +29,10 @@ ...@@ -29,6 +29,10 @@
q-btn(v-if="hasShow", type="a", color="primary", :to="getViewLink(props.row._uuid)", flat) q-btn(v-if="hasShow", type="a", color="primary", :to="getViewLink(props.row._uuid)", flat)
promise-span(:value="props.row.title") promise-span(:value="props.row.title")
promise-span(v-if="!hasShow", :value="props.row.title") promise-span(v-if="!hasShow", :value="props.row.title")
q-card-separator
q-card-main
q-btn(v-for="btn in config.actions", :key="btn.icon", "flat", size="md", :icon="btn.icon",
@click="defaultClick(btn, props)") {{ $t(btn.title) }}
.col-12.col-md-6 .col-12.col-md-6
q-search.bg-grey-10.q-pa-sm(v-model="filter", dark, icon="search", hide-underline) q-search.bg-grey-10.q-pa-sm(v-model="filter", dark, icon="search", hide-underline)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment