added header_text to billboard.html; restored L+R .container padding after last fix (still 0 T+B)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
26
CLAUDE.md
26
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)
|
||||
|
||||
@@ -21,7 +21,7 @@ body {
|
||||
max-width: 960px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
// padding: 1rem;
|
||||
padding: 0 1rem;
|
||||
flex: 1;
|
||||
|
||||
.navbar {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
{% extends "core/base.html" %}
|
||||
|
||||
{% block title_text %}Billboard{% endblock %}
|
||||
{% block title_text %}Billboard{% endblock title_text %}
|
||||
{% block header_text %}<span>Bill</span>board{% endblock header_text %}
|
||||
|
||||
{% block content %}
|
||||
<div class="content dashboard-page">
|
||||
<div class="content billboard-page">
|
||||
<h2>My Games</h2>
|
||||
<ul class="game-list">
|
||||
{% for room in my_rooms %}
|
||||
|
||||
Reference in New Issue
Block a user