This commit is contained in:
Jonas Rabenstein 2026-08-13 03:23:00 +02:00
commit 2ab16a68b7
4 changed files with 556 additions and 151 deletions

View file

@ -1,4 +1,4 @@
use std::collections::HashSet;
use std::collections::{HashMap, HashSet};
use chrono::{DateTime, Utc};
@ -382,7 +382,12 @@ fn render_index(
escape_html(name)
));
} else {
html.push_str(r#"<a class="button" href="/oauth/start">Mit Intervals.icu verbinden</a>"#);
html.push_str(
r#"<div>
<a class="button" href="/oauth/start">Mit Intervals.icu verbinden</a>
<a class="button secondary" href="/api-key/start">Mit API-Key anmelden</a>
</div>"#,
);
}
html.push_str("</header>");