From 3cebbc9fbab6705c190481d9ef6976afea5d073d Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Wed, 28 May 2025 17:04:07 +0200 Subject: [PATCH] modal optional expand to full size button - used for qr window; added missing phrase editEntschuldigung; --- public/js/components/Bootstrap/Modal.js | 26 ++++++-- system/phrasesupdate.php | 80 +++++++++++++++++++++++++ 2 files changed, 101 insertions(+), 5 deletions(-) diff --git a/public/js/components/Bootstrap/Modal.js b/public/js/components/Bootstrap/Modal.js index 2b3223ff7..ee4495278 100644 --- a/public/js/components/Bootstrap/Modal.js +++ b/public/js/components/Bootstrap/Modal.js @@ -3,7 +3,8 @@ export default { name: 'BootstrapModal', data: () => ({ - modal: null + modal: null, + fullscreen: false }), props: { backdrop: { @@ -26,6 +27,10 @@ export default { bodyClass: { type: [String,Array,Object], default: 'px-4 py-5' + }, + allowFullscreenExpand: { + type: Boolean, + default: false } }, emits: [ @@ -50,6 +55,9 @@ export default { }, toggle() { return this.modal.toggle(); + }, + toggleFullscreen() { + this.fullscreen = !this.fullscreen } }, mounted() { @@ -115,12 +123,20 @@ export default { }); }, template: `