docs: fix logout f-string escaping, rebuild
This commit is contained in:
@@ -65,7 +65,7 @@ a:hover td {{ background: #f8f8f8; border-radius: 4px; }}
|
||||
<div class="container">
|
||||
<div class="topbar">
|
||||
<h1>{title}</h1>
|
||||
<a class="logout-btn" href="#" onclick="fetch('/api/v1/auth/logout',{method:'POST'}).then(()=>window.location.reload());return false">Logout</a>
|
||||
<a class="logout-btn" href="#" onclick="fetch('/api/v1/auth/logout',{{method:'POST'}}).then(()=>window.location.reload());return false">Logout</a>
|
||||
</div>
|
||||
<p class="subtitle">{subtitle}</p>
|
||||
<table>{"".join(links)}</table>
|
||||
@@ -123,7 +123,7 @@ a {{ color: #0066cc; }}
|
||||
<div class="container">
|
||||
<div class="topbar">
|
||||
<a class="back" href="index.html">← Back to index</a>
|
||||
<a class="logout-btn" href="#" onclick="fetch('/api/v1/auth/logout',{method:'POST'}).then(()=>window.location.reload());return false">Logout</a>
|
||||
<a class="logout-btn" href="#" onclick="fetch('/api/v1/auth/logout',{{method:'POST'}}).then(()=>window.location.reload());return false">Logout</a>
|
||||
</div>
|
||||
{content}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user