mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Show the zoom level also if there is only one page in the document
This commit is contained in:
parent
5447ad2961
commit
b2f6dbbe30
@ -28,7 +28,7 @@
|
|||||||
</teleport>
|
</teleport>
|
||||||
<div class="col-12 m-auto">
|
<div class="col-12 m-auto">
|
||||||
<div class="row justify-content-center border-bottom pdf-tools d-md-none">
|
<div class="row justify-content-center border-bottom pdf-tools d-md-none">
|
||||||
<div v-if="pageCount > 1" class="col text-center turn-page">
|
<div class="col text-center turn-page">
|
||||||
<select
|
<select
|
||||||
class="form-select form-select-sm"
|
class="form-select form-select-sm"
|
||||||
id="zoomSelect"
|
id="zoomSelect"
|
||||||
@ -40,6 +40,7 @@
|
|||||||
{{ z.label.fr }}
|
{{ z.label.fr }}
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
|
<template v-if="pageCount > 1">
|
||||||
<button
|
<button
|
||||||
class="btn btn-light btn-xs p-1"
|
class="btn btn-light btn-xs p-1"
|
||||||
:disabled="page <= 1"
|
:disabled="page <= 1"
|
||||||
@ -55,6 +56,7 @@
|
|||||||
>
|
>
|
||||||
❯
|
❯
|
||||||
</button>
|
</button>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="signature.zones.length > 1"
|
v-if="signature.zones.length > 1"
|
||||||
@ -106,7 +108,7 @@
|
|||||||
<div
|
<div
|
||||||
class="row justify-content-center border-bottom pdf-tools d-none d-md-flex"
|
class="row justify-content-center border-bottom pdf-tools d-none d-md-flex"
|
||||||
>
|
>
|
||||||
<div v-if="pageCount > 1" class="col-3 text-center turn-page ps-3">
|
<div class="col-3 text-center turn-page ps-3">
|
||||||
<select
|
<select
|
||||||
class="form-select form-select-sm"
|
class="form-select form-select-sm"
|
||||||
id="zoomSelect"
|
id="zoomSelect"
|
||||||
@ -118,6 +120,7 @@
|
|||||||
{{ z.label.fr }}
|
{{ z.label.fr }}
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
|
<template v-if="pageCount > 1">
|
||||||
<button
|
<button
|
||||||
class="btn btn-light btn-xs p-1"
|
class="btn btn-light btn-xs p-1"
|
||||||
:disabled="page <= 1"
|
:disabled="page <= 1"
|
||||||
@ -133,6 +136,7 @@
|
|||||||
>
|
>
|
||||||
❯
|
❯
|
||||||
</button>
|
</button>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="signature.zones.length > 1 && signedState !== 'signed'"
|
v-if="signature.zones.length > 1 && signedState !== 'signed'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user