From 2fd3ec9ab26290d5e97078f92c512d1cec73ae48 Mon Sep 17 00:00:00 2001 From: Disco DeDisco Date: Sun, 22 Mar 2026 15:06:54 -0400 Subject: [PATCH] added header_text to billboard.html; restored L+R .container padding after last fix (still 0 T+B) --- CLAUDE.md | 26 ++++++++++++++++++++- src/static_src/scss/_base.scss | 2 +- src/templates/apps/billboard/billboard.html | 5 ++-- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index bec9dba..2c3243e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -3,7 +3,31 @@ Originally built following Harry Percival's *Test-Driven Development with Python* (3rd ed., complete through ch. 25). Now an ongoing game app — EarthmanRPG — extended well beyond the book. ## Browser Integration -**Claudezilla** is installed — a Firefox extension + native host that lets Claude observe and interact with the browser directly. Use `mcp__claudezilla__*` tools to inspect the dev/staging server in Firefox (screenshots, console logs, DOM queries, navigation). Native host: `E:\ClaudeLibrary\claudezilla\host\`. Extension: `claudezilla@boot.industries`. +**Claudezilla** is installed — a Firefox extension + native host that lets Claude observe and interact with the browser directly. + +### Tool names +Tools are available as `mcp__claudezilla__firefox_*`, e.g.: +- `mcp__claudezilla__firefox_screenshot` — capture current tab +- `mcp__claudezilla__firefox_navigate` — navigate to URL +- `mcp__claudezilla__firefox_get_page_state` — structured JSON (faster than screenshot) +- `mcp__claudezilla__firefox_create_window` — open new tab (returns `tabId`) +- `mcp__claudezilla__firefox_diagnose` — check connection status +- `mcp__claudezilla__firefox_set_private_mode` — disable private mode to use session cookies + +All tools require a `tabId` except `firefox_create_window` and `firefox_diagnose`. + +### If tools aren't available in a session +MCP servers load at session startup only. **Start a new Claude Code session** to pick them up. + +### Setup (already done — for reference) +The native messaging host requires a `.bat` wrapper on Windows (Firefox can't execute `.js` directly): +- Wrapper: `E:\ClaudeLibrary\claudezilla\host\claudezilla.bat` — contains `@echo off` / `node "%~dp0index.js" %*` +- Manifest: `C:\Users\adamc\AppData\Roaming\claudezilla\claudezilla.json` — points to the `.bat` file +- Registry: `HKCU\SOFTWARE\Mozilla\NativeMessagingHosts\claudezilla` → manifest path +- MCP server: `~/.claude/settings.json` and `~/.claude/mcp.json` — both register `node E:/ClaudeLibrary/claudezilla/mcp/server.js` +- Permission: `mcp__claudezilla__*` in `~/.claude/settings.json` `permissions.allow` + +Native host: `E:\ClaudeLibrary\claudezilla\host\`. Extension: `claudezilla@boot.industries`. ## Stack - **Python 3.13 / Django 6.0 / Django Channels** (ASGI via Daphne/uvicorn) diff --git a/src/static_src/scss/_base.scss b/src/static_src/scss/_base.scss index afb4d2c..7ce8e07 100644 --- a/src/static_src/scss/_base.scss +++ b/src/static_src/scss/_base.scss @@ -21,7 +21,7 @@ body { max-width: 960px; width: 100%; margin: 0 auto; - // padding: 1rem; + padding: 0 1rem; flex: 1; .navbar { diff --git a/src/templates/apps/billboard/billboard.html b/src/templates/apps/billboard/billboard.html index 94aec73..ea90425 100644 --- a/src/templates/apps/billboard/billboard.html +++ b/src/templates/apps/billboard/billboard.html @@ -1,9 +1,10 @@ {% extends "core/base.html" %} -{% block title_text %}Billboard{% endblock %} +{% block title_text %}Billboard{% endblock title_text %} +{% block header_text %}Billboard{% endblock header_text %} {% block content %} -
+

My Games

    {% for room in my_rooms %}