mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 11:51:10 -05:00
Integrates Django Cotton components with new test pages, updating button and input component templates to correctly handle `x_data` and `x_on` attributes for improved interactivity. Replit-Commit-Author: Agent Replit-Commit-Session-Id: eff39de1-3afa-446d-a965-acaf61837fc7 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d6d61dac-164d-45dd-929f-7dcdfd771b64/eff39de1-3afa-446d-a965-acaf61837fc7/J3NgjVS
21 lines
741 B
HTML
21 lines
741 B
HTML
{% extends 'base/base.html' %}
|
|
{% load cotton %}
|
|
|
|
{% block title %}Minimal Cotton Test - ThrillWiki{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="max-w-4xl mx-auto p-8">
|
|
<h1 class="text-3xl font-bold mb-8">Minimal Cotton Test</h1>
|
|
|
|
<!-- Copy exact working syntax from enhanced_header.html -->
|
|
<div class="space-y-4">
|
|
<h2 class="text-xl font-semibold">Working Cotton Button (from enhanced_header.html):</h2>
|
|
<c-ui.button variant="default" size="sm" text="Search" />
|
|
<c-ui.button variant="outline" size="sm" text="Login" />
|
|
</div>
|
|
|
|
<div class="mt-8 p-4 bg-green-100 rounded">
|
|
<p>If you see buttons above, Cotton components are working correctly!</p>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |