{% extends 'base/base.html' %} {% load static %} {% load cotton %} {% block title %}Cotton Components Test - ThrillWiki{% endblock %} {% block content %}

Cotton Components Test Suite

Testing all 9 Phase 1 Cotton Components

1. Button Component Tests

Variants

Sizes

Interactive

HTMX result will appear here

2. Card Component Tests

This is the main content area of the card component.

Complex Card

Testing nested components within cards.

3. Input Component Tests

Input Types

Alpine.js Integration

Value:

HTMX input result

4. Status Badge Component Tests

Statuses

Sizes

Custom Content

Custom Status Text

5. Pagination Component Tests

Testing pagination with mock page object data:

{% with mock_paginator=page_obj %}
{% endwith %}

6. Search Form Component Tests

7. Login Form Component Tests

Test Login Form

HTMX login form result will appear here

8 & 9. Turnstile Widget Component Tests

Normal Turnstile Widget

Empty Turnstile Widget (DEBUG Mode)

Test Results Summary

9

Components Tested

?

JavaScript Status

Responsive Design

JavaScript Test Results:

Running JavaScript tests...
{% endblock %}