quantum-ai-v3/templates/components/quick_agents_panel.html
Claude a46b07e371 🎯 Fix webhook agents by removing custom JavaScript conflicts
- Remove job-posting-generator.js and social-ads.js custom files
- All webhook agents now use unified agents-core.js system
- Consistent behavior: Form → Django API → N8N → Results
- Fixes job posting and social ads result display issues
- Simplifies maintenance with single JavaScript codebase
- Aligns with file-based agent creation goal (JSON only)

 All 4 webhook agents now work consistently
 All 5 direct access agents use generic handlers
 Agent creation: Just add JSON file, no custom code needed

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-15 09:35:43 +05:30

34 lines
1.5 KiB
HTML
Raw Permalink 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.

<div class="quick-agents-overlay" id="quickAgentsOverlay" onclick="closeQuickAgents()" aria-hidden="true"></div>
<div class="quick-agents-panel" id="quickAgentsPanel" role="dialog" aria-labelledby="quickAgentsTitle" aria-hidden="true">
<div class="quick-agents-header">
<h3 id="quickAgentsTitle">Quick Access to Other Agents</h3>
<button class="close-panel" onclick="toggleQuickAgents()" aria-label="Close quick agents panel">×</button>
</div>
<div class="quick-agents-grid">
{% for agent in all_agents %}
{% if agent.access_url_name and agent.display_url_name %}
<!-- Direct Access Agent -->
<a href="{% url 'agents:direct_access_handler' agent.slug %}" class="quick-agent-card">
{% else %}
<!-- Webhook Agent -->
<a href="{% url 'agents:detail' agent.slug %}" class="quick-agent-card">
{% endif %}
<div class="agent-icon">{{ agent.category.icon }}</div>
<div class="agent-info">
<h4>{{ agent.name }}</h4>
<div class="agent-price">{{ agent.price }} AED</div>
</div>
</a>
{% empty %}
<p style="text-align: center; color: var(--on-surface-variant); padding: 20px;">
No other agents available
</p>
{% endfor %}
</div>
<div class="quick-agents-footer">
<a href="{% url 'agents:marketplace' %}" class="view-all-agents">View All Agents →</a>
</div>
</div>