feat: add Bates numbering tool with PDF processing capabilities
- Implemented bates-numbering-page.ts for handling Bates numbering logic. - Created a new HTML page for Bates numbering functionality. - Added style presets and file handling for multiple PDF uploads. - Integrated user interface elements for file selection, style customization, and preview. - Enhanced main.ts to support collapsible categories and compact mode for tool grid. - Updated types for Bates numbering in bates-numbering-type.ts. - Registered the new tool in tools.html and updated routing in vite.config.ts.
This commit is contained in:
32
index.html
32
index.html
@@ -717,6 +717,38 @@
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="flex items-center justify-between p-4 bg-gray-900 rounded-lg border border-gray-700"
|
||||
>
|
||||
<div class="flex-1">
|
||||
<label
|
||||
for="compact-mode-toggle"
|
||||
class="text-sm font-medium text-gray-200 cursor-pointer"
|
||||
data-i18n="settings.compactMode"
|
||||
>
|
||||
Compact Mode
|
||||
</label>
|
||||
<p
|
||||
class="text-xs text-gray-400 mt-1"
|
||||
data-i18n="settings.compactModeDescription"
|
||||
>
|
||||
Display tools as a compact list instead of cards
|
||||
</p>
|
||||
</div>
|
||||
<label
|
||||
class="relative inline-flex items-center cursor-pointer ml-4"
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
id="compact-mode-toggle"
|
||||
class="sr-only peer"
|
||||
/>
|
||||
<div
|
||||
class="w-11 h-6 bg-gray-700 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-indigo-800 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-indigo-600"
|
||||
></div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<!-- Advanced Settings Link -->
|
||||
<a
|
||||
href="wasm-settings.html"
|
||||
|
||||
Reference in New Issue
Block a user