|
@@ -10,7 +10,7 @@
|
|
v-spacer
|
|
v-spacer
|
|
v-btn(color='grey', outline, @click='refresh', large)
|
|
v-btn(color='grey', outline, @click='refresh', large)
|
|
v-icon.grey--text refresh
|
|
v-icon.grey--text refresh
|
|
- v-btn(color='primary', depressed, @click='save', large)
|
|
|
|
|
|
+ v-btn(color='primary', depressed, large, @click='newpage')
|
|
v-icon(left) add
|
|
v-icon(left) add
|
|
span New Page
|
|
span New Page
|
|
v-card.mt-3
|
|
v-card.mt-3
|
|
@@ -33,6 +33,8 @@
|
|
v-alert.ma-3(icon='warning', :value='true', outline) No pages to display.
|
|
v-alert.ma-3(icon='warning', :value='true', outline) No pages to display.
|
|
.text-xs-center.py-2(v-if='groups.length > 15')
|
|
.text-xs-center.py-2(v-if='groups.length > 15')
|
|
v-pagination(v-model='pagination.page', :length='pages')
|
|
v-pagination(v-model='pagination.page', :length='pages')
|
|
|
|
+
|
|
|
|
+ page-selector(v-model='pageSelectorShown', mode='new')
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
@@ -50,7 +52,8 @@ export default {
|
|
{ text: 'Created', value: 'createdAt', width: 250 },
|
|
{ text: 'Created', value: 'createdAt', width: 250 },
|
|
{ text: 'Last Updated', value: 'updatedAt', width: 250 }
|
|
{ text: 'Last Updated', value: 'updatedAt', width: 250 }
|
|
],
|
|
],
|
|
- search: ''
|
|
|
|
|
|
+ search: '',
|
|
|
|
+ pageSelectorShown: false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -70,6 +73,9 @@ export default {
|
|
style: 'success',
|
|
style: 'success',
|
|
icon: 'cached'
|
|
icon: 'cached'
|
|
})
|
|
})
|
|
|
|
+ },
|
|
|
|
+ newpage() {
|
|
|
|
+ this.pageSelectorShown = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|