Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ agentic_security/agents/operator_agno.py
.claude/
plan.md
auto_loop.sh
.venv/
.cache/
2 changes: 1 addition & 1 deletion agentic_security/routes/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def serve_icon(icon_name: str) -> FileResponse:
async def proxy_tailwindcss() -> FileResponse:
"""Proxy the Tailwind CSS script."""
return proxy_external_resource(
"https://cdn.tailwindcss.com",
"https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4",
STATIC_DIR / "tailwindcss.js",
"application/javascript",
)
Expand Down
6 changes: 3 additions & 3 deletions agentic_security/static/partials/concent.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id="consent-modal" v-if="showConsentModal"
class="fixed inset-0 bg-black bg-opacity-75 flex justify-center items-center z-50">
class="fixed inset-0 bg-black/75 flex justify-center items-center z-50">
<div
class="bg-dark-card text-dark-text p-8 rounded-xl shadow-2xl max-w-xl w-full">
<h2 class="text-2xl font-bold mb-6 text-center">AI Red Team Ethical
Expand Down Expand Up @@ -54,12 +54,12 @@ <h2 class="text-2xl font-bold mb-6 text-center">AI Red Team Ethical
<div class="flex justify-center space-x-4 mt-8">
<button
@click="declineConsent"
class="bg-dark-accent-red text-white rounded-lg px-6 py-3 font-medium hover:bg-opacity-80 transition-colors">
class="bg-dark-accent-red text-white rounded-lg px-6 py-3 font-medium hover:bg-dark-accent-red/80 transition-colors">
Decline
</button>
<button
@click="acceptConsent"
class="bg-dark-accent-green text-dark-bg rounded-lg px-6 py-3 font-medium hover:bg-opacity-80 transition-colors">
class="bg-dark-accent-green text-dark-bg rounded-lg px-6 py-3 font-medium hover:bg-dark-accent-green/80 transition-colors">
I Agree and Understand
</button>
</div>
Expand Down
Loading