responsivity update

This commit is contained in:
carodej
2020-07-09 16:52:00 +02:00
parent 5a9f5813c8
commit 5bd6455f7f
20 changed files with 142 additions and 32 deletions
+11 -10
View File
@@ -20,16 +20,17 @@
<DatatableWrapper :paginator="false" :columns="columns" :data="plans" class="table table-users">
<template scope="{ row }">
<tr>
<td class="name" style="min-width: 200px">
<router-link :to="{name: 'PlanSettings', params: {id: row.data.id}}" class="cell-item" tag="div">
<span>{{ row.data.attributes.name }}</span>
</router-link>
</td>
<td>
<td style="max-width: 80px">
<span class="cell-item">
<SwitchInput @input="changeStatus($event, row.data.id)" class="switch" :state="row.data.attributes.status"/>
</span>
</td>
<td class="name" style="min-width: 120px">
<router-link :to="{name: 'PlanSettings', params: {id: row.data.id}}" class="cell-item" tag="div">
<span>{{ row.data.attributes.name }}</span>
</router-link>
</td>
<td>
<span class="cell-item">
{{ row.data.attributes.subscribers }}
@@ -114,13 +115,13 @@
plans: undefined,
columns: [
{
label: 'Plan',
field: 'data.attributes.name',
label: 'Status',
field: 'data.attributes.status',
sortable: true
},
{
label: 'Status',
field: 'data.attributes.status',
label: 'Plan Name',
field: 'data.attributes.name',
sortable: true
},
{