From 75fa088a59844151632e34a51d280e9121a763c6 Mon Sep 17 00:00:00 2001 From: Alexander Tornoreanu Date: Mon, 13 Apr 2020 12:47:36 +0200 Subject: [PATCH] fix page navigation, add page info, more descriptive buttons --- app/components/Basic.css | 4 +++ app/components/ParseXML.js | 2 +- app/components/ViewParsed.js | 63 ++++++++++++++++++++++++++++-------- package.json | 2 +- 4 files changed, 55 insertions(+), 16 deletions(-) diff --git a/app/components/Basic.css b/app/components/Basic.css index b06732b..cf2c467 100644 --- a/app/components/Basic.css +++ b/app/components/Basic.css @@ -41,3 +41,7 @@ .tableInfo { margin-top: 20px; } + +.pageInfo { + margin-left: 10px; +} diff --git a/app/components/ParseXML.js b/app/components/ParseXML.js index 197f618..20aba00 100644 --- a/app/components/ParseXML.js +++ b/app/components/ParseXML.js @@ -71,7 +71,7 @@ export default class ParseXML extends Component { {data && ( {' '} {this.state.balanceZoom && (
@@ -261,6 +288,10 @@ export default class ViewParsed extends Component { > Next Page + + Page: {this.state.balanceZoomIndex} /{' '} + {this.state.balanceZoomPages} +
)}