Add mail context menu

This commit is contained in:
DonVoo 2026-07-13 15:38:18 +02:00
parent a64a6d187b
commit 4f8a441d51
3 changed files with 208 additions and 16 deletions

View file

@ -132,8 +132,8 @@ func renderStartPage(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-16">
<script src="/static/app.js?v=20260713-16" defer></script></head>
<link rel="stylesheet" href="/static/style.css?v=20260713-17">
<script src="/static/app.js?v=20260713-17" defer></script></head>
<body class="ol2013">
<header class="ribbon">
%s
@ -170,9 +170,9 @@ func renderShell(w http.ResponseWriter, r *http.Request, active, readingPane str
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-16">
<link rel="stylesheet" href="/static/style.css?v=20260713-17">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-16" defer></script></head>
<script src="/static/app.js?v=20260713-17" defer></script></head>
<body class="ol2013">
<header class="ribbon">
%s
@ -752,9 +752,9 @@ func renderAccountsPage(w http.ResponseWriter, r *http.Request, accounts []Accou
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Konten-Verwaltung - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-16">
<link rel="stylesheet" href="/static/style.css?v=20260713-17">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-16" defer></script></head>
<script src="/static/app.js?v=20260713-17" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -798,9 +798,9 @@ func renderArchivesPage(w http.ResponseWriter, r *http.Request, archives []strin
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Archiv-mbox Verwaltung - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-16">
<link rel="stylesheet" href="/static/style.css?v=20260713-17">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-16" defer></script></head>
<script src="/static/app.js?v=20260713-17" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -846,9 +846,9 @@ func renderUsersPage(w http.ResponseWriter, r *http.Request, users []AppUser, ed
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Benutzerverwaltung - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-16">
<link rel="stylesheet" href="/static/style.css?v=20260713-17">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-16" defer></script></head>
<script src="/static/app.js?v=20260713-17" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -920,9 +920,9 @@ func renderTransferPage(w http.ResponseWriter, r *http.Request, mode transferMod
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>%s - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-16">
<link rel="stylesheet" href="/static/style.css?v=20260713-17">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-16" defer></script></head>
<script src="/static/app.js?v=20260713-17" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -1381,9 +1381,9 @@ func renderSourceEmailBoxPage(w http.ResponseWriter, r *http.Request, accounts [
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Quell-Postfach - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-16">
<link rel="stylesheet" href="/static/style.css?v=20260713-17">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-16" defer></script></head>
<script src="/static/app.js?v=20260713-17" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -1425,9 +1425,9 @@ func renderTargetEmailBoxPage(w http.ResponseWriter, r *http.Request, accounts [
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Ziel-Postfach - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-16">
<link rel="stylesheet" href="/static/style.css?v=20260713-17">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-16" defer></script></head>
<script src="/static/app.js?v=20260713-17" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>