- Added HTTP server with CORS support and various endpoints - Introduced http_tx/http_rx channels for HTTP server control - Cleaned up build.rs by removing commented code - Updated .gitignore to use *.rdb pattern instead of .rdb - Simplified capabilities.json to empty object - Improved UI initialization with better error handling - Reorganized module imports in main.rs - Added worker count configuration for HTTP server The changes introduce a new HTTP server capability while cleaning up and improving existing code structure. The HTTP server includes authentication, session management, and websocket support.
27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
HTML
<div x-data="{
|
|
shortcuts: [
|
|
[
|
|
{ key: 'Q', label: 'Rename', action: () => console.log('Rename') },
|
|
{ key: 'W', label: 'View', action: () => console.log('View') },
|
|
{ key: 'E', label: 'Edit', action: () => console.log('Edit') },
|
|
{ key: 'I', label: 'Cut', action: () => console.log('Cut') },
|
|
{ key: 'O', label: 'Paste', action: () => console.log('Paste') },
|
|
{ key: 'P', label: 'Duplicate', action: () => console.log('Duplicate') }
|
|
],
|
|
[
|
|
{ key: 'K', label: 'Star', action: () => console.log('Star') },
|
|
{ key: 'L', label: 'Download', action: () => console.log('Download') },
|
|
{ key: 'Z', label: 'Upload', action: () => console.log('Upload') },
|
|
{ key: 'X', label: 'Refresh', action: () => console.log('Refresh') }
|
|
]
|
|
]
|
|
}" class="footer">
|
|
<div class="shortcut-group" x-for="group in shortcuts">
|
|
<template x-for="shortcut in group">
|
|
<button @click="shortcut.action()" class="shortcut-btn">
|
|
<span x-text="shortcut.key" class="key"></span>
|
|
<span x-text="shortcut.label" class="label"></span>
|
|
</button>
|
|
</template>
|
|
</div>
|
|
</div>
|