From 477014c92d7433a8a075fa81f50af47a83ea0274 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Tue, 14 Jul 2020 21:32:08 +0900 Subject: [PATCH] Update annotation page to use query parameters --- .../containers/annotation/BottomNavigator.vue | 49 ++++------- .../{Paginator.vue => Pagination.vue} | 85 ++++++++----------- frontend/layouts/annotation.vue | 71 +++++++++++++--- frontend/store/pagination.js | 11 +++ 4 files changed, 126 insertions(+), 90 deletions(-) rename frontend/components/containers/annotation/{Paginator.vue => Pagination.vue} (54%) diff --git a/frontend/components/containers/annotation/BottomNavigator.vue b/frontend/components/containers/annotation/BottomNavigator.vue index 3fcc1078..90ba110d 100644 --- a/frontend/components/containers/annotation/BottomNavigator.vue +++ b/frontend/components/containers/annotation/BottomNavigator.vue @@ -24,7 +24,7 @@ mdi-book-open-outline --> - + Next mdi-chevron-right @@ -32,42 +32,29 @@ diff --git a/frontend/components/containers/annotation/Paginator.vue b/frontend/components/containers/annotation/Pagination.vue similarity index 54% rename from frontend/components/containers/annotation/Paginator.vue rename to frontend/components/containers/annotation/Pagination.vue index 288e4106..e0106bbf 100644 --- a/frontend/components/containers/annotation/Paginator.vue +++ b/frontend/components/containers/annotation/Pagination.vue @@ -1,11 +1,11 @@