ticket btn & pagination

This commit is contained in:
shokouhi
2020-07-06 11:59:23 +04:30
parent 7918610072
commit 3f8ee6da08
6 changed files with 25 additions and 22 deletions
+19 -5
View File
@@ -38,23 +38,37 @@
>{{ item.unread_messages_count }} unread</span>
</span>
</td>
<td class="text-xs-right">
<td class="text-xs-left FlexBtn">
<v-tooltip bottom open-on-hover>
<template v-slot:activator="{ on, attrs }">
<v-btn
color="pink"
color="cyan"
@click="showmessages(item.id)"
class="WM-ActionButton"
v-bind="attrs"
v-on="on"
>
<v-icon class="white--text mr-2 caption">fas fa-chevron-right</v-icon>
<v-icon class="white--text mr-2 caption">fas fa-eye</v-icon>
<span>Show Message</span>
</v-btn>
</template>
<span>Show Message</span>
</v-tooltip>
<v-tooltip bottom open-on-hover>
<template v-slot:activator="{ on, attrs }">
<v-btn
color="pink"
@click="remove(item.id)"
class="WM-ActionButton"
v-bind="attrs"
v-on="on"
>
<v-icon class="white--text mr-2 caption">fas fa-trash</v-icon>
<span>delete</span>
</v-btn>
</template>
<span>delete</span>
</v-tooltip>
</td>
</template>
</v-data-table>
@@ -62,7 +76,7 @@
</v-layout>
<v-divider></v-divider>
<div class="text-xs-center" v-if="lastPage > 1">
<v-pagination v-model="currentPage" :length="lastPage" :total-visible="6"></v-pagination>
<v-pagination color="black" v-model="currentPage" :length="lastPage" :total-visible="6"></v-pagination>
</div>
<v-layout row wrap align-center justify-center class="mt-3">
<router-link :to="{name: 'Dashboard'}">
@@ -102,7 +116,7 @@ export default {
sortable: false,
text: "Action",
value: "action",
align: "right"
align: "left"
}
],
filter: {