1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-05-21 15:16:37 +02:00

Merge branch 'master' of github.com:24eme/signaturepdf

This commit is contained in:
Vincent LAURENT 2023-09-25 23:21:45 +02:00
commit 155001a900
9 changed files with 11 additions and 6 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-25 16:21+0200\n"
"POT-Creation-Date: 2023-09-25 16:29+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

Binary file not shown.

View file

@ -278,7 +278,7 @@ msgstr "تنزيل هذه الصفحة"
#: templates/organization.html.php:145
msgid "Page"
msgstr ""
msgstr "صفحة"
#: templates/signature.html.php:22
#, php-format

View file

@ -6,10 +6,10 @@
}
@font-face {
font-family: 'IBMPlexSansArabic';
font-family: 'Tajawal';
font-style: normal;
font-weight: 400;
src: url(/vendor/fonts/IBMPlexSansArabic-Regular.ttf) format('truetype');
src: url(/vendor/fonts/Tajawal-Medium.ttf) format('truetype');
}
#container-pages {
@ -35,11 +35,16 @@
z-index: 10000;
}
#input-text-signature {
#input-text-signature:dir(ltr) {
font-family: Caveat;
font-size: 48px;
}
#input-text-signature:dir(rtl) {
font-family: Tajawal;
font-size: 48px;
}
#img-upload {
max-width: 460px;
max-height: 200px;

View file

@ -90,7 +90,7 @@ var loadPDF = async function(pdfBlob, filename, pdfIndex) {
pageHTML += '<div title="' + trad['Move here'] + '" class="position-absolute start-50 top-50 translate-middle p-2 ps-4 pe-4 container-resize btn-drag-here d-none"><i class="bi bi-arrows-expand-vertical"></i></div>';
pageHTML += '<div title="' + trad['Turn this page'] + '" class="position-absolute top-50 end-0 translate-middle-y p-2 ps-3 pe-3 me-2 rounded-circle container-rotate btn-rotate d-none"><i class="bi bi-arrow-clockwise"></i></div>';
pageHTML += '<div title="' + trad['Download this page'] + '" class="position-absolute bottom-0 start-50 translate-middle-x p-2 ps-3 pe-3 mb-3 rounded-circle btn-download d-none"><i class="bi bi-download"></i></div>';
pageHTML += '<p class="page-title position-absolute text-center w-100 ps-2 pe-2 pb-0 pt-0 mb-1 bg-white opacity-75 d-none" style="bottom: -4px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">' + trad['page'] + ' ' + page.pageNumber + ' - ' + filename + '</p>';
pageHTML += '<p class="page-title position-absolute text-center w-100 ps-2 pe-2 pb-0 pt-0 mb-1 bg-white opacity-75 d-none" style="bottom: -4px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">' + trad['Page'] + ' ' + page.pageNumber + ' - ' + filename + '</p>';
pageHTML += '<input form="form_pdf" class="checkbox-page d-none" role="switch" type="checkbox" checked="checked" value="'+pdfLetter+page.pageNumber+'" />';
pageHTML += '<input type="hidden" class="input-rotate" value="0" id="input_rotate_'+pageIndex+'" />';
pageHTML += '<input type="checkbox" class="input-select d-none" value="'+pdfLetter+page.pageNumber+'" id="input_select_'+pageIndex+'" />';

BIN
public/vendor/fonts/Tajawal-Medium.ttf vendored Normal file

Binary file not shown.