generalbots/botui/ui/suite/partials/messages.html
Rodrigo Rodriguez (Pragmatismo) 037db5c381 feat: Major workspace reorganization and documentation update
- Add comprehensive documentation in botbook/ with 12 chapters
- Add botapp/ Tauri desktop application
- Add botdevice/ IoT device support
- Add botlib/ shared library crate
- Add botmodels/ Python ML models service
- Add botplugin/ browser extension
- Add botserver/ reorganized server code
- Add bottemplates/ bot templates
- Add bottest/ integration tests
- Add botui/ web UI server
- Add CI/CD workflows in .forgejo/workflows/
- Add AGENTS.md and PROD.md documentation
- Add dependency management scripts (DEPENDENCIES.sh/ps1)
- Remove legacy src/ structure and migrations
- Clean up temporary and backup files
2026-04-19 08:14:25 -03:00

25 lines
871 B
HTML

{% for message in messages %}
<div class="message {% if message.is_user %}user{% else %}bot{% endif %}" id="msg-{{ message.id }}">
<div class="message-avatar">
{% if message.is_user %}
<span class="avatar-user">U</span>
{% else %}
<span class="avatar-bot">🤖</span>
{% endif %}
</div>
<div class="message-content">
<div class="message-header">
<span class="message-sender">{{ message.sender }}</span>
<span class="message-time">{{ message.timestamp }}</span>
</div>
<div class="message-body">{{ message.content }}</div>
</div>
</div>
{% endfor %}
{% if messages.is_empty() %}
<div class="empty-messages">
<div class="empty-icon">💬</div>
<p>Start a conversation</p>
<p class="empty-hint">Type a message below or use voice input</p>
</div>
{% endif %}