botserver/web/desktop/tables/components/Footer.html
Rodrigo Rodriguez (Pragmatismo) 4b185f00f9 feat: add HTTP server and refactor initialization
- 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.
2025-11-15 09:48:46 -03:00

24 lines
494 B
HTML

<template x-data="{ items: [] }">
<div class="todo-stats">
<span x-text="`${items.filter(i => !i.done).length} items left`"></span>
<button @click="$store.todo.clearCompleted()">
Clear completed
</button>
</div>
</template>
<style>
.todo-stats {
display: flex;
justify-content: space-between;
color: #666;
font-size: 14px;
}
.todo-stats button {
background: none;
color: #666;
padding: 0;
text-decoration: underline;
}
</style>