botserver/web/desktop/components/Toolbar.html
Rodrigo Rodriguez (Pragmatismo) 73805c4a98 feat(desktop): add desktop mode support with Tauri integration
- Changed default feature to include 'desktop' in Cargo.toml
- Replaced --noui flag with --desktop flag in launch.json
- Added Tauri desktop mode implementation in main.rs
- Simplified command line argument handling
- Cleaned up code formatting in main.rs

The changes introduce a new mode for running the application as a desktop app using Tauri framework, while maintaining the existing server functionality. The desktop mode loads a webview window with a specific HTML interface.
2025-11-14 16:54:55 -03:00

14 lines
639 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="toolbar">
<button onclick="app.bold()">📝 Bold</button>
<button onclick="app.addRow()"> Add Row</button>
<button onclick="app.addColumn()"> Add Column</button>
<button onclick="app.deleteRow()"> Delete Row</button>
<button onclick="app.deleteColumn()"> Delete Column</button>
<button onclick="app.sort()">🔽 Sort A-Z</button>
<button onclick="app.sum()">Σ Sum</button>
<button onclick="app.average()">📊 Average</button>
<button onclick="app.clearCell()">🗑️ Clear</button>
<button onclick="app.exportData()">💾 Export</button>
</div>
</template>