Rename application to mediator

This commit is contained in:
2026-06-10 16:53:28 +02:00
parent a1f6b4157a
commit 83ecb3b862
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# Group Dates # mediator
A tiny self-hosted web app for scheduling get-togethers with your friend group. A tiny self-hosted web app for scheduling get-togethers with your friend group.
You circle dates on a calendar, optionally add a time per day, and share one You circle dates on a calendar, optionally add a time per day, and share one
+1 -1
View File
@@ -408,6 +408,6 @@ func main() {
mux.HandleFunc("POST /api/polls/{id}/close", sv.withAdmin(sv.closePoll)) mux.HandleFunc("POST /api/polls/{id}/close", sv.withAdmin(sv.closePoll))
mux.HandleFunc("DELETE /api/polls/{id}", sv.withAdmin(sv.deletePoll)) mux.HandleFunc("DELETE /api/polls/{id}", sv.withAdmin(sv.deletePoll))
log.Printf("Group Dates running on http://localhost%s (data in %s)", *addr, *dataDir) log.Printf("mediator running on http://localhost%s (data in %s)", *addr, *dataDir)
log.Fatal(http.ListenAndServe(*addr, mux)) log.Fatal(http.ListenAndServe(*addr, mux))
} }
+2 -2
View File
@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Group Dates — new poll</title> <title>mediator — new poll</title>
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@700;800&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/static/style.css"> <link rel="stylesheet" href="/static/style.css">
@@ -11,7 +11,7 @@
<body> <body>
<div class="wrap"> <div class="wrap">
<header class="site"> <header class="site">
<a class="logo" href="/"><span class="dot"></span>Group Dates</a> <a class="logo" href="/"><span class="dot"></span>mediator</a>
<span class="tagline">one calendar for the whole crew</span> <span class="tagline">one calendar for the whole crew</span>
</header> </header>
+2 -2
View File
@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Group Dates — poll</title> <title>mediator — poll</title>
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@700;800&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/static/style.css"> <link rel="stylesheet" href="/static/style.css">
@@ -11,7 +11,7 @@
<body> <body>
<div class="wrap"> <div class="wrap">
<header class="site"> <header class="site">
<a class="logo" href="/"><span class="dot"></span>Group Dates</a> <a class="logo" href="/"><span class="dot"></span>mediator</a>
<span class="tagline">one calendar for the whole crew</span> <span class="tagline">one calendar for the whole crew</span>
</header> </header>
+1 -1
View File
@@ -33,7 +33,7 @@ function renderAll() {
$("poll-desc").textContent = poll.description; $("poll-desc").textContent = poll.description;
$("poll-desc").hidden = false; $("poll-desc").hidden = false;
} }
document.title = "Group Dates — " + poll.title; document.title = "mediator — " + poll.title;
const canVote = !poll.closed; const canVote = !poll.closed;
$("vote-card").hidden = !canVote; $("vote-card").hidden = !canVote;