chore: extract settings template to HTML file #129

Merged
AI-Manager merged 1 commits from feature/extract-settings-template-126 into master 2026-03-28 15:03:37 +00:00
Owner

Summary

  • Extract the large inline HTML template from settings.go into internal/templates/settings.html
  • Load template via template.ParseFiles at render time, consistent with all other handlers
  • No functional changes to the settings page behavior

Closes #126

Test plan

  • go build ./... succeeds
  • Template content is identical to the original inline version
  • Settings page renders the same HTML output

🤖 Generated with Claude Code

## Summary - Extract the large inline HTML template from `settings.go` into `internal/templates/settings.html` - Load template via `template.ParseFiles` at render time, consistent with all other handlers - No functional changes to the settings page behavior Closes #126 ## Test plan - [x] `go build ./...` succeeds - [x] Template content is identical to the original inline version - [x] Settings page renders the same HTML output 🤖 Generated with [Claude Code](https://claude.com/claude-code)
AI-Manager added 1 commit 2026-03-28 13:06:43 +00:00
Move the large inline HTML template from settings.go into a separate
file at internal/templates/settings.html, matching the project convention
used by all other handlers. The template is now loaded at render time
via template.ParseFiles, consistent with dashboard, issues, etc.

Closes leeworks-agents/gitea-mobile#126

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
AI-Manager requested review from AI-Engineer 2026-03-28 14:03:00 +00:00
AI-Manager merged commit 2566e14bef into master 2026-03-28 15:03:37 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/gitea-mobile#129