mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-12 17:44:01 +01:00
ci: Improve Docker build workflow and update dependencies
- Add release type detection to distinguish between version tags and edge builds - Implement separate Docker build steps for release and edge builds with appropriate tags - Add edge and SHA-based image tags for main branch builds - Update nginx configuration to support Vietnamese (vi) language routing - Simplify nginx location block to handle static files and fallback to index.html - Remove javascript-obfuscator and ts-migrate from dependencies - Update README with simplified self-hosting instructions using npx http-server - Consolidate multiple server setup examples into single recommended approach - Update build preview command to use npm run preview instead of npx serve - Improve localization files for German, English, Vietnamese, and Chinese - Update worker files and TypeScript logic files for improved functionality - Enhance PDF tool pages with better structure and internationalization support
This commit is contained in:
1 parent
80cfb3dc0f
commit
1fe05ec59f
31 files changed
+271
-6358
No files matched your search
@@ -79,6 +79,16 @@
|
||||
Upload a PDF, add image stamps using the toolbar, and then save the stamped PDF.
|
||||
</p>
|
||||
|
||||
<div class="mb-4">
|
||||
<label for="stamp-username" class="block text-sm font-medium text-gray-300 mb-2"
|
||||
data-i18n="tools:addStamps.usernameLabel">Stamp Username</label>
|
||||
<input type="text" id="stamp-username"
|
||||
class="w-full px-4 py-2 bg-gray-900 border border-gray-600 rounded-lg text-white placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent"
|
||||
placeholder="Enter your name (for stamps)" data-i18n-placeholder="tools:addStamps.usernamePlaceholder" />
|
||||
<p class="text-xs text-gray-500 mt-1" data-i18n="tools:addStamps.usernameHint">This name will appear on stamps
|
||||
you create.</p>
|
||||
</div>
|
||||
|
||||
<div id="drop-zone"
|
||||
class="relative flex flex-col items-center justify-center w-full h-48 md:h-64 border-2 border-dashed border-gray-600 rounded-xl cursor-pointer bg-gray-900 hover:bg-gray-700 transition-colors duration-300">
|
||||
<div class="flex flex-col items-center justify-center pt-5 pb-6">
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
class="hidden border-2 border-dashed border-gray-600 rounded-lg p-6 sm:p-12 text-center max-w-full cursor-pointer"
|
||||
onclick="document.getElementById('pdf-file-input').click()">
|
||||
<i data-lucide="upload-cloud" class="w-12 h-12 sm:w-16 sm:h-16 mx-auto text-gray-400 mb-3 sm:mb-4"></i>
|
||||
<p class="text-gray-300 text-base sm:text-lg mb-1 sm:mb-2" data-i18n="multiTool.uploadPdfFiles">Upload PDF Files
|
||||
<p class="text-gray-300 text-base sm:text-lg mb-1 sm:mb-2" data-i18n="multiTool.uploadPdfFiles">Select PDF Files
|
||||
</p>
|
||||
<p class="text-gray-400 text-xs sm:text-sm mb-3 sm:mb-4" data-i18n="multiTool.dragAndDrop">Drag and drop PDF
|
||||
files here, or click to select</p>
|
||||
|
||||
Reference in new issue
Block a user