Serve every page under a hash-based Content-Security-Policy, and update KaTeX to 0.16.47
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
fd9f665ef8
commit
fdd4dcf841
16 files changed
+207
-23
No files matched your search
@@ -2,7 +2,9 @@
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<noscript><meta http-equiv="refresh" content="{{.RefreshSec}}"></noscript>
|
||||
<meta name="htmx-config" content='{"allowEval":false}'>
|
||||
<script src="/_static/htmx-2.0.11.min.js"></script>
|
||||
<script defer src="/_static/pages.js"></script>
|
||||
<title>llmgw — {{.Node.ID}}</title><link rel="stylesheet" href="{{stylesheet}}">
|
||||
</head><body><div class="wrap">
|
||||
<header>
|
||||
@@ -14,7 +16,7 @@
|
||||
</header>
|
||||
|
||||
{{/* Refreshed in place, like the cluster page. */}}
|
||||
<div id="live" hx-get="{{.Self}}" hx-trigger="every {{.RefreshSec}}s [document.visibilityState === 'visible']" hx-select="#live" hx-swap="outerHTML">
|
||||
<div id="live" hx-get="{{.Self}}" hx-trigger="every {{.RefreshSec}}s" data-visible-only hx-select="#live" hx-swap="outerHTML">
|
||||
{{with .Node}}
|
||||
<div class="tiles">
|
||||
{{with .Load}}
|
||||
|
||||
Reference in new issue
Block a user