Skip to content

feat(templates): add lf-file example and update lua to match#133

Draft
LaurenceJJones wants to merge 3 commits into
mainfrom
feature/lf-file-templates-dark-theme
Draft

feat(templates): add lf-file example and update lua to match#133
LaurenceJJones wants to merge 3 commits into
mainfrom
feature/lf-file-templates-dark-theme

Conversation

@LaurenceJJones

@LaurenceJJones LaurenceJJones commented Nov 27, 2025

Copy link
Copy Markdown
Contributor
  • Add HAProxy lf-file error templates (403-ban, 403-ban-contact, 403-captcha)
  • Update Lua templates (ban.html, captcha.html) to match dark theme styling
  • Add alpaca logo SVG to all templates with fill="currentColor"
  • Add "Protected by" footer text and unique request ID
  • Configure templates to use http-request deny for bans and http-request return for captcha
  • Add data-theme="dark" to captcha widgets
  • Simplify captcha heading text
  • Remove verbose comments from HAProxy configs

tech explore for #107

- Add HAProxy lf-file error templates (403-ban, 403-ban-contact, 403-captcha)
- Implement Cloudflare-inspired dark theme (#1a1a1a background, #2a2a2a container)
- Update Lua templates (ban.html, captcha.html) to match dark theme styling
- Add alpaca logo SVG to all templates with fill="currentColor"
- Add "Protected by" footer text and unique request ID
- Configure templates to use http-request deny for bans and http-request return for captcha
- Add data-theme="dark" to captcha widgets
- Simplify captcha heading text
- Remove verbose comments from HAProxy configs
@LaurenceJJones LaurenceJJones marked this pull request as draft November 27, 2025 16:26
Replace text-based logo with full alpaca SVG logo to match other templates
- Change message from 'Your request has been blocked by CrowdSec security.' to 'Your request has been blocked.'
- Center the Contact Us button in ban templates
@LaurenceJJones LaurenceJJones changed the title Add lf-file templates with dark theme and update Lua templates to match feat(templates): addd lf-file example and update lua to match Nov 27, 2025
@LaurenceJJones LaurenceJJones changed the title feat(templates): addd lf-file example and update lua to match feat(templates): add lf-file example and update lua to match Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant