.container
.deactivate_modal
Modal(v-model='deactivate_modal', width='500')
p(slot='header', style='color:#f60;text-align:center')
icon(type='information-circled' style='padding-right: 1rem')
span Deactivate Confirmation
div(style='text-align:center')
p Sure to deactivate selected entry?
div(slot='footer')
Button(type='error' size='large' long :loading='deactivate_modal_loading' @click='deactivate') Deactivate
.activate_modal
Modal(v-model='activate_modal', width='500')
p(slot='header', style='color:green;text-align:center')
icon(type='information-circled' style='padding-right: 1rem')
span Activate Confirmation
div(style='text-align:center')
p Sure to activate selected entry?
div(slot='footer')
Button(type='success' size='large' long :loading='activate_modal_loading' @click='activate') Activate
div(style='margin-bottom: .5rem; display: flex')
Input(v-model='searchstring' clearable placeholder='Search any column' style='width: 345px')
// Button(slot='append' icon='ios-search')
Button(v-if="insert == '' && windowWidth > 666" type='success' style='margin-left: auto; text-transform: capitalize')
nuxt-link(:to='createurl')
Icon(type='plus-round')
span(style='font-weight: bold') Add {{entity}}
Table(:loading="loading" v-on:on-current-change='viewEntry' :columns='tablecols' :data='tabledata' v-bind:class='screenSize' ref='datatable')
.pager(v-if="total > itemsperpage")
Page(v-if="windowWidth > 666" :total="total" show-sizer show-total v-on:on-change='paginate' v-on:on-page-size-change='resize')
Page(v-else :total="total" show-total v-on:on-change='paginate' v-on:on-page-size-change='resize')